RFC irq: Kill irq_reserve_irq
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86, irq: Remove not needed irq_reserve_irqs callingarch/ | +0 | 0 replies | |
| 2/5 | sh: Remove irq_reserve_irq callingdrivers/ | +1 | 0 replies | |
| 3/5 | irq: Use irq_alloc_desc_at instead of irq_reserve_irqkernel/ | +7 | 0 replies | |
| 4/5 | s390: Mark bits in allocated_irqs in general codearch/ include/ kernel/ | +16 | 0 replies | |
| 5/5 | genirq: Kill irq_reserve_irq/irq_reserve_irqsinclude/ kernel/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] irq: Kill irq_reserve_irq
Hi,
During reviewing ioapic hotplug patchset, Thomas pointed out that should not extend irq_reserve_irq for that purpose as that is not actually reserve.
Neet to clean up old irq_reserve_irq before introduce reserve/alloc_reserved method for ioapic hotplug.
So here patchset that kill irq_reserve_irq that actually set allocated_irqs.
First remove irq_reserve_irqs for x86, and remove irq_reserve_irq for sh.
Then in set_irq_chip use irq_alloc_desc instead of irq_reserve_irq. At last will mark bits in allocated_irqs early for init irqs in !SPARSE_IRQ
Thanks
Yinghai
Yinghai Lu (5):
x86, irq: Remove not needed irq_reserve_irqs calling
sh: Remove irq_reserve_irq calling
irq: Use irq_alloc_desc_at instead of irq_reserve_irq
s390: Mark bits in allocated_irqs in general code
genirq: Kill irq_reserve_irq/irq_reserve_irqs
arch/s390/kernel/irq.c | 6 +++++- arch/x86/kernel/apic/io_apic.c | 3 --- drivers/sh/intc/core.c | 5 +---- include/linux/irq.h | 7 +------ kernel/irq/chip.c | 14 +++++++------- kernel/irq/irqdesc.c | 35 ++++++++++------------------------- 6 files changed, 24 insertions(+), 46 deletions(-)
Signature · 1 line
1.8.4.5