diff options
author | hlleng <a909204013@gmail.com> | 2025-02-10 19:49:35 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-11 09:21:18 +0100 |
commit | 84693df49dac458e980eaf37f26ae6e23ead98d5 (patch) | |
tree | 3ea31660e6ba481c5662ca6dc6678ae6d736bac6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e8f2ca6be61f1cae2ff12932fa03224581b6b231 (diff) |
gpio: virtio: support multiple virtio-gpio controller instances
Modify the virtio-gpio driver to support multiple virtual GPIO controller
instances. The previous static global irq_chip structure caused conflicts
between multiple virtio-gpio device instances as they shared the same
interrupt controller configuration.
Fix this by:
1. Remove the static global vgpio_irq_chip structure
2. Dynamically allocate a dedicated irq_chip for each virtio-gpio instance
3. Use device-specific names for each instance's irq_chip
Signed-off-by: hlleng <a909204013@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20250210114935.204309-1-a909204013@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions