]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit543e13811a0b6eeea5ea0ef4c7a1abc244ff04da
tree9a4ea0c3404dfb1c8bc6a8de1557d7d29cf0e8f5
parent2431bf261ffaee9cc8855d79b6b9515715fbd1f6
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