diff options
author | Thomas Gleixner <[email protected]> | 2023-08-08 15:03:47 -0700 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2023-08-09 11:58:19 -0700 |
commit | 2906a67ac83b06b874b32bf6413a8d5e186fc33e (patch) | |
tree | 5366d5375f7f75ab5cea834e14ddeb098f66f2f5 /tools/perf/scripts/python | |
parent | 004671e5c9335736ef808482bfc69cccd93cccc5 (diff) |
x86/of: Fix the APIC address registration
The device tree APIC parser tries to force-enable the local APIC when it is
not set in CPUID. apic_force_enable() registers the boot CPU apic on
success.
If that succeeds then dtb_lapic_setup() registers the local APIC again
eventually with a different address.
Rewrite the code so that it only registers it once.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Tested-by: Sohil Mehta <[email protected]>
Tested-by: Juergen Gross <[email protected]> # Xen PV (dom0 and unpriv. guest)
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions