Johan Hovold
df129eaa2b
irqdomain: Drop bogus fwspec-mapping error handling
...
commit e3b7ab025e931accdc2c12acf9b75c6197f1c062 upstream.
In case a newly allocated IRQ ever ends up not having any associated
struct irq_data it would not even be possible to dispose the mapping.
Replace the bogus disposal with a WARN_ON().
This will also be used to fix a shared-interrupt mapping race, hence the
CC-stable tag.
Fixes: 1e2a7d7849 ("irqdomain: Don't set type when mapping an IRQ")
Cc: stable@vger.kernel.org # 4.8
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230213104302.17307-4-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-11 16:44:03 +01:00
..
affinity.c
genirq/affinity: Consider that CPUs on nodes can be unbalanced
2022-04-20 09:19:39 +02:00
autoprobe.c
genirq: Delay deactivation in free_irq()
2019-07-03 10:12:28 +02:00
chip.c
genirq: Don't return error on missing optional irq_request_resources()
2022-08-25 11:17:29 +02:00
cpuhotplug.c
genirq: Delay deactivation in free_irq()
2019-07-03 10:12:28 +02:00
debug.h
debugfs.c
genirq/debugfs: Add missing sanity checks to interrupt injection
2020-04-17 10:50:11 +02:00
devres.c
genirq/devres: Use struct_size() in devm_kzalloc()
2019-04-16 21:54:03 +02:00
dummychip.c
genirq: Add missing SPDX identifiers
2018-03-20 14:23:28 +01:00
generic-chip.c
genirq: Add missing SPDX identifiers
2018-03-20 14:23:28 +01:00
handle.c
random: remove unused irq_flags argument from add_interrupt_randomness()
2022-06-22 14:11:06 +02:00
internals.h
genirq/irqdesc: Don't try to remove non-existing sysfs files
2023-01-18 11:40:55 +01:00
ipi.c
genirq: Fix various typos in comments
2018-12-18 14:22:28 +01:00
irq_sim.c
irq/irq_sim: add irq_set_type() callback
2019-02-19 17:42:28 +01:00
irqdesc.c
genirq/irqdesc: Don't try to remove non-existing sysfs files
2023-01-18 11:40:55 +01:00
irqdomain.c
irqdomain: Drop bogus fwspec-mapping error handling
2023-03-11 16:44:03 +01:00
Kconfig
genirq: Let GENERIC_IRQ_IPI select IRQ_DOMAIN_HIERARCHY
2020-11-18 19:20:16 +01:00
Makefile
genirq/timings: Add selftest for circular array
2019-06-12 10:47:04 +02:00
manage.c
genirq: Synchronize interrupt thread startup
2022-05-12 12:23:41 +02:00
matrix.c
genirq/matrix: Prevent allocation counter corruption
2021-05-11 14:04:05 +02:00
migration.c
genirq/migration: Avoid out of line call if pending is not set
2018-06-06 15:18:20 +02:00
msi.c
genirq/msi: Ensure deactivation on teardown
2021-08-18 08:57:02 +02:00
pm.c
genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
2020-08-21 13:05:20 +02:00
proc.c
genirq/proc: Reject invalid affinity masks (again)
2020-02-28 17:22:26 +01:00
resend.c
treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()
2023-03-11 16:43:42 +01:00
settings.h
spurious.c
treewide: Switch printk users from %pf and %pF to %ps and %pS, respectively
2019-04-09 14:19:06 +02:00
timings.c
genirq/timings: Fix error return code in irq_timings_test_irqs()
2021-09-15 09:47:29 +02:00