mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] CALL_NOSPEC fixes
@ 2025-03-01  2:35 Pawan Gupta
  2025-03-01  2:35 ` [PATCH v3 1/2] x86/speculation: Simplify and make CALL_NOSPEC consistent Pawan Gupta
  2025-03-01  2:35 ` [PATCH v3 2/2] x86/speculation: Add a conditional CS prefix to CALL_NOSPEC Pawan Gupta
  0 siblings, 2 replies; 7+ messages in thread
From: Pawan Gupta @ 2025-03-01  2:35 UTC (permalink / raw)
  To: x86, Josh Poimboeuf, Andrew Cooper; +Cc: linux-kernel

v3:
- Split the CS prefix change into a separate patch. (Ingo)

v2: https://lore.kernel.org/r/20250227-call-nospec-v2-1-895a30dceaac@linux.intel.com
- Fixed the inconsistency in the use of "\" in __CS_PREFIX. (Andrew)
- Fixed the comment to reflect that __CS_PREFIX only emits the prefix and
  not the JMP/CALL. (Andrew)

v1: https://lore.kernel.org/r/20250226-call-nospec-v1-1-4dde04a5c7a7@linux.intel.com

Patch 1 simplifies CALL_NOSPEC and mimics the behavior of compiler induced
thunks.

Patch 2	adds a missing CS prefix in CALL_NOSPEC for inline asm.

---
Pawan Gupta (2):
      x86/speculation: Simplify and make CALL_NOSPEC consistent
      x86/speculation: Add a conditional CS prefix to CALL_NOSPEC

 arch/x86/include/asm/nospec-branch.h | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)
---
base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
change-id: 20250226-call-nospec-b94808f0dc75

Best regards,
-- 
Pawan


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

end of thread, other threads:[~2025-03-04 10:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-01  2:35 [PATCH v3 0/2] CALL_NOSPEC fixes Pawan Gupta
2025-03-01  2:35 ` [PATCH v3 1/2] x86/speculation: Simplify and make CALL_NOSPEC consistent Pawan Gupta
2025-03-03 11:12   ` [tip: x86/urgent] " tip-bot2 for Pawan Gupta
2025-03-04 10:26   ` [tip: x86/cpu] " tip-bot2 for Pawan Gupta
2025-03-01  2:35 ` [PATCH v3 2/2] x86/speculation: Add a conditional CS prefix to CALL_NOSPEC Pawan Gupta
2025-03-03 11:12   ` [tip: x86/urgent] " tip-bot2 for Pawan Gupta
2025-03-04 10:26   ` [tip: x86/cpu] " tip-bot2 for Pawan Gupta

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

all inboxes | Powered by JetHome®