Re: [RFC PATCH] vfio/pci: add PCIe TPH to device feature ioctl
From: Jason Gunthorpe
Date: Tue Apr 01 2025 - 19:52:41 EST
On Tue, Apr 01, 2025 at 11:38:01PM +0000, Wathsala Wathawana Vithanage wrote:
> > Really we can't block device specific mode anyhow because we can't even
> > discover it on the kernel side..
>
> We cannot block users from writing a steering-tag to a device specific location, but
> can we use a capability to prevent users from enabling device specific mode on the device?
qemu could do that, but the vfio kernel side really shouldn't.. There
is no reason vfio userspace on bare metal couldn't use device specific
mode.
Jason