diff options
| author | Aneesh Kumar K.V <[email protected]> | 2020-11-27 10:14:06 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-12-04 01:01:24 +1100 |
| commit | 39df17bc20059c84ddc6f91831fce2e2cc79a6f3 (patch) | |
| tree | 79bcf8822aac20092eb8d21143b4a0fb55471d63 /tools/perf/scripts/python | |
| parent | 227ae625522c65c4535cabe407f47abc058585ed (diff) | |
powerpc/book3s64/kuap/kuep: Move uamor setup to pkey init
This patch consolidates UAMOR update across pkey, kuap and kuep features.
The boot cpu initialize UAMOR via pkey init and both radix/hash do the
secondary cpu UAMOR init in early_init_mmu_secondary.
We don't check for mmu_feature in radix secondary init because UAMOR
is a supported SPRN with all CPUs supporting radix translation.
The old code was not updating UAMOR if we had smap disabled and smep enabled.
This change handles that case.
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions