From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.web09.8604.1576757688580316293 for ; Thu, 19 Dec 2019 04:14:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=VuCLfRtu; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.42, mailfrom: pete@akeo.ie) Received: by mail-wm1-f42.google.com with SMTP id t14so5367077wmi.5 for ; Thu, 19 Dec 2019 04:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VHsfVOlD0Kry5j7rEueMWFQ6pBv2gAP9NTXigAoTbi4=; b=VuCLfRtu6RdH6nVNkKFogij4bmtwDosBP3cD2UYbu1EA8GOCCZ3NVkKwro5tLrC5cn 7jkApyMuHPtzME1xX0Je2OjThA9VLq1UEOBRLRwuiLjjpN7X4hCEGNNnmcRYtsyTrYcZ vAy6cRHvD0IfU+bLsN94e8crysAcgUf0pzwyXWs6F9Wb571b4nN8SAX7PXsTqyITBevM 6NdbJVOwLm+g2OWwrqU4pf9GeBZVRQbcQCeLIKEzTXNaNbkqEsvVZfxpg0Gkd3ihSDfC 98NoXwuMDjlZpEOgAiH3W455HCqGLb28qKCgoJklibGRVpIqoulfHJJ99eL2cyuECLE7 bYPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VHsfVOlD0Kry5j7rEueMWFQ6pBv2gAP9NTXigAoTbi4=; b=shW4vtGabaPnmcNyUnjhAOLPHv9sydSbUJI2G4q2podOjTHbjOW861zo24roY3MuPU /pY5Zf6wnlVoPAYztES3GIW5xbWSWEeiqJ/xjlHgM/KyXDWgGt3m9F9MRyNNtkK2ewaT fm/Ntnb//tbx2pXs4MrJ6++sNb53WMa2n3dO+5lPPrs7y78RTFPyH6hcwID/hlSQkiuF VCWQr1xYw7oR0oh34gNQUx7uOqEzvYXF/kGoZ9ylGxaCNxKn/oogWCBuYigHCl+nR5TR EQKjnlsXl7BFXLkfPpGDhZxc0dKrxQiEl5nKb+l6H32+majmmYHM4ZAmo3PEm/UFbEtU aKFg== X-Gm-Message-State: APjAAAWlbcWVulpA7vgnf+BDK1NT1vknKNJcQRT3fFPjpMEqYBnVyg70 6kAxTynM5xcc2GTYXB3U2wb/3v7Wsbg= X-Google-Smtp-Source: APXvYqyfb+wgH2VsYr3QRSe13jSPlKqTHtHrKusj4+2yA9RSAAaJC+7M11lgt6658iU3IB3EwNatHw== X-Received: by 2002:a05:600c:507:: with SMTP id i7mr10138063wmc.135.1576757686930; Thu, 19 Dec 2019 04:14:46 -0800 (PST) Return-Path: Received: from localhost.localdomain ([84.203.77.210]) by smtp.gmail.com with ESMTPSA id u8sm5823147wmm.15.2019.12.19.04.14.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2019 04:14:45 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, philmd@redhat.com Subject: [edk2-platforms][PATCH v2 0/7] Platform/RPi4: ACPI improvements Date: Thu, 19 Dec 2019 12:14:27 +0000 Message-Id: <20191219121434.2856-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Changes from v1 (https://edk2.groups.io/g/devel/message/52342 - 52348): * Add PL011 and miniUART constants in Silicon/.../Bcm2836.h and use those in the SPCR and DBG2 tables * Use default values in FADT wherever possible * Drop MCFG table * Improve computation of MMIO window in XHCI table * Improve/clarify macro definitions in XHCI table * Fix a typo in one of the new sections from the Readme Andrei Warkentin (1): Platform/RPi4: Add XHCI ACPI table Ard Biesheuvel (1): Platform/RPi4: Add ACPI basic mode build option Pete Batard (5): Silicon/Bcm283x: Add UART constants for PL011 and miniUART Platform/RPi4: Clean up ACPI definitions Platform/RPi4: Improve FADT ACPI table generation Platform/RPi4: Improve SPCR and DBG2 ACPI table generation Platform/RPi4: Add switch to select between PL011 and miniUART Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf | 3 + Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c | 8 ++ Platform/RaspberryPi/RPi4/AcpiTables/AcpiTables.h | 12 +- Platform/RaspberryPi/RPi4/AcpiTables/AcpiTables.inf | 8 +- Platform/RaspberryPi/RPi4/AcpiTables/Csrt.aslc | 42 +++--- Platform/RaspberryPi/RPi4/AcpiTables/Dbg2.aslc | 105 +++++++++++++-- Platform/RaspberryPi/RPi4/AcpiTables/Dsdt.asl | 1 + Platform/RaspberryPi/RPi4/AcpiTables/Fadt.aslc | 99 ++++++++++---- Platform/RaspberryPi/RPi4/AcpiTables/Gtdt.aslc | 30 ++--- Platform/RaspberryPi/RPi4/AcpiTables/Madt.aslc | 11 +- Platform/RaspberryPi/RPi4/AcpiTables/Pep.asl | 4 +- Platform/RaspberryPi/RPi4/AcpiTables/Pep.c | 6 +- Platform/RaspberryPi/RPi4/AcpiTables/Pep.h | 8 +- Platform/RaspberryPi/RPi4/AcpiTables/Spcr.asl | 48 ------- Platform/RaspberryPi/RPi4/AcpiTables/Spcr.aslc | 96 ++++++++++++++ Platform/RaspberryPi/RPi4/AcpiTables/Uart.asl | 6 +- Platform/RaspberryPi/RPi4/AcpiTables/Xhci.asl | 137 ++++++++++++++++++++ Platform/RaspberryPi/RPi4/RPi4.dsc | 29 +++++ Platform/RaspberryPi/RPi4/RPi4.fdf | 7 + Platform/RaspberryPi/RPi4/Readme.md | 52 ++++++-- Platform/RaspberryPi/RaspberryPi.dec | 3 + Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836.h | 17 ++- 22 files changed, 570 insertions(+), 162 deletions(-) delete mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Spcr.asl create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Spcr.aslc create mode 100644 Platform/RaspberryPi/RPi4/AcpiTables/Xhci.asl -- 2.21.0.windows.1