All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] irq: core changes for x86 ioapic hotplug
@ 2014-05-01 23:18 Yinghai Lu
  2014-05-01 23:18 ` [PATCH 1/8] x86, irq: Remove not needed irq_reserve_irqs calling Yinghai Lu
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Yinghai Lu @ 2014-05-01 23:18 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Tony Luck
  Cc: linux-kernel, Yinghai Lu

Hi,

These patches are core changes for x86 ioapic hotplug support.

First part for kill old irq_reserve_irqs:
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.
Next will mark bits in allocated_irqs early for init irqs in !SPARSE_IRQ

Second parts are new reserve/alloc_reserved functions:
It will introduce reserved_irqs bit maps to track reserved irqs.
New irq_alloc_reserved_desc() will only allocate desc when that irq
is reserved.

Thanks

Yinghai

-v2: add new reserve/alloc_reserved sets.

Yinghai Lu (8):
  x86, irq: Remove not needed irq_reserve_irqs calling
  sh, irq: 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
  irq: Kill irq_reserve_irq/irq_reserve_irqs
  irq: Add new reserved_irqs clear/mark functions
  irq: Add irq_alloc_reserved_desc()
  irq: Do not free unallocated irq descriptors

 arch/s390/kernel/irq.c         |  6 ++-
 arch/x86/kernel/apic/io_apic.c |  3 --
 drivers/sh/intc/core.c         |  5 +--
 include/linux/irq.h            | 13 +++---
 kernel/irq/chip.c              | 14 +++---
 kernel/irq/irqdesc.c           | 99 +++++++++++++++++++++++++++++++++++++-----
 6 files changed, 109 insertions(+), 31 deletions(-)

-- 
1.8.4.5


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-05-02 15:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01 23:18 [PATCH 0/8] irq: core changes for x86 ioapic hotplug Yinghai Lu
2014-05-01 23:18 ` [PATCH 1/8] x86, irq: Remove not needed irq_reserve_irqs calling Yinghai Lu
2014-05-01 23:18 ` [PATCH 2/8] sh, irq: Remove irq_reserve_irq calling Yinghai Lu
2014-05-01 23:18   ` Yinghai Lu
2014-05-02  2:38   ` Simon Horman
2014-05-02  2:38     ` Simon Horman
2014-05-02 15:19   ` Sergei Shtylyov
2014-05-02 15:19     ` Sergei Shtylyov
2014-05-01 23:18 ` [PATCH 3/8] irq: Use irq_alloc_desc_at instead of irq_reserve_irq Yinghai Lu
2014-05-01 23:18 ` [PATCH 4/8] s390: Mark bits in allocated_irqs in general code Yinghai Lu
2014-05-01 23:18 ` [PATCH 5/8] irq: Kill irq_reserve_irq/irq_reserve_irqs Yinghai Lu
2014-05-01 23:18 ` [PATCH 6/8] irq: Add new reserved_irqs clear/mark functions Yinghai Lu
2014-05-02 10:50   ` Thomas Gleixner
2014-05-01 23:18 ` [PATCH 7/8] irq: Add irq_alloc_reserved_desc() Yinghai Lu
2014-05-01 23:18 ` [PATCH 8/8] irq: Do not free unallocated irq descriptors Yinghai Lu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.