powerpc: Add new HWCAP bits
authorAlistair Popple <alistair@popple.id.au>
Thu, 21 May 2020 01:43:35 +0000 (11:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:19 +0000 (20:59 +1000)
commitee988c11acf6f9464b7b44e9a091bf6afb3b3a49
tree7350e140cfbdedd1733ae6049ef51211a9b3716f
parentc887ef5707591e84f80271e95e99ff9fb38987b5
powerpc: Add new HWCAP bits

POWER10 introduces two new architectural features - ISAv3.1 and matrix
multiply assist (MMA) instructions. Userspace detects the presence
of these features via two HWCAP bits introduced in this patch. These
bits have been agreed to by the compiler and binutils team.

According to ISAv3.1 MMA is an optional feature and software that makes
use of it should first check for availability via this HWCAP bit and use
alternate code paths if unavailable.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Tested-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200521014341.29095-2-alistair@popple.id.au
arch/powerpc/include/uapi/asm/cputable.h