[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20d7c5fc-91b0-d673-d41a-335d91ca2dce@intel.com>
Date: Mon, 2 Nov 2020 11:18:33 -0700
From: Dave Jiang <dave.jiang@...el.com>
To: Jason Gunthorpe <jgg@...dia.com>,
"Raj, Ashok" <ashok.raj@...el.com>
Cc: Thomas Gleixner <tglx@...utronix.de>, vkoul@...nel.org,
megha.dey@...el.com, maz@...nel.org, bhelgaas@...gle.com,
alex.williamson@...hat.com, jacob.jun.pan@...el.com,
yi.l.liu@...el.com, baolu.lu@...el.com, kevin.tian@...el.com,
sanjay.k.kumar@...el.com, tony.luck@...el.com, jing.lin@...el.com,
dan.j.williams@...el.com, kwankhede@...dia.com,
eric.auger@...hat.com, parav@...lanox.com, rafael@...nel.org,
netanelg@...lanox.com, shahafs@...lanox.com,
yan.y.zhao@...ux.intel.com, pbonzini@...hat.com,
samuel.ortiz@...el.com, mona.hossain@...el.com,
Megha Dey <megha.dey@...ux.intel.com>,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [PATCH v4 00/17] Add VFIO mediated device support and DEV-MSI
support for the idxd driver
On 11/2/2020 10:19 AM, Jason Gunthorpe wrote:
> On Mon, Nov 02, 2020 at 08:20:43AM -0800, Raj, Ashok wrote:
>> Creating these private interfaces for intra-module are just 1-1 and not
>> general purpose and every accelerator needs to create these instances.
>
> This is where we are going, auxillary bus should be merged soon which
> is specifically to connect these kinds of devices across subsystems
I think this resolves the aux device probe/remove issue via a common bus. But it
does not help with the mdev device needing a lot of the device handling calls
from the parent driver as it share the same handling as the parent device. My
plan is to export all the needed call via EXPORT_SYMBOL_NS() so the calls can be
shared in its own namespace between the modules. Do you have any objection with
that?
>
> Jason
>
Powered by blists - more mailing lists