[RFC PATCH 0/3] gpu: nova-core: add basic timer subdevice implementation
Jason Gunthorpe
jgg at nvidia.com
Fri Mar 7 15:25:29 UTC 2025
On Fri, Mar 07, 2025 at 04:19:30PM +0100, Greg KH wrote:
> Just like other busses, if PCI can't handle this at the core hotplug
> layer (i.e. by giving up new resources to new devices) then the bus core
> for it should handle this type of locking scheme as really, that feels
> wrong. A new device is a new device, should have nothing to do with any
> old previous one ever plugged in.
I think it would break the iommu assumptions to have two struct
devices with the same PCI BDF co-exist in the system at once.
There is only one HW IOMMU table routing BDFs..
Most likely the new device would have it's iommu setup blown up as the
old device completes its shutdown and tries to tear down its iommu
setup that is now actually owned by the new device...
Jason
More information about the dri-devel
mailing list