From patchwork Sat Apr 1 11:29:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chenhui Sun X-Patchwork-Id: 96559 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1123572qgd; Sat, 1 Apr 2017 04:33:13 -0700 (PDT) X-Received: by 10.237.40.66 with SMTP id r60mr7821973qtd.42.1491046393036; Sat, 01 Apr 2017 04:33:13 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r58si7145219qtb.43.2017.04.01.04.33.12; Sat, 01 Apr 2017 04:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 40C6462DDF; Sat, 1 Apr 2017 11:33:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id CBBA8608C2; Sat, 1 Apr 2017 11:33:07 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E67D460CCC; Sat, 1 Apr 2017 11:33:05 +0000 (UTC) Received: from mail-pg0-f48.google.com (mail-pg0-f48.google.com [74.125.83.48]) by lists.linaro.org (Postfix) with ESMTPS id C5091608AC for ; Sat, 1 Apr 2017 11:33:04 +0000 (UTC) Received: by mail-pg0-f48.google.com with SMTP id 81so89638369pgh.2 for ; Sat, 01 Apr 2017 04:33:04 -0700 (PDT) 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=YV9Sy0gyUobrW/czi5Jv6V4OqyTq/x2kvwibg7HpnRQ=; b=NY9z8I1KfXe95NjwTH9v1JZH67huLnaLCZTQO2y34vPHZ5W2SQgDZUTDClY8aGVb1B TMjnc60OEaC6YvLEK88QU9lJ+8OEnpREL+EDj0vXrz5de0S8EG4MrdQVZeRldG9+AIOh OVVU/aJpcZ3h5AxRJdikVLweQsrQ8pSPnkPV0e8qZVxSg44L/ADaGsJNuxjWzfGeDZ2w 9qyz7umA+QyxMujLPZmf4uf+InZIPnhlXpY4HDCIbsVhGBdSIsNHlmNfa6kR0K46JE0v Ndjp3vnKOAtLpVA0lc8xONfZpOt1b/Hs5v/zDMcT4GLVZ84Ns56duHT5Ylzk1Jh8XAT4 q29A== X-Gm-Message-State: AFeK/H1WnwpqLsw0J8EuD0LJLmS2yeRPYmAxM8SvCHLK7QCVkoj0W9SvEHXYyv2MPbUbVhtr9tQ3JUCH X-Received: by 10.98.17.200 with SMTP id 69mr6973273pfr.210.1491046384017; Sat, 01 Apr 2017 04:33:04 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id a62sm15704868pgc.60.2017.04.01.04.32.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 01 Apr 2017 04:33:03 -0700 (PDT) From: Chenhui Sun To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, graeme.gregory@linaro.org Date: Sat, 1 Apr 2017 19:29:05 +0800 Message-Id: <1491046162-53797-1-git-send-email-chenhui.sun@linaro.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Cc: Chenhui Sun , sunchenhui@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [Linaro-uefi v2 00/17] D03/D05 platforms bug fix X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Code can also be found in inaro repo: http://git.linaro.org/people/heyi.guo/OpenPlatformPkg.git branch: rp-17.04-03 Mainly include * fix SCT test fail issue * fix luvOS test fail issue * support the compatibility of kernel PCIe driver * refine the code style according Leif and Graeme's comments * drop some unnessary and some wrong patchset at v1 Chenhui Sun (6): Hisilicon: disable RC Option Rom Hisilicon: Add reconfig lane number feature Hisilicon/D03/D05: Change Monotonic Drive D03: update acpi tables to ACPI6.1 D05: update acpi tables to ACPI6.1 D02: update acpi tables to ACPI6.1 hensonwang (3): Hisilicon/D05: support the compatibility of kernel PCIe driver Hisilicon/D03: support the compatibility of kernel PCIe driver Hisilicon/D05: add num-pins package for Roce shaochangliang (2): Hisilicon/UpdateFdtDxe: fix memory overflow issue Hisilicon/PCIe: Fix the probability of I350 enumeration fail issue. wangyue (6): Hisilicon: Fix ACPI/DSDT table checksum error Hisilicon/D02: fix IORT test issue in luvOS test Hisilicon/D03: Fix IORT test issue in luvOS test Hisilicon/D05: Fix IORT test issue in luvOS test Hisilicon/FlashFvbDxe: Add Reset interface for block IO protocol Hisilicon/RamDisk: Add Reset interface for block IO protocol Chips/Hisilicon/Drivers/AcpiPlatformDxe/EthMac.c | 22 ++ Chips/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.c | 13 + .../Hisilicon/Drivers/UpdateFdtDxe/UpdateFdtDxe.c | 2 +- .../Hi1610/Drivers/PcieInit1610/PcieInitLib.c | 184 ++++++++- .../Hi1610/Drivers/PcieInit1610/PcieInitLib.h | 4 + .../Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl | 12 +- .../Hisilicon/Hi1610/Hi1610AcpiTables/D03Mcfg.aslc | 20 +- .../Hi1610/Hi1610AcpiTables/Dsdt/D03Pci.asl | 159 ++++---- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Facs.aslc | 8 +- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Fadt.aslc | 39 +- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc | 30 +- .../Hi1610/Hi1610AcpiTables/MadtHi1610.aslc | 120 +++--- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl | 32 +- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Mcfg.aslc | 2 +- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc | 16 +- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Spcr.aslc | 2 +- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Srat.aslc | 152 ++++---- .../Hi1616/D05AcpiTables/Dsdt/D05Mbig.asl | 7 + .../Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl | 399 ++++++++++++++++++- Chips/Hisilicon/Hi1616/D05AcpiTables/Facs.aslc | 8 +- Chips/Hisilicon/Hi1616/D05AcpiTables/Fadt.aslc | 39 +- Chips/Hisilicon/Hi1616/D05AcpiTables/Gtdt.aslc | 42 +- .../Hisilicon/Hi1616/D05AcpiTables/MadtHi1616.aslc | 424 ++++++++++----------- Chips/Hisilicon/Include/Library/AcpiNextLib.h | 28 +- Chips/Hisilicon/Include/Regs/HisiPcieV1RegOffset.h | 5 + Chips/Hisilicon/Pv660/Pv660AcpiTables/Dbg2.aslc | 8 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Facs.aslc | 8 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Fadt.aslc | 39 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc | 30 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl | 8 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Madt.aslc | 126 +++--- Chips/Hisilicon/Pv660/Pv660AcpiTables/Mcfg.aslc | 20 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Spcr.aslc | 6 +- Drivers/Block/ramdisk/ramdisk.c | 13 + Platforms/Hisilicon/D03/D03.dsc | 1 - Platforms/Hisilicon/D03/D03.fdf | 2 +- Platforms/Hisilicon/D05/D05.dsc | 1 - Platforms/Hisilicon/D05/D05.fdf | 2 +- 38 files changed, 1335 insertions(+), 698 deletions(-)