[PATCH v3 4/6] arm64: kernel: Add min_field_value and use '>=' for feature detection

Catalin Marinas catalin.marinas at arm.com
Tue Jul 21 05:33:17 PDT 2015


On Tue, Jul 21, 2015 at 01:23:29PM +0100, James Morse wrote:
> When a new cpu feature is available, the cpu feature bits will have some
> initial value, which is incremented when the feature is updated.
> This patch changes 'register_value' to be 'min_field_value', and checks
> the feature bits value (interpreted as a signed int) is greater than this
> minimum.
> 
> Signed-off-by: James Morse <james.morse at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list