Changeset 87733 in vbox for trunk/src/VBox
- Timestamp:
- Feb 12, 2021 1:40:48 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142785
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp
r87730 r87733 4535 4535 case IOMMU_CMD_PREFETCH_IOMMU_PAGES: 4536 4536 { 4537 /* Linux doesn't use prefetching of IOMMU pages, so we don't bother for now. */ 4537 4538 STAM_COUNTER_INC(&pThis->StatCmdPrefIommuPages); 4538 if (pThis->ExtFeat.n.u1PrefetchSup) 4539 { 4540 /** @todo IOMMU: Implement prefetch. Pretend success until then. */ 4541 return VINF_SUCCESS; 4542 } 4539 Assert(!pThis->ExtFeat.n.u1PrefetchSup); 4543 4540 iommuAmdIllegalCmdEventInit(GCPhysCmd, (PEVT_ILLEGAL_CMD_ERR_T)pEvtError); 4544 4541 return VERR_IOMMU_CMD_NOT_SUPPORTED; … … 4996 4993 if (fVerbose) 4997 4994 { 4998 pHlp->pfnPrintf(pHlp, " Prefetch support = %RTbool\n", ExtFeat.n.u1PrefetchSup);4995 pHlp->pfnPrintf(pHlp, " Prefetch support = %RTbool\n", ExtFeat.n.u1PrefetchSup); 4999 4996 pHlp->pfnPrintf(pHlp, " PPR support = %RTbool\n", ExtFeat.n.u1PprSup); 5000 4997 pHlp->pfnPrintf(pHlp, " x2APIC support = %RTbool\n", ExtFeat.n.u1X2ApicSup); … … 6089 6086 /* Don't remove the commented lines below as it lets us see all features at a glance. */ 6090 6087 pThis->ExtFeat.u64 = 0; 6091 //pThis->ExtFeat.n.u1PrefetchSup= 0;6088 pThis->ExtFeat.n.u1PrefetchSup = 0; 6092 6089 //pThis->ExtFeat.n.u1PprSup = 0; 6093 6090 //pThis->ExtFeat.n.u1X2ApicSup = 0;
Note:
See TracChangeset
for help on using the changeset viewer.