OpenCloudOS-Kernel/arch
Mathieu Desnoyers ac1ab12a3e lockin/x86: Implement sync_core_before_usermode()
Ensure that a core serializing instruction is issued before returning to
user-mode. x86 implements return to user-space through sysexit, sysrel,
and sysretq, which are not core serializing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrea Parri <parri.andrea@gmail.com>
Cc: Andrew Hunter <ahh@google.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Avi Kivity <avi@scylladb.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Dave Watson <davejwatson@fb.com>
Cc: David Sehr <sehr@google.com>
Cc: Greg Hackmann <ghackmann@google.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Maged Michael <maged.michael@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-api@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Link: http://lkml.kernel.org/r/20180129202020.8515-8-mathieu.desnoyers@efficios.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-02-05 21:34:57 +01:00
..
alpha init_task out-of-lining 2018-01-29 09:08:34 -08:00
arc init_task out-of-lining 2018-01-29 09:08:34 -08:00
arm Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-01-29 16:47:21 -08:00
arm64 Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-01-30 10:42:39 -08:00
blackfin Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
c6x Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
cris Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
frv Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
h8300 Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
hexagon Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
ia64 ACPI updates for v4.16-rc1 2018-01-29 10:17:53 -08:00
m32r init_task out-of-lining 2018-01-29 09:08:34 -08:00
m68k m68k updates for 4.16 2018-01-29 16:37:15 -08:00
metag Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
microblaze Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
mips init_task out-of-lining 2018-01-29 09:08:34 -08:00
mn10300 Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-01-30 10:15:30 -08:00
nios2 Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
openrisc Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
parisc init_task out-of-lining 2018-01-29 09:08:34 -08:00
powerpc membarrier: Provide GLOBAL_EXPEDITED command 2018-02-05 21:34:31 +01:00
riscv init_task out-of-lining 2018-01-29 09:08:34 -08:00
s390 init_task out-of-lining 2018-01-29 09:08:34 -08:00
score Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
sh init_task out-of-lining 2018-01-29 09:08:34 -08:00
sparc init_task out-of-lining 2018-01-29 09:08:34 -08:00
tile Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
um Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
unicore32 init_task out-of-lining 2018-01-29 09:08:34 -08:00
x86 lockin/x86: Implement sync_core_before_usermode() 2018-02-05 21:34:57 +01:00
xtensa Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2018-01-29 16:47:21 -08:00
.gitignore
Kconfig Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00