VirtualBox

Changeset 85904 in vbox


Ignore:
Timestamp:
Aug 27, 2020 1:19:54 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140088
Message:

AMD IOMMU: bugref:9654 Initialize the IOMMU's MMIO region via the PCI config. space IOMMU base address register.

File:
1 edited

Legend:

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

    r85490 r85904  
    22452245                break;
    22462246            }
     2247#ifdef VBOX_WITH_IOMMU_AMD
     2248            case 0x0806:
     2249            {
     2250                /* IOMMU. */
     2251                uint16_t const uVendorId = devpciR3GetWord(pPciDev, VBOX_PCI_VENDOR_ID);
     2252                if (uVendorId == 0x1022 /* IOMMU_PCI_VENDOR_ID => AMD. */)
     2253                {
     2254                    /* AMD. */
     2255                    devpciR3SetDWord(pDevIns, pPciDev, 0x44, 0xfeb80001); /* set MMIO region address + enable (bit 0). */
     2256                }
     2257                break;
     2258            }
     2259#endif
    22472260            default:
    22482261                break;
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