VirtualBox

Changeset 87510 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 1, 2021 3:39:54 PM (4 years ago)
Author:
vboxsync
Message:

AMD IOMMU: bugref:9654 IOTLB cache bits.

File:
1 edited

Legend:

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

    r87506 r87510  
    29122912
    29132913/**
    2914  * Checks whether two I/O walk results are physically contiguous.
     2914 * Checks whether two consecutive I/O page walk results translates to a physically
     2915 * contiguous region.
    29152916 *
    29162917 * @returns @c true if they are physically contiguous, @c false otherwise.
     
    29372938
    29382939/**
    2939  * Checks whether two I/O walk results form a "contiguous" access.
    2940  *
    2941  * When IOTLB caching is used, in addition to the translated system-physical
    2942  * addresses being physically contiguous, this function also verifies that the two
    2943  * pages are identical in terms of their page size and permissions.
    2944  *
    2945  * This is required to simplify IOTLB lookups for for large accesses (e.g. ATA
    2946  * device doing 65k transfers on Ubuntu 18.04 guests).
     2940 * Checks whether two consecutive I/O page walk results are part of a "contiguous"
     2941 * access.
     2942 *
     2943 * A "contiguous" access is when some range of I/O virtual addresses translate to a
     2944 * physically contiguous region of memory.
     2945 *
     2946 * When IOTLB caching is used, in addition to the translated addresses being
     2947 * physically contiguous, all pages in the access must have identical page sizes and
     2948 * I/O permissions. This is required to simplify IOTLB lookups for large accesses
     2949 * (e.g., ATA device doing 52k transfers on Ubuntu 18.04 guests).
    29472950 *
    29482951 * @returns @c true if they are contiguous, @c false otherwise.
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