RE: [RFC] ACPI, APEI, Generic Hardware Error Source POLL/IRQ/NMInotification type support

From: Luck, Tony
Date: Wed Dec 15 2010 - 11:40:20 EST


>Because the memory area used to transfer hardware error information
>from BIOS to Linux can be determined only in NMI, IRQ or timer
>handler, but general ioremap can not be used in atomic context, so a
>special version of atomic ioremap is implemented for that.
>
>Known issue:
>
>- Error information can not be printed for recoverable errors notified
> via NMI, because printk is not NMI-safe. Will fix this via delay
> printing to IRQ context via irq_work or make printk NMI-safe.

Would it be possible to defer the "ioremap" to a work queue too? Then
we wouldn't need the special versions of ioremap.

-Tony
--
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/