linux/arch/tile
Chris Metcalf 9ce815ed50 tile: fix bug in setting PT_FLAGS_DISABLE_IRQ on kernel entry
This flag value is saved in ptregs and used to decide whether
to disable irqs when returning from the kernel.  Commit 1168df528fe4
("tile: don't assume user privilege is zero") performed a bad
merge from some KVM-enabled code that had not yet been upstreamed.

The only issue with the old code is that we will read the interrupt
mask in more conditions than we need to (e.g., coming from user
space when user space has the Interrupt Critical Section bit set, or
coming from a guest kernel), which is a slow multi-cycle operation.
This change saves those few cycles in the common case.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
2016-01-18 14:49:26 -05:00
..
configs netpoll: delete defconfig references to obsolete NETPOLL_TRAP 2014-11-29 21:13:48 -08:00
gxio tile: use global strscpy() rather than private copy 2015-09-10 15:37:02 -04:00
include tile: fix tilepro casts for readl, writel, etc 2016-01-18 14:49:23 -05:00
kernel tile: fix bug in setting PT_FLAGS_DISABLE_IRQ on kernel entry 2016-01-18 14:49:26 -05:00
kvm rcu: Make SRCU optional by using CONFIG_SRCU 2015-01-06 11:04:29 -08:00
lib tile: Provide atomic_{or,xor,and} 2015-07-27 14:06:24 +02:00
mm kmap_atomic_to_page() has no users, remove it 2015-11-09 15:11:24 -08:00
Kbuild
Kconfig tile/jump_label: add jump label support for TILE-Gx 2016-01-04 15:09:31 -05:00
Kconfig.debug tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00
Makefile tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00