]> git.baikalelectronics.ru Git - kernel.git/commit
x86: use logical apicid in x2apic_cluster's x2apic_cpu_mask_to_apicid_and()
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 23 Dec 2008 01:33:28 +0000 (17:33 -0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 21:37:30 +0000 (22:37 +0100)
commitceee99168751d989a00d68b14042e3a376b85367
tree396fe05c02afb1e37b66938b0f07098ba50bf5c4
parenta24adaf947f0c32888290a1f989cb43c77a20391
x86: use logical apicid in x2apic_cluster's x2apic_cpu_mask_to_apicid_and()

These commits:

commit 8dfacc193aba5b3ef68bde2ea63119e36d1acc2a
Author: Mike Travis <travis@sgi.com>
Date:   Tue Dec 16 17:33:54 2008 -0800

    x86: Add cpu_mask_to_apicid_and

and
commit c8662c3ac81cd5518a96a974e1f1f57cfbaa04ce
Author: Mike Travis <travis@sgi.com>
Date:   Tue Dec 16 17:33:55 2008 -0800

    x86: update add-cpu_mask_to_apicid_and to use struct cpumask*

broke interrupt delivery on x2apic platforms.  As x2apic cluster mode uses
logical delivery mode, we need to use logical apicid instead of physical apicid
in x2apic_cpu_mask_to_apicid_and()

Impact: fixes the broken interrupt delivery issue on generic x2apic platforms.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Mike Travis <travis@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/genx2apic_cluster.c