Re: [PATCH] ACPI, APEI, Add APEI _OSC support

Matthew Garrett
2011-06-17T01:34:56Z

On Fri, Jun 17, 2011 at 08:57:09AM +0800, Huang Ying wrote:
> On 06/16/2011 09:57 AM, Matthew Garrett wrote:
> > Yeah, this is going to be a problem. We have the HEST available at this
> > point so we ought to be able to parse it, though. I'll take a look
> > tomorrow.
>
> We can check the HEST table before _OSC evaluating. But it is much
> harder to check software part, because we have implemented GHES support
> (Generic Hardware Error Source, the handler of firmware first mode
> hardware error notification) as device driver and module.

If the kernel has been configured with support for the feature then I
think we ought to be able to assume that the kernel will support it at
runtime.

> So I think we can do that in 2 steps. At first, we just enable WHEA
> UUID, because that is easier to do. Then we find a way to implement
> "APEI bit" in generic _OSC call. Do you think that is a good idea?

I'm fine with that, providing that GHES isn't disabled purely because
the WHEA UUID call wasn't successful.

--
Matthew Garrett | mjg59@srcf.ucam.org