Devicetree
 help / color / mirror / Atom feed
* [PATCH v8 00/22] ACPI: APEI: share GHES CPER helpers and add DT FFH provider
@ 2026-12-03 13:40 Ahmed Tiba
  2026-12-03 13:40 ` [PATCH v8 01/22] ACPI: APEI: GHES: wait for RCU readers before unmapping Ahmed Tiba
                   ` (21 more replies)
  0 siblings, 22 replies; 32+ messages in thread
From: Ahmed Tiba @ 2026-12-03 13:40 UTC (permalink / raw)
  To: Rafael J. Wysocki, Tony Luck, Borislav Petkov, Hanjun Guo,
	Mauro Carvalho Chehab, Shuai Xue, Len Brown, Saket Dumbre,
	Davidlohr Bueso, Jonathan Cameron, Dave Jiang, Alison Schofield,
	Vishal Verma, Dan Williams, Ira Weiny, Li Ming,
	Mahesh J Salgaonkar, Oliver O'Halloran, Bjorn Helgaas,
	Ahmed Tiba, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Jonathan Corbet, Shuah Khan
  Cc: linux-kernel, linux-acpi, acpica-devel, linux-cxl, linuxppc-dev,
	linux-pci, devicetree, linux-edac, linux-doc, pawel.chmielewski,
	rdunlap, justin.he, David.Hu2, Michael.Zhao2, icheng,
	Dmitry.Lamerov, maciej.wieczor-retman, sourabhjain, sashiko-bot

This is v8 of the GHES refactor series, rebased onto v7.4-rc5.

The rebase incorporates the relevant fixes already present in v7.4-rc5.
Separate preparatory patches address the remaining findings reported by
Sashiko. These functional fixes are kept separate from the mechanical
GHES CPER helper movements to simplify review.

Changes in v8:
- Rebase the series onto v7.4-rc5.
- Retain the relevant fixes that landed upstream after v7.
- Add separate preparatory patches for the remaining Sashiko findings.
- Wait for RCU readers before unmapping GHES error status registers.
- Avoid traversing the GHES device list from the EDAC driver.
- Track the error status pool allocation size used for queued records.
- Drain deferred IRQ work before releasing a GHES source.
- Apply GHESv2 read-acknowledge masks without an additional shift.
- Revalidate the error status length after copying the complete record.
- Free an error status cache entry when no cache slot can be selected.
- Include architecture ACPI declarations directly from efi/cper.
- Permit multiple users to extend the shared error status pool.
- Keep task-work allocations valid until error reporting completes.
- Reset FRU metadata for every CPER section.
- Validate the remaining length before reading a CPER section.
- Keep the original GHES CPER helper movement patches mechanical.

Link to v7: https://lore.kernel.org/r/20260708-topics-ahmtib01-ras_ffh_arm_internal_review-v7-0-8b3a85216cef@arm.com

