From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796306992; b=hPHNZmgcBkHB1e5PlP9yHfe1Lr7p/Uq35P8qopeLz7XPD+UWU4Mu1rtDZTlEG7Q+gwma k9Gc+IzzalT/TWUc0ZAA+jLwLTdwHX+em26fUOMJzbOKNcHp1FD49D29EIrovEC7QJG28 L2/Vm7II13t+7UKAlwtII8TLiA0811qoTtw6raDWyRACbswHPeVKFVQknhhctyDI2ZX6S jtBjXCe+zRlUyCUFjq7DcrK8GBb2PWY+Q3jjW0SmIJHFg4/f1ItP6l5gb+3Ii2yXsFVMx 3lff4psgqU9h5RFxGGQT2ID/y50kUUbug4xVBOhHNi+Sib9wkrj/dgPY8f7qhRlSSEA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796306992; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=OwQJsxDKeVpGP87t5wLYd+HK/hwyh2uc76AECyd9F54=; b=mBAZ9VrGwvgS+EIIeSi5cEcA4R3hx8WztIiHrCspzJdugDvWWXdWEDzQsc8cexfp/s+z lkS3DLSTyQshZTZyJ21s08FQdb2gQJsZ9RsbZO3p1CSXUxH/qfgIdA7spcXyLw9uHd1F8 yuFY6evU24m0c3gUFnDp2mdpudpUhejl+SjfCC8inpeOEaJYAVn69vK1EfUz17MikS+fm G7ftl6dlHTBk4GnfPv7I1s7+PQ6qCnFBKSa4MDu4GG0PNQcNURS851GjYnQ2w1jSo2y9B ZFQsmaO0SSCSJm4TQTohD8Mj8y9/yDMfnQUDS6QJue/HdLhwoBSr5j276Ut/CaalAxw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GSCKnFux; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93624606A32C; Thu, 3 Dec 2026 14:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GSCKnFux Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEF901F00893; Thu, 3 Dec 2026 14:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796306992; bh=OwQJsxDKeVpGP87t5wLYd+HK/hwyh2uc76AECyd9F54=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=GSCKnFuxdPPgUeGq5cBDW3ig+k1det/BcsT93e9VLbZ1AIgznUInDzHIo+TDEDEhT Pva2GTQYnngTeu37jm9gVwoZ/pDvIhws+h/ZVrTwq3jmTkUnwpvxIgnIcrLLlBeIEB SKGgR+UQ9ekka59pCyG6jiKmxJoXH1J09kQAGqvur+JVnhRAdZAodPnVOS06BjrxTs 9w7C9fVBSBOuhy/RHyW8N2s642x2VVjDypRTeNpea68px6L2v0VtLrxfdd5vxs+G3C 2ls+7Fgrmw15B9dB0WUAex5aPv0yjg7MvfAmKP3bVZtl7/lA9iRil4KtfK3fm2qLDJ emRe8gF6C/4nw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v8 18/22] ACPI: APEI: GHES: move CXL CPER helpers Reply-To: sashiko-reviews@lists.linux.dev To: "Ahmed Tiba" Cc: linux-cxl@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261203-topics-ahmtib01-ras_ffh_arm_internal_review-v8-18-157aac88560b@arm.com> References: <20261203-topics-ahmtib01-ras_ffh_arm_internal_review-v8-0-157aac88560b@arm.com> <20261203-topics-ahmtib01-ras_ffh_arm_internal_review-v8-18-157aac88560b@arm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 14:09:51 +0000 X-Mailing-List: linux-cxl@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] ACPI: APEI: unguarded CXL CPER prototypes in ghes_cper.h clash with stubs -- commit 7f26db16ae349390400f7c6a5b9688f77039a001 Author: Ahmed Tiba ACPI: APEI: GHES: move CXL CPER helpers This commit moves the CXL CPER protocol error and event helpers from ghes.c into ghes_cper.c and adds their prototypes to include/acpi/ghes_cper.h. > diff --git a/include/acpi/ghes_cper.h b/include/acpi/ghes_cper.h > index 38f8e0782b9eb..5821eca46d63d 100644 > --- a/include/acpi/ghes_cper.h > +++ b/include/acpi/ghes_cper.h > @@ -20,6 +20,7 @@ > =20 > #include > #include > +#include > =20 > #define GHES_PFX "GHES: " > =20 > @@ -106,5 +107,15 @@ void ghes_estatus_cache_add(struct acpi_hest_generic= *generic, > struct acpi_hest_generic_status *estatus); > void ghes_defer_non_standard_event(struct acpi_hest_generic_data *gdata, > int sev); > +void cxl_cper_post_prot_err(struct cxl_cper_sec_prot_err *prot_err, > + int severity, u32 len); > +void cxl_cper_register_prot_err_work(struct work_struct *work); > +void cxl_cper_unregister_prot_err_work(void); > +int cxl_cper_prot_err_kfifo_get(struct cxl_cper_prot_err_work_data *wd); > +void cxl_cper_post_event(enum cxl_event_type event_type, > + struct cxl_cper_event_rec *rec, u32 len); > +int cxl_cper_register_work(struct work_struct *work); > +void cxl_cper_unregister_work(struct work_struct *work); > +int cxl_cper_kfifo_get(struct cxl_cper_work_data *wd); > =20 > #endif /* ACPI_APEI_GHES_CPER_H */ [Severity: Low] Do the six cxl_cper_*_work() and cxl_cper_*_kfifo_get() prototypes conflict with the static inline stubs in include/cxl/event.h? include/cxl/event.h already declares these six functions when CONFIG_ACPI_APEI_GHES is enabled (or CONFIG_GHES_CPER_HELPERS after commit "ACPI: APEI: introduce GHES CPER helper configuration") and defines static inline stubs otherwise. When that option is disabled, including include/acpi/ghes_cper.h pulls in those stubs and redeclares them without static, failing the build. When enabled, they are redundant and can be dropped, keeping only cxl_cper_post_prot_err() and cxl_cper_post_event(). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203-topics-ahm= tib01-ras_ffh_arm_internal_review-v8-0-157aac88560b@arm.com?part=3D18