]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86/numachip: Add Numachip IPI optimisations
authorDaniel J Blueman <daniel@numascale.com>
Sun, 20 Sep 2015 17:02:01 +0000 (01:02 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 22 Sep 2015 20:25:33 +0000 (22:25 +0200)
commitad03a9c25d258641556c7198e26fd882c741987a
tree85fcadef16de050cece52c20161076c11ff472e0
parentd9d4dee6cedfa17e5eedcba242dca3091bf73bc3
x86/numachip: Add Numachip IPI optimisations

When sending IPIs, first check if the non-local part of the source and
destination APIC IDs match; if so, send via the local APIC for efficiency.

Secondly, since the AMD BIOS-kernel developer guide states IPI delivery
will occur invarient of prior deliver status, avoid polling the delivery
status bit for efficiency.

Signed-off-by: Daniel J Blueman <daniel@numascale.com>
Acked-by: Steffen Persvold <sp@numascale.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/1442768522-19217-3-git-send-email-daniel@numascale.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/numachip/numachip_csr.h
arch/x86/kernel/apic/apic_numachip.c