aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2022-11-02 08:47:04 +0100
committerBorislav Petkov <[email protected]>2022-11-10 13:12:44 +0100
commit7d71db537b01a6beadbe45a4e6e302272110c2c0 (patch)
treecabf91f5054c2ee142f81bc4e5a6e1b61dd53158 /tools/perf/scripts/python/bin
parent23a63e369098a8503550d1df80f4b4801af32c19 (diff)
x86/mtrr: Disentangle MTRR init from PAT init
Add a main cache_cpu_init() init routine which initializes MTRR and/or PAT support depending on what has been detected on the system. Leave the MTRR-specific initialization in a MTRR-specific init function where the smp_changes_mask setting happens now with caches disabled. This global mask update was done with caches enabled before probably because atomic operations while running uncached might have been quite expensive. But since only systems with a broken BIOS should ever require to set any bit in smp_changes_mask, hurting those devices with a penalty of a few microseconds during boot shouldn't be a real issue. Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions