Skip to contentSkip to conversation

x86: SGU UV Fix IPI macros

PATCH In review Jack Steiner 1 participant 2 messages Sep 9, 2009 – Sep 18, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: SGU UV Fix IPI macros

UV bios has changed the way interrupt remapping is being done. This affects the id used for sending IPIs. The upper id bits no longer need to be masked off.

---

arch/x86/include/asm/uv/uv_hub.h +1 -1
Index: linux/arch/x86/include/asm/uv/uv_hub.h
===================================================================
@@ -422,7 +422,7 @@ static inline void uv_hub_send_ipi(int p
 	unsigned long val;
 
 	val = (1UL << UVH_IPI_INT_SEND_SHFT) |
-			((apicid & 0x3f) << UVH_IPI_INT_APIC_ID_SHFT) |
+			((apicid) << UVH_IPI_INT_APIC_ID_SHFT) |
 			(vector << UVH_IPI_INT_VECTOR_SHFT);
 	uv_write_global_mmr64(pnode, UVH_IPI_INT, val);
 }
#1 lore raw

[tip:x86/urgent] x86: SGI UV: Fix IPI macros

Commit-ID:  d2374aecda3f6c9b0d13287027132a37311da300
Gitweb:     http://git.kernel.org/tip/d2374aecda3f6c9b0d13287027132a37311da300
Author:     Jack Steiner <[email protected]>
AuthorDate: Wed, 9 Sep 2009 10:41:05 -0500
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 18 Sep 2009 14:04:25 +0200

x86: SGI UV: Fix IPI macros

The UV BIOS has changed the way interrupt remapping is being done. This affects the id used for sending IPIs. The upper id bits no longer need to be masked off.

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/uv/uv_hub.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/include/asm/uv/uv_hub.h +1 -1
index 77a6850..03a0cbd 100644
@@ -422,7 +422,7 @@ static inline void uv_hub_send_ipi(int pnode, int apicid, int vector)
 	unsigned long val;
 
 	val = (1UL << UVH_IPI_INT_SEND_SHFT) |
-			((apicid & 0x3f) << UVH_IPI_INT_APIC_ID_SHFT) |
+			((apicid) << UVH_IPI_INT_APIC_ID_SHFT) |
 			(vector << UVH_IPI_INT_VECTOR_SHFT);
 	uv_write_global_mmr64(pnode, UVH_IPI_INT, val);
 }