kernel-ark/drivers/acpi/apei
Huang Ying 152cef40a8 ACPI, APEI, GHES, Error records content based throttle
printk is used by GHES to report hardware errors.  Ratelimit is
enforced on the printk to avoid too many hardware error reports in
kernel log.  Because there may be thousands or even millions of
corrected hardware errors during system running.

Currently, a simple scheme is used.  That is, the total number of
hardware error reporting is ratelimited.  This may cause some issues
in practice.

For example, there are two kinds of hardware errors occurred in
system.  One is corrected memory error, because the fault memory
address is accessed frequently, there may be hundreds error report
per-second.  The other is corrected PCIe AER error, it will be
reported once per-second.  Because they share one ratelimit control
structure, it is highly possible that only memory error is reported.

To avoid the above issue, an error record content based throttle
algorithm is implemented in the patch.  Where after the first
successful reporting, all error records that are same are throttled for
some time, to let other kinds of error records have the opportunity to
be reported.

In above example, the memory errors will be throttled for some time,
after being printked.  Then the PCIe AER error will be printked
successfully.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-08-03 11:15:57 -04:00
..
apei-base.c ACPI, APEI, Add WHEA _OSC support 2011-07-13 23:38:49 -04:00
apei-internal.h ACPI, APEI, Add WHEA _OSC support 2011-07-13 23:38:49 -04:00
cper.c ACPI, APEI, Add PCIe AER error information printing support 2011-03-21 22:59:08 -04:00
einj.c ACPI, APEI, Use apei_exec_run_optional in APEI EINJ and ERST 2011-07-13 23:35:14 -04:00
erst-dbg.c ACPI, APEI, ERST, Fix erst-dbg long record reading issue 2011-07-13 23:31:51 -04:00
erst.c ACPI, APEI, Use apei_exec_run_optional in APEI EINJ and ERST 2011-07-13 23:35:14 -04:00
ghes.c ACPI, APEI, GHES, Error records content based throttle 2011-08-03 11:15:57 -04:00
hest.c ACPI, APEI, GHES, Support disable GHES at boot time 2011-07-13 23:36:34 -04:00
Kconfig ACPI, APEI, GHES, printk support for recoverable error via NMI 2011-08-03 11:15:57 -04:00
Makefile ACPI, APEI, ERST debug support 2010-08-14 22:47:55 -04:00