Re: [RFC PATCH] apei/ghes: fix ghes_poll_func by registering in non-deferrable mode

From: Borislav Petkov
Date: Thu Jan 02 2020 - 13:01:46 EST


On Tue, Dec 17, 2019 at 11:03:38PM -0800, Bhaskar Upadhaya wrote:
> Currently Linux register ghes_poll_func with TIMER_DEFERRABLE flag,
> because of which it is serviced when the CPU eventually wakes up with a
> subsequent non-deferrable timer and not at the configured polling interval.
>
> For polling mode, the polling interval configured by firmware should not
> be exceeded as per ACPI_6_3 spec[refer Table 18-394],

I see

"Table 18-394 Hardware Error Notification Structure"

where does it say that the interval should not be exceeded and what is
going to happen if it gets exceeded?

IOW, are you fixing something you're observing on some platform or
you're reading the spec only?

--
Regards/Gruss,
Boris.

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