From patchwork Sat Apr 1 11:29:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chenhui Sun X-Patchwork-Id: 96566 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1124219qgd; Sat, 1 Apr 2017 04:35:28 -0700 (PDT) X-Received: by 10.55.112.66 with SMTP id l63mr6978549qkc.149.1491046528305; Sat, 01 Apr 2017 04:35:28 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o73si7132282qka.252.2017.04.01.04.35.28; Sat, 01 Apr 2017 04:35:28 -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 DDE3063666; Sat, 1 Apr 2017 11:35:27 +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, URIBL_BLOCKED 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 C26D76366C; Sat, 1 Apr 2017 11:34:25 +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 5DC9360EA6; Sat, 1 Apr 2017 11:34:13 +0000 (UTC) Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by lists.linaro.org (Postfix) with ESMTPS id E54AB62D68 for ; Sat, 1 Apr 2017 11:33:52 +0000 (UTC) Received: by mail-pf0-f172.google.com with SMTP id o126so15286272pfb.3 for ; Sat, 01 Apr 2017 04:33:52 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=sUbkI6Rbw3Tx1B+vadZj7B2wgK0tT1lOY3oExcfchAc=; b=tqs/mRdxuvD1VcvM13dSDG32ajyQGMSjlzgDxzU5ijgCeXWv/Mx4ABgGUnK0GSV75K 95nLSDiceJH7V2jMCwMloruvNG4wTKXe0+wlmg+ktRH5uolgoeX//azeTAl6xPtUO1tX v76R60X0bNkAeIq+MrDBqR1NorRt44WHf25BhCsYej4SSP97+hveUs8mTx4pzkIvsUxw GRvYsrC6syXQzHsxESiPdYl7rjDNVzN5hij/krYNt+fTVK+x+wwQJE958/+3q6eV8aNI wrTSnBprP3rBZX3n8Ef2QdIDEr5mW5DnpecdTJ+fvX1Y5INGqky/phZidg5jnLbJ1t3O eEIw== X-Gm-Message-State: AFeK/H0VBeondVPooAFccgrlvy+K6QHo/73tQnwIs+bF5Y53gPnNG1Zyroq7ZaBBMQEt5kDIsGI= X-Received: by 10.98.134.65 with SMTP id x62mr7120829pfd.93.1491046432125; Sat, 01 Apr 2017 04:33:52 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id a62sm15704868pgc.60.2017.04.01.04.33.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 01 Apr 2017 04:33:51 -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:12 +0800 Message-Id: <1491046162-53797-8-git-send-email-chenhui.sun@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491046162-53797-1-git-send-email-chenhui.sun@linaro.org> References: <1491046162-53797-1-git-send-email-chenhui.sun@linaro.org> MIME-Version: 1.0 Cc: Yi Li , Chenhui Sun , Chenhui Sun , sunchenhui@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [Linaro-uefi v2 07/17] Hisilicon/D03: Fix IORT test issue in luvOS test 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" CLuvos test report: "FAILED [HIGH] IORTMemAttrInvalid: Test 1, IORT PCI Root Complex Node Memory Attributes are illegal, CCA cannot be 1 if CPM is 0." Reference to 《DEN0049B_IO_Remapping_Table》 3.1.1.4 Table13 and Table14: “Note that if CCA is 0x1, CPM must also be 0x1. Conversely, If CPM is 0x0 then CCA must be 0x0.” Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo Signed-off-by: Yi Li Signed-off-by: Chenhui Sun --- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl index 9a045b7..9295485 100644 --- a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl +++ b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/D03Iort.asl @@ -296,8 +296,8 @@ Read Allocate : 0 Override : 0 [0002] Reserved : 0000 -[0001] Memory Flags (decoded below) : 00 - Coherency : 0 +[0001] Memory Flags (decoded below) : 01 + Coherency : 1 Device Attribute : 0 [0004] ATS Attribute : 00000000 [0004] PCI Segment Number : 00000000 @@ -325,8 +325,8 @@ Read Allocate : 0 Override : 0 [0002] Reserved : 0000 -[0001] Memory Flags (decoded below) : 00 - Coherency : 0 +[0001] Memory Flags (decoded below) : 01 + Coherency : 1 Device Attribute : 0 [0004] ATS Attribute : 00000000 [0004] PCI Segment Number : 00000001 @@ -354,8 +354,8 @@ Read Allocate : 0 Override : 0 [0002] Reserved : 0000 -[0001] Memory Flags (decoded below) : 00 - Coherency : 0 +[0001] Memory Flags (decoded below) : 01 + Coherency : 1 Device Attribute : 0 [0004] ATS Attribute : 00000000 [0004] PCI Segment Number : 00000002