linux-stable/arch
Andy Lutomirski 6f442be2fb x86_64, traps: Stop using IST for #SS
On a 32-bit kernel, this has no effect, since there are no IST stacks.

On a 64-bit kernel, #SS can only happen in user code, on a failed iret
to user space, a canonical violation on access via RSP or RBP, or a
genuine stack segment violation in 32-bit kernel code.  The first two
cases don't need IST, and the latter two cases are unlikely fatal bugs,
and promoting them to double faults would be fine.

This fixes a bug in which the espfix64 code mishandles a stack segment
violation.

This saves 4k of memory per CPU and a tiny bit of code.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-11-23 13:56:19 -08:00
..
alpha
arc
arm ARM: SoC fixes for 3.18-rc5 2014-11-16 16:21:57 -08:00
arm64 arm64 fixes: 2014-11-14 14:24:33 -08:00
avr32
blackfin
c6x
cris
frv
hexagon
ia64
m32r
m68k m68k: Wire up bpf 2014-10-27 11:02:19 +01:00
metag
microblaze microblaze: Wire up bpf syscall 2014-10-27 09:25:34 +01:00
mips MIPS: Fix build with binutils 2.24.51+ 2014-11-07 15:07:36 +01:00
mn10300
openrisc
parisc parisc: Avoid using CONFIG_64BIT in userspace exported headers 2014-11-10 22:25:29 +01:00
powerpc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux 2014-11-04 11:18:29 -08:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2014-11-05 12:13:52 -08:00
score
sh sh: fix sh770x SCIF memory regions 2014-10-29 16:33:15 -07:00
sparc sparc64: Fix constraints on swab helpers. 2014-11-16 13:19:32 -08:00
tile
um
unicore32
x86 x86_64, traps: Stop using IST for #SS 2014-11-23 13:56:19 -08:00
xtensa
.gitignore
Kconfig