diff options
| author | Daniel J Blueman <daniel@numascale.com> | 2014-11-04 03:29:42 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-04 12:17:27 -0500 |
| commit | 25e5a76bae106e1673887db09e22b19cb1a86c45 (patch) | |
| tree | 49e25e5700355e99b6bfea32f2c10a2c74f9e5bf | |
| parent | 00e7977dd1bbd46e336d7ef907d0fb6b6a4c294f (diff) | |
x86: numachip: Elide self-IPI ICR polling
The default self-IPI path polls the ICR to delay sending the IPI until
there is no IPI in progress. This is redundant on x86-86 APICs, since
IPIs are queued. See the AMD64 Architecture Programmer's Manual, vol 2,
p525.
Signed-off-by: Daniel J Blueman <daniel@numascale.com>
Cc: Steffen Persvold <sp@numascale.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: http://lkml.kernel.org/r/1415089784-28779-2-git-send-email-daniel@numascale.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| -rw-r--r-- | arch/x86/kernel/apic/apic_numachip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/apic_numachip.c b/arch/x86/kernel/apic/apic_numachip.c index 2aaee79fb129..7a3191232630 100644 --- a/arch/x86/kernel/apic/apic_numachip.c +++ b/arch/x86/kernel/apic/apic_numachip.c | |||
| @@ -145,7 +145,7 @@ static void numachip_send_IPI_all(int vector) | |||
| 145 | 145 | ||
| 146 | static void numachip_send_IPI_self(int vector) | 146 | static void numachip_send_IPI_self(int vector) |
| 147 | { | 147 | { |
| 148 | __default_send_IPI_shortcut(APIC_DEST_SELF, vector, APIC_DEST_PHYSICAL); | 148 | apic_write(APIC_SELF_IPI, vector); |
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | static int __init numachip_probe(void) | 151 | static int __init numachip_probe(void) |
