From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753914AbcAOWr6 (ORCPT ); Fri, 15 Jan 2016 17:47:58 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45551 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbcAOWr4 (ORCPT ); Fri, 15 Jan 2016 17:47:56 -0500 Subject: Re: [PATCH V12 3/7] dma: add Qualcomm Technologies HIDMA management driver To: Marc Zyngier , Mark Rutland References: <1452523550-8920-1-git-send-email-okaya@codeaurora.org> <1452523550-8920-4-git-send-email-okaya@codeaurora.org> <20160115145629.GI3262@leverpostej> <56990C40.4050407@codeaurora.org> <20160115152257.GK3262@leverpostej> <56992987.5080603@codeaurora.org> <56992D16.6070800@arm.com> Cc: dmaengine@vger.kernel.org, timur@codeaurora.org, devicetree@vger.kernel.org, cov@codeaurora.org, vinod.koul@intel.com, jcm@redhat.com, agross@codeaurora.org, arnd@arndb.de, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, shankerd@codeaurora.org, Vikram Sethi From: Sinan Kaya Message-ID: <56997718.70707@codeaurora.org> Date: Fri, 15 Jan 2016 17:47:52 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56992D16.6070800@arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/15/2016 12:32 PM, Marc Zyngier wrote: >>> Do you have a link to that? Seeing it would help to ease my concerns. >> > >> > The QEMU driver has not been posted yet. As far as I know, it just discovers the memory >> > resources on the platform object and creates mappings for the guest machine only. >> > >> > Shanker Donthineni and Vikram Sethi will post the QEMU patch later. > Then may I suggest you both synchronize your submissions? I'd really > like to hear from the QEMU maintainers that they are satisfied with that > side of the story as well. The HIDMA QEMU driver is also based on VFIO platform driver in QEMU. It is not a new concept or new framework. All tried and tested solutions. The driver below is already using this feature. HIDMA is no exception. I have verified functionality of HIDMA linux driver with HIDMA QEMU driver already. https://lxr.missinglinkelectronics.com/qemu/hw/arm/sysbus-fdt.c#L67 https://lxr.missinglinkelectronics.com/qemu/hw/vfio/calxeda-xgmac.c#L18 https://lxr.missinglinkelectronics.com/qemu/include/hw/vfio/vfio-calxeda-xgmac.h -- 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