diff options
author | Cliff Wickman <cpw@sgi.com> | 2008-06-02 09:56:14 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:23:22 -0400 |
commit | 1812924bb1823950c1dc95c478b71b037057356e (patch) | |
tree | 74ecf29e332a320d7850008ca4f8607dace88de6 /arch/x86/kernel/Makefile | |
parent | d98b940ab29a245de84a1c138b866dcc29217601 (diff) |
x86, SGI UV: TLB shootdown using broadcast assist unit
TLB shootdown for SGI UV.
Depends on patch (in tip/x86/irq):
x86-update-macros-used-by-uv-platform.patch Jack Steiner May 29
This patch provides the ability to flush TLB's in cpu's that are not on
the local node. The hardware mechanism for distributing the flush
messages is the UV's "broadcast assist unit".
The hook to intercept TLB shootdown requests is a 2-line change to
native_flush_tlb_others() (arch/x86/kernel/tlb_64.c).
This code has been tested on a hardware simulator. The real hardware
is not yet available.
The shootdown statistics are provided through /proc/sgi_uv/ptc_statistics.
The use of /sys was considered, but would have required the use of
many /sys files. The debugfs was also considered, but these statistics
should be available on an ongoing basis, not just for debugging.
Issues to be fixed later:
- The IRQ for the messaging interrupt is currently hardcoded as 200
(see UV_BAU_MESSAGE). It should be dynamically assigned in the future.
- The use of appropriate udelay()'s is untested, as they are a problem
in the simulator.
Signed-off-by: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/Makefile')
-rw-r--r-- | arch/x86/kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 605995e11ea7..4078e98f0125 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -94,7 +94,7 @@ obj-$(CONFIG_OLPC) += olpc.o | |||
94 | ### | 94 | ### |
95 | # 64 bit specific files | 95 | # 64 bit specific files |
96 | ifeq ($(CONFIG_X86_64),y) | 96 | ifeq ($(CONFIG_X86_64),y) |
97 | obj-y += genapic_64.o genapic_flat_64.o genx2apic_uv_x.o | 97 | obj-y += genapic_64.o genapic_flat_64.o genx2apic_uv_x.o tlb_uv.o |
98 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o | 98 | obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o |
99 | obj-$(CONFIG_AUDIT) += audit_64.o | 99 | obj-$(CONFIG_AUDIT) += audit_64.o |
100 | 100 | ||