All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jonathan.cameron@huawei.com>
To: Ahmed Tiba <ahmed.tiba@arm.com>
Cc: <linux-acpi@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-cxl@vger.kernel.org>, <Michael.Zhao2@arm.com>,
	<robh@kernel.org>, <linux-arm-kernel@lists.infradead.org>,
	<Dmitry.Lamerov@arm.com>, <rafael@kernel.org>, <conor@kernel.org>,
	<will@kernel.org>, <bp@alien8.de>, <catalin.marinas@arm.com>,
	<krzk+dt@kernel.org>, <linux-doc@vger.kernel.org>,
	<mchehab+huawei@kernel.org>, <tony.luck@intel.com>
Subject: Re: [PATCH v3 01/10] ACPI: APEI: GHES: share macros via a private header
Date: Tue, 24 Mar 2026 17:28:55 +0000	[thread overview]
Message-ID: <20260324172855.000032fb@huawei.com> (raw)
In-Reply-To: <20260318-topics-ahmtib01-ras_ffh_arm_internal_review-v3-1-48e6a1c249ef@arm.com>

On Wed, 18 Mar 2026 20:47:58 +0000
Ahmed Tiba <ahmed.tiba@arm.com> wrote:

> Carve the CPER helper macros out of ghes.c and place them in a private
> header so they can be shared with upcoming helper files. This is a
> mechanical include change with no functional differences.
> 
> Signed-off-by: Ahmed Tiba <ahmed.tiba@arm.com>

> diff --git a/include/acpi/ghes_cper.h b/include/acpi/ghes_cper.h
> new file mode 100644
> index 000000000000..a38e3440b927
> --- /dev/null
> +++ b/include/acpi/ghes_cper.h
> @@ -0,0 +1,103 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +/*
> + * Shared GHES declarations for firmware-first CPER error handling.
> + *
> + * This header groups the GHES declarations that are needed by the shared
> + * CPER handling path.
shared CPER is unclear.  Start with something broad like:

GHES declarations are used both for ACPI APEI handling and xyz.

I'm not sure I'd put any additional justification here beyond such a
simple sentence.

> + *
> + * The split lets GHES and other firmware-first error sources use the same

I would consider rewriting this.  What split?  Not obvious from what you have
in this header.

> + * code for reading status blocks, caching records, handling vendor data,
> + * and reporting errors, so the non-ACPI path follows the same behavior as
> + * GHES instead of carrying a separate copy.
> + *
> + * Derived from the ACPI APEI GHES driver.
> + *
> + * Copyright 2010,2011 Intel Corp.
> + *   Author: Huang Ying <ying.huang@intel.com>
> + */
> +



  reply	other threads:[~2026-03-24 17:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-18 20:47 [PATCH v3 00/10] cover: ACPI: APEI: share GHES CPER helpers and add DT FFH provider Ahmed Tiba
2026-03-18 20:47 ` [PATCH v3 01/10] ACPI: APEI: GHES: share macros via a private header Ahmed Tiba
2026-03-24 17:28   ` Jonathan Cameron [this message]
2026-03-18 20:47 ` [PATCH v3 02/10] ACPI: APEI: GHES: move CPER read helpers Ahmed Tiba
2026-03-18 20:48 ` [PATCH v3 03/10] ACPI: APEI: GHES: move GHESv2 ack and alloc helpers Ahmed Tiba
2026-03-18 20:48 ` [PATCH v3 04/10] ACPI: APEI: GHES: move estatus cache helpers Ahmed Tiba
2026-03-18 20:48 ` [PATCH v3 05/10] ACPI: APEI: GHES: move vendor record helpers Ahmed Tiba
2026-03-18 20:48 ` [PATCH v3 06/10] ACPI: APEI: GHES: move CXL CPER helpers Ahmed Tiba
2026-03-20  6:23   ` kernel test robot
2026-03-18 20:48 ` [PATCH v3 07/10] ACPI: APEI: introduce GHES helper Ahmed Tiba
2026-03-18 20:48 ` [PATCH v3 08/10] ACPI: APEI: share GHES CPER helpers Ahmed Tiba
2026-03-18 20:48 ` [PATCH v3 09/10] dt-bindings: firmware: add arm,ras-cper Ahmed Tiba
2026-03-19  8:20   ` Krzysztof Kozlowski
2026-03-26 15:24   ` Rob Herring
2026-03-18 20:48 ` [PATCH v3 10/10] RAS: add firmware-first CPER provider Ahmed Tiba
2026-03-19 19:36   ` kernel test robot
2026-03-19 19:49   ` kernel test robot
2026-03-19 22:28   ` kernel test robot

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=20260324172855.000032fb@huawei.com \
    --to=jonathan.cameron@huawei.com \
    --cc=Dmitry.Lamerov@arm.com \
    --cc=Michael.Zhao2@arm.com \
    --cc=ahmed.tiba@arm.com \
    --cc=bp@alien8.de \
    --cc=catalin.marinas@arm.com \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=mchehab+huawei@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.