arm64: Add an aliasing facility for the idreg override
authorMarc Zyngier <maz@kernel.org>
Mon, 8 Feb 2021 09:57:25 +0000 (09:57 +0000)
committerWill Deacon <will@kernel.org>
Tue, 9 Feb 2021 13:50:56 +0000 (13:50 +0000)
commit863ace77e9ff85c06d57e9491faffae8512070de
tree9a4ea0c3404dfb1c8bc6a8de1557d7d29cf0e8f5
parent41fac42c25338f4ea295b58106c26683d893a1c6
arm64: Add an aliasing facility for the idreg override

In order to map the override of idregs to options that a user
can easily understand, let's introduce yet another option
array, which maps an option to the corresponding idreg options.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: David Brazdil <dbrazdil@google.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-17-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/idreg-override.c