From patchwork Tue Sep 19 13:56:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 113001 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp4971010qgf; Tue, 19 Sep 2017 07:14:43 -0700 (PDT) X-Received: by 10.129.174.94 with SMTP id g30mr1096635ywk.153.1505830482927; Tue, 19 Sep 2017 07:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505830482; cv=none; d=google.com; s=arc-20160816; b=i8WlC7iyX7J7dDtkjS6PNDvs/h8X1jRGLGAWX353ETQ1OJIYaMGMET12XiIbOPqNIR Wnlw9fMrxqeKre+ymG/WCkJSMlHVB+zVBPn+P0aer49emDui9/wOuuinMqb6oZGhNaMp Kir7TdCWO1nQ0MDHB5G5jsqbvQvbUcmV9ArbV+0VEkbO/wQKU9v+MdZ+634HidRCsZL1 l6qDhpGd0rtM47ORCZAOpkvr47Ky4NYjSjWV9Tttp1Kso1Zp34CtgsjPkXJnhAL6w+hU ZZqLmvTn0/pYMHR5yr94l3yLF3q3nIq/0f9P3VjJW+vnLpvu5iutUyVyThx3eW9s+BbS zc8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=mQwsUqngHaEMKtsCNDKzLFgN/HwtkfBNng9Kzff7qvw=; b=sssCQyKzzlKnZR6ilP+0bZ3P5t5ZWn12eVSqyP7ktzj0AecODGhiYxhBdOESlQ0uQL kmt02t31uHPYP3048mS31ctQAF7kDohOmj/uv1VeJKY5ZRSHUlojkrE9JZohXHb5b+lP lmbR5gUrVGR3oX9VhOSBkPNDjJOfIBJUxlJ7ti0B0jCV2rbswSn4U8YmgpzKqFlet5KR c4DZ1zRDyzHLpG5RJ7fOLqPPRjRfn9DLfl2DkgqPQdf3qHD67Ql7iSoJWdPIsEzQHumV RjdGL9QcrJzGIb6tEMJFSYLKxTX4b/tcdmizl9RNAG9DBzpDlr64/SygWYYvTBrSqkvE 7gVg== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s2si9800513qta.173.2017.09.19.07.14.42; Tue, 19 Sep 2017 07:14:42 -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 9016962D99; Tue, 19 Sep 2017 14:14:42 +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=-4.7 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 F360E62C59; Tue, 19 Sep 2017 14:10:20 +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 5258A62CE0; Tue, 19 Sep 2017 14:05:50 +0000 (UTC) Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by lists.linaro.org (Postfix) with ESMTPS id E784C62D0A for ; Tue, 19 Sep 2017 14:05:30 +0000 (UTC) Received: by mail-pf0-f171.google.com with SMTP id x78so29927pff.10 for ; Tue, 19 Sep 2017 07:05:30 -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; bh=DnUxGNHEKDmHjQTZRP9dq31YzuF4VpjCjJMFKRQMUOE=; b=M31lVNvSxRPZvU6MwSz5taA4j33/va7f3yFaTQESCO9f25FHvqa7yzieSSl+VlBMm3 Fjs6Yf/8rzEpBZ+rmB7cENEeShd7TKGe0u/ODP+8USki+pP47hnFUz+VishZ/5Xvu7+L NSWPanGmchaok7y61Fpj+WJjarMWVSKX9AJHOxqN1oU2ZzokseK4x3Hw/MLl1i1p5t9Z Daq0yxl6xDr3iGgb4gvzJaR7mnpVpmKBMV7oywi72SHDRBCitYlt92ChUXfEDen0VYCT 8Fsm5q3wuoPGa/ptuIHK1NgLlzq2nMGBd74ZFun9cjfAPzJsXD6rBnld1q4kF7fapXnP Ocyw== X-Gm-Message-State: AHPjjUhT37EuDUPLwvPYaW6ynOsxk7U/G27qa+s9KX8+9WUq1953FoW8 Q9x52y7aLAUDeL4wPodVUQHHHCSj X-Google-Smtp-Source: AOwi7QA46AVBJUdLnH2gdFi6C1xXoT6UrjQwzKsyjJ9RAGE8Y4AN+ZXtp0BBR+xcEUuZAapOXBXwpw== X-Received: by 10.98.95.1 with SMTP id t1mr1391570pfb.217.1505829930249; Tue, 19 Sep 2017 07:05:30 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id 13sm4390439pfm.138.2017.09.19.07.05.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Sep 2017 07:05:29 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, graeme.gregory@linaro.org Date: Tue, 19 Sep 2017 21:56:20 +0800 Message-Id: <1505829398-52214-15-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> References: <1505829398-52214-1-git-send-email-heyi.guo@linaro.org> Cc: huangming23@huawei.com, zhangjinsong2@huawei.com, guoheyi@huawei.com, Chenhui Sun , wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v1 14/32] Hisilicon/D05: fix 1P NB PCIe1 smmu mapping error X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" From: Chenhui Sun Signed-off-by: Chenhui Sun --- Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl index 420cd20..9ab164f 100644 --- a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl +++ b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl @@ -213,10 +213,10 @@ [0004] PRI Interrupt : 00000000 [0004] GERR Interrupt : 00000000 [0004] Sync Interrupt : 00000000 -/* this is the map for PCIe0 in 1P NB */ -[0004] Input base : 00008800 +/* this is the map for PCIe1 in 1P NB */ +[0004] Input base : 00010000 [0004] ID Count : 00000800 -[0004] Output Base : 00008800 +[0004] Output Base : 00000000 [0004] Output Reference : 00000064 [0004] Flags (decoded below) : 00000000 Single Mapping : 0 @@ -581,7 +581,7 @@ [0004] Input base : 00008800 [0004] ID Count : 00000800 [0004] Output Base : 00008800 -[0004] Output Reference : 000001e4 +[0004] Output Reference : 0000007c [0004] Flags (decoded below) : 00000000 Single Mapping : 0 @@ -609,8 +609,8 @@ [0004] Input base : 00000000 [0004] ID Count : 00000800 -[0004] Output Base : 00000000 -[0004] Output Reference : 0000007c +[0004] Output Base : 00010000 +[0004] Output Reference : 000001e4 [0004] Flags (decoded below) : 00000000 Single Mapping : 0