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

Borislav Petkov
2020-01-02T18:01:43Z

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.