powerpc/dt_cpu_ftrs: Advertise support for ISA v3.1 if selected
authorAlistair Popple <alistair@popple.id.au>
Thu, 21 May 2020 01:43:37 +0000 (11:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jun 2020 10:59:19 +0000 (20:59 +1000)
commit43d0d37acbe40a9a93d9891ca670638cd22116b1
tree6f822f6211a5a534d98b5a9e7e973a20da38a95f
parent3fd5836ee801ab9ac5b314c26550e209bafa5eaa
powerpc/dt_cpu_ftrs: Advertise support for ISA v3.1 if selected

On powernv hardware support for ISAv3.1 is advertised via a cpu feature
bit in the device tree. This patch enables the associated HWCAP bit if
the device tree indicates ISAv3.1 is available.

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200521014341.29095-4-alistair@popple.id.au
arch/powerpc/kernel/dt_cpu_ftrs.c