]> git.karo-electronics.de Git - karo-tx-linux.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)
commita4700a26107241cc7b9ac8528b2c6714ff99983d
tree06e152b268a8bb2d1dfc77bd3541f5a88becb810
parentd75e4919cc0b6fbcbc8d6654ef66d87a9dbf1526
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