aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCliff Wickman <cpw@sgi.com>2009-11-19 18:12:43 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-23 13:12:50 -0500
commite38e2af1c57c3eb5211331a5b4fcaae0c4a2a918 (patch)
tree6e3d1bda31f670f626dba2932127ed7897f33948
parentd9c2d5ac6af87b4491bff107113aaf16f6c2b2d9 (diff)
x86: SGI UV: Fix BAU initialization
A memory mapped register that affects the SGI UV Broadcast Assist Unit's interrupt handling may sometimes be unintialized. Remove the condition on its initialization, as that condition can be randomly satisfied by a hardware reset. Signed-off-by: Cliff Wickman <cpw@sgi.com> Cc: <stable@kernel.org> LKML-Reference: <E1NBGB9-0005nU-Dp@eag09.americas.sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/tlb_uv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kernel/tlb_uv.c b/arch/x86/kernel/tlb_uv.c
index 503c1f2e8835..af21e5556900 100644
--- a/arch/x86/kernel/tlb_uv.c
+++ b/arch/x86/kernel/tlb_uv.c
@@ -819,10 +819,8 @@ static int __init uv_init_blade(int blade)
819 */ 819 */
820 apicid = blade_to_first_apicid(blade); 820 apicid = blade_to_first_apicid(blade);
821 pa = uv_read_global_mmr64(pnode, UVH_BAU_DATA_CONFIG); 821 pa = uv_read_global_mmr64(pnode, UVH_BAU_DATA_CONFIG);
822 if ((pa & 0xff) != UV_BAU_MESSAGE) { 822 uv_write_global_mmr64(pnode, UVH_BAU_DATA_CONFIG,
823 uv_write_global_mmr64(pnode, UVH_BAU_DATA_CONFIG,
824 ((apicid << 32) | UV_BAU_MESSAGE)); 823 ((apicid << 32) | UV_BAU_MESSAGE));
825 }
826 return 0; 824 return 0;
827} 825}
828 826