Re: [PATCH v9 14/26] arm64: alternative: Allow alternative status checking per cpufeature

From: Marc Zyngier
Date: Mon Jan 28 2019 - 06:00:51 EST


On Mon, 21 Jan 2019 15:33:33 +0000,
Julien Thierry <julien.thierry@xxxxxxx> wrote:
>
> In preparation for the application of alternatives at different points
> during the boot process, provide the possibility to check whether
> alternatives for a feature of interest was already applied instead of
> having a global boolean for all alternatives.
>
> Make VHE enablement code check for the VHE feature instead of considering
> all alternatives.
>
> Signed-off-by: Julien Thierry <julien.thierry@xxxxxxx>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will.deacon@xxxxxxx>
> Cc: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
> Cc: Marc Zyngier <Marc.Zyngier@xxxxxxx>
> Cc: Christoffer Dall <Christoffer.Dall@xxxxxxx>

Acked-by: Marc Zyngier <marc.zyngier@xxxxxxx>

M.

--
Jazz is not dead, it just smell funny.