]> Git Repo - linux.git/commit
x86/tdx: Remove TDX_HCALL_ISSUE_STI
authorPeter Zijlstra <[email protected]>
Thu, 12 Jan 2023 19:43:36 +0000 (20:43 +0100)
committerIngo Molnar <[email protected]>
Fri, 13 Jan 2023 10:48:15 +0000 (11:48 +0100)
commite80a48bade619ec5a92230b3d4ae84bfc2746822
treec0781002ed2ea989994d430ab180546c8ac3c653
parent89b3098703bd2aa3237ef10a704e6a5838e6ea69
x86/tdx: Remove TDX_HCALL_ISSUE_STI

Now that arch_cpu_idle() is expected to return with IRQs disabled,
avoid the useless STI/CLI dance.

Per the specs this is supposed to work, but nobody has yet relied up
this behaviour so broken implementations are possible.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Tested-by: Ulf Hansson <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/x86/coco/tdx/tdcall.S
arch/x86/coco/tdx/tdx.c
arch/x86/include/asm/shared/tdx.h
This page took 0.066763 seconds and 4 git commands to generate.