Re: [PATCH 2/3] s390x/pci: refresh fh before disabling aif

2024-01-17 Thread Matthew Rosato
On 1/17/24 5:31 AM, Cédric Le Goater wrote: > Hello Matthew, > > On 1/16/24 23:31, Matthew Rosato wrote: >> Typically we refresh the host fh during CLP enable, however it's possible >> that the device goes through multiple reset events before the guest >> performs another CLP enable.  Let's handle

Re: [PATCH 2/3] s390x/pci: refresh fh before disabling aif

2024-01-17 Thread Matthew Rosato
On 1/17/24 5:40 AM, Cédric Le Goater wrote: > On 1/16/24 23:31, Matthew Rosato wrote: >> Typically we refresh the host fh during CLP enable, however it's possible >> that the device goes through multiple reset events before the guest >> performs another CLP enable.  Let's handle this for now by ref

Re: [PATCH 2/3] s390x/pci: refresh fh before disabling aif

2024-01-17 Thread Cédric Le Goater
On 1/16/24 23:31, Matthew Rosato wrote: Typically we refresh the host fh during CLP enable, however it's possible that the device goes through multiple reset events before the guest performs another CLP enable. Let's handle this for now by refreshing the host handle from vfio before disabling ai

Re: [PATCH 2/3] s390x/pci: refresh fh before disabling aif

2024-01-17 Thread Cédric Le Goater
Hello Matthew, On 1/16/24 23:31, Matthew Rosato wrote: Typically we refresh the host fh during CLP enable, however it's possible that the device goes through multiple reset events before the guest performs another CLP enable. Let's handle this for now by refreshing the host handle from vfio bef

Re: [PATCH 2/3] s390x/pci: refresh fh before disabling aif

2024-01-16 Thread Eric Farman
On Tue, 2024-01-16 at 17:31 -0500, Matthew Rosato wrote: > Typically we refresh the host fh during CLP enable, however it's > possible > that the device goes through multiple reset events before the guest > performs another CLP enable.  Let's handle this for now by refreshing > the > host handle fr

[PATCH 2/3] s390x/pci: refresh fh before disabling aif

2024-01-16 Thread Matthew Rosato
Typically we refresh the host fh during CLP enable, however it's possible that the device goes through multiple reset events before the guest performs another CLP enable. Let's handle this for now by refreshing the host handle from vfio before disabling aif. Fixes: 03451953c7 ("s390x/pci: reset I