---
Ahmed Tiba (22):
      ACPI: APEI: GHES: wait for RCU readers before unmapping
      EDAC: ghes: avoid traversing the GHES device list
      ACPI: APEI: GHES: track error status pool allocation size
      ACPI: APEI: GHES: drain deferred work before freeing a source
      ACPI: APEI: GHES: apply read-acknowledge masks directly
      ACPI: APEI: GHES: revalidate the error status length after copying
      ACPI: APEI: GHES: free an estatus cache entry when no slot is found
      efi/cper: include architecture ACPI declarations directly
      ACPI: APEI: GHES: allow the error status pool to be extended
      ACPI: APEI: GHES: keep task work valid through error reporting
      ACPI: APEI: GHES: reset FRU metadata for each CPER section
      efi/cper: validate the remaining length before reading a section
      ACPI: APEI: GHES: share macros via a private header
      ACPI: APEI: GHES: move CPER read helpers
      ACPI: APEI: GHES: move GHESv2 ack and alloc helpers
      ACPI: APEI: GHES: move estatus cache helpers
      ACPI: APEI: GHES: move vendor record helpers
      ACPI: APEI: GHES: move CXL CPER helpers
      ACPI: APEI: introduce GHES CPER helper configuration
      ACPI: APEI: share GHES CPER helpers
      dt-bindings: firmware: add arm,ras-cper
      RAS: add firmware-first CPER provider

 Documentation/admin-guide/RAS/main.rst             |   15 +
 .../devicetree/bindings/firmware/arm,ras-cper.yaml |   52 +
 MAINTAINERS                                        |    6 +
 drivers/Makefile                                   |    2 +
 drivers/acpi/Kconfig                               |    9 +
 drivers/acpi/acpi_extlog.c                         |    7 +-
 drivers/acpi/apei/Kconfig                          |    2 +
 drivers/acpi/apei/Makefile                         |    1 -
 drivers/acpi/apei/ghes.c                           | 1129 +------------------
 drivers/acpi/apei/ghes_cper.c                      | 1159 ++++++++++++++++++++
 drivers/edac/ghes_edac.c                           |   38 +-
 drivers/firmware/efi/cper-x86.c                    |    1 +
 drivers/firmware/efi/cper.c                        |    3 +
 drivers/pci/pcie/aer.c                             |    4 +-
 drivers/ras/Kconfig                                |   13 +
 drivers/ras/Makefile                               |    1 +
 drivers/ras/cper-esource.c                         |  356 ++++++
 include/acpi/ghes.h                                |   11 +-
 include/acpi/ghes_cper.h                           |  154 +++
 include/cxl/event.h                                |    4 +-
 20 files changed, 1825 insertions(+), 1142 deletions(-)
---
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
change-id: 20260220-topics-ahmtib01-ras_ffh_arm_internal_review-bfddc7fc7cab

Best regards,
-- 
Ahmed Tiba <ahmed.tiba@arm.com>


^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2026-12-03 14:19 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 13:40 [PATCH v8 00/22] ACPI: APEI: share GHES CPER helpers and add DT FFH provider Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 01/22] ACPI: APEI: GHES: wait for RCU readers before unmapping Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 02/22] EDAC: ghes: avoid traversing the GHES device list Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 03/22] ACPI: APEI: GHES: track error status pool allocation size Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 04/22] ACPI: APEI: GHES: drain deferred work before freeing a source Ahmed Tiba
2026-12-03 14:00   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 05/22] ACPI: APEI: GHES: apply read-acknowledge masks directly Ahmed Tiba
2026-12-03 13:58   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 06/22] ACPI: APEI: GHES: revalidate the error status length after copying Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 07/22] ACPI: APEI: GHES: free an estatus cache entry when no slot is found Ahmed Tiba
2026-12-03 13:53   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 08/22] efi/cper: include architecture ACPI declarations directly Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 09/22] ACPI: APEI: GHES: allow the error status pool to be extended Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 10/22] ACPI: APEI: GHES: keep task work valid through error reporting Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 11/22] ACPI: APEI: GHES: reset FRU metadata for each CPER section Ahmed Tiba
2026-12-03 13:54   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 12/22] efi/cper: validate the remaining length before reading a section Ahmed Tiba
2026-12-03 13:52   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 13/22] ACPI: APEI: GHES: share macros via a private header Ahmed Tiba
2026-12-03 14:00   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 14/22] ACPI: APEI: GHES: move CPER read helpers Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 15/22] ACPI: APEI: GHES: move GHESv2 ack and alloc helpers Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 16/22] ACPI: APEI: GHES: move estatus cache helpers Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 17/22] ACPI: APEI: GHES: move vendor record helpers Ahmed Tiba
2026-12-03 14:04   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 18/22] ACPI: APEI: GHES: move CXL CPER helpers Ahmed Tiba
2026-12-03 14:09   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 19/22] ACPI: APEI: introduce GHES CPER helper configuration Ahmed Tiba
2026-12-03 14:19   ` sashiko-bot
2026-12-03 13:40 ` [PATCH v8 20/22] ACPI: APEI: share GHES CPER helpers Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 21/22] dt-bindings: firmware: add arm,ras-cper Ahmed Tiba
2026-12-03 13:40 ` [PATCH v8 22/22] RAS: add firmware-first CPER provider Ahmed Tiba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox