]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry/compat: Clear RAX high bits on Xen PV SYSENTER
authorAndy Lutomirski <luto@kernel.org>
Fri, 3 Jul 2020 17:02:53 +0000 (10:02 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 4 Jul 2020 17:47:25 +0000 (19:47 +0200)
commit046a81e8bd1a193167f14c80de98e4b1fbb28bdc
treed412ad31b961ceccc383af222b85d95e7fba3eb3
parent08c923ec8943d926890a144cfbb3202f2233db30
x86/entry/compat: Clear RAX high bits on Xen PV SYSENTER

Move the clearing of the high bits of RAX after Xen PV joins the SYSENTER
path so that Xen PV doesn't skip it.

Arguably this code should be deleted instead, but that would belong in the
merge window.

Fixes: cd9ea60f1443 ("x86/entry/64/compat: Fix Xen PV SYSENTER frame setup")
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/9d33b3f3216dcab008070f1c28b6091ae7199969.1593795633.git.luto@kernel.org
arch/x86/entry/entry_64_compat.S