[edk2-devel] [edk2-platforms][PATCH 0/6] Platforms/RPi/AcpiTables: ACPI platform improvements

Pete Batard pete at akeo.ie
Thu Mar 26 11:53:16 UTC 2020


This patchset brings additional cleanup and improvements to the factorized
ACPI table generation for the Pi platform by:

* Updating the Pi 4 interrupts we know of to their proper values.
* Removing VendorLong () sections in the ASL data we inherited from Microsoft.
* Improving MADT factorization through the use of PCDs.
* Setting ACPI IDs to more professional expected values.
* Adding proper DMA translation for devices that sit behind GPU/VideoCore.

It should be noted that this patchset was checked for regressions against a
Pi 3 running Windows 10 as well as well as a Pi 4 running Debian Linux.


Andrei Warkentin (3):
  Platform/RPi/AcpiTables: Replace VendorLong () blobs with PinFunction
    ()
  Platform/RPi/AcpiTables: Move GPU devices into a separate ASL file
  Platform/RPi/AcpiTables: Describe DMA constraints for devices behind
    GPU

Pete Batard (3):
  Platform/RPi/AcpiTables: Fix Pi 4 interrupts values
  Platform/RPi/AcpiTables: Use PCDs in MADT
  Platform/RPi/AcpiTables: Clean up ACPI IDs

 Platform/RaspberryPi/AcpiTables/AcpiTables.h   |  46 +-
 Platform/RaspberryPi/AcpiTables/AcpiTables.inf |   8 +
 Platform/RaspberryPi/AcpiTables/Dsdt.asl       | 581 +++++---------------
 Platform/RaspberryPi/AcpiTables/Fadt.aslc      |  10 +
 Platform/RaspberryPi/AcpiTables/GpuDevs.asl    | 393 +++++++++++++
 Platform/RaspberryPi/AcpiTables/Madt.aslc      |  31 +-
 Platform/RaspberryPi/AcpiTables/Uart.asl       |  16 +-
 Platform/RaspberryPi/RPi3/RPi3.dsc             |   9 +
 Platform/RaspberryPi/RPi4/RPi4.dsc             |   7 +
 Platform/RaspberryPi/RaspberryPi.dec           |   7 +
 10 files changed, 601 insertions(+), 507 deletions(-)
 create mode 100644 Platform/RaspberryPi/AcpiTables/GpuDevs.asl

-- 
2.21.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#56394): https://edk2.groups.io/g/devel/message/56394
Mute This Topic: https://groups.io/mt/72561822/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list