VirtualBox

Changeset 90185 in vbox


Ignore:
Timestamp:
Jul 14, 2021 3:05:44 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145704
Message:

AMD IOMMU: bugref:9654 Log PTE not present failures.

File:
1 edited

Legend:

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

    r90110 r90185  
    35223522
    35233523    /* Raise an I/O page fault for out-of-bounds acccess. */
     3524    LogFunc(("Out-of-bounds device table entry. idDevice=%#x offDte=%u cbDevTabSeg=%u -> IOPF\n", idDevice, offDte, cbDevTabSeg));
    35243525    EVT_IO_PAGE_FAULT_T EvtIoPageFault;
    35253526    iommuAmdIoPageFaultEventInit(idDevice, 0 /* idDomain */, 0 /* uIova */, false /* fPresent */, false /* fRsvdNotZero */,
     
    36963697        else
    36973698        {
    3698             LogFunc(("Page table entry not present (idDevice=%#x) -> IOPF\n", idDevice));
     3699            LogFunc(("Page table entry not present. idDevice=%#x uIova=%#RX64 -> IOPF\n", idDevice));
    36993700            EVT_IO_PAGE_FAULT_T EvtIoPageFault;
    37003701            iommuAmdIoPageFaultEventInit(idDevice, pDte->n.u16DomainId, uIova, false /* fPresent */, false /* fRsvdNotZero */,
     
    37433744        else
    37443745        {
    3745             LogFunc(("Page table entry access denied (idDevice=%#x fPerm=%#x fPtePerm=%#x) -> IOPF\n", idDevice, fPerm, fPtePerm));
     3746            LogFunc(("Page table entry access denied. idDevice=%#x fPerm=%#x fPtePerm=%#x -> IOPF\n", idDevice, fPerm, fPtePerm));
    37463747            EVT_IO_PAGE_FAULT_T EvtIoPageFault;
    37473748            iommuAmdIoPageFaultEventInit(idDevice, pDte->n.u16DomainId, uIova, true /* fPresent */, false /* fRsvdNotZero */,
     
    37823783            }
    37833784
    3784             LogFunc(("Page size invalid cShift=%u -> IOPF\n", cShift));
     3785            LogFunc(("Page size invalid. idDevice=%#x cShift=%u -> IOPF\n", idDevice, cShift));
    37853786            EVT_IO_PAGE_FAULT_T EvtIoPageFault;
    37863787            iommuAmdIoPageFaultEventInit(idDevice, pDte->n.u16DomainId, uIova, true /* fPresent */, false /* fRsvdNotZero */,
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