lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jBEQXDSH7ufBcwwYy8c2=89=LkLZGTZtTe53Fvht8dFQ@mail.gmail.com>
Date: Tue, 21 Oct 2025 15:58:24 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Xi Ruoyao <xry111@...111.site>
Cc: "Rafael J . Wysocki" <rafael.j.wysocki@...el.com>, loongarch@...ts.linux.dev, 
	Mingcong Bai <jeffbai@...c.io>, Guenter Roeck <linux@...ck-us.net>, 
	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, Oct 21, 2025 at 3:43 PM Xi Ruoyao <xry111@...111.site> wrote:
>
> 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).

OK, applied as 6.18-rc material with slightly edited subject and
changelog, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