Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-27 Thread Sinan Kaya
On 3/27/2016 11:21 AM, Eric Auger wrote: >> How about I add a module parameter which is not set by default? When set, >> > I don't perform the reset requirement check. > Yes that's what I meant > > Best Regards > > Eric Got it. I'll post something soon. -- Sinan Kaya Qualcomm Technologies, Inc

Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-27 Thread Eric Auger
Hi Sinan, On 03/16/2016 03:27 PM, Sinan Kaya wrote: > Hi Baptiste, > >>> I couldn't see a reset function for AMBA devices. >>> >>> Is there anyway to write reset function for it? I have no experience with >>> AMBA devices. >> To my knowledge only the PL330 DMA controller (drivers/dma/pl330.c) was

Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-18 Thread Sinan Kaya
Hi Baptiste, >> I couldn't see a reset function for AMBA devices. >> >> Is there anyway to write reset function for it? I have no experience with >> AMBA devices. > To my knowledge only the PL330 DMA controller (drivers/dma/pl330.c) was > passthrough'ed at some point, rather for development purpo

Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-15 Thread Eric Auger
Hi Sinan, On 03/13/2016 06:25 PM, Sinan Kaya wrote: > On 3/11/2016 11:54 AM, Sinan Kaya wrote: >> The code was allowing platform devices to be used without a supporting VFIO >> reset driver. The hardware can be left in some inconsistent state after a >> guest machine abort. >> >> The reset driver w

Re: [PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-13 Thread Sinan Kaya
On 3/11/2016 11:54 AM, Sinan Kaya wrote: > The code was allowing platform devices to be used without a supporting VFIO > reset driver. The hardware can be left in some inconsistent state after a > guest machine abort. > > The reset driver will put the hardware back to safe state and disable > inte

[PATCH V2 2/3] vfio, platform: make reset driver a requirement

2016-03-11 Thread Sinan Kaya
The code was allowing platform devices to be used without a supporting VFIO reset driver. The hardware can be left in some inconsistent state after a guest machine abort. The reset driver will put the hardware back to safe state and disable interrupts before returning the control back to the host