[PATCH 2/2] arm64: Use register field helper in kaslr_requires_kpti()

Mark Brown broonie at kernel.org
Wed Jan 15 09:06:16 PST 2020

On Wed, Jan 15, 2020 at 02:29:00PM +0000, Will Deacon wrote:
> Rather than open-code the extraction of the E0PD field from the MMFR2
> register, we can use the cpuid_feature_extract_unsigned_field() helper
> instead.

This was suggested by Suzuki at some point but I ended up not
doing it as the helper function name is so long I couldn't work
out how to lay the code out in a satisfactory way at the time.

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200115/49fc8077/attachment.sig>

More information about the linux-arm-kernel mailing list