aboutsummaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2024-09-02 10:27:19 +0800
committerJoerg Roedel <jroedel@suse.de>2024-09-02 18:14:59 +0200
commitccb02b27bb50c0f5a8f6fd745aecf4ac4beda73f (patch)
tree334be94af5ea6f895006e7d45811e9d9514fdbba /fs/exec.c
parent3cf74230c139f208b7fb313ae0054386eee31a81 (diff)
iommu/vt-d: Move PCI PASID enablement to probe path
Currently, PCI PASID is enabled alongside PCI ATS when an iommu domain is attached to the device and disabled when the device transitions to block translation mode. This approach is inappropriate as PCI PASID is a device feature independent of the type of the attached domain. Enable PCI PASID during the IOMMU device probe and disables it during the release path. Suggested-by: Yi Liu <yi.l.liu@intel.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Yi Liu <yi.l.liu@intel.com> Tested-by: Yi Liu <yi.l.liu@intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20240819051805.116936-1-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions