aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2019-07-22 18:47:08 +0000
committerThomas Gleixner <[email protected]>2019-07-25 14:11:56 +0000
commit2640da4cccf5cc613bf26f0998b9e340f4b5f69c (patch)
treefd9339f9760a29c0c0cc4beab2bb5ca702ea1c3a /tools/perf/scripts/python/intel-pt-events.py
parentx86/apic: Invoke perf_events_lapic_init() after enabling APIC (diff)
downloadkernel-2640da4cccf5cc613bf26f0998b9e340f4b5f69c.tar.gz
kernel-2640da4cccf5cc613bf26f0998b9e340f4b5f69c.zip
x86/apic: Soft disable APIC before initializing it
If the APIC was already enabled on entry of setup_local_APIC() then disabling it soft via the SPIV register makes a lot of sense. That masks all LVT entries and brings it into a well defined state. Otherwise previously enabled LVTs which are not touched in the setup function stay unmasked and might surprise the just booting kernel. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions