summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2022-09-12 19:22:03 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2022-09-16 19:15:02 +0300
commit92b4b5619f12770d455ae639ed4e773bdf01aff6 (patch)
tree9d4620852cf5a0720f3ccd184cd40cb6202a43a7 /tools/perf/scripts/python/exported-sql-viewer.py
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff)
downloadlinux-92b4b5619f12770d455ae639ed4e773bdf01aff6.tar.xz
arm64: cpufeature: make cpus_have_cap() noinstr-safe
Currently it isn't safe to use cpus_have_cap() from noinstr code as test_bit() is explicitly instrumented, and were cpus_have_cap() placed out-of-line, cpus_have_cap() itself could be instrumented. Make cpus_have_cap() noinstr safe by marking it __always_inline and using arch_test_bit(). Aside from the prevention of instrumentation, there should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Ard Biesheuvel <ardb@kernel.org> Cc: James Morse <james.morse@arm.com> Cc: Joey Gouly <joey.gouly@arm.com> Cc: Marc Zyngier <maz@kernel.org> Cc: Will Deacon <will@kernel.org> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20220912162210.3626215-2-mark.rutland@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions