mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
ACPI Hardware Error Device (PNP0C33) support
Hardware Error Device (PNP0C33) is used to report some hardware errors notified via SCI, mainly the corrected errors. Some APEI Generic Hardware Error Source (GHES) may use SCI on hardware error device to notify hardware error to kernel. After receiving notification from ACPI core, it is forwarded to all listeners via a notifier chain. The listener such as APEI GHES should check corresponding error source for new events when notified. Signed-off-by: Huang Ying <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
affb72c3a8
commit
801eab8118
4 changed files with 138 additions and 0 deletions
18
include/acpi/hed.h
Normal file
18
include/acpi/hed.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* hed.h - ACPI Hardware Error Device
|
||||
*
|
||||
* Copyright (C) 2009, Intel Corp.
|
||||
* Author: Huang Ying <ying.huang@intel.com>
|
||||
*
|
||||
* This file is released under the GPLv2.
|
||||
*/
|
||||
|
||||
#ifndef ACPI_HED_H
|
||||
#define ACPI_HED_H
|
||||
|
||||
#include <linux/notifier.h>
|
||||
|
||||
int register_acpi_hed_notifier(struct notifier_block *nb);
|
||||
void unregister_acpi_hed_notifier(struct notifier_block *nb);
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue