X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/xen/pvh: Clean up stack canary setup in PVH entry
@ 2023-10-23  9:09 Hou Wenlong
  2023-10-23  9:09 ` [PATCH 1/2] x86/xen/pvh: Set up percpu for stack canary in 32-bit kernel entry Hou Wenlong
  2023-10-23  9:09 ` [PATCH 2/2] x86/xen/pvh: Use fixed_percpu_data to set up GS base Hou Wenlong
  0 siblings, 2 replies; 5+ messages in thread
From: Hou Wenlong @ 2023-10-23  9:09 UTC (permalink / raw)
  To: linux-kernel
  Cc: Hou Wenlong, Andy Shevchenko, Borislav Petkov, Boris Ostrovsky,
	Darren Hart, Dave Hansen, H. Peter Anvin, Ingo Molnar,
	Juergen Gross, platform-driver-x86, Thomas Gleixner, x86,
	xen-devel

Clean up the stack canary setup in the PVH entry. For a 64-bit kernel,
use fixed_percpu_data to set up GSBASE. For a 32-bit kernel, set up the
%fs register explicitly.

Hou Wenlong (2):
  x86/xen/pvh: Set up percpu for stack canary in 32-bit kernel entry
  x86/xen/pvh: Use fixed_percpu_data to set up GS base

 arch/x86/platform/pvh/head.S | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


base-commit: 50dcc2e0d62e3c4a54f39673c4dc3dcde7c74d52
--
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-24  2:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23  9:09 [PATCH 0/2] x86/xen/pvh: Clean up stack canary setup in PVH entry Hou Wenlong
2023-10-23  9:09 ` [PATCH 1/2] x86/xen/pvh: Set up percpu for stack canary in 32-bit kernel entry Hou Wenlong
2023-10-23 12:02   ` Andy Shevchenko
2023-10-24  2:33     ` Hou Wenlong
2023-10-23  9:09 ` [PATCH 2/2] x86/xen/pvh: Use fixed_percpu_data to set up GS base Hou Wenlong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox