Re: [GIT PULL] gpio: fixes for v5.12-rc3

From: Bartosz Golaszewski
Date: Tue Mar 09 2021 - 10:44:52 EST


On Tue, Mar 9, 2021 at 4:34 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>
> Linus,
>
> Here's a bunch of fixes for the GPIO subsystem. We have two regressions in the
> core code spotted right after the merge window, a series of fixes for ACPI GPIO
> and a subsequent fix for a related regression in gpio-pca953x + a minor tweak
> in .gitignore and a rework of handling of the gpio-line-names to remedy a
> regression in stm32mp151.
>
> Please pull!
>
> Best Regards,
> Bartosz Golaszewski
>
> The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:
>
> Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v5.12-rc3
>
> for you to fetch changes up to b41ba2ec54a70908067034f139aa23d0dd2985ce:
>
> gpiolib: Read "gpio-line-names" from a firmware node (2021-03-08 11:59:17 +0100)
>
> ----------------------------------------------------------------
> gpio fixes for v5.12-rc3
>
> - fix two regressions in core GPIO subsystem code: one NULL-pointer dereference
> and one list corruption
> - read GPIO line names from fwnode instead of using the generic device
> properties to fix a regression on stm32mp151
> - fixes to ACPI GPIO and gpio-pca953x to handle a regression in IRQ handling
> on Intel Galileo
> - update .gitignore in GPIO selftests
>
> ----------------------------------------------------------------
> Andy Shevchenko (4):
> gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk
> gpiolib: acpi: Allow to find GpioInt() resource by name and index
> gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2
> gpiolib: Read "gpio-line-names" from a firmware node
>
> Bartosz Golaszewski (1):
> selftests: gpio: update .gitignore
>
> Johan Hovold (2):
> gpio: fix NULL-deref-on-deregistration regression
> gpio: fix gpio-device list corruption
>
> Yang Li (1):
> gpiolib: acpi: Add missing IRQF_ONESHOT
>
> drivers/gpio/gpio-pca953x.c | 78 ++++++++++-----------------------
> drivers/gpio/gpiolib-acpi.c | 21 ++++++---
> drivers/gpio/gpiolib.c | 19 ++++----
> include/linux/acpi.h | 10 ++++-
> include/linux/gpio/consumer.h | 2 +
> tools/testing/selftests/gpio/.gitignore | 2 +-
> 6 files changed, 58 insertions(+), 74 deletions(-)

Hi Linus,

I realized only after I sent out this PR that I had rebased the branch
on top of v5.12-rc2 (because of the v5.12-rc1 situation) without
--rebase-merges and this caused git to drop the merge commit for
Andy's pull-request. Please let me know if you can pull this as is or
if I should rebuild my branch and resend.

Best Regards,
Bartosz Golaszewski