]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/security: Add a helper to query stf_barrier type
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Tue, 5 Oct 2021 20:25:24 +0000 (01:55 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Oct 2021 08:52:58 +0000 (19:52 +1100)
commitc7a8412e006b8b00fdf6cbbdcfa100ff492dd12a
treeccb93be5254bdac578b6f9a21194f61757a1a197
parenteb47f9eb7fd857aa4492ad074470f78e44829526
powerpc/security: Add a helper to query stf_barrier type

Add a helper to return the stf_barrier type for the current processor.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3bd5d7f96ea1547991ac2ce3137dc2b220bae285.1633464148.git.naveen.n.rao@linux.vnet.ibm.com
arch/powerpc/include/asm/security_features.h
arch/powerpc/kernel/security.c