Re: [PATCH] powerpc/pci: Fix PHB removal/rescan on PowerNV

2020-10-14 Thread Greg Kurz
On Thu, 8 Oct 2020 06:37:02 +0200 Cédric Le Goater wrote: > On 10/8/20 4:23 AM, Oliver O'Halloran wrote: > > On Fri, Sep 25, 2020 at 7:23 PM Cédric Le Goater wrote: > >> > >> To fix an issue with PHB hotplug on pSeries machine (HPT/XIVE), commit > >> 3a3181e16fbd introduced a PPC specific pcibio

Re: [PATCH] powerpc/pci: Fix PHB removal/rescan on PowerNV

2020-10-07 Thread Cédric Le Goater
On 10/8/20 4:23 AM, Oliver O'Halloran wrote: > On Fri, Sep 25, 2020 at 7:23 PM Cédric Le Goater wrote: >> >> To fix an issue with PHB hotplug on pSeries machine (HPT/XIVE), commit >> 3a3181e16fbd introduced a PPC specific pcibios_remove_bus() routine to >> clear all interrupt mappings when the bus

Re: [PATCH] powerpc/pci: Fix PHB removal/rescan on PowerNV

2020-10-07 Thread Oliver O'Halloran
On Fri, Sep 25, 2020 at 7:23 PM Cédric Le Goater wrote: > > To fix an issue with PHB hotplug on pSeries machine (HPT/XIVE), commit > 3a3181e16fbd introduced a PPC specific pcibios_remove_bus() routine to > clear all interrupt mappings when the bus is removed. This routine > frees an array allocate

[PATCH] powerpc/pci: Fix PHB removal/rescan on PowerNV

2020-09-25 Thread Cédric Le Goater
To fix an issue with PHB hotplug on pSeries machine (HPT/XIVE), commit 3a3181e16fbd introduced a PPC specific pcibios_remove_bus() routine to clear all interrupt mappings when the bus is removed. This routine frees an array allocated in pcibios_scan_phb(). This broke PHB hotplug on PowerNV because