linux-xiaomi-chiron/arch/um/include/shared
Johannes Berg 36d46a5907 um: Support dynamic IRQ allocation
It's cumbersome and error-prone to keep adding fixed IRQ numbers,
and for proper device wakeup support for the virtio/vhost-user
support we need to have different IRQs for each device. Even if
in theory two IRQs (with and without wake) might be sufficient,
it's much easier to reason about it when we have dynamic number
assignment. It also makes it easier to add new devices that may
dynamically exist or depending on the configuration, etc.

Add support for this, up to 64 IRQs (the same limit as epoll FDs
we have right now). Since it's not easy to port all the existing
places to dynamic allocation (some data is statically initialized)
keep the low numbers are reserved for the existing hard-coded IRQ
numbers.

Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2020-12-13 22:22:08 +01:00
..
skas um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
arch.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
as-layout.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
common-offsets.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
elf_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
frame_kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
init.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
irq_kern.h um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
irq_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
kern_util.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
longjmp.h um: Implement TRACE_IRQFLAGS_SUPPORT 2019-09-15 21:37:11 +02:00
mem.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
mem_user.h um: delete unnecessary bootmem struct page array 2014-10-13 17:15:09 +02:00
net_kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
net_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
os.h um: Implement time-travel=ext 2020-03-29 23:29:08 +02:00
ptrace_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
registers.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
sigio.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
um_malloc.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00