Re: [PATCH 0/2] gpio: davinci: fix probe-time IRQ setup
From: Bartosz Golaszewski
Date: Tue Nov 17 2026 - 03:22:31 EST
On Tue, Nov 10, 2026 at 01:19:08AM +0530, Sahaj Chaudhari wrote:
> This series fixes two independent probe-time bugs in the DaVinci GPIO
> driver:
>
> 1. A file-global MMIO base can be overwritten by overlapping controller
> probes, causing BINTEN setup to target the wrong controller.
> 2. Per-bank IRQ data is allocated as chained handlers are installed. A
> later allocation failure can leave handlers pointing to devm-managed
> data freed during probe unwind.
>
> The first patch derives BINTEN from the current controller's mapped bank.
> The second allocates all IRQ data before installing any handlers.
>
Hi!
This conflicts with the recent devm_kzalloc_obj() changes, can you
rebase and resend please?
Thanks,
Bartosz