Re: [PATCH 4/4] pci: export untrusted attribute in sysfs
From: Christoph Hellwig
Date: Tue Jun 16 2020 - 03:33:04 EST
On Mon, Jun 15, 2020 at 06:17:42PM -0700, Rajat Jain via iommu wrote:
> This is needed to allow the userspace to determine when an untrusted
> device has been added, and thus allowing it to bind the driver manually
> to it, if it so wishes. This is being done as part of the approach
> discussed at https://lkml.org/lkml/2020/6/9/1331
Please move the attribute to struct device instead of further
entrenching it in PCIe. I'm starting to grow tired of saying this
every other week while you guys are all moving into the entirely
wrong direction.