]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: ssbd: Add global mitigation state accessor
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 29 May 2018 12:11:10 +0000 (13:11 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 31 May 2018 16:34:57 +0000 (17:34 +0100)
commit617cf805ce1fd59185ef0dacbba3d284d9dfadbd
tree8b29040c2abc5ac9b0fec8624a264b1883fc9ff5
parentf953771280382369f2f7aaa75a4e9fca0e4bf7ab
arm64: ssbd: Add global mitigation state accessor

We're about to need the mitigation state in various parts of the
kernel in order to do the right thing for userspace and guests.

Let's expose an accessor that will let other subsystems know
about the state.

Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cpufeature.h