Skip to content
Commit 39d30770 authored by Mike Travis's avatar Mike Travis Committed by Ingo Molnar
Browse files

x86: SGI UV: Fix writes to led registers on remote uv hubs



The wrong address was being used to write the SCIR led regs on
remote hubs.  Also, there was an inconsistency between how BIOS
and the kernel indexed these regs.  Standardize on using the
lower 6 bits of the APIC ID as the index.

This patch fixes the problem of writing to an errant address to
a cpu # >= 64.

Signed-off-by: default avatarMike Travis <travis@sgi.com>
Reviewed-by: default avatarJack Steiner <steiner@sgi.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@kernel.org
LKML-Reference: <4B3922F9.3060905@sgi.com>
[ v2: fix a number of annoying checkpatch artifacts and whitespace noise ]
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c0ca9da4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment