Re: [PATCH V12 3/7] dma: add Qualcomm Technologies HIDMA management driver

From: Sinan Kaya
Date: Fri Jan 22 2016 - 13:39:25 EST

On 1/15/2016 10:22 AM, Mark Rutland wrote:
> Typically VFIO-platform also comes with a corresponding reset driver.
> You don't need one?

Digging this further, I do need a HIDMA reset driver. The reset driver is useful if HIDMA
operation is aborted in the middle and guest machine is shutdown.

I'm preparing a reset driver and I'll post it soon.

In the meantime, I have observed a lack of ACPI HID support in the platform reset interface
vfio_platform_lookup_reset and vfio_platform_probe_common specifically.

The interface is querying objects with "compatible" string. Of course on a true ACPI system
with proper named HIDs except PRP001, "compatible" attribute does not exist. I'm also preparing a
patch for this too.

Since VFIO patches go through another branch and the reset driver also needs to go through vfio along
with the ACPI object querying support, would you like this to be addressed independently with a different series
or have it reviewed altogether here then figure out the merge path later?

Sinan Kaya
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project