]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
ras-arm-handler: be compatible with upstream Kernel
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 25 Jun 2024 08:05:45 +0000 (10:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 25 Jun 2024 08:06:40 +0000 (10:06 +0200)
commitefc150d2f727ee29458b4b6d4d033ed284c095b3
tree704f8662ff2bab1c350274a2966ffd37555c2c10
parent91d46e8e1b02f15f7826c21825646b825f915722
ras-arm-handler: be compatible with upstream Kernel

Changeset e37eb2f11a82 ("Add code to decode Ampere specific error")
broke ARM event record with upstream Kernel, as it requires a different
trace event than the one that it is on upstream Kernel, and it is
part of a pending pull request:

https://lore.kernel.org/all/20240321-b4-arm-ras-error-vendor-info-v5-rc3-v5-0-850f9bfb97a8@os.amperecomputing.com/

Restore its behavior by making parsing the UEFI 2.6+ N.17 and N.16
table extra fields to be optional. That should make it compatible
with current upstream Kernels again.

Fixes: e37eb2f11a82 ("Add code to decode Ampere specific error")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
ras-arm-handler.c