Hi Alex,
-----Original Message-----
From: Alexandru Gagniuc [mailto:mr.nuke.me@xxxxxxxxx]
-static inline int ghes_severity(int severity)
+static inline int ghes_cper_severity(int severity)
[...]
else
ratelimit = &ratelimit_uncorrected;
@@ -705,9 +705,8 @@ static int ghes_proc(struct ghes *ghes)
if (rc)
goto out;
- if (ghes_severity(ghes->estatus->error_severity) >=
GHES_SEV_PANIC) {
+ if (ghes_cper_severity(ghes->estatus->error_severity) >=
GHES_SEV_PANIC)
__ghes_panic(ghes);
PCIe AER fatal errors result panic here.
I think ghes_cper_severity to be replaced with ghes_severity in the ghes_proc function as well in the patch
"acpi: apei: Do not panic() on PCIe errors reported through GHES"?