Re: [PATCH v5 5/5] x86/CPU/AMD: Print the reason for the last reset

From: Borislav Petkov
Date: Wed Apr 30 2025 - 15:39:42 EST


On Wed, Apr 30, 2025 at 02:32:44PM -0500, Mario Limonciello wrote:
> This would work, but would still need to track if "no" known bits were set
> to emit an "unknown" message.
>
> So the loops end up being for() and check a bit or while (true) and
> find_next_bit() and otherwise identical.
>
> At that point does it really buy much more than the while (true) approach
> and find_next_bit()?

I have the requirements now, thanks. Lemme hack it up tomorrow, on a clear
head.

Thx.


--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette