Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177254471
D60654.1794007468.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D60654.1794007468.diff
View Options
diff --git a/sys/arm64/acpica/acpi_iort.c b/sys/arm64/acpica/acpi_iort.c
--- a/sys/arm64/acpica/acpi_iort.c
+++ b/sys/arm64/acpica/acpi_iort.c
@@ -139,11 +139,24 @@
* If all the control interrupts are GISCV based the ID
* mapping field is ignored.
*/
- if (node->data.smmu_v3.EventGsiv != 0 &&
- node->data.smmu_v3.PriGsiv != 0 &&
- node->data.smmu_v3.GerrGsiv != 0 &&
- node->data.smmu_v3.SyncGsiv != 0)
+ if (node->revision < 5) {
+ /*
+ * Before version 5 (DEN0049E.e) the Device ID is
+ * ignored if all control interrupts are GSIV based.
+ */
+ if (node->data.smmu_v3.EventGsiv != 0 &&
+ node->data.smmu_v3.PriGsiv != 0 &&
+ node->data.smmu_v3.GerrGsiv != 0 &&
+ node->data.smmu_v3.SyncGsiv != 0)
+ return (-1);
+ } else if ((node->data.smmu_v3.Flags &
+ ACPI_IORT_SMMU_V3_DEVICEID_VALID) == 0) {
+ /*
+ * From revision 5 check if the DeviceID valid flag
+ * is set.
+ */
return (-1);
+ }
if (node->data.smmu_v3.IdMappingIndex >= node->nentries)
return (-1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 6, 11:24 PM (3 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40760322
Default Alt Text
D60654.1794007468.diff (1 KB)
Attached To
Mode
D60654: arm64/acpica: Support the SMMUv3 IORT table v5
Attached
Detach File
Event Timeline