From 8c7cef3ee340ee8fb1a805be9ed17c8f88f22945 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Sun, 16 Apr 2023 15:22:26 -0700 Subject: [PATCH 1/2] Revert "config: fix VT-d compatibility issues on macOS 13.3" This reverts commit a774a360a16a196867c6e161286717359c431da4. --- Installer/data/OpenCore/source.txt | 4 ++-- OC/config.plist | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Installer/data/OpenCore/source.txt b/Installer/data/OpenCore/source.txt index 14f85ff..d88ca73 100644 --- a/Installer/data/OpenCore/source.txt +++ b/Installer/data/OpenCore/source.txt @@ -1,2 +1,2 @@ -https://github.com/dortania/build-repo/releases/download/OpenCorePkg-c72c258/OpenCore-0.9.2-RELEASE.zip -09b1e89797c0344a453706973faf5d05913bd4aea9c83392a0df2334cd9ad7b9 \ No newline at end of file +https://github.com/acidanthera/OpenCorePkg/releases/download/0.9.1/OpenCore-0.9.1-RELEASE.zip +26c8d1e960e7fa4d6d61392770aff9d5abfafd68031660c1f20a991a6d746e36 \ No newline at end of file diff --git a/OC/config.plist b/OC/config.plist index 12b17f4..397c604 100755 --- a/OC/config.plist +++ b/OC/config.plist @@ -479,8 +479,6 @@ DisableIoMapper - DisableIoMapperMapping - DisableLinkeditJettison PanicNoKextDump From 7b1b15245fb83eb0d9c88158742928a0862363c0 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Sun, 16 Apr 2023 15:28:37 -0700 Subject: [PATCH 2/2] acpi: add DMAC device for VT-d support Fixes #1068 --- ACPI/SSDT-VTd.asl | 44 ++++++++++++++++++++++++++++++++++++++++++++ OC/config.plist | 2 -- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 ACPI/SSDT-VTd.asl diff --git a/ACPI/SSDT-VTd.asl b/ACPI/SSDT-VTd.asl new file mode 100644 index 0000000..7224fdf --- /dev/null +++ b/ACPI/SSDT-VTd.asl @@ -0,0 +1,44 @@ +/** + * AppleVTD support + */ +DefinitionBlock ("", "SSDT", 2, "OSY86 ", "AppleVTD", 0x00001000) +{ + External (\_SB_.PCI0.LPCB, DeviceObj) // (from opcode) + + Scope (\_SB.PCI0.LPCB) + { + Device (DMAC) + { + Name (_HID, EisaId ("PNP0200")) // _HID: Hardware ID + Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings + { + IO (Decode16, + 0x0000, // Range Minimum + 0x0000, // Range Maximum + 0x01, // Alignment + 0x20, // Length + ) + IO (Decode16, + 0x0081, // Range Minimum + 0x0081, // Range Maximum + 0x01, // Alignment + 0x11, // Length + ) + IO (Decode16, + 0x0093, // Range Minimum + 0x0093, // Range Maximum + 0x01, // Alignment + 0x0D, // Length + ) + IO (Decode16, + 0x00C0, // Range Minimum + 0x00C0, // Range Maximum + 0x01, // Alignment + 0x20, // Length + ) + DMA (Compatibility, NotBusMaster, Transfer8_16, ) + {4} + }) + } + } +} diff --git a/OC/config.plist b/OC/config.plist index 397c604..5930edd 100755 --- a/OC/config.plist +++ b/OC/config.plist @@ -477,8 +477,6 @@ AppleXcpmCfgLock - DisableIoMapper - DisableLinkeditJettison PanicNoKextDump