]> 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)
commit030905920f32e91a52794937f67434ac0b3ea41a
treeccb93be5254bdac578b6f9a21194f61757a1a197
parent5855c4c1f415ca3ba1046e77c0b3d3dfc96c9025
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