Re: [PATCH v6 0/2] gpiolib: acpi: Add robust bounds-checking and safe address handling

From: Andy Shevchenko

Date: Tue Jun 16 2026 - 07:31:23 EST


On Tue, Jun 16, 2026 at 06:42:34AM -0400, Bartosz Golaszewski wrote:
> On Tue, 16 Jun 2026 12:26:06 +0200, Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> said:
> > On Tue, Jun 16, 2026 at 02:54:02AM -0700, Bartosz Golaszewski wrote:
> >> On Fri, 12 Jun 2026 10:52:57 +0200, Mika Westerberg
> >> <mika.westerberg@xxxxxxxxxxxxxxx> said:
> >> > On Wed, Jun 10, 2026 at 05:42:02PM +0200, Marco Scardovi wrote:
> >> >>
> >> >> The series adds explicit bounds checking for GPIO pin accesses and
> >> >> ensures safe handling of ACPI addresses in OperationRegion handlers,
> >> >> without referring to truncation or wrap-around behavior, which does
> >> >> not apply.
> >> >
> >> > I'm fine with these now.
> >> >
> >> > For both,
> >> >
> >> > Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> >>
> >> Andy, Mika: do you want me to queue these directly for v7.2?
> >
> > I believe there is no hurry, but I have no objections if you pull it in.
>
> Your call, if you thknk these should wait until v7.3, I'll leave them for now.

For the full consensus we need Mika's opinion :-)

--
With Best Regards,
Andy Shevchenko