[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220519220349.GM2578@worktop.programming.kicks-ass.net>
Date: Fri, 20 May 2022 00:03:49 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: frederic@...nel.org, paulmck@...nel.org, rjw@...ysocki.net,
x86@...nel.org, kirill.shutemov@...ux.intel.com
Cc: linux-kernel@...r.kernel.org, jpoimboe@...nel.org
Subject: Re: [RFC][PATCH 9/9] arch/idle: Change arch_cpu_idle() IRQ behaviour
On Thu, May 19, 2022 at 11:27:59PM +0200, Peter Zijlstra wrote:
> --- a/arch/x86/coco/tdx/tdx.c
> +++ b/arch/x86/coco/tdx/tdx.c
> @@ -178,6 +178,9 @@ void __cpuidle tdx_safe_halt(void)
> */
> if (__halt(irq_disabled, do_sti))
> WARN_ONCE(1, "HLT instruction emulation failed\n");
> +
> + /* XXX I can't make sense of what @do_sti actually does */
> + raw_local_irq_disable();
> }
>
Kirill, Dave says I should prod you :-)
Powered by blists - more mailing lists