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

From: Ingo Molnar
Date: Mon Oct 25 2010 - 09:02:57 EST



* Ingo Molnar <mingo@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/