diff options
author | Kees Cook <keescook@chromium.org> | 2018-02-21 10:18:21 -0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-03-05 12:06:43 +0000 |
commit | 2e6f549fe91344999ef3e479ec9fbd039614f2e5 (patch) | |
tree | 8ecc7c2e96737fe393ce4c6c82b6a5bba1c028f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6141ac1c274741ea8a47dfda759071f1c2eb5573 (diff) |
arm64: cpufeature: Relocate PAN emulation report
The PAN emulation notification was only happening for non-boot CPUs
if CPU capabilities had already been configured. This seems to be the
wrong place, as it's system-wide and isn't attached to capabilities,
so its reporting didn't normally happen. Instead, report it once from
the boot CPU.
Before (missing PAN emulation report):
SMP: Total of 4 processors activated.
CPU features: detected feature: 32-bit EL0 Support
CPU features: detected feature: Kernel page table isolation (KPTI)
CPU: All CPU(s) started at EL2
After:
SMP: Total of 4 processors activated.
CPU features: detected feature: 32-bit EL0 Support
CPU features: detected feature: Kernel page table isolation (KPTI)
CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
CPU: All CPU(s) started at EL2
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions