x86/tdx: Remove TDX_HCALL_ISSUE_STI
authorPeter Zijlstra <peterz@infradead.org>
Thu, 12 Jan 2023 19:43:36 +0000 (20:43 +0100)
committerIngo Molnar <mingo@kernel.org>
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) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20230112195540.682137572@infradead.org
arch/x86/coco/tdx/tdcall.S
arch/x86/coco/tdx/tdx.c
arch/x86/include/asm/shared/tdx.h