x86: numachip: Fix 16-bit APIC ID truncation
authorDaniel J Blueman <daniel@numascale.com>
Tue, 4 Nov 2014 08:29:41 +0000 (16:29 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 28 Mar 2015 14:08:32 +0000 (10:08 -0400)
commitf8ac6343a34f407b237a7b7924f2182a1ddb7216
treebce4749bbd88bab089d9d94344c5df0cd79cecf8
parentad927769865b3e162266faf215918d4f83f7bb84
x86: numachip: Fix 16-bit APIC ID truncation

[ Upstream commit 00e7977dd1bbd46e336d7ef907d0fb6b6a4c294f ]

Prevent 16-bit APIC IDs being truncated by using correct mask. This fixes
booting large systems, where the wrong core would receive the startup and
init IPIs, causing hanging.

Signed-off-by: Daniel J Blueman <daniel@numascale.com>
Cc: Steffen Persvold <sp@numascale.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Link: http://lkml.kernel.org/r/1415089784-28779-1-git-send-email-daniel@numascale.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
arch/x86/kernel/apic/apic_numachip.c