From patchwork Sat Apr 1 11:29:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Chenhui Sun X-Patchwork-Id: 96565 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1124171qgd; Sat, 1 Apr 2017 04:35:13 -0700 (PDT) X-Received: by 10.55.149.66 with SMTP id x63mr6874501qkd.277.1491046513218; Sat, 01 Apr 2017 04:35:13 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id u42si7159687qte.4.2017.04.01.04.35.13; Sat, 01 Apr 2017 04:35:13 -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 DE8CC62D68; Sat, 1 Apr 2017 11:35: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, 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 8B8DB6365E; Sat, 1 Apr 2017 11:34:22 +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 052766365E; Sat, 1 Apr 2017 11:34:11 +0000 (UTC) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by lists.linaro.org (Postfix) with ESMTPS id D3A2B608C2 for ; Sat, 1 Apr 2017 11:33:43 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id i5so15296594pfc.2 for ; Sat, 01 Apr 2017 04:33:43 -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=ljewBVensY5cMIK+2/81W/fNHXhETwr2n3sS3efJJ7c=; b=afuWFg7flk8JGoamHgcT5a/Z6yO2Rb6B15HYEIFizSCT08B5oY58IFnOt+HzznblDv oRc7yWzqi3evyfsHm+NdxLP8qvA4VGouh3wlLuyDbAkMCOcu2WXqucNTS/iQ9Ii4LMSs RSJXW9vcVudyydoUMdMPssRDxgABVy0OGLb5SXdacUxuF13qL0Z8zz6UctI/jC5c59IQ VLj0uVGYbIwm9tV8bTRyA4Sb75aeiHh7Qm2xJv99ePSHPjrRNCcYvEh3/fj5qYsrBIoI WNujl7KSc/PIj9joSirJnsU+p9vnUBWfN9/n4t//J9g8KG+MoGdzSuasLJm2GEMJImZU qS9w== X-Gm-Message-State: AFeK/H1hVDpi7ZBUHXoB745g7Mdogs0SF9niwpCUA5evnJY0uzT3tOcCMwluqEGZ8CfAmHx6BAk= X-Received: by 10.84.224.198 with SMTP id k6mr8587234pln.15.1491046423083; Sat, 01 Apr 2017 04:33:43 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id a62sm15704868pgc.60.2017.04.01.04.33.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 01 Apr 2017 04:33:42 -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:11 +0800 Message-Id: <1491046162-53797-7-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 06/17] Hisilicon/D02: 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" Luvos 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 Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl index bcd31d6..8f38359 100644 --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl +++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Iort.asl @@ -205,8 +205,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 @@ -234,8 +234,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