diff options
| author | Kenji Kaneshige <[email protected]> | 2010-12-01 06:22:28 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2010-12-14 00:53:32 +0000 |
| commit | 7f7fbf45c6b748074546f7f16b9488ca71de99c1 (patch) | |
| tree | 43f3a4c4bc487be87342967271cc258502da2092 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | x86, vt-d: Fix the vt-d fault handling irq migration in the x2apic mode (diff) | |
| download | kernel-7f7fbf45c6b748074546f7f16b9488ca71de99c1.tar.gz kernel-7f7fbf45c6b748074546f7f16b9488ca71de99c1.zip | |
x86: Enable the intr-remap fault handling after local APIC setup
Interrupt-remapping gets enabled very early in the boot, as it determines the
apic mode that the processor can use. And the current code enables the vt-d
fault handling before the setup_local_APIC(). And hence the APIC LDR registers
and data structure in the memory may not be initialized. So the vt-d fault
handling in logical xapic/x2apic modes were broken.
Fix this by enabling the vt-d fault handling in the end_local_APIC_setup()
A cleaner fix of enabling fault handling while enabling intr-remapping
will be addressed for v2.6.38. [ Enabling intr-remapping determines the
usage of x2apic mode and the apic mode determines the fault-handling
configuration. ]
Signed-off-by: Kenji Kaneshige <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
Cc: [email protected] [v2.6.32+]
Acked-by: Chris Wright <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
