[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c29fcf14b87c0c0bfa1ba304c89fe8c410aac03b.camel@xry111.site>
Date: Tue, 21 Oct 2025 21:43:10 +0800
From: Xi Ruoyao <xry111@...111.site>
To: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: "Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
loongarch@...ts.linux.dev, Mingcong Bai <jeffbai@...c.io>, Guenter Roeck
<linux@...ck-us.net>, stable@...r.kernel.org, Saket Dumbre
<saket.dumbre@...el.com>, Robert Moore <robert.moore@...el.com>, Len Brown
<lenb@...nel.org>, Huacai Chen <chenhuacai@...nel.org>, "open list:ACPI
COMPONENT ARCHITECTURE (ACPICA)" <linux-acpi@...r.kernel.org>, "open
list:ACPI COMPONENT ARCHITECTURE (ACPICA)" <acpica-devel@...ts.linux.dev>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] acpica: Work around bogus -Wstringop-overread warning
since GCC 11
On Tue, 2025-10-21 at 15:35 +0200, Rafael J. Wysocki wrote:
> On Tue, Oct 21, 2025 at 11:28 AM Xi Ruoyao <xry111@...111.site> wrote:
> >
> > When ACPI_MISALIGNMENT_NOT_SUPPORTED, GCC can produce a bogus
> > -Wstringop-overread warning, see https://gcc.gnu.org/PR122073.
> >
> > To me it's very clear that we have a compiler bug here, thus just
> > disable the warning.
> >
> > Cc: stable@...r.kernel.org
> > Fixes: a9d13433fe17 ("LoongArch: Align ACPI structures if ARCH_STRICT_ALIGN enabled")
> > Link: https://lore.kernel.org/all/899f2dec-e8b9-44f4-ab8d-001e160a2aed@roeck-us.net/
> > Link: https://github.com/acpica/acpica/commit/abf5b573
/* snip */
> Please submit ACPICA changes to the upstream ACPICA project on GitHub
> as pull requests (PRs). After a given PR has been merged upstream, a
> corresponding Linux patch can be submitted with a Link: tag pointing
> to the upstream commit, but note that upstream ACPICA material is
> automatically transferred to Linux, so it should not be necessary to
> do so unless timing is important.
The Link: tag is above. The issue here is this bug is preventing
automatic test of arch/loongarch (see another Link: tag).
>
--
Xi Ruoyao <xry111@...111.site>
Powered by blists - more mailing lists