Re: [PATCH v5 18/23] powerpc/pci: Handle BAR movement

2019-09-09 Thread Oliver O'Halloran
On Sat, Sep 7, 2019 at 2:25 AM Sergey Miroshnichenko wrote: > > Hi Oliver, > > On 9/4/19 8:37 AM, Oliver O'Halloran wrote: > > On Fri, 2019-08-16 at 19:50 +0300, Sergey Miroshnichenko wrote: > >> Add pcibios_rescan_prepare()/_done() hooks for the powerpc platform. Now if > >> the device's driver s

Re: [PATCH v5 18/23] powerpc/pci: Handle BAR movement

2019-09-06 Thread Sergey Miroshnichenko
Hi Oliver, On 9/4/19 8:37 AM, Oliver O'Halloran wrote: > On Fri, 2019-08-16 at 19:50 +0300, Sergey Miroshnichenko wrote: >> Add pcibios_rescan_prepare()/_done() hooks for the powerpc platform. Now if >> the device's driver supports movable BARs, pcibios_rescan_prepare() will be >> called after the

Re: [PATCH v5 18/23] powerpc/pci: Handle BAR movement

2019-09-03 Thread Oliver O'Halloran
On Fri, 2019-08-16 at 19:50 +0300, Sergey Miroshnichenko wrote: > Add pcibios_rescan_prepare()/_done() hooks for the powerpc platform. Now if > the device's driver supports movable BARs, pcibios_rescan_prepare() will be > called after the device is stopped, and pcibios_rescan_done() - before it > r

[PATCH v5 18/23] powerpc/pci: Handle BAR movement

2019-08-16 Thread Sergey Miroshnichenko
Add pcibios_rescan_prepare()/_done() hooks for the powerpc platform. Now if the device's driver supports movable BARs, pcibios_rescan_prepare() will be called after the device is stopped, and pcibios_rescan_done() - before it resumes. There are no memory requests to this device between the hooks, s