arm64: cpufeature: Add helpers for extracting unsigned values
arm64: cpufeature: Add helpers for extracting unsigned values

The cpuid_feature_extract_field() extracts the feature value
as a signed integer. This could be problematic for features
whose values are unsigned. e.g, ID_AA64DFR0_EL1:BRPs. Add
an unsigned variant for the unsigned fields.

Cc: Ard Biesheuvel <66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org>
Reported-by: AKASHI Takahiro <be00867a1b2ca7b25ce4b2b4a9efd7cdbb9c164b@linaro.org>
Signed-off-by: Suzuki K. Poulose <25f0e69a3d23ed1d9a060214a9ff1a9504ba3f49@arm.com>
Signed-off-by: Catalin Marinas <15ce75b290ebaf27c3f9fd73ab848685ed3d8261@arm.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs