Aneesh Kumar K.V (Arm) wrote: > Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@xxxxxxxxxx> > --- > drivers/iommu/iommufd/device.c | 54 +++++++++++++++++++++++++ > drivers/iommu/iommufd/iommufd_private.h | 4 ++ > drivers/iommu/iommufd/main.c | 3 ++ > drivers/vfio/pci/vfio_pci_core.c | 9 ++++- > include/linux/iommufd.h | 1 + > include/uapi/linux/iommufd.h | 1 + > 6 files changed, 71 insertions(+), 1 deletion(-) I think we simply make the rule be something like this: diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 700addee8f62..d84158aacabf 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -138,6 +138,7 @@ config PCI_IDE_STREAM_MAX config PCI_TSM bool "PCI TSM: Device security protocol support" + depends on IO_STRICT_DEVMEM select PCI_IDE select PCI_DOE help ...i.e. the base expectation is there is only ever one owner of potentially private MMIO space.