Re: [RFC 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-05-19 Thread Bjorn Helgaas
On Thu, May 07, 2015 at 11:12:51AM +0800, Jiang Liu wrote: > Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will > be called when binding/unbinding PCI device drivers. Then PCI arch code > may hook into these two points to allocate IRQ resources on demand and > free them when

Re: [RFC 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-05-19 Thread Bjorn Helgaas
On Thu, May 07, 2015 at 11:12:51AM +0800, Jiang Liu wrote: Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will be called when binding/unbinding PCI device drivers. Then PCI arch code may hook into these two points to allocate IRQ resources on demand and free them when not

[RFC 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-05-06 Thread Jiang Liu
Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will be called when binding/unbinding PCI device drivers. Then PCI arch code may hook into these two points to allocate IRQ resources on demand and free them when not used anymore. Signed-off-by: Jiang Liu ---

[RFC 1/4] PCI: Add hooks to allocate/free IRQ resources when binding/unbinding driver

2015-05-06 Thread Jiang Liu
Add two hook points pcibios_{alloc|free}_irq() into PCI core, which will be called when binding/unbinding PCI device drivers. Then PCI arch code may hook into these two points to allocate IRQ resources on demand and free them when not used anymore. Signed-off-by: Jiang Liu