[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a3fog3jE_cPUTELDkFKoO2FbCJufQiDZhfL2FsZ5s5q3Q@mail.gmail.com>
Date: Fri, 25 Sep 2020 13:25:38 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Sherry Sun <sherry.sun@....com>
Cc: Sudeep Dutt <sudeep.dutt@...el.com>,
Ashutosh Dixit <ashutosh.dixit@...el.com>,
gregkh <gregkh@...uxfoundation.org>, wang.yi59@....com.cn,
huang.zijiang@....com.cn,
Rikard Falkeborn <rikard.falkeborn@...il.com>,
Lee Jones <lee.jones@...aro.org>,
"Michael S. Tsirkin" <mst@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
NXP Linux Team <linux-imx@....com>,
linux-pci <linux-pci@...r.kernel.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Kishon Vijay Abraham I <kishon@...com>,
linux-ntb@...glegroups.com
Subject: Re: [PATCH 0/5] Add noncoherent platform support for vop driver
On Fri, Sep 25, 2020 at 9:27 AM Sherry Sun <sherry.sun@....com> wrote:
>
> Change the way of allocating vring to support noncoherent platform for vop
> driver, and add some related dma changes to make sure noncoherent platform works
> well.
Could you describe why you are doing this? Are you using Intel MIC
devices on Arm hosts, or trying to reuse the code for other add-on
cards?
Note that we have a couple of frameworks in the kernel that try to
do some of the same things here, notably the NTB drivers and the
PCI endpoint support, both of which are designed to be somewhat
more generic than the MIC driver.
Have you considered using that instead?
Arnd
> Sherry Sun (5):
> misc: vop: change the way of allocating vring for noncoherent platform
> misc: vop: change the way of allocating used ring
> misc: vop: simply return the saved dma address instead of virt_to_phys
> misc: vop: set VIRTIO_F_ACCESS_PLATFORM for nocoherent platform
> misc: vop: mapping kernel memory to user space as noncached
>
> drivers/misc/mic/bus/vop_bus.h | 2 +
> drivers/misc/mic/host/mic_boot.c | 8 ++
> drivers/misc/mic/vop/vop_main.c | 51 +++++++++----
> drivers/misc/mic/vop/vop_vringh.c | 117 ++++++++++++++++++++----------
> 4 files changed, 125 insertions(+), 53 deletions(-)
>
> --
> 2.17.1
>
Powered by blists - more mailing lists