Re: [NAK] Re: [PATCH -v2 9/9] ACPI, APEI, Generic Hardware Error Source POLL/IRQ/NMI notification type support

Ingo Molnar
2010-10-25T13:02:51Z

* Ingo Molnar <mingo@elte.hu> wrote:

> > The memory error handler does different actions depending on what the state the
> > page the error is happening on is in.
>
> What you appear to be arguing for is the ability to inject different types of
> events.
>
> _OF COURSE_ we want that.
>
> Just like we want to be able to _receive_ multiple types of events from wildly
> different hardware and wildly different kernel subsystems ...
>
> Duh.
>
> That desire does not necessiate 'three different injectors' at all. It does not
> necessiate multiple incompatible facilities with random ABIs.

And note that once there's a generic facility that allows event injection, the
actual low level implementation might of course be hardware specific. There's no
reduction in actual feature richness: if the hw can do fancy things, it can be
expressed via a generic facility as well.

What i object to is the narrow hardware specificity (and ad-hocness) of the high
level interface and its non-integration into existing facilities.

Thanks,

Ingo