lkml.org 
[lkml]   [2009]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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.


Signed-off-by: Jack Steiner <steiner@sgi.com>

---

Index: linux/arch/x86/include/asm/uv/uv_hub.h
===================================================================
--- linux.orig/arch/x86/include/asm/uv/uv_hub.h 2009-08-06 16:26:40.000000000 -0500
+++ linux/arch/x86/include/asm/uv/uv_hub.h 2009-08-12 11:11:23.000000000 -0500
@@ -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);
}

\
 
 \ /
  Last update: 2009-09-09 17:43    [W:0.081 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site