mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge tag 'vfio-v6.5-rc1' of https://github.com/awilliam/linux-vfio
Pull VFIO updates from Alex Williamson: - Adjust log levels for common messages (Oleksandr Natalenko, Alex Williamson) - Support for dynamic MSI-X allocation (Reinette Chatre) - Enable and report PCIe AtomicOp Completer capabilities (Alex Williamson) - Cleanup Kconfigs for vfio bus drivers (Alex Williamson) - Add support for CDX bus based devices (Nipun Gupta) - Fix race with concurrent mdev initialization (Eric Farman) * tag 'vfio-v6.5-rc1' of https://github.com/awilliam/linux-vfio: vfio/mdev: Move the compat_class initialization to module init vfio/cdx: add support for CDX bus vfio/fsl: Create Kconfig sub-menu vfio/platform: Cleanup Kconfig vfio/pci: Cleanup Kconfig vfio/pci-core: Add capability for AtomicOp completer support vfio/pci: Also demote hiding standard cap messages vfio/pci: Clear VFIO_IRQ_INFO_NORESIZE for MSI-X vfio/pci: Support dynamic MSI-X vfio/pci: Probe and store ability to support dynamic MSI-X vfio/pci: Use bitfield for struct vfio_pci_core_device flags vfio/pci: Update stale comment vfio/pci: Remove interrupt context counter vfio/pci: Use xarray for interrupt context storage vfio/pci: Move to single error path vfio/pci: Prepare for dynamic interrupt context storage vfio/pci: Remove negative check on unsigned vector vfio/pci: Consolidate irq cleanup on MSI/MSI-X disable vfio/pci: demote hiding ecap messages to debug level
This commit is contained in:
@@ -265,6 +265,7 @@ int main(void)
|
||||
DEVID(cdx_device_id);
|
||||
DEVID_FIELD(cdx_device_id, vendor);
|
||||
DEVID_FIELD(cdx_device_id, device);
|
||||
DEVID_FIELD(cdx_device_id, override_only);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@@ -1458,8 +1458,23 @@ static int do_cdx_entry(const char *filename, void *symval,
|
||||
{
|
||||
DEF_FIELD(symval, cdx_device_id, vendor);
|
||||
DEF_FIELD(symval, cdx_device_id, device);
|
||||
DEF_FIELD(symval, cdx_device_id, override_only);
|
||||
|
||||
sprintf(alias, "cdx:v%08Xd%08Xd", vendor, device);
|
||||
switch (override_only) {
|
||||
case 0:
|
||||
strcpy(alias, "cdx:");
|
||||
break;
|
||||
case CDX_ID_F_VFIO_DRIVER_OVERRIDE:
|
||||
strcpy(alias, "vfio_cdx:");
|
||||
break;
|
||||
default:
|
||||
warn("Unknown CDX driver_override alias %08X\n",
|
||||
override_only);
|
||||
return 0;
|
||||
}
|
||||
|
||||
ADD(alias, "v", vendor != CDX_ANY_ID, vendor);
|
||||
ADD(alias, "d", device != CDX_ANY_ID, device);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user