Re: [PATCH for-6.0 1/9] spapr: Do PCI device hotplug sanity checks at pre-plug only

2020-11-22 Thread David Gibson
On Sat, Nov 21, 2020 at 12:42:00AM +0100, Greg Kurz wrote: > The PHB acts as the hotplug handler for PCI devices. It does some > sanity checks on DR enablement, PCI bridge chassis numbers and > multifunction. These checks are currently performed at plug time, > but they would best sit in a

[PATCH for-6.0 1/9] spapr: Do PCI device hotplug sanity checks at pre-plug only

2020-11-20 Thread Greg Kurz
The PHB acts as the hotplug handler for PCI devices. It does some sanity checks on DR enablement, PCI bridge chassis numbers and multifunction. These checks are currently performed at plug time, but they would best sit in a pre-plug handler in order to error out as early as possible. Create a