]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add PPC_FEATURE userspace bits for SCV and DARN instructions
authorNicholas Piggin <npiggin@gmail.com>
Sat, 20 May 2017 04:29:49 +0000 (14:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 May 2017 13:07:45 +0000 (23:07 +1000)
commit52e18914bef31a85b7b49a93ac7845a61b6307b7
tree06e152b268a8bb2d1dfc77bd3541f5a88becb810
parent7e6ab3d6b73b2f193bda6a7c03153b263255ef63
powerpc: Add PPC_FEATURE userspace bits for SCV and DARN instructions

Providing "scv" support to userspace requires kernel support, so it
must be advertised as independently to the base ISA 3 instruction set.

The darn instruction relies on firmware enablement, so it has been
decided to split this out from the core ISA 3 feature as well.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/uapi/asm/cputable.h
arch/powerpc/kernel/cputable.c