Re: [PATCH] x86/hpet: Read HPET directly if panic in progress

From: Tony W Wang-oc
Date: Wed May 29 2024 - 04:21:42 EST




On 2024/5/29 15:45, Thomas Gleixner wrote:


[这封邮件来自外部发件人 谨防风险]

On Wed, May 29 2024 at 14:44, Tony W Wang-oc wrote:
Actually, this scenario is what this patch is trying to solve.

We encountered hpet_lock deadlock from the call path of the MCE handler,
and this hpet_lock deadlock scenario may happen when others exceptions'
handler like #PF/#GP... to call the panic. So read_hpet should avoid
deadlock if panic in progress.

That's not what your changelog says.

Yes.
The example flow I gave with the MCE handler in my changelog is misleading.