Thread (41 messages) 41 messages, 5 authors, 2019-12-18

Re: [PATCH v3 03/13] iommu/arm-smmu-v3: Support platform SSID

From: Auger Eric <eric.auger@redhat.com>
Date: 2019-12-17 16:46:27
Also in: linux-acpi, linux-devicetree, linux-iommu, linux-pci

Hi Jean,

On 12/17/19 4:21 PM, Jean-Philippe Brucker wrote:
Hi Eric,

On Tue, Dec 17, 2019 at 12:05:18PM +0100, Auger Eric wrote:
quoted
quoted
+		fwspec = dev_iommu_fwspec_get(dev);
+		if (!err && fwspec)
+			of_property_read_u32(master_np, "pasid-num-bits",
+					     &fwspec->num_pasid_bits);
+	}
This patch dedicates to platform devices however I fail to understand,
at that stage, how/when do you retrieve/store the same max capability
for PCI devices?
For PCI devices, the max capability is only described by the PCIe PASID
capability, not by firmware. Patch 13 deals with PCI by setting
masted->ssid_bits from the PASID capability directly, ignoring
fwspec->num_pasid_bits.
Get it now. thank you for the explanation.

Eric
quoted
Besides,

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Thanks!
Jean

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help