Hi Chenbo, >-----Original Message----- >From: Xia, Chenbo <chenbo....@intel.com> >Sent: Friday, December 23, 2022 8:05 AM >To: Tomasz Duszynski <tduszyn...@marvell.com>; dev@dpdk.org >Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran <jer...@marvell.com> >Subject: [EXT] RE: [RFC PATCH 0/7] support vfio platform PMD > >External Email > >---------------------------------------------------------------------- >> -----Original Message----- >> From: Tomasz Duszynski <tduszyn...@marvell.com> >> Sent: Friday, December 23, 2022 7:24 AM >> To: dev@dpdk.org >> Cc: tho...@monjalon.net; jer...@marvell.com; Tomasz Duszynski >> <tduszyn...@marvell.com> >> Subject: [RFC PATCH 0/7] support vfio platform PMD >> >> This series aims to add support for managing vfio platform devices >> from userspace application conveniently i.e without going through the >> configuration required by vfio and opencoding everything. Instead >> convenience helpers are provided. >> >> vfio platform devices, from the kernel standpoint, are ones that do >> not have built-in discovery capabilities and are behind an IOMMU. >> >> This PMD is backed by both vfio-platform and vfio kernel drivers and >> ideally should give access to all vfio capabilities. As of now, access >> to memory maps and DMA are supported. >> >> PMD requires platform bus support [1]. >> >> [1] >> https://urldefense.proofpoint.com/v2/url?u=https-3A__lore.kernel.org_d >> pdk-2Ddev_20221222000106.270619-2D1-2D&d=DwIFAg&c=nKjWec2b6R0mOyPaz7xt >> fQ&r=PZNXgrbjdlXxVEEGYkxIxRndyEUwWU_ad5ce22YI6Is&m=D9rwjUu4gMDK-DA_YvF >> eU6OBKRUXqZVQ7Nfg3O4xldhUMqQsXQx4AM9La3PpF1Bd&s=L93CKF1oLmgSm7z50nWbVf >> 4FFDww_noCSxOENlbfXGY&e= >> tduszyn...@marvell.com/ > >I have not looked into all details. But just wondering: why not making this >part of the platform >bus. This seems generic and then vendors can have their own platform drivers. >
Valid point. I'll rethink current approach. >Thanks, >Chenbo