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

Pete Batard posted 6 patches 4 years, 1 month ago
Failed in applying to current master (apply log)
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
[edk2-devel] [edk2-platforms][PATCH 0/6] Platforms/RPi/AcpiTables: ACPI platform improvements
Posted by Pete Batard 4 years, 1 month ago
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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [edk2-platforms][PATCH 0/6] Platforms/RPi/AcpiTables: ACPI platform improvements
Posted by Ard Biesheuvel 4 years, 1 month ago
On Thu, 26 Mar 2020 at 12:53, Pete Batard <pete@akeo.ie> wrote:
>
> 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
>

Thanks Pete

Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

Pushed as c9f3f689baa6..fcc2a81066a2

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

View/Reply Online (#56402): https://edk2.groups.io/g/devel/message/56402
Mute This Topic: https://groups.io/mt/72561822/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-