linux/arch
Linus Torvalds 8329aa9fff Revert "x86/apic: Only disable CPU x2apic mode when necessary"
This reverts commit 5fcee53ce7.

It causes the suspend to fail on at least the Chromebook Pixel, possibly
other platforms too.

Joerg Roedel points out that the logic should probably have been

                if (max_physical_apicid > 255 ||
                    !(IS_ENABLED(CONFIG_HYPERVISOR_GUEST) &&
                      hypervisor_x2apic_available())) {

instead, but since the code is not in any fast-path, so we can just live
without that optimization and just revert to the original code.

Acked-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-02-13 10:26:18 -08:00
..
alpha all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
arc all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
arm Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
arm64 Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
avr32 all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
blackfin all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
c6x all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
cris all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
frv lib/string.c: remove strnicmp() 2015-02-12 18:54:14 -08:00
hexagon all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
ia64 Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
m32r all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
m68k all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
metag all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
microblaze all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
mips Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
mn10300 all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
nios2 mm: make FIRST_USER_ADDRESS unsigned long on all archs 2015-02-11 17:06:03 -08:00
openrisc all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
parisc all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
powerpc Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
s390 Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00
score all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
sh all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
sparc all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
tile all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
um all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
unicore32 all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
x86 Revert "x86/apic: Only disable CPU x2apic mode when necessary" 2015-02-13 10:26:18 -08:00
xtensa all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
.gitignore
Kconfig