diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-02-07 17:48:51 +0300 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-04 19:18:04 +0300 |
| commit | 8e31fea55d28057c82aab85424b224fafa552b6c (patch) | |
| tree | e57565b778188179aaf34dc6b863d33abe9007d3 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | b49ee5b38651643d9e643fb4c7465f4046022254 (diff) | |
| download | linux-8e31fea55d28057c82aab85424b224fafa552b6c.tar.xz | |
s390/cpufeature: Convert MACHINE_HAS_TLB_LC to cpu_has_tlb_lc()
Convert MACHINE_HAS_... to cpu_has_...() which uses test_facility() instead
of testing the machine_flags lowcore member if the feature is present.
test_facility() generates better code since it results in a static branch
without accessing memory. The branch is patched via alternatives by the
decompressor depending on the availability of the required facility.
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
