[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6893c6b8a921_cff99100d7@dwillia2-xfh.jf.intel.com.notmuch>
Date: Wed, 6 Aug 2025 14:18:48 -0700
From: <dan.j.williams@...el.com>
To: "Aneesh Kumar K.V (Arm)" <aneesh.kumar@...nel.org>,
<linux-coco@...ts.linux.dev>, <kvmarm@...ts.linux.dev>
CC: <linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<aik@....com>, <lukas@...ner.de>, Samuel Ortiz <sameo@...osinc.com>, Xu Yilun
<yilun.xu@...ux.intel.com>, Jason Gunthorpe <jgg@...pe.ca>, Suzuki K Poulose
<Suzuki.Poulose@....com>, Steven Price <steven.price@....com>, "Catalin
Marinas" <catalin.marinas@....com>, Marc Zyngier <maz@...nel.org>, Will
Deacon <will@...nel.org>, Oliver Upton <oliver.upton@...ux.dev>, "Aneesh
Kumar K.V (Arm)" <aneesh.kumar@...nel.org>
Subject: Re: [RFC PATCH v1 06/38] iommufd: Add and option to request for bar
mapping with IORESOURCE_EXCLUSIVE
Aneesh Kumar K.V (Arm) wrote:
> Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@...nel.org>
> ---
> 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.
Powered by blists - more mailing lists