From: Rob Herring <robh@kernel.org>
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,
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 09/10] dt-bindings: firmware: add arm,ras-cper
Date: Thu, 26 Mar 2026 10:24:36 -0500 [thread overview]
Message-ID: <20260326152436.GA2484010-robh@kernel.org> (raw)
In-Reply-To: <20260318-topics-ahmtib01-ras_ffh_arm_internal_review-v3-9-48e6a1c249ef@arm.com>
On Wed, Mar 18, 2026 at 08:48:06PM +0000, Ahmed Tiba wrote:
> Describe the DeviceTree node that exposes the Arm firmware-first
> CPER provider and hook the file into MAINTAINERS so the
> binding has an owner.
>
> Signed-off-by: Ahmed Tiba <ahmed.tiba@arm.com>
> ---
> .../devicetree/bindings/firmware/arm,ras-cper.yaml | 71 ++++++++++++++++++++++
> MAINTAINERS | 5 ++
> 2 files changed, 76 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/firmware/arm,ras-cper.yaml b/Documentation/devicetree/bindings/firmware/arm,ras-cper.yaml
> new file mode 100644
> index 000000000000..bd93cfb8d222
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/firmware/arm,ras-cper.yaml
> @@ -0,0 +1,71 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/firmware/arm,ras-cper.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Arm RAS CPER provider
> +
> +maintainers:
> + - Ahmed Tiba <ahmed.tiba@arm.com>
> +
> +description: |
> + Arm Reliability, Availability and Serviceability (RAS) firmware can expose
> + a firmware-first CPER error source directly via DeviceTree. Firmware
> + provides the CPER Generic Error Status block and notifies the OS through
> + an interrupt.
> +
> +properties:
> + compatible:
> + const: arm,ras-cper
> +
> + reg:
> + minItems: 1
> + items:
> + - description:
> + CPER Generic Error Status block exposed by firmware
> + - description:
> + Optional 32- or 64-bit doorbell register used on platforms
> + where firmware needs an explicit "ack" handshake before overwriting
> + the CPER buffer. Firmware watches bit 0 and expects the OS to set it
> + once the current status block has been consumed.
> +
> + interrupts:
> + maxItems: 1
> + description:
> + Interrupt used to signal that a new status record is ready.
> +
> + memory-region:
> + $ref: /schemas/types.yaml#/definitions/phandle
memory-region already has a defined type. You just need to define how
many entries (maxItems: 1).
> + description:
> + Optional phandle to the reserved-memory entry that backs the status
> + buffer so firmware and the OS use the same carved-out region.
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + reserved-memory {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ras_cper_buffer: cper@fe800000 {
> + reg = <0x0 0xfe800000 0x0 0x1000>;
> + no-map;
> + };
> + };
> +
> + error-handler@fe800000 {
> + compatible = "arm,ras-cper";
> + reg = <0xfe800000 0x1000>,
Wait! Why is the reserved address here? There's 2 problems with that.
There shouldn't be same address in 2 places in the DT. The 2nd is
reserved memory should only be regions within DRAM (or whatever is
system memory).
Rob
next prev parent reply other threads:[~2026-03-26 15:24 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
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 [this message]
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=20260326152436.GA2484010-robh@kernel.org \
--to=robh@kernel.org \
--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=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