From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::442; helo=mail-wr1-x442.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5FA4D21197B2F for ; Wed, 5 Dec 2018 10:50:25 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id p4so20785193wrt.7 for ; Wed, 05 Dec 2018 10:50:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uJ5PUmwke6atELLYingw/RCd0lUxNe1OT8tuPyjsgls=; b=K8h51G+UYT3+NYVj9k+cxkw/EuBPZ590VrXfj+PSxgAhdnKHZ29nStqhSB+nOl7gwY f6AwACYy6W1SKG63oj0Nh9YiWH7ElyrI77qpbr/pUopvrHvBjsuWtURGt7ruxpUNRAVb H6jlpCDS1S8npvthO/wx92Sb9NRy36XimiNkw= 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=uJ5PUmwke6atELLYingw/RCd0lUxNe1OT8tuPyjsgls=; b=Fq4NUVJ+Ju6oVr0VCfSsmCjISLWOi4KvTrQSm4O0wzwOBWgyWJ+mvG2lDfovQSu7Kh kBEvlRLe3fpWMSL6MxjDu7YZ1LdzZ37If9M8UjipeYwJJatLUYsABrBmKVoWNn/OaBnK mGWT28+VZe3zq7FdV7mFYpxWS72flDIVAV+fUW4hJO5zswpuvQKhdUPkU+cDw9UUo0nO DYHg3RSS/BDwQ4ix90cSF1erdiXPvbdgCgR+8uU+K3phJLJGuPOyLHmkiKBy090ccckx MjB++JvOg6DfmWSpGXJE45ubct2QWlRyU0ZiNbrDXCW2G93YuUGHDg+wngmvmyd5WCmD +fGQ== X-Gm-Message-State: AA+aEWbBCKJ5LFBmDqBaTsa+g/P1GJKDLOrCqZ2scllp9JAlfhbueHN2 HT5AalpjxQ1syqiw2hboxIgxV+5XEMRAmg== X-Google-Smtp-Source: AFSGD/VopvIEzQPcR+aZ3F/FKGNVh2kmK8Bca66nb/czx7JnNibDSSdPdmzv3+XS6hmh8pI9E2j6Sw== X-Received: by 2002:a05:6000:104b:: with SMTP id c11mr23287267wrx.303.1544035823244; Wed, 05 Dec 2018 10:50:23 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:816d:4a95:a2ca:814d]) by smtp.gmail.com with ESMTPSA id c8sm14825186wrx.42.2018.12.05.10.50.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 10:50:22 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, alan@softiron.co.uk, graeme.gregory@linaro.org, Ard Biesheuvel Date: Wed, 5 Dec 2018 19:50:14 +0100 Message-Id: <20181205185020.21441-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [PATCH edk2-platforms 0/6] Styx: fixes for IASL abuse and more X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 18:50:25 -0000 Content-Transfer-Encoding: 8bit Primarily, this series gets rid of the hacked up way this platform patches the DSDT at build time, by #include'ing intermediate output of the iasl compiler [or some version of it, at least] While at it, apply some other cleanups/improvements. Ard Biesheuvel (6): Silicon/AMD/Styx: move SOC version macros to common header Silicon/AMD/Styx: move B1 revision peripherals to separate SSDT table Silicon/AMD/Styx: move XGBE declarations to separate SSDT table Silicon/AMD/Styx: emit DSDT as aml directly Platform: add acpiview to Seattle/Styx platforms Platform/AMD/OverdriveBoard: use default resolution for GOP .../AMD/OverdriveBoard/OverdriveBoard.dsc | 7 +- Platform/LeMaker/CelloBoard/CelloBoard.dsc | 5 +- .../Overdrive1000Board/Overdrive1000Board.dsc | 4 +- .../AMD/OverdriveBoard/OverdriveBoard.fdf | 2 +- Platform/LeMaker/CelloBoard/CelloBoard.fdf | 2 +- .../Overdrive1000Board/Overdrive1000Board.fdf | 2 +- Silicon/AMD/Styx/AcpiTables/AcpiAml.inf | 29 --- Silicon/AMD/Styx/AcpiTables/AcpiTables.inf | 3 - .../AcpiPlatformDxe/AcpiPlatformDxe.inf | 13 ++ Silicon/AMD/Styx/Common/AmdStyxAcpiLib.h | 1 - Silicon/AMD/Styx/Common/SocVersion.h | 19 ++ Silicon/AMD/Styx/AcpiTables/Dsdt.c | 192 ------------------ Silicon/AMD/Styx/AcpiTables/Iort.c | 6 +- .../Drivers/AcpiPlatformDxe/AcpiPlatform.c | 137 ++++++++++++- .../StyxSataPlatformDxe/InitController.c | 7 +- .../StyxDtbLoaderLib/StyxDtbLoaderLib.c | 7 +- .../AcpiPlatformDxe}/Dsdt.asl | 180 ---------------- .../Styx/Drivers/AcpiPlatformDxe/SsdtB1.asl | 86 ++++++++ .../Styx/Drivers/AcpiPlatformDxe/SsdtXgbe.asl | 135 ++++++++++++ 19 files changed, 395 insertions(+), 442 deletions(-) delete mode 100644 Silicon/AMD/Styx/AcpiTables/AcpiAml.inf create mode 100644 Silicon/AMD/Styx/Common/SocVersion.h delete mode 100644 Silicon/AMD/Styx/AcpiTables/Dsdt.c rename Silicon/AMD/Styx/{AcpiTables => Drivers/AcpiPlatformDxe}/Dsdt.asl (72%) create mode 100644 Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/SsdtB1.asl create mode 100644 Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/SsdtXgbe.asl -- 2.19.2