ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device
ACPI for Arm Components 1.1 Platform Design Document v1.1 [0] specifices Arm Generic Diagnostic Device Interface (AGDI). It allows an admin to issue diagnostic dump and reset via an SDEI event or an interrupt. This patch implements SDEI path. [0] https://developer.arm.com/documentation/den0093/latest/ Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
3f8dec1162
commit
a2a591fb76
5 changed files with 142 additions and 0 deletions
13
include/linux/acpi_agdi.h
Normal file
13
include/linux/acpi_agdi.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef __ACPI_AGDI_H__
|
||||
#define __ACPI_AGDI_H__
|
||||
|
||||
#include <linux/acpi.h>
|
||||
|
||||
#ifdef CONFIG_ACPI_AGDI
|
||||
void __init acpi_agdi_init(void);
|
||||
#else
|
||||
static inline void acpi_agdi_init(void) {}
|
||||
#endif
|
||||
#endif /* __ACPI_AGDI_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue