Thread (84 messages) 84 messages, 11 authors, 2022-11-17

RE: [RFC PATCH v3 6/7] vfio/cdx: add support for CDX bus

From: "Gupta, Nipun" <Nipun.Gupta@amd.com>
Date: 2022-09-06 17:30:26
Also in: kvm, linux-devicetree, linux-kbuild, lkml

[AMD Official Use Only - General]


-----Original Message-----
From: Jason Gunthorpe <jgg@nvidia.com>
Sent: Tuesday, September 6, 2022 10:51 PM
To: Gupta, Nipun <Nipun.Gupta@amd.com>
Cc: robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org;
gregkh@linuxfoundation.org; rafael@kernel.org; eric.auger@redhat.com;
alex.williamson@redhat.com; cohuck@redhat.com; Gupta, Puneet (DCG-ENG)
[off-list ref]; song.bao.hua@hisilicon.com;
mchehab+huawei@kernel.org; maz@kernel.org; f.fainelli@gmail.com;
jeffrey.l.hugo@gmail.com; saravanak@google.com; Michael.Srba@seznam.cz;
mani@kernel.org; yishaih@nvidia.com; robin.murphy@arm.com;
will@kernel.org; joro@8bytes.org; masahiroy@kernel.org;
ndesaulniers@google.com; linux-arm-kernel@lists.infradead.org; linux-
kbuild@vger.kernel.org; linux-kernel@vger.kernel.org;
devicetree@vger.kernel.org; kvm@vger.kernel.org; okaya@kernel.org; Anand,
Harpreet [off-list ref]; Agarwal, Nikhil
[off-list ref]; Simek, Michal [off-list ref];
Radovanovic, Aleksandar [off-list ref]; git (AMD-Xilinx)
[off-list ref]
Subject: Re: [RFC PATCH v3 6/7] vfio/cdx: add support for CDX bus

[CAUTION: External Email]

On Tue, Sep 06, 2022 at 07:18:00PM +0530, Nipun Gupta wrote:
quoted
vfio-cdx driver enables IOCTLs for user space to query
MMIO regions for CDX devices and mmap them. This change
also adds support for reset of CDX devices.

This change adds the VFIO CDX driver and enables the following
ioctls for CDX devices:
 - VFIO_DEVICE_GET_INFO:
 - VFIO_DEVICE_GET_REGION_INFO
 - VFIO_DEVICE_RESET
For non-RFC posting please post VFIO separately after getting the base
bus merged.
Agree, with non-RFC changes we will get bus merged first and then
have the vfio patches as a separate set.

Thanks,
Nipun
I think you will need to get some work done to consolidate some of
this duplicated code that was cut & pasted here..

Jason
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help