Thread (26 messages) 26 messages, 4 authors, 2021-02-27

Re: [PATCH v12 10/10] iommu/arm-smmu-v3: Add stall support for platform devices

From: Jean-Philippe Brucker <hidden>
Date: 2021-02-01 15:21:32
Also in: linux-acpi, linux-arm-kernel, linux-iommu

On Mon, Feb 01, 2021 at 02:16:16PM +0100, Auger Eric wrote:
quoted
quoted
quoted
+		flt->type = IOMMU_FAULT_DMA_UNRECOV;
+		flt->event = (struct iommu_fault_unrecoverable) {
+			.reason = reason,
+			.flags = IOMMU_FAULT_UNRECOV_ADDR_VALID |
+				 IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID,
nit: shall IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID be set here? Supported
unrecoverable faults feature the IPA field which is UNKNOWN for S1
translations. fetch_addr rather was
corresponding to WALK_EABT.Fetch_addr to me.
Right I should drop the IPA part entirely, since we don't report S2 faults
in this patch.
OK

But as I mentioned this can be fixed separately if you don't have other
comments on this version.
Thanks, I need to resend anyway to fix patch 7.

Thanks,
Jean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help