VirtualBox

Changeset 86880 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 13, 2020 10:51:17 AM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 Fix I/O page walk when the root page table level is 0 for the DTE. Happens with OL8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp

    r86867 r86880  
    30453045                /** @todo IOMMU: Split large pages into 4K IOTLB entries and add to IOTLB cache. */
    30463046
     3047                /* If translation is disabled for this device (root paging mode is 0), we're done. */
     3048                if (WalkResult.cShift == 0)
     3049                {
     3050                    *pGCPhysSpa = uIova;
     3051                    break;
     3052                }
     3053
    30473054                /* Store the translated base address before continuing to check permissions for any more pages. */
     3055                Assert(WalkResult.cShift >= X86_PAGE_4K_SHIFT);
    30483056                if (cbRemaining == cbAccess)
    30493057                {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette