Re: [PATCH] pci: Skip power-off reset when pending unplug

2022-01-05 Thread Alex Williamson
On Thu, 23 Dec 2021 08:33:09 -0500 "Michael S. Tsirkin" wrote: > On Wed, Dec 22, 2021 at 04:10:07PM -0700, Alex Williamson wrote: > > On Wed, 22 Dec 2021 15:48:24 -0500 > > "Michael S. Tsirkin" wrote: > > > > > On Wed, Dec 22, 2021 at 12:08:09PM -0700, Alex Williamson wrote: > > > > On

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-23 Thread Michael S. Tsirkin
On Wed, Dec 22, 2021 at 04:10:07PM -0700, Alex Williamson wrote: > On Wed, 22 Dec 2021 15:48:24 -0500 > "Michael S. Tsirkin" wrote: > > > On Wed, Dec 22, 2021 at 12:08:09PM -0700, Alex Williamson wrote: > > > On Tue, 21 Dec 2021 18:40:09 -0500 > > > "Michael S. Tsirkin" wrote: > > > > > > >

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-22 Thread Gerd Hoffmann
> > > > So I am not sure how to fix the assignment issues as I'm not sure how do > > > > they trigger, but here is a wild idea: maybe it should support an API > > > > for starting reset asynchronously, then if the following access is > > > > trying to reset again that second reset can just be

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-22 Thread Alex Williamson
On Wed, 22 Dec 2021 15:48:24 -0500 "Michael S. Tsirkin" wrote: > On Wed, Dec 22, 2021 at 12:08:09PM -0700, Alex Williamson wrote: > > On Tue, 21 Dec 2021 18:40:09 -0500 > > "Michael S. Tsirkin" wrote: > > > > > On Tue, Dec 21, 2021 at 09:36:56AM -0700, Alex Williamson wrote: > > > > On

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-22 Thread Michael S. Tsirkin
On Wed, Dec 22, 2021 at 12:08:09PM -0700, Alex Williamson wrote: > On Tue, 21 Dec 2021 18:40:09 -0500 > "Michael S. Tsirkin" wrote: > > > On Tue, Dec 21, 2021 at 09:36:56AM -0700, Alex Williamson wrote: > > > On Mon, 20 Dec 2021 18:03:56 -0500 > > > "Michael S. Tsirkin" wrote: > > > > > > >

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-22 Thread Alex Williamson
On Tue, 21 Dec 2021 18:40:09 -0500 "Michael S. Tsirkin" wrote: > On Tue, Dec 21, 2021 at 09:36:56AM -0700, Alex Williamson wrote: > > On Mon, 20 Dec 2021 18:03:56 -0500 > > "Michael S. Tsirkin" wrote: > > > > > On Mon, Dec 20, 2021 at 11:26:59AM -0700, Alex Williamson wrote: > > > > The

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-21 Thread Michael S. Tsirkin
On Tue, Dec 21, 2021 at 09:36:56AM -0700, Alex Williamson wrote: > On Mon, 20 Dec 2021 18:03:56 -0500 > "Michael S. Tsirkin" wrote: > > > On Mon, Dec 20, 2021 at 11:26:59AM -0700, Alex Williamson wrote: > > > The below referenced commit introduced a change where devices under a > > > root port

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-21 Thread Alex Williamson
On Mon, 20 Dec 2021 18:03:56 -0500 "Michael S. Tsirkin" wrote: > On Mon, Dec 20, 2021 at 11:26:59AM -0700, Alex Williamson wrote: > > The below referenced commit introduced a change where devices under a > > root port slot are reset in response to removing power to the slot. > > This improves

Re: [PATCH] pci: Skip power-off reset when pending unplug

2021-12-20 Thread Michael S. Tsirkin
On Mon, Dec 20, 2021 at 11:26:59AM -0700, Alex Williamson wrote: > The below referenced commit introduced a change where devices under a > root port slot are reset in response to removing power to the slot. > This improves emulation relative to bare metal when the slot is powered > off, but

[PATCH] pci: Skip power-off reset when pending unplug

2021-12-20 Thread Alex Williamson
The below referenced commit introduced a change where devices under a root port slot are reset in response to removing power to the slot. This improves emulation relative to bare metal when the slot is powered off, but introduces an unnecessary step when devices under that slot are slated for