diff options
author | Jason Gunthorpe <[email protected]> | 2021-08-05 22:19:02 -0300 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-08-11 09:50:11 -0600 |
commit | da119f387e94642da959a22ae9c22e09abe34926 (patch) | |
tree | ce3d941ac612a29a9904e9afa4400a25e46c007b /drivers/usb/cdns3/cdns3-trace.c | |
parent | 17a1e4fa3f7f07f541c751745b5aa6f2fcab9a48 (diff) |
vfio/fsl: Move to the device set infrastructure
FSL uses the internal reflck to implement the open_device() functionality,
conversion to the core code is straightforward.
The decision on which set to be part of is trivially based on the
is_fsl_mc_bus_dprc() and we use a 'struct device *' pointer as the set_id.
The dev_set lock is protecting the interrupts setup. The FSL MC devices
are using MSIs and only the DPRC device is allocating the MSIs from the
MSI domain. The other devices just take interrupts from a pool. The lock
is protecting the access to this pool.
Signed-off-by: Yishai Hadas <[email protected]>
Tested-by: Diana Craciun OSS <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions