[PATCH] PCI: mvebu: Don't try to add an MBus window that already exists

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jun 3 00:30:42 PDT 2016


Hello,

On Fri, 3 Jun 2016 07:57:34 +0200, Stefan Roese wrote:

> > The pci-mvebu driver deletes the MBus windows for a given PCI device
> > when invalid memory base/limits are set in the emulated PCI bridge.
> > Shouldn't this happen over a rescan?  
> 
> I'm not sure what *should* happen upon rescan. But testing shows, that
> no MBus window is removed upon rescan. I just tested what happens,
> if the PCI devices are "removed" via sysfs. And this also does not
> delete any of the MBus windows.

Then maybe that's a question for the PCI folks. Is it normal that when
a PCI device gets removed, the configuration of the PCI bridge does not
get adjusted accordingly?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list