public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v3 00/24] gpio: rework locking and object life-time control
@ 2024-04-19  7:03 Jiawen Wu
  2024-04-19 13:27 ` Andy Shevchenko
  2024-04-19 21:29 ` Bartosz Golaszewski
  0 siblings, 2 replies; 9+ messages in thread
From: Jiawen Wu @ 2024-04-19  7:03 UTC (permalink / raw)
  To: brgl
  Cc: andriy.shevchenko, bartosz.golaszewski, elder, geert+renesas,
	linus.walleij, linux-gpio, linux-kernel, paulmck, warthog618, wsa

Hi Bartosz Golaszewski,

I ran into a kernel crash problem when I pull the latest net-next.git, and
finally it was found that is caused by this patch series merged.

The kernel crashed because I got gpio=0 when I called irq_find_mapping()
and then struct irq_data *d=null, as my driver describes:

	int gpio = irq_find_mapping(gc->irq.domain, hwirq);
	struct irq_data *d = irq_get_irq_data(gpio);

	txgbe_gpio_irq_ack(d);

The deeper positioning is this line in __irq_resolve_mapping().

	data = rcu_dereference(domain->revmap[hwirq]);
		
So, is it the addition of SRCU infrastructure that causes this issue?


Thanks,
Jiawen


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <CGME20240213120518eucas1p2d514aac6e6d1e29bbae05f32db6724db@eucas1p2.samsung.com>]

end of thread, other threads:[~2024-04-22  8:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19  7:03 [PATCH v3 00/24] gpio: rework locking and object life-time control Jiawen Wu
2024-04-19 13:27 ` Andy Shevchenko
2024-04-19 21:29 ` Bartosz Golaszewski
2024-04-22  8:38   ` Jiawen Wu
     [not found] <CGME20240213120518eucas1p2d514aac6e6d1e29bbae05f32db6724db@eucas1p2.samsung.com>
2024-02-08  9:58 ` Bartosz Golaszewski
2024-02-08 17:43   ` Andy Shevchenko
2024-02-12 10:07   ` Bartosz Golaszewski
2024-02-13 12:05   ` Marek Szyprowski
2024-02-13 12:08     ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox