diff options
| author | Nicholas Piggin <[email protected]> | 2018-04-05 05:57:54 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-04-05 06:28:00 +0000 |
| commit | c130153e453cba0f37ad10fa18a1aa9c9a598a59 (patch) | |
| tree | 181354e6b0eb95d5802b2b2d688703af069f3c9c /lib/raid6/algos.c | |
| parent | powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits (diff) | |
| download | kernel-c130153e453cba0f37ad10fa18a1aa9c9a598a59.tar.gz kernel-c130153e453cba0f37ad10fa18a1aa9c9a598a59.zip | |
powerpc/64s: Fix pkey support in dt_cpu_ftrs, add CPU_FTR_PKEY bit
The pkey code added a CPU_FTR_PKEY bit, but did not add it to the
dt_cpu_ftrs feature set. Although capability is supported by all
processors in the base dt_cpu_ftrs set for 64s, it's a significant
and sufficiently well defined feature to make it optional. So add
it as a quirk for now, which can be versioned out then controlled
by the firmware (once dt_cpu_ftrs gains versioning support).
Fixes: cf43d3b26452 ("powerpc: Enable pkey subsystem")
Cc: [email protected] # v4.16+
Cc: Ram Pai <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions
