Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116025066
D39896.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
801 B
Referenced Files
None
Subscribers
None
D39896.diff
View Options
diff --git a/sys/x86/iommu/intel_utils.c b/sys/x86/iommu/intel_utils.c
--- a/sys/x86/iommu/intel_utils.c
+++ b/sys/x86/iommu/intel_utils.c
@@ -99,9 +99,14 @@
{.agaw = 48, .cap = DMAR_CAP_SAGAW_4LVL, .awlvl = DMAR_CTX2_AW_4LVL,
.pglvl = 4},
{.agaw = 57, .cap = DMAR_CAP_SAGAW_5LVL, .awlvl = DMAR_CTX2_AW_5LVL,
- .pglvl = 5},
- {.agaw = 64, .cap = DMAR_CAP_SAGAW_6LVL, .awlvl = DMAR_CTX2_AW_6LVL,
- .pglvl = 6}
+ .pglvl = 5}
+ /*
+ * 6-level paging (DMAR_CAP_SAGAW_6LVL) is not supported on any
+ * current VT-d hardware and its SAGAW field value is listed as
+ * reserved in the VT-d spec. If support is added in the future,
+ * this structure and the logic in dmar_maxaddr2mgaw() will need
+ * to change to avoid attempted comparison against 1ULL << 64.
+ */
};
bool
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 2, 6:32 PM (15 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17909940
Default Alt Text
D39896.diff (801 B)
Attached To
Mode
D39896: Intel DMAR: remove parsing of 6-level paging capability
Attached
Detach File
Event Timeline
Log In to Comment