aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOren Twaig <[email protected]>2014-04-28 10:21:37 +0300
committerIngo Molnar <[email protected]>2014-04-28 09:27:34 +0200
commit39025ba38278f3003ee538409f7c98970620ef49 (patch)
treef3ed243da52148e4fb188e2805ad048e32a34727 /tools/perf/scripts/python
parent8f2dd677bec68fb55904799a82674c9e64b23be3 (diff)
x86/vsmp: Fix irq routing
Correct IRQ routing in case a vSMP box is detected but the Interrupt Routing Comply (IRC) value is set to "comply", which leads to incorrect IRQ routing. Before the patch: When a vSMP box was detected and IRC was set to "comply", users (and the kernel) couldn't effectively set the destination of the IRQs. This is because the hook inside vsmp_64.c always setup all CPUs as the IRQ destination using cpumask_setall() as the return value for IRQ allocation mask. Later, this "overrided" mask caused the kernel to set the IRQ destination to the lowest online CPU in the mask (CPU0 usually). After the patch: When the IRC is set to "comply", users (and the kernel) can control the destination of the IRQs as we will not be changing the default "apic->vector_allocation_domain". Signed-off-by: Oren Twaig <[email protected]> Acked-by: Shai Fultheim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Minor readability edits. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions