public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Ahmed Tiba <ahmed.tiba@arm.com>
To: Himanshu Chauhan <himanshu.chauhan@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, linux-acpi@vger.kernel.org,
	Dmitry.Lamerov@arm.com, catalin.marinas@arm.com, bp@alien8.de,
	robh@kernel.org, rafael@kernel.org, will@kernel.org,
	conor@kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-doc@vger.kernel.org, krzk+dt@kernel.org,
	Michael.Zhao2@arm.com, tony.luck@intel.com
Subject: Re: [PATCH v2 00/11] ACPI: APEI: share GHES CPER helpers and add DT FFH provider
Date: Wed, 11 Mar 2026 10:44:51 +0000	[thread overview]
Message-ID: <3ce33210-94d0-4220-bc58-142b51079aed@arm.com> (raw)
In-Reply-To: <CA+Ht8=a_fw-u2PLEf1GY7qYLT945OaJ0LeW6K+X2SvSWLqsrXA@mail.gmail.com>

On 26/02/2026 07:05, Himanshu Chauhan wrote:
> On Fri, Feb 20, 2026 at 7:14 PM Ahmed Tiba <ahmed.tiba@arm.com> wrote:
>>
>> This is v2 of the GHES refactor series. The goal is to reuse existing
>> GHES CPER handling for non-ACPI platforms without changing the GHES
>> flow or naming, and add a DT firmware-first CPER provider, while
>> keeping the changes mechanical and reviewable.
> 
> It seems almost all the code is being moved from ghes.c to ghes_cper.c
> in multiple patches. It is not making sense and looks like an
> unnecessary churn.
> What is that which can't be handled in a separate file for non-ACPI platforms?

The intent is to reuse the existing GHES CPER parsing
and reporting logic for non‑ACPI platforms without duplicating it.
That does require moving the shared CPER handling into a common helper 
file so both GHES and the DT provider call the same code.

>>
>> Signed-off-by: Ahmed Tiba <ahmed.tiba@arm.com>
>> ---
>> Changes in v2:
>> - Dropped the proposed "estatus core" and kept GHES naming/flow intact
>>    (per Borislav Petkov).
>> - Re-sliced the series into smaller mechanical steps (per Mauro Carvalho Chehab).
>> - Minor DT binding fixes based on Krzysztof Kozlowski's feedback.
>> - Removed fixmap slot usage from the DT FFH driver (per Will Deacon).
>>
>> Series structure:
>> - Patches 1-8 are mechanical moves only and do not change behavior.
>> - Patch 9 wires the shared helpers back into GHES.
>> - The DT firmware-first CPER buffer provider is added in the final patches.
>> - "ACPI: APEI: introduce GHES helper" is internal build glue only
>>    and does not introduce a new user-visible configuration option.
>>
>> - Link to v1: https://lore.kernel.org/r/20251217112845.1814119-1-ahmed.tiba@arm.com
>>
>> ---
>> Ahmed Tiba (11):
>>        ACPI: APEI: GHES: share macros via a private header
>>        ACPI: APEI: GHES: add ghes_cper.o stub
>>        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 helper
>>        ACPI: APEI: share GHES CPER helpers
>>        dt-bindings: firmware: add arm,ras-ffh
>>        RAS: add DeviceTree firmware-first CPER provider
>>
>>   Documentation/admin-guide/RAS/main.rst             |   18 +
>>   .../devicetree/bindings/firmware/arm,ras-ffh.yaml  |   71 ++
>>   MAINTAINERS                                        |    6 +
>>   drivers/Makefile                                   |    1 +
>>   drivers/acpi/Kconfig                               |    4 +
>>   drivers/acpi/apei/Kconfig                          |    1 +
>>   drivers/acpi/apei/apei-internal.h                  |   10 +-
>>   drivers/acpi/apei/ghes.c                           | 1024 +------------------
>>   drivers/acpi/apei/ghes_cper.c                      | 1026 ++++++++++++++++++++
>>   drivers/ras/Kconfig                                |   12 +
>>   drivers/ras/Makefile                               |    1 +
>>   drivers/ras/esource-dt.c                           |  264 +++++
>>   include/acpi/ghes.h                                |   10 +-
>>   include/acpi/ghes_cper.h                           |  143 +++
>>   include/cxl/event.h                                |    2 +-
>>   15 files changed, 1558 insertions(+), 1035 deletions(-)
>> ---
>> base-commit: 8bf22c33e7a172fbc72464f4cc484d23a6b412ba
>> change-id: 20260220-topics-ahmtib01-ras_ffh_arm_internal_review-bfddc7fc7cab
>>
>> Best regards,
>> --
>> Ahmed Tiba <ahmed.tiba@arm.com>
>>
>>



      reply	other threads:[~2026-03-11 10:46 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-20 13:42 [PATCH v2 00/11] ACPI: APEI: share GHES CPER helpers and add DT FFH provider Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 01/11] ACPI: APEI: GHES: share macros via a private header Ahmed Tiba
2026-02-24 15:22   ` Jonathan Cameron
2026-03-11 11:39     ` Ahmed Tiba
2026-03-11 12:39       ` Jonathan Cameron
2026-03-11 12:56         ` Ahmed Tiba
2026-02-26  6:44   ` Himanshu Chauhan
2026-03-11 11:55     ` Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 02/11] ACPI: APEI: GHES: add ghes_cper.o stub Ahmed Tiba
2026-02-24 15:25   ` Jonathan Cameron
2026-03-11 12:19     ` Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 03/11] ACPI: APEI: GHES: move CPER read helpers Ahmed Tiba
2026-02-24 15:32   ` Jonathan Cameron
2026-03-11 12:38     ` Ahmed Tiba
2026-02-26  5:58   ` Himanshu Chauhan
2026-03-11 13:18     ` Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 04/11] ACPI: APEI: GHES: move GHESv2 ack and alloc helpers Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 05/11] ACPI: APEI: GHES: move estatus cache helpers Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 06/11] ACPI: APEI: GHES: move vendor record helpers Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 07/11] ACPI: APEI: GHES: move CXL CPER helpers Ahmed Tiba
2026-02-24 15:34   ` Jonathan Cameron
2026-02-20 13:42 ` [PATCH v2 08/11] ACPI: APEI: introduce GHES helper Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 09/11] ACPI: APEI: share GHES CPER helpers Ahmed Tiba
2026-02-20 19:19   ` kernel test robot
2026-02-20 19:24   ` kernel test robot
2026-02-20 20:37   ` kernel test robot
2026-02-20 21:16   ` kernel test robot
2026-02-20 13:42 ` [PATCH v2 10/11] dt-bindings: firmware: add arm,ras-ffh Ahmed Tiba
2026-02-26  7:03   ` Himanshu Chauhan
2026-03-11 13:41     ` Ahmed Tiba
2026-02-20 13:42 ` [PATCH v2 11/11] RAS: add DeviceTree firmware-first CPER provider Ahmed Tiba
2026-02-21  9:06   ` Krzysztof Kozlowski
2026-02-23 19:10     ` Ahmed Tiba
2026-02-24 15:55   ` Jonathan Cameron
2026-03-12 12:23     ` Ahmed Tiba
2026-03-12 14:50       ` Jonathan Cameron
2026-02-26  7:01   ` Himanshu Chauhan
2026-02-26  7:05 ` [PATCH v2 00/11] ACPI: APEI: share GHES CPER helpers and add DT FFH provider Himanshu Chauhan
2026-03-11 10:44   ` Ahmed Tiba [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ce33210-94d0-4220-bc58-142b51079aed@arm.com \
    --to=ahmed.tiba@arm.com \
    --cc=Dmitry.Lamerov@arm.com \
    --cc=Michael.Zhao2@arm.com \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=himanshu.chauhan@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox