Re: [PATCH v2 2/2] powerpc/pci: unmap all interrupts when a PHB is removed

2020-08-07 Thread Cédric Le Goater
On 8/7/20 8:01 AM, Alexey Kardashevskiy wrote: > > > On 18/06/2020 02:29, Cédric Le Goater wrote: >> Some PCI adapters, like GPUs, use the "interrupt-map" property to >> describe interrupt mappings other than the legacy INTx interrupts. >> There can be more than 4 mappings. >> >> To clear all int

Re: [PATCH v2 2/2] powerpc/pci: unmap all interrupts when a PHB is removed

2020-08-06 Thread Alexey Kardashevskiy
On 18/06/2020 02:29, Cédric Le Goater wrote: > Some PCI adapters, like GPUs, use the "interrupt-map" property to > describe interrupt mappings other than the legacy INTx interrupts. > There can be more than 4 mappings. > > To clear all interrupts when a PHB is removed, we need to increase the >

[PATCH v2 2/2] powerpc/pci: unmap all interrupts when a PHB is removed

2020-06-17 Thread Cédric Le Goater
Some PCI adapters, like GPUs, use the "interrupt-map" property to describe interrupt mappings other than the legacy INTx interrupts. There can be more than 4 mappings. To clear all interrupts when a PHB is removed, we need to increase the 'irq_map' array in which mappings are recorded. Compute the