VirtualBox

Changeset 90505 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Aug 4, 2021 5:17:28 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146109
Message:

AMD IOMMU: bugref:9654 Allow invalidations for page sizes larger than 4 GB, since address bits 51:32 can be used to encode page sizes greater that 4 GB.

File:
1 edited

Legend:

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

    r90494 r90505  
    50235023                 * See AMD IOMMU spec. 2.2.3 "I/O Page Tables for Host Translations".
    50245024                 */
    5025                 if (   cShift == 12 /* 4K  */ || cShift == 13 /* 8K  */
    5026                     || cShift == 14 /* 16K */ || cShift == 20 /* 1M  */
    5027                     || cShift == 22 /* 4M  */ || cShift == 32 /* 4G  */)
     5025                if (   cShift >= 12 /* 4 KB */
     5026                    && cShift <= 51 /* 2 PB */)
    50285027                {
    50295028                    /* Remove the range of I/O virtual addresses requesting to be invalidated. */
Note: See TracChangeset for help on using the changeset viewer.

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