]> git.baikalelectronics.ru Git - kernel.git/commit
x86_64 SGI UV: Fix writes to led registers on remote uv hubs.
authorMike Travis <travis@sgi.com>
Mon, 28 Dec 2009 21:28:25 +0000 (13:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Dec 2009 20:25:26 +0000 (12:25 -0800)
commit39d169bbccb5bac0d4f6fe03ef9f2eba73e2b9ac
tree909e69dbd2752b0a8e38872172d2b2f42820f8f4
parentfb556ceb7b4aa174ba9bcfe4a14bd2063c343fd3
x86_64 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: Mike Travis <travis@sgi.com>
Reviewed-by: Jack Steiner <steiner@sgi.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/include/asm/uv/uv_hub.h
arch/x86/kernel/apic/x2apic_uv_x.c