From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992015655379.5067597007211; Thu, 21 Sep 2017 04:06:55 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C0E6821E1B77D; Thu, 21 Sep 2017 04:03:47 -0700 (PDT) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (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 82E3121E1B75A for ; Thu, 21 Sep 2017 04:03:46 -0700 (PDT) Received: by mail-pf0-x22f.google.com with SMTP id r71so3041779pfe.12 for ; Thu, 21 Sep 2017 04:06:53 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.06.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:06:52 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yyibe1siiCiBSbE2lxgpl6jLBufV1EncFGgiUze24UE=; b=QMlaBffyJiYxwjCImaQrj4Lqk7E8fg3mePJSZtgbR6DQe41mHuy/z+6hOwxwdYvVV7 pfBOiyTnxqqDdXLHDAXKJ3dsd/zPtxIwIxfkzcA+LHf54JpGc5f8n0HyqGp+Kll5xC2t Io4VNkKVHQHIG92wEKWPdJrqMq+aQoK5Nj/ho= 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=yyibe1siiCiBSbE2lxgpl6jLBufV1EncFGgiUze24UE=; b=gcdeyiZwuRmkOosWLev1v813Tat/2RyKJVs3Zlv4+PWDS4f5NtfXr15CXBPXZTFfYI l+Wv5cvtH2ut/VVhzji+6hKbwOWk7EW4/C43fC1eNCpPK0iBTjvmI+lAYHiizXiTbahM Lz4PUctDEi2s+xZ4kaF1oZHq28fR0BllbE5mrFIsyXPBZgci1n/BmGNXi0qp6n5LnL1r SxZ2fXM6xBvT879JNPId43Ga9MEtlFMogDmMYaEXGtnjmYkZ8azkmAvoaE38+asJkQwE WMNuOOpmdhXiP2NluFlt8T8t5YTGUORj4wTmddX9x/7qnpXoBAxmRjDO1P0NH7GFr+qz 63NQ== X-Gm-Message-State: AHPjjUgbEBvII6vFQYns1FObGujwoAYkHlBN+DCEnTC4Dpc39N7cxsTO rhsw+KtK2L8mvuqNVUSJ+nppkg== X-Google-Smtp-Source: AOwi7QC9w9/SEfadFL5k1u90eeyUO0GRsjfBfW8+ryolPRH5gv34XN43Sevh7WOXzxFvb4ClZSYWkg== X-Received: by 10.99.181.23 with SMTP id y23mr5292342pge.165.1505992013023; Thu, 21 Sep 2017 04:06:53 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:40 +0800 Message-Id: <1505991597-52989-2-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 1/7] Hisilicon/D03/Net: Update Snp driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 1. Replace SnpPV660Dxe with SnpPV600Dxe; 2. Add SnpPlatform: Install protocol to enable nic port which are using. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi | Bin 0 -> = 26688 bytes Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf | 24 +++++= ++++++++++++ Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi | Bin 56832= -> 0 bytes Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf | 27 -----= --------------- Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.efi | Bin 0 -> = 3040 bytes Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.inf | 24 +++++= ++++++++++++ 6 files changed, 48 insertions(+), 27 deletions(-) diff --git a/Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi= b/Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi new file mode 100644 index 0000000..8ce6a6d Binary files /dev/null and b/Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe= /SnpPV600Dxe.efi differ diff --git a/Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf= b/Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf new file mode 100644 index 0000000..cd7c724 --- /dev/null +++ b/Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the= BSD License +# which accompanies this distribution. The full text of the license may= be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 0x00010019 + BASE_NAME =3D SnpPV600Dxe + FILE_GUID =3D 3247F15F-3612-4803-BD4E-4104D7EF944A + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries] + PE32|SnpPV600Dxe.efi|* diff --git a/Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi= b/Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi deleted file mode 100644 index eb69403..0000000 Binary files a/Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.e= fi and /dev/null differ diff --git a/Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf= b/Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf deleted file mode 100644 index 204ef17..0000000 --- a/Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf +++ /dev/null @@ -1,27 +0,0 @@ -#/** @file -# -# Copyright (c) 2016, Hisilicon Limited. All rights reserved. -# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. -# -# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the= BSD License -# which accompanies this distribution. The full text of the license may= be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. -# -#**/ - -[Defines] - INF_VERSION =3D 0x00010005 - BASE_NAME =3D SnpPV600Dxe - FILE_GUID =3D 92D37768-571C-48d9-BEF5-9744AE2FDAF4 - MODULE_TYPE =3D UEFI_DRIVER - VERSION_STRING =3D 1.0 - - ENTRY_POINT =3D InitializeSnpPV600Driver - UNLOAD_IMAGE =3D SnpPV600Unload - -[Binaries] - PE32|SnpPV600Dxe.efi|* diff --git a/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.efi= b/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.efi new file mode 100644 index 0000000..5e7d8bd Binary files /dev/null and b/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform= /SnpPlatform.efi differ diff --git a/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.inf= b/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.inf new file mode 100644 index 0000000..fd53a79 --- /dev/null +++ b/Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the= BSD License +# which accompanies this distribution. The full text of the license may= be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 0x00010019 + BASE_NAME =3D SnpPlatform + FILE_GUID =3D 102D8FC9-20A4-42EB-AC14-1C98BA5B17A8 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries] + PE32|SnpPlatform.efi|* --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992020837186.38911160115322; Thu, 21 Sep 2017 04:07:00 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 0718C21E1B77C; Thu, 21 Sep 2017 04:03:51 -0700 (PDT) Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com [IPv6:2607:f8b0:400e:c05::230]) (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 41C7921E1B75A for ; Thu, 21 Sep 2017 04:03:49 -0700 (PDT) Received: by mail-pg0-x230.google.com with SMTP id d8so3337557pgt.4 for ; Thu, 21 Sep 2017 04:06:56 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.06.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:06:55 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=p+gmMwuT+jX18KLWTS5srkwX5pxfCKRLjjmhUjptMxE=; b=VxbbXX28+zTYVzRFTepJ3TZrLscaAyeVoONwwiLqdVGv2XgmH9looqK+LDuyOEOggd GhnUIc3PntL94njW46UDdrf9EmOQBviA9dgO6a/AwhAGv91E9qaQOrq5u7FB2aMn9hGf fzWBeGiWOaGSJHFaLwAqpaJhBw0hU6J3wGLNc= 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=p+gmMwuT+jX18KLWTS5srkwX5pxfCKRLjjmhUjptMxE=; b=jBKrYf7C44Owov0AKImGWY+Mb+oK1eNtLdsyFOkjsx02iC+mkOXtW7Zgb/4LlHJ5jw CyvzoZZKKaYaQ0B+tO9qiMemkT6maQdvOAKMkPi13d3l/oLn3tjJmSOuG+B12w1aWLmd c2jpSnD8Okw0ZUbgjha2uG0UUESJpOqDh9N3dvByxSffnvE9plLz0GjV2x0QaHhqKSz+ 5JSto7xFvoFjqWnYpYqGgkT5d1WJWHNdbl+Cii8MVgp0HrDNjPxVktk55qX/eFkfXeG3 DeTNHZO2KejeKAdx5+/QFO77wuwI+AjKNQLUKpHdozABDxaONDzT+vhh6/KGhop5JoyI gT2g== X-Gm-Message-State: AHPjjUgWrISQPTLnOqSwk3JopZ5P+/jE/+2dK7GowVYkzS4c3yMPq2eG rDBZw1HAEt+LnX0UwSfqtbtfMw== X-Google-Smtp-Source: AOwi7QDoPpAZh9VgHvqcNTgRc0CG1w+ya64EHJzM/Q9+DzLcp3Np17F9ZJ9yiA0l7dImuvuuYp5pIA== X-Received: by 10.101.66.205 with SMTP id l13mr5332714pgp.278.1505992015799; Thu, 21 Sep 2017 04:06:55 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:41 +0800 Message-Id: <1505991597-52989-3-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 01/11] Hisilicon/D05: Modify dsc and fdf file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 1. Add Drivers/SasPlatform; 2. Add Drivers/Net/SnpPlatform; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Platform/Hisilicon/D05/D05.dsc | 5 ----- Platform/Hisilicon/D05/D05.fdf | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc index 3cdb1b1..7cd5758 100644 --- a/Platform/Hisilicon/D05/D05.dsc +++ b/Platform/Hisilicon/D05/D05.dsc @@ -538,11 +538,6 @@ =20 Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf =20 - # - #network - # - Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf - MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf diff --git a/Platform/Hisilicon/D05/D05.fdf b/Platform/Hisilicon/D05/D05.fdf index b6d0e42..a5e6546 100644 --- a/Platform/Hisilicon/D05/D05.fdf +++ b/Platform/Hisilicon/D05/D05.fdf @@ -247,7 +247,8 @@ READ_LOCK_STATUS =3D TRUE #Network # =20 - INF Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf + INF Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf + INF Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf =20 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf @@ -292,6 +293,7 @@ READ_LOCK_STATUS =3D TRUE # INF Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + INF Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf INF Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf =20 # --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992021573819.6610417521987; Thu, 21 Sep 2017 04:07:01 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 43DA420945B6C; Thu, 21 Sep 2017 04:03:53 -0700 (PDT) Received: from mail-pg0-x232.google.com (mail-pg0-x232.google.com [IPv6:2607:f8b0:400e:c05::232]) (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 1249B20945B6C for ; Thu, 21 Sep 2017 04:03:52 -0700 (PDT) Received: by mail-pg0-x232.google.com with SMTP id c137so3327653pga.11 for ; Thu, 21 Sep 2017 04:06:58 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.06.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:06:57 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iPRcs3OHfV72L45b42zNqK5B8akNoTf2U4Zu7yffHus=; b=abPvMTRUZC+yLKaFyuyIrV3q3XCjhEt9cTpG57HOe6oxnmMMMF/sc6CsZly+biVc0H gUuBlQSO/7Njvfp2qaqm2a5NN5JjgnrBbHFY2h5onN3H6uvpyhfeBd4p56nF3sp6/zXY MB7MLmPPy9ycoNz8n0pajdufmQkQxxBbYxlHc= 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=iPRcs3OHfV72L45b42zNqK5B8akNoTf2U4Zu7yffHus=; b=bbEeCVEUVZbyKuhs0cGVTXtdSzrORj6K94Y9T3FVsMEebhNxBPfAIRAQjMyGBSF0FR HOo4DGXuVWHdgeWvEtg/iLO8vkD96ermHLkWBnKJnkA5n3w/JESeYOsaF44xEGfkS4CL dcweoA020EtOEh4A7bpc1QFwvip1dhd1PNXcGjQHBdskP2CuXoZ7f7yMe1a0UsuMq12j /3lYT7Nfht606gzzONpyV7xWwxh83xLP/X8VsluuIDofUSa3PsBLYLD02PLB4NPY70om bJNM3qDHFYdUnqSNO8xB03X9q/sm1g8v77WOywCICfV73rCh+dFwGiLzClOjM5Byw1SE 08Ww== X-Gm-Message-State: AHPjjUhKKVJ2a5QpSFDDxErs4HCpcTloOhsCY+IcH6R0M02Q1uR7xfiv uKHpTtjJftePbU/HiVuCbIesuw== X-Google-Smtp-Source: AOwi7QAn6v181BVJQ7MrYzG+unMalKhvQVrldLbYxYS2aOG2GvZeKS5uEOS0UPoDDrfdIotnzqiDXA== X-Received: by 10.101.85.4 with SMTP id f4mr5347197pgr.10.1505992018511; Thu, 21 Sep 2017 04:06:58 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:42 +0800 Message-Id: <1505991597-52989-4-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 02/11] Hisilicon/D03: Modify dsc and fdf file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 1. Add Drivers/SasPlatform; 2. Add Drivers/Net/SnpPlatform; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D03/D03.dsc | 5 ----- Platform/Hisilicon/D03/D03.fdf | 5 ++++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc index afea162..7e25ffb 100644 --- a/Platform/Hisilicon/D03/D03.dsc +++ b/Platform/Hisilicon/D03/D03.dsc @@ -418,11 +418,6 @@ =20 Platform/Hisilicon/D03/Drivers/Ipmi/ipmiInterfaceDxe/IpmiInterfaceDxe.inf =20 - # - #network - # - Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf - MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf diff --git a/Platform/Hisilicon/D03/D03.fdf b/Platform/Hisilicon/D03/D03.fdf index b62b908..b53bdca 100644 --- a/Platform/Hisilicon/D03/D03.fdf +++ b/Platform/Hisilicon/D03/D03.fdf @@ -242,7 +242,8 @@ READ_LOCK_STATUS =3D TRUE #Network # =20 - INF Platform/Hisilicon/D03/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf + INF Platform/Hisilicon/D03/Drivers/Net/SnpPlatform/SnpPlatform.inf + INF Platform/Hisilicon/D03/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf =20 INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf @@ -271,6 +272,7 @@ READ_LOCK_STATUS =3D TRUE # INF Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf =20 + INF Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf INF Platform/Hisilicon/D03/Drivers/Sas/SasDxeDriver.inf =20 # @@ -278,6 +280,7 @@ READ_LOCK_STATUS =3D TRUE # INF ShellPkg/Application/Shell/Shell.inf =20 + # # Bds # --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992024849129.56229433390638; Thu, 21 Sep 2017 04:07:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7C78220945B93; Thu, 21 Sep 2017 04:03:55 -0700 (PDT) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 AB4BD21E1B75A for ; Thu, 21 Sep 2017 04:03:54 -0700 (PDT) Received: by mail-pf0-x22e.google.com with SMTP id d187so3045938pfg.11 for ; Thu, 21 Sep 2017 04:07:01 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.06.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:00 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fZJIjIz/yuzLcGfAwoSbha8B4HxygR2MSWFspIbfR5w=; b=cP/XdSxePEKdrSUQULcuYdniQiS2vvAgPADMfXakFMQvawnB2DjpKiAp/5UZatpHuT ylOZWSdUjMml5gjDAkTt53y/kY+iewNhS7vLLMepbQGe4eAagUBdi9DOWG9OgqyPbj6Q 90T/LGIQtZuPpo2GpHjf7fqIiLMSasnecFSWs= 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=fZJIjIz/yuzLcGfAwoSbha8B4HxygR2MSWFspIbfR5w=; b=QH4A9R//+wddF0Z3HEsImIUfQbC+v4ItHCCpmoZDSIcTfna45kFMzO6m8tkE9wi0tE zsiZpeBIDQao/+rSD0fSs0D06O8uzmfd+gHMu7iM1gyvefPdTGec+ikYKD8cHi0bKRZK Baw3JRV4GeVQRJVRWJIvxQxk3o4IECTH1kWaGdmNO9NM9czTaRANOUsoLM/jcF8pcq1n /TZUN8ZZ0/UmxnkH9mHMVeVlBtL2tWPA3FxSQy6WTPkuZfvA/F0iJ7VeJvAN1gxD4r52 ThfCv4fZu8nsDOkTBY8MSEA/ocMc/zgEzfC9y9LKRR6idZTDey9aBtnm65VO8cuRURHy RiUw== X-Gm-Message-State: AHPjjUi7RImyRG1EYUKjI8xh03m4BJ7bNc/SirDsT+G+XhYtpyXGyEHx XU3fFDg2hyh837mu1VMEUjGe6A== X-Google-Smtp-Source: AOwi7QDk4JgMSkc19skyQkLy0Sw9HLunh8AiCucvImgGr8eDoy3qP3/7RLyU13mRMyoNsEKD+4MsWA== X-Received: by 10.99.121.197 with SMTP id u188mr5437653pgc.332.1505992021231; Thu, 21 Sep 2017 04:07:01 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:43 +0800 Message-Id: <1505991597-52989-5-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 2/7] Hisilicon/D03/Sas: Add SasPlatform X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Install protocol to enable sas port which is using and transmit base address info of sas port to SasDriverDxe. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.efi | Bin 0 -> 3040= bytes Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf | 24 +++++++++= +++++++++++ 2 files changed, 24 insertions(+) diff --git a/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.efi b/P= latform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.efi new file mode 100644 index 0000000..4255641 Binary files /dev/null and b/Platform/Hisilicon/D03/Drivers/SasPlatform/Sas= Platform.efi differ diff --git a/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf b/P= latform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf new file mode 100644 index 0000000..636be19 --- /dev/null +++ b/Platform/Hisilicon/D03/Drivers/SasPlatform/SasPlatform.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the= BSD License +# which accompanies this distribution. The full text of the license may= be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 0x00010019 + BASE_NAME =3D SasPlatform + FILE_GUID =3D 102D8FC9-20a4-42EB-aC14-1C98BA5b26A4 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries] + PE32|SasPlatform.efi|* --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992031739967.6743238304974; Thu, 21 Sep 2017 04:07:11 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id F402420945B9D; Thu, 21 Sep 2017 04:04:01 -0700 (PDT) Received: from mail-pf0-x234.google.com (mail-pf0-x234.google.com [IPv6:2607:f8b0:400e:c00::234]) (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 46B6421E1B76D for ; Thu, 21 Sep 2017 04:04:00 -0700 (PDT) Received: by mail-pf0-x234.google.com with SMTP id y29so3063120pff.0 for ; Thu, 21 Sep 2017 04:07:07 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:06 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WEV+hrb4bbm4u6fweFmJ/lTQeqC8UWXcZhGGSfcIQbo=; b=fr/JRt5Hngy9n7JXNiQABOhx76zY093GUcy/ezYFqSfnNCNnhrtypXPWvSYQhwI7bq ucdAt4dvdW5wDfYkBu9RQzTQfOQoS9cvCifALa2eDnZp2CN27Ik29O4cqUcbdQzAO/C3 28qY59MYAqkUBXw1teran+vrjZs83+jKNn4FE= 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=WEV+hrb4bbm4u6fweFmJ/lTQeqC8UWXcZhGGSfcIQbo=; b=EBzhaIoRRbTd86e62TJwee0NWuC2yuvg6XBBhxa+TnpiPZ9Xnl3IdehBu6f+h/D1pD qVxpRxiXNlWWl8LAui0XHIvqe8asu9UpTmyWvFACtxfQIivC0MQFvmYzVAd2uin2/9KW kTFgTgVq3EQbsUW9ZqOuDZpUmYBdl5zfaEhpfUmO98tXRoVh5azrSUvnsp+Gw1A6H+W1 2xeAOJWVcowstQ707zxq7jYrwxclVYYNCA2+Rhn5kaPfXbXI17k4vU7CGyJI9XddXNb7 zhGUIigEd0uvMMci8BqAhAARaLZtqfyTK+hseIzsyGOwyVyV8Cp5Nqz1VszLCdLHICfF rPtg== X-Gm-Message-State: AHPjjUghRgPjk3LFPUsyX8Z1RiqJr0ttTz7z72lHfe7Ryr1DK2MmvG4U UmTGB9NNMamdrOBN1hB+V0Sjzg== X-Google-Smtp-Source: AOwi7QCLF1GFEvj7Sv2+q72iaugHy9Kn/31t+LYUJTCvIAmhbhOKhxIWjy6Yyfvuus//RYU3LT8D9A== X-Received: by 10.98.213.69 with SMTP id d66mr5310493pfg.17.1505992026691; Thu, 21 Sep 2017 04:07:06 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:45 +0800 Message-Id: <1505991597-52989-7-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 03/11] Hisilicon: Fix the drivers use the same GUID issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" The drivers build from separate sources, their GUID should be different. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf = | 2 +- Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf = | 2 +- Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf = | 2 +- Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf = | 2 +- Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf = | 2 +- Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf = | 2 +- Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf = | 2 +- Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf = | 2 +- Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf = | 2 +- Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf = | 2 +- Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.in= f | 2 +- Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf = | 2 +- Silicon/Hisilicon/Library/I2CLib/I2CLib.inf = | 2 +- Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf = | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf b/P= latform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf index 5506a58..3f3f81c 100644 --- a/Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf +++ b/Platform/Hisilicon/D02/EarlyConfigPeim/EarlyConfigPeim.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D EarlyConfigPeim - FILE_GUID =3D A181AD33-E64A-4084-A54A-A69DF1FB0ABF + FILE_GUID =3D ECAE8400-9CCE-4BA5-9B44-74CAABE4DA79 MODULE_TYPE =3D PEIM VERSION_STRING =3D 1.0 ENTRY_POINT =3D EarlyConfigEntry diff --git a/Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf b/Plat= form/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf index c952414..e881899 100644 --- a/Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf +++ b/Platform/Hisilicon/D02/FdtUpdateLibD02/FdtUpdateLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D FdtUpdateLib - FILE_GUID =3D 02CF1727-E697-47fc-8CC2-5DCB81B26DD9 + FILE_GUID =3D 0F9ADE24-46B4-4506-8802-60C519B56133 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D FdtUpdateLib diff --git a/Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.i= nf b/Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf index 4d2dbba..ab3b62b 100644 --- a/Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf +++ b/Platform/Hisilicon/D02/Library/PlatformPciLib/PlatformPciLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D PlatformPciLib - FILE_GUID =3D 61b7276a-fc67-11e5-82fd-47ea9896dd5d + FILE_GUID =3D 128F1E1E-A921-4277-A796-A4A47B96B7D2 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf b/P= latform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf index df5adf1..4c5955f 100644 --- a/Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf +++ b/Platform/Hisilicon/D02/OemNicConfigD02/OemNicConfigD02.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D OemNicConfig - FILE_GUID =3D 3A23A929-1F38-4d04-8A01-38AD993EB2CE + FILE_GUID =3D BF422A22-CA90-4C34-95B9-3D147AF09E70 MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D OemNicConfigEntry diff --git a/Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf b= /Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf index 9569b91..2d9d53d 100755 --- a/Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf +++ b/Platform/Hisilicon/D03/Library/FdtUpdateLib/FdtUpdateLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D FdtUpdateLib - FILE_GUID =3D 02CF1727-E697-47fc-8CC2-5DCB81B26DD9 + FILE_GUID =3D B80B9FF1-FAB9-4BE5-B602-5ABAA6B7A3D4 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D FdtUpdateLib diff --git a/Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf = b/Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf index 9d8ea7e..0f6b68d 100644 --- a/Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf +++ b/Platform/Hisilicon/D05/EarlyConfigPeim/EarlyConfigPeimD05.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D EarlyConfigPeimD05 - FILE_GUID =3D A181AD33-E64A-4084-A54A-A69DF1FB0ABF + FILE_GUID =3D 13525B94-06F0-41AC-8CAF-724B149FD259 MODULE_TYPE =3D PEIM VERSION_STRING =3D 1.0 ENTRY_POINT =3D EarlyConfigEntry diff --git a/Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf= b/Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf index 4fe7ac6..bf44ff7 100644 --- a/Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf +++ b/Platform/Hisilicon/D05/Library/OemMiscLibD05/OemMiscLibD05.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D OemMiscLibHi1616Evb - FILE_GUID =3D B9CE7465-21A2-4ecd-B347-BBDDBD098CEE + FILE_GUID =3D 751C7627-D5F8-499C-AEEEE-C87858759612 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D OemMiscLib diff --git a/Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.i= nf b/Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf index cd64193..21bb33a 100644 --- a/Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf +++ b/Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D PlatformPciLib - FILE_GUID =3D 61b7276a-fc67-11e5-82fd-47ea9896dd5d + FILE_GUID =3D B94B8A3A-AD7D-4F26-B140-1E699682176B MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 =20 diff --git a/Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf b/Sil= icon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf index 174e967..89447cc 100644 --- a/Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf +++ b/Silicon/Hisilicon/Hi1610/Drivers/IoInitDxe/IoInitDxe.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D IoInitDxe - FILE_GUID =3D e99c606a-5626-11e5-b09e-bb93f4e4c400 + FILE_GUID =3D 28C9B7DE-AAD6-4E9B-811B-050AD3DAB9A3 MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf = b/Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf index 686d041..ee9dbed 100644 --- a/Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf +++ b/Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D PcieInitDxe - FILE_GUID =3D 2D53A704-A544-4A82-83DF-FFECF4B4AA97 + FILE_GUID =3D 8EB6E216-BA47-4B30-B68A-2B371F7232A6 MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D PcieInitEntry diff --git a/Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTim= eClockLib.inf b/Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231Real= TimeClockLib.inf index 6faefb1..17d59ee 100644 --- a/Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockL= ib.inf +++ b/Silicon/Hisilicon/Library/DS3231RealTimeClockLib/DS3231RealTimeClockL= ib.inf @@ -20,7 +20,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D DS3231RealTimeClockLib - FILE_GUID =3D 470DFB96-E205-4515-A75E-2E60F853E79D + FILE_GUID =3D 5FD8127D-11E1-488F-8CF1-A143157D6BF0 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D RealTimeClockLib diff --git a/Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPort= Lib.inf b/Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib= .inf index d7957ea..df65d4b 100644 --- a/Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf +++ b/Silicon/Hisilicon/Library/Dw8250SerialPortLib/Dw8250SerialPortLib.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D Dw8250SerialPortLib - FILE_GUID =3D 16D53E86-7EA6-47bd-861F-511ED9B8ABE0 + FILE_GUID =3D 78337705-D2A8-4EA7-9C18-27FC4A8A2C6E MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D SerialPortLib diff --git a/Silicon/Hisilicon/Library/I2CLib/I2CLib.inf b/Silicon/Hisilico= n/Library/I2CLib/I2CLib.inf index 7f95124..9bca88f 100644 --- a/Silicon/Hisilicon/Library/I2CLib/I2CLib.inf +++ b/Silicon/Hisilicon/Library/I2CLib/I2CLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D I2CLib - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D 162F2DF1-DBF8-41E6-9792-92A96ADEAB40 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D I2CLib diff --git a/Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf b/Silicon/H= isilicon/Library/I2CLib/I2CLibRuntime.inf index 4990072..1bb4f5c 100644 --- a/Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf +++ b/Silicon/Hisilicon/Library/I2CLib/I2CLibRuntime.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D I2CLibRuntime - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D 2E602B32-9203-44A4-BF28-1FF98BD89523 MODULE_TYPE =3D DXE_RUNTIME_DRIVER VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D I2CLib --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 15059920354286.569553868632738; Thu, 21 Sep 2017 04:07:15 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3CB6F2095BB78; Thu, 21 Sep 2017 04:04:04 -0700 (PDT) Received: from mail-pg0-x231.google.com (mail-pg0-x231.google.com [IPv6:2607:f8b0:400e:c05::231]) (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 E421021E1B76D for ; Thu, 21 Sep 2017 04:04:02 -0700 (PDT) Received: by mail-pg0-x231.google.com with SMTP id 7so3328002pgd.13 for ; Thu, 21 Sep 2017 04:07:09 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:08 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IHHgaXMWs3he51p2OHrY9W45aCFcWl3+2hQ424RuhmA=; b=Trr19+AOhWKs7rSBRK47HLv2e/NceMa+D/iThgYBV2Eoo5GVeX9BLO5bxy8xufiiie Ra82C/z3gNauiERDd9IeizEEyWmyi/H83lbfnH6/J59zA4cN7EwIquGgTyFrTybxvDxY ii8qHXBCya+ccsKpreX5lYMQBBhMvBnN4I3bU= 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=IHHgaXMWs3he51p2OHrY9W45aCFcWl3+2hQ424RuhmA=; b=V6nIcTIb8NdlfHblpaN5CYnuzHtfH7/b31ygGKjT80EU8NBmshf+Qt/0UXGWrke2Oq 6z94SKQJsLCxX9qjVGisZVwty7l6Fndg9DUna2fe+ymeVuXuJjkl8ko+qfkz6rqj6L/J /iF1D6c6Zz4CFqUaID55ZcIJBV7vM1eliR76Rx+mhVB3TAjJRYb+I/B1VPW0R1NPBMly c/Q+hij1LGYJcjryvSzd7RvtLIePtPfLg/lIaC10sJM3AezqJDw/7oyNHzrbkO+L7iFX xxHT7pW8Nj4/nW4la3WBZibrmFE5ZUqtqPUHyB66pMjjvkvPMjaYrXbPSnxocPtbXO8G I5Vg== X-Gm-Message-State: AHPjjUiMh9l5+ytLp1gv63V7o7hzKCpNOnDTtmkvs5ClyuNDs3EGNh3v rqV/Iiv4EvNxsHGEkCbs9CtUNw== X-Google-Smtp-Source: AOwi7QAHyLSds1FRzMzVLmvmwLB0uQbIMd5cJ1LbXce5ZFwDYvL+OjkY13X6HbzC0Z6f75t36SHUig== X-Received: by 10.98.178.66 with SMTP id x63mr5333239pfe.332.1505992029447; Thu, 21 Sep 2017 04:07:09 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:46 +0800 Message-Id: <1505991597-52989-8-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 04/11] Hisilicon D03/D05: get firmware version from FIRMWARE_VER X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Ming Huang , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ming Huang Value of the environment variable FIRMWARE_VER is GIT SHA by default, and you can add the environment variable FIRMWARE_VER to EXTRA_OPTIONS at build time to specify something else, eg. "16.12-". Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Platform/Hisilicon/D03/D03.dsc | 6 +++++- Platform/Hisilicon/D05/D05.dsc | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc index 7e25ffb..fca6781 100644 --- a/Platform/Hisilicon/D03/D03.dsc +++ b/Platform/Hisilicon/D03/D03.dsc @@ -170,7 +170,11 @@ gHisiTokenSpaceGuid.PcdAlgSmmuBaseAddress|0xd0040000 =20 =20 - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Hisilicon D03 = UEFI 16.12 Release" + !ifdef $(FIRMWARE_VER) + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_V= ER)" + !else + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Development = build base on Hisilicon D03 UEFI 17.10 Release" + !endif =20 gHisiTokenSpaceGuid.PcdBiosVersionString|L"10.01.01T18" =20 diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc index 7cd5758..aa61c0e 100644 --- a/Platform/Hisilicon/D05/D05.dsc +++ b/Platform/Hisilicon/D05/D05.dsc @@ -188,7 +188,11 @@ =20 gHisiTokenSpaceGuid.PcdIsMPBoot|1 gHisiTokenSpaceGuid.PcdSocketMask|0x3 - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Hisilicon D05 = UEFI 16.12 Release" + !ifdef $(FIRMWARE_VER) + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(FIRMWARE_V= ER)" + !else + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"Development = build base on Hisilicon D05 UEFI 17.10 Release" + !endif =20 gHisiTokenSpaceGuid.PcdBiosVersionString|L"10.01.01T18" =20 --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992039520432.2611886382567; Thu, 21 Sep 2017 04:07:19 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 78D2B21D046B5; Thu, 21 Sep 2017 04:04:06 -0700 (PDT) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (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 C0EB521E1B76D for ; Thu, 21 Sep 2017 04:04:05 -0700 (PDT) Received: by mail-pf0-x232.google.com with SMTP id b70so3050952pfl.8 for ; Thu, 21 Sep 2017 04:07:12 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:11 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iZPHs77P759HvCAUXhl4J3newC16v2rbmzt/vNqilt0=; b=fGwucxrEUzr6qfcJbJYDj//VUs+6x5nBZzdm8c2q8Au4K/T7Wxj48A1+fSBd+Jd5bk Y+/cbqzNKSFSFY9wjPjooEvDv/Q/2CkZySqmDFgRcpyE1X61Fhmojy8AGOf0EAr+orkW YB4sY4tInEJF800mHviLHI47in+wn+wWzWJDw= 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=iZPHs77P759HvCAUXhl4J3newC16v2rbmzt/vNqilt0=; b=WwzqkCVkVMd2u6EQnKqity5xprqAihvzh09v0dT4Q4p+Pttj5jIVbPJ/i+X7aQeJPG AxX5dmh1xk7JdQ+NEF91GZiyRL6I6t4HkEzh6dCTKS0kRCSfL9TIvTm15iz+MEBtXQqn MwBczDkNdsA8M5igKYS9rqEYk0ITy5RFDzKaXc0QGEr8NztcvfYzWbzqQHXMg16k5ynw C5kOsnqbsSBsjFMZqyYdFrKSaMkg2OP24+0eSfHNp1gxRD76CnZJO3RKePofMFmM1YGW ZEXle93VAH7Lr7wD6Qo0s8o8t1U6D3FVwSS/c10xZNQu6aQDLol0VocvHNm6Ph6Q+h0J 07TQ== X-Gm-Message-State: AHPjjUjgKdDkJP5LhJN80X1FR7aIJa6w3RMlRb9P4e4FuYpemC1YeiXi F5BQA0OnEmqU51gMHN2hYYIOYA== X-Google-Smtp-Source: AOwi7QC3yL4onGV7f2um6szX1EgKdkNb2Th6tZM49qNW5BmnNkqimDWUPpjT4LQw2NIRtGIiEBUGrA== X-Received: by 10.101.74.129 with SMTP id b1mr5354614pgu.272.1505992032251; Thu, 21 Sep 2017 04:07:12 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:47 +0800 Message-Id: <1505991597-52989-9-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 4/7] Hisilicon/D05/Net: Update Snp driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 1. Replace SnpPV660Dxe with SnpPV600Dxe; 2. Add SnpPlatform: Install protocol to enable nic port which are using. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi | Bin 0 -> = 28544 bytes Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf | 24 +++++= ++++++++++++ Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi | Bin 56512= -> 0 bytes Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf | 27 -----= --------------- Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi | Bin 0 -> = 3392 bytes Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf | 24 +++++= ++++++++++++ 6 files changed, 48 insertions(+), 27 deletions(-) diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi= b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.efi new file mode 100644 index 0000000..bc7942a Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe= /SnpPV600Dxe.efi differ diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf= b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf new file mode 100644 index 0000000..cd7c724 --- /dev/null +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the= BSD License +# which accompanies this distribution. The full text of the license may= be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 0x00010019 + BASE_NAME =3D SnpPV600Dxe + FILE_GUID =3D 3247F15F-3612-4803-BD4E-4104D7EF944A + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries] + PE32|SnpPV600Dxe.efi|* diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi= b/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.efi deleted file mode 100644 index c54538f..0000000 Binary files a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.e= fi and /dev/null differ diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf= b/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf deleted file mode 100644 index 98cc3b8..0000000 --- a/Platform/Hisilicon/D05/Drivers/Net/SnpPV660Dxe/SnpPV600Dxe.inf +++ /dev/null @@ -1,27 +0,0 @@ -#/** @file -# -# Copyright (c) 2016, Hisilicon Limited. All rights reserved. -# Copyright (c) 2016-2017, Linaro Limited. All rights reserved. -# -# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the= BSD License -# which accompanies this distribution. The full text of the license may= be found at -# http://opensource.org/licenses/bsd-license.php -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. -# -#**/ - -[Defines] - INF_VERSION =3D 0x00010019 - BASE_NAME =3D SnpPV600Dxe - FILE_GUID =3D 85F85FDE-FDA1-465A-B22E-488F1A6F966C - MODULE_TYPE =3D UEFI_DRIVER - VERSION_STRING =3D 1.0 - - ENTRY_POINT =3D InitializeSnpPV600Driver - UNLOAD_IMAGE =3D SnpPV600Unload - -[Binaries] - PE32|SnpPV600Dxe.efi|* diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi= b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.efi new file mode 100644 index 0000000..42c26de Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform= /SnpPlatform.efi differ diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf= b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf new file mode 100644 index 0000000..fd53a79 --- /dev/null +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPlatform/SnpPlatform.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the= BSD License +# which accompanies this distribution. The full text of the license may= be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 0x00010019 + BASE_NAME =3D SnpPlatform + FILE_GUID =3D 102D8FC9-20A4-42EB-AC14-1C98BA5B17A8 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries] + PE32|SnpPlatform.efi|* --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992044000365.5986039094165; Thu, 21 Sep 2017 04:07:24 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B355A21D492E4; Thu, 21 Sep 2017 04:04:09 -0700 (PDT) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (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 7AFCF21E1B76D for ; Thu, 21 Sep 2017 04:04:08 -0700 (PDT) Received: by mail-pg0-x22a.google.com with SMTP id i130so3340674pgc.3 for ; Thu, 21 Sep 2017 04:07:15 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:14 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MvCaV8auKjL8rA4EyReUbLy/wqRhAx8zHLH8rmkjwxc=; b=DEOqdr9Mf4vScNgUqQiYxqV4J5blzsL1FC34qOyf1BEuAp8rxOq6omNFcQlMmL4qfH gk9www4Xm9vZ4fFZt6huS/NIwTbDx5DmoSQNDAsGHOfE5ZOlYwwc0X5/S2m2vOdrZ6U5 yFBh0eVIkHvtqEU6qpcJMc3idmdv7THbHcwvs= 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=MvCaV8auKjL8rA4EyReUbLy/wqRhAx8zHLH8rmkjwxc=; b=dPIWZe9Evc8JFWrN3Fky1GB94Gh5DTZSD866WnwOo34PrL4PIMQOmhDe3ROzTObp8r FRTEDGG2oPoFcve6uUiY63MSK1lHg+Qiw6MhQosOzYDsk6DKmjSVQf6RL4ldo1pZV8Cs NHUryBfix5yVstaKEt0wxsdn8qbGAZ92JGFqr6STDwog/HbObeoka1DQNl4bEHAjzPsA IE0w8l0W2/EyEeHqv+zhqCsNvS1OUmLng8pWaO+gLPsHPz067jUGJXRILoMB9JWHpRKh uXoxB7CXm52yOWSmjMQ6eDiKReRfiMDxGjjXXN9tIZfLJBLx/iLKtitmenR7XmOuvq6r 1mxg== X-Gm-Message-State: AHPjjUimm56fnP7xqDnXesxquF15Hy3qoECfXwWTZeQTE7RcKTDg2A4t W3Ikar7nPguMTkBo1R8HDCWkDg== X-Google-Smtp-Source: AOwi7QBuf0CJmHRK1vgc07yKTiUl6bycb5N9yfuiVQQEyOD3AzF12HwMcBinsCqPRRo7g33JllYVaQ== X-Received: by 10.99.126.84 with SMTP id o20mr5348117pgn.129.1505992034957; Thu, 21 Sep 2017 04:07:14 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:48 +0800 Message-Id: <1505991597-52989-10-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 5/7] Hisilicon/D05/Sas: Add SasPlatform X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Install protocol to enable sas port which is using and transmit base address info of sas port to SasDriverDxe. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.efi | Bin 0 -> 3424= bytes Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf | 24 +++++++++= +++++++++++ 2 files changed, 24 insertions(+) diff --git a/Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.efi b/P= latform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.efi new file mode 100644 index 0000000..d2685ab Binary files /dev/null and b/Platform/Hisilicon/D05/Drivers/SasPlatform/Sas= Platform.efi differ diff --git a/Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf b/P= latform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf new file mode 100644 index 0000000..636be19 --- /dev/null +++ b/Platform/Hisilicon/D05/Drivers/SasPlatform/SasPlatform.inf @@ -0,0 +1,24 @@ +#/** @file +# +# Copyright (c) 2017, Hisilicon Limited. All rights reserved. +# Copyright (c) 2017, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the= BSD License +# which accompanies this distribution. The full text of the license may= be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR = IMPLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 0x00010019 + BASE_NAME =3D SasPlatform + FILE_GUID =3D 102D8FC9-20a4-42EB-aC14-1C98BA5b26A4 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + +[Binaries] + PE32|SasPlatform.efi|* --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992050567291.22751704148436; Thu, 21 Sep 2017 04:07:30 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 0061221D492FB; Thu, 21 Sep 2017 04:04:13 -0700 (PDT) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 3515721D492FB for ; Thu, 21 Sep 2017 04:04:11 -0700 (PDT) Received: by mail-pf0-x22e.google.com with SMTP id l188so3052164pfc.6 for ; Thu, 21 Sep 2017 04:07:18 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:17 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5okhHE/a/4jp/CoPvoSZWybK1hFfVS5fSxHpykCrh8U=; b=KYctsk0F0AWU2+y2A1h+d1usXpQCX4RYGEXJErGagoXe5rooLtx8nrK+01Iid8BcPD n4BsOy4hajj7gW7PhZGXRxCpZIUD2qgcDcwBwZzuZ64v0lPg3zrgfn7Aii37zG7yIFiq KURJxIhD9cuHqZOWul0/8XkWMzFyrl5ZXE/PY= 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=5okhHE/a/4jp/CoPvoSZWybK1hFfVS5fSxHpykCrh8U=; b=dl6EyeZrBP/I4AspUYqUDy3TirYKvajqS38PdIiAQf5dn2ZYmVd95sORx0xi2L1Hzj jnXicZ10MD+NPvj9/rOpTx5EYCZgKVPv/KCAboNAt9gbDhvQ6qZApd7qdSbkVQVDv+uM zjZaktlGJ60RQ/H133HKyKEKpCKaBEUF86WM6bWjodi4JHb2nDDfW3YiaRty8IDKJNoU eSuqAm4yF2Pa4CYsHieC+K0fauWG0JGGOU10re2YQzQ7n4yynphO610jj5vwkfev8uA/ J7+8bhkbVVu5Lr18IZYD2+d50DyvxqLALejjUOa0IDb0qc32XMOusd0/onZTuE62FoyB Kkjw== X-Gm-Message-State: AHPjjUjJaMX2TZAgS9PDm/7QAGx2VIGx2H9zON8roBwRFEGod4AL2WSC nS1Bfy5rn4Fac+9UiCT3ZJDKvw== X-Google-Smtp-Source: AOwi7QAUsQsNZetHNH2M3e8OJbZhKH6QxF0zGvDHr75CUliDVhb7egnHvdZCKr2HsGIo++HUbozstw== X-Received: by 10.99.125.81 with SMTP id m17mr5310171pgn.343.1505992037738; Thu, 21 Sep 2017 04:07:17 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:49 +0800 Message-Id: <1505991597-52989-11-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 05/11] Hisilicon/PciHostBridgeDxe: Assign BAR resource from PciRegionBase X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Io BAR should be based IoBase and Mem BAR should be based PciRegionBase. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c | 37 ++++++++= ++++-------- Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c | 15 ++++++-- 2 files changed, 35 insertions(+), 17 deletions(-) diff --git a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c b/S= ilicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c index a970da6..e3d3988 100644 --- a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c +++ b/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c @@ -1410,9 +1410,8 @@ SetResource( Ptr->ResType =3D 1; Ptr->GenFlag =3D 0; Ptr->SpecificFlag =3D 0; - /* This is PCIE Device Bus which start address is the low 32bit of= mem base*/ - Ptr->AddrRangeMin =3D (RootBridgeInstance->ResAllocNode[Index].Bas= e - RootBridgeInstance->MemBase) + - (RootBridgeInstance->MemBase & 0xFFFFFFFF); + /* PCIE Device Iobar address should be based on IoBase */ + Ptr->AddrRangeMin =3D RootBridgeInstance->IoBase; Ptr->AddrRangeMax =3D 0; Ptr->AddrTranslationOffset =3D \ (ResStatus =3D=3D ResAllocated) ? EFI_RESOURCE_SATISFIED : EF= I_RESOURCE_LESS; @@ -1429,9 +1428,13 @@ SetResource( Ptr->GenFlag =3D 0; Ptr->SpecificFlag =3D 0; Ptr->AddrSpaceGranularity =3D 32; - /* This is PCIE Device Bus which start address is the low 32bit of= mem base*/ - Ptr->AddrRangeMin =3D (RootBridgeInstance->ResAllocNode[Index].Bas= e - RootBridgeInstance->MemBase) + - (RootBridgeInstance->MemBase & 0xFFFFFFFF); + /* PCIE device Bar should be based on PciRegionBase */ + if (RootBridgeInstance->PciRegionBase > MAX_UINT32) { + DEBUG((DEBUG_ERROR, "PCIE Res(TypeMem32) unsupported.\n")); + return EFI_UNSUPPORTED; + } + Ptr->AddrRangeMin =3D RootBridgeInstance->ResAllocNode[Index].Base= - RootBridgeInstance->MemBase + + RootBridgeInstance->PciRegionBase; Ptr->AddrRangeMax =3D 0; Ptr->AddrTranslationOffset =3D \ (ResStatus =3D=3D ResAllocated) ? EFI_RESOURCE_SATISFIED : EF= I_RESOURCE_LESS; @@ -1448,9 +1451,13 @@ SetResource( Ptr->GenFlag =3D 0; Ptr->SpecificFlag =3D 6; Ptr->AddrSpaceGranularity =3D 32; - /* This is PCIE Device Bus which start address is the low 32bit of= mem base*/ - Ptr->AddrRangeMin =3D (RootBridgeInstance->ResAllocNode[Index].Bas= e - RootBridgeInstance->MemBase) + - (RootBridgeInstance->MemBase & 0xFFFFFFFF); + /* PCIE device Bar should be based on PciRegionBase */ + if (RootBridgeInstance->PciRegionBase > MAX_UINT32) { + DEBUG((DEBUG_ERROR, "PCIE Res(TypePMem32) unsupported.\n")); + return EFI_UNSUPPORTED; + } + Ptr->AddrRangeMin =3D RootBridgeInstance->ResAllocNode[Index].Base= - RootBridgeInstance->MemBase + + RootBridgeInstance->PciRegionBase; Ptr->AddrRangeMax =3D 0; Ptr->AddrTranslationOffset =3D \ (ResStatus =3D=3D ResAllocated) ? EFI_RESOURCE_SATISFIED : EF= I_RESOURCE_LESS; @@ -1467,9 +1474,9 @@ SetResource( Ptr->GenFlag =3D 0; Ptr->SpecificFlag =3D 0; Ptr->AddrSpaceGranularity =3D 64; - /* This is PCIE Device Bus which start address is the low 32bit of= mem base*/ - Ptr->AddrRangeMin =3D (RootBridgeInstance->ResAllocNode[Index].Bas= e - RootBridgeInstance->MemBase) + - (RootBridgeInstance->MemBase & 0xFFFFFFFFFFFF= FFFF); + /* PCIE device Bar should be based on PciRegionBase */ + Ptr->AddrRangeMin =3D RootBridgeInstance->ResAllocNode[Index].Base= - RootBridgeInstance->MemBase + + RootBridgeInstance->PciRegionBase; Ptr->AddrRangeMax =3D 0; Ptr->AddrTranslationOffset =3D \ (ResStatus =3D=3D ResAllocated) ? EFI_RESOURCE_SATISFIED : EF= I_RESOURCE_LESS; @@ -1486,9 +1493,9 @@ SetResource( Ptr->GenFlag =3D 0; Ptr->SpecificFlag =3D 6; Ptr->AddrSpaceGranularity =3D 64; - /* This is PCIE Device Bus which start address is the low 32bit of= mem base*/ - Ptr->AddrRangeMin =3D (RootBridgeInstance->ResAllocNode[Index].Bas= e - RootBridgeInstance->MemBase) + - (RootBridgeInstance->MemBase & 0xFFFFFFFFFFFF= FFFF); + /* PCIE device Bar should be based on PciRegionBase */ + Ptr->AddrRangeMin =3D RootBridgeInstance->ResAllocNode[Index].Base= - RootBridgeInstance->MemBase + + RootBridgeInstance->PciRegionBase; Ptr->AddrRangeMax =3D 0; Ptr->AddrTranslationOffset =3D \ (ResStatus =3D=3D ResAllocated) ? EFI_RESOURCE_SATISFIED : EF= I_RESOURCE_LESS; diff --git a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c b= /Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c index 03edcf1..10d766a 100644 --- a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c @@ -2301,8 +2301,19 @@ RootBridgeIoConfiguration ( PrivateData =3D DRIVER_INSTANCE_FROM_PCI_ROOT_BRIDGE_IO_THIS (This); for (Index =3D 0; Index < TypeMax; Index++) { if (PrivateData->ResAllocNode[Index].Status =3D=3D ResAllocated) { - Configuration.SpaceDesp[Index].AddrRangeMin =3D PrivateData->ResAllo= cNode[Index].Base; - Configuration.SpaceDesp[Index].AddrRangeMax =3D PrivateData->ResAllo= cNode[Index].Base + PrivateData->ResAllocNode[Index].Length - 1; + switch (Index) { + case TypeIo: + Configuration.SpaceDesp[Index].AddrRangeMin =3D PrivateData->IoBas= e; + break; + case TypeBus: + Configuration.SpaceDesp[Index].AddrRangeMin =3D PrivateData->ResAl= locNode[Index].Base; + break; + default: + /* PCIE Device bar address should be base on PciRegionBase */ + Configuration.SpaceDesp[Index].AddrRangeMin =3D PrivateData->ResAllo= cNode[Index].Base - PrivateData->MemBase + + PrivateData->PciRegion= Base; + } + Configuration.SpaceDesp[Index].AddrRangeMax =3D Configuration.SpaceD= esp[Index].AddrRangeMin + PrivateData->ResAllocNode[Index].Length - 1; Configuration.SpaceDesp[Index].AddrLen =3D PrivateData->ResAllo= cNode[Index].Length; } } --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992053573291.8194490211938; Thu, 21 Sep 2017 04:07:33 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3910521E87986; Thu, 21 Sep 2017 04:04:15 -0700 (PDT) Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com [IPv6:2607:f8b0:400e:c05::233]) (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 DE3A421E1B76D for ; Thu, 21 Sep 2017 04:04:13 -0700 (PDT) Received: by mail-pg0-x233.google.com with SMTP id i195so3328856pgd.9 for ; Thu, 21 Sep 2017 04:07:20 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:19 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=HOf4gXBHFv49ZHuvCcZzcipUFOz3WDDuIe87W5fJkZE=; b=iVavPawmMi4mFm2YR5NNwEgPinsgWhBnBEkCOCqmj4G5ANYpuux5iahIlxezJEVozM B2CqPz1X8dJgwdHB6zCLe3Q24r186WeNHAmaPS1JUXy+RzZwWVCHv+0A4yyhWo510xz7 gmI5LSyDQMTzSEMNZJosTzdu+SMT1F53mGzxM= 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=HOf4gXBHFv49ZHuvCcZzcipUFOz3WDDuIe87W5fJkZE=; b=fIEiCBYGwNzt+3JgqhPZl3Gau74QFn2xY+bYPZIiQ6ZhjAf/Bso1iFf7NtJZoFUNP2 6e87+b4Vt+QNQsvLwt5EkFvivY4xN/6BpVc5e+7HcGU3hkNUdCzkxPtB9iQZTN7kLYKt rRlFd7vlsSXrVdg9INIpHceJVdbIwpEYaubAh/AOHNJbxonuxaMJJfJzNYHSh5WDrVnB eGGb10v6vhBPaudHiLQjl7sR9n9Hta0MoDlGWgiLurH469E0PxjMn60IKhmKelJaxZJr ltY7scWGe6cDMuZ06l8z18vOgrYtGpUTaGy3Aixl9U6qvaOOo2b1uOSzi0lMgNmD8/Es YnQw== X-Gm-Message-State: AHPjjUjFaLBKPpsnZOIfzw7gJ8OIo/s3rYgPCnkIkLFcX3u6sHsx/7K1 qCnBRD8HzpWF5mqUznkyQeFBXg== X-Google-Smtp-Source: AOwi7QDM0mz6WBckqca+vrP+LiUh5MMhSzKvFmGY35CxezLKCQKtwmvb4M2EcJPKRywAWHkj1mmRCw== X-Received: by 10.99.109.202 with SMTP id i193mr5260056pgc.399.1505992040359; Thu, 21 Sep 2017 04:07:20 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:50 +0800 Message-Id: <1505991597-52989-12-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 06/11] Hisilicon/D05/Pcie: fix bug of size definition X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: huangming Fix bug of PcieRegion size definition and IO size definition. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Platform/Hisilicon/D05/D05.dsc | 64 ++++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc index aa61c0e..01defe0 100644 --- a/Platform/Hisilicon/D05/D05.dsc +++ b/Platform/Hisilicon/D05/D05.dsc @@ -310,37 +310,37 @@ gHisiTokenSpaceGuid.PciHb1Rb7Base|0x700a00b0000 =20 gHisiTokenSpaceGuid.PcdHb0Rb0PciRegionBaseAddress|0xa8400000 - gHisiTokenSpaceGuid.PcdHb0Rb0PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb0Rb0PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionBaseAddress|0xa9400000 - gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb0Rb1PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionBaseAddress|0xa8800000 - gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionSize|0x77effff + gHisiTokenSpaceGuid.PcdHb0Rb2PciRegionSize|0x77f0000 gHisiTokenSpaceGuid.PcdHb0Rb3PciRegionBaseAddress|0xab400000 - gHisiTokenSpaceGuid.PcdHb0Rb3PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb0Rb3PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb0Rb4PciRegionBaseAddress|0xa9000000 - gHisiTokenSpaceGuid.PcdHb0Rb4PciRegionSize|0x2feffff + gHisiTokenSpaceGuid.PcdHb0Rb4PciRegionSize|0x2ff0000 gHisiTokenSpaceGuid.PcdHb0Rb5PciRegionBaseAddress|0xb0800000 - gHisiTokenSpaceGuid.PcdHb0Rb5PciRegionSize|0x77effff + gHisiTokenSpaceGuid.PcdHb0Rb5PciRegionSize|0x77f0000 gHisiTokenSpaceGuid.PcdHb0Rb6PciRegionBaseAddress|0xac900000 - gHisiTokenSpaceGuid.PcdHb0Rb6PciRegionSize|0x36effff + gHisiTokenSpaceGuid.PcdHb0Rb6PciRegionSize|0x36f0000 gHisiTokenSpaceGuid.PcdHb0Rb7PciRegionBaseAddress|0xb9800000 - gHisiTokenSpaceGuid.PcdHb0Rb7PciRegionSize|0x67effff + gHisiTokenSpaceGuid.PcdHb0Rb7PciRegionSize|0x67f0000 gHisiTokenSpaceGuid.PcdHb1Rb0PciRegionBaseAddress|0x400a8400000 - gHisiTokenSpaceGuid.PcdHb1Rb0PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb1Rb0PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionBaseAddress|0x400a9400000 - gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionBaseAddress|0x20000000 - gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionSize|0xcfffffff + gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionSize|0xd0000000 gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionBaseAddress|0x400ab400000 - gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionBaseAddress|0x30000000 - gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionSize|0xbfffffff + gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionSize|0xc0000000 gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionBaseAddress|0x40000000 - gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionSize|0xafffffff + gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionSize|0xb0000000 gHisiTokenSpaceGuid.PcdHb1Rb6PciRegionBaseAddress|0x408aa400000 - gHisiTokenSpaceGuid.PcdHb1Rb6PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb1Rb6PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb1Rb7PciRegionBaseAddress|0x408ab400000 - gHisiTokenSpaceGuid.PcdHb1Rb7PciRegionSize|0xbeffff + gHisiTokenSpaceGuid.PcdHb1Rb7PciRegionSize|0xbf0000 =20 gHisiTokenSpaceGuid.PcdHb0Rb0CpuMemRegionBase|0xA8400000 gHisiTokenSpaceGuid.PcdHb0Rb1CpuMemRegionBase|0xA9400000 @@ -377,52 +377,52 @@ gHisiTokenSpaceGuid.PcdHb1Rb7CpuIoRegionBase|0x408abff0000 =20 gHisiTokenSpaceGuid.PcdHb0Rb0IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb0IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb0IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb1IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb1IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb1IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb2IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb2IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb2IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb3IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb3IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb3IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb4IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb4IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb4IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb5IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb5IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb5IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb6IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb6IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb6IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb0Rb7IoBase|0 - gHisiTokenSpaceGuid.PcdHb0Rb7IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb0Rb7IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb0IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb0IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb0IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb1IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb1IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb1IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb2IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb2IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb2IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb3IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb3IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb3IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb4IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb4IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb4IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb5IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb5IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb5IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb6IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb6IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb6IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.PcdHb1Rb7IoBase|0 - gHisiTokenSpaceGuid.PcdHb1Rb7IoSize|0xffff #64K + gHisiTokenSpaceGuid.PcdHb1Rb7IoSize|0x10000 #64K =20 gHisiTokenSpaceGuid.Pcdsoctype|0x1610 =20 --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992065381647.6321202008527; Thu, 21 Sep 2017 04:07:45 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B5F0B21E94615; Thu, 21 Sep 2017 04:04:20 -0700 (PDT) Received: from mail-pf0-x235.google.com (mail-pf0-x235.google.com [IPv6:2607:f8b0:400e:c00::235]) (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 5109F21E1B76D for ; Thu, 21 Sep 2017 04:04:19 -0700 (PDT) Received: by mail-pf0-x235.google.com with SMTP id g65so3046156pfe.13 for ; Thu, 21 Sep 2017 04:07:26 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:24 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ywMvyfRsnBRKbX1Stzg36amkLTumLotSxj7XV7C+m5E=; b=gQJgw2cRqgHtTxq6bKp5uYHgOImuQRFFQTAkXKgi3ijk6KjAOhdnM9o2xliXWniwZS 7z5+y8UC68clKBIeYAgQD2+8ejUL+5W2ESv917F5mMW86KWfDZKKIcxJ+ucFOSQwI8g6 Q3B9mV8c1eTw5AB62Oo8Vvrd7/MCIEDq1lvjs= 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=ywMvyfRsnBRKbX1Stzg36amkLTumLotSxj7XV7C+m5E=; b=LYyZsLAzF8JI/4HIS5QiD6/Ei1kYVyyQkqgOEtDQ4SpGESwTq51e0CKG+Z0LnruFsb MJGS06ManDqdOhd8XAtZBN6dE7X0rkt95ZPNy1+gIYTDctUCMvgv12piw43eH2X5eJvA Vr4KUL4n8CA4I5V4eToCk39AYl36va1WWTBnzSeq5q1DabdjNs7Cf7zYCCFPABvYqdfc blcf/Y04s1/hfwgiugbxT3d5K8U3ktl8fFM+A01IJG6Cb/Y0VehR23cQaf+KQAcjUQjf wH8HNVv5yZrXrr7+w8fY6PdDW82svqKylOlk/y1wrH8KSkktLIYzF9KrkwPs/RGz1AOX pegQ== X-Gm-Message-State: AHPjjUjI+mqKATVZzh/VXpVhkWqgIKUdBiXEZvO3uiPdTsN51+I3kkJ+ zABuWtWskgZl/fusUJvRhGVGRg== X-Google-Smtp-Source: AOwi7QCz/FP7JNTOCKyHsZ646m+b2sFIQ4y0ga625MRsiFY5M58jSdmhOqbtE1aGirlry1/PMcn4ew== X-Received: by 10.101.78.201 with SMTP id w9mr5520028pgq.24.1505992045862; Thu, 21 Sep 2017 04:07:25 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:52 +0800 Message-Id: <1505991597-52989-14-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 07/11] D05/PCIe: Modify PcieRegionBase of secondary chip X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: huangming On D05 PCIe now, 2p NA PCIe2 and 2p NB PCIe0's pci domain addresses are 0x20000000 and 0x30000000 based. These addresses overlap with the DDR memory range 0-1G. In this situation, on the inbound direction, our pcie will drop the DDR address access that are located in the pci range window and lead to a dataflow error. Modify 2p NA PCIe2 and 2p NB PCIe0's pci domain addresses to 0x40000000 and decrease PciRegion Size accordingly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Platform/Hisilicon/D05/D05.dsc | 12 ++++++------ Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Platform/Hisilicon/D05/D05.dsc b/Platform/Hisilicon/D05/D05.dsc index 01defe0..64101a7 100644 --- a/Platform/Hisilicon/D05/D05.dsc +++ b/Platform/Hisilicon/D05/D05.dsc @@ -329,12 +329,12 @@ gHisiTokenSpaceGuid.PcdHb1Rb0PciRegionSize|0xbf0000 gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionBaseAddress|0x400a9400000 gHisiTokenSpaceGuid.PcdHb1Rb1PciRegionSize|0xbf0000 - gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionBaseAddress|0x20000000 - gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionSize|0xd0000000 + gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionBaseAddress|0x40000000 + gHisiTokenSpaceGuid.PcdHb1Rb2PciRegionSize|0xb0000000 gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionBaseAddress|0x400ab400000 gHisiTokenSpaceGuid.PcdHb1Rb3PciRegionSize|0xbf0000 - gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionBaseAddress|0x30000000 - gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionSize|0xc0000000 + gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionBaseAddress|0x40000000 + gHisiTokenSpaceGuid.PcdHb1Rb4PciRegionSize|0xb0000000 gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionBaseAddress|0x40000000 gHisiTokenSpaceGuid.PcdHb1Rb5PciRegionSize|0xb0000000 gHisiTokenSpaceGuid.PcdHb1Rb6PciRegionBaseAddress|0x408aa400000 @@ -352,9 +352,9 @@ gHisiTokenSpaceGuid.PcdHb0Rb7CpuMemRegionBase|0x8B9800000 gHisiTokenSpaceGuid.PcdHb1Rb0CpuMemRegionBase|0x400A8400000 gHisiTokenSpaceGuid.PcdHb1Rb1CpuMemRegionBase|0x400A9400000 - gHisiTokenSpaceGuid.PcdHb1Rb2CpuMemRegionBase|0x65020000000 + gHisiTokenSpaceGuid.PcdHb1Rb2CpuMemRegionBase|0x65040000000 gHisiTokenSpaceGuid.PcdHb1Rb3CpuMemRegionBase|0x400AB400000 - gHisiTokenSpaceGuid.PcdHb1Rb4CpuMemRegionBase|0x75030000000 + gHisiTokenSpaceGuid.PcdHb1Rb4CpuMemRegionBase|0x75040000000 gHisiTokenSpaceGuid.PcdHb1Rb5CpuMemRegionBase|0x79040000000 gHisiTokenSpaceGuid.PcdHb1Rb6CpuMemRegionBase|0x408AA400000 gHisiTokenSpaceGuid.PcdHb1Rb7CpuMemRegionBase|0x408AB400000 diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl b/Silic= on/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl index 79267e5..55c7f50 100644 --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Pci.asl @@ -646,10 +646,10 @@ Scope(_SB) Cacheable, ReadWrite, 0x0, // Granularity - 0x20000000, // Min Base Address + 0x40000000, // Min Base Address 0xefffffff, // Max Base Address 0x65000000000, // Translate - 0xd0000000 // Length + 0xb0000000 // Length ) QWordIO ( ResourceProducer, @@ -766,10 +766,10 @@ Scope(_SB) Cacheable, ReadWrite, 0x0, // Granularity - 0x30000000, // Min Base Address + 0x40000000, // Min Base Address 0xefffffff, // Max Base Address 0x75000000000, // Translate - 0xc0000000 // Length + 0xb0000000 // Length ) QWordIO ( ResourceProducer, --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 15059920723281000.8824731305468; Thu, 21 Sep 2017 04:07:52 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id ED93321E9461D; Thu, 21 Sep 2017 04:04:22 -0700 (PDT) Received: from mail-pf0-x22f.google.com (mail-pf0-x22f.google.com [IPv6:2607:f8b0:400e:c00::22f]) (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 3C9BE21E1B76D for ; Thu, 21 Sep 2017 04:04:22 -0700 (PDT) Received: by mail-pf0-x22f.google.com with SMTP id y29so3063454pff.0 for ; Thu, 21 Sep 2017 04:07:29 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:28 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vGYLq6lEjzTKwuLzsby/gRcci3SI1pfeY5LfzKQFSZY=; b=GPlLyMy4LcQVJglZxEwvrMnlWeFCew+QI+4QB58BixPMlT133MLV7Emx4dQD4CTyki EihAwxo37/vx9J/hPDRGmBsJ7i3L4lSkAFfzl9kbq372sp7A0ZFb6DrVP8u3lbaZwEqU SNu3upblrcbZw5tzhaTqYo0vLoAB6woESFDmw= 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=vGYLq6lEjzTKwuLzsby/gRcci3SI1pfeY5LfzKQFSZY=; b=QeABbsprp2CsF60yduf7PtM4T+Mf+hDO1+lw8v6x8VVdDsYYAdDF3rFnbZRAjJrbQI bklGAiraFyq1udkgAM1pg8TYqYLO1EGLiKT9RLRcaz0/V+cdPE8DgQp3PgvDFgwhDwa8 lsFiwGt9edGVKb9uQFBZ9HEwkd2C2ZO/us5kxG2xqNunTg7tYSwH+M/2alehU2oKX8/S ZOl3XDHZQH2vjyHenS7YYaZMr41Jnp/HyRVbAaos2Ry/ACoGMkXRehZzXfU9hQXldyeM Nojae6H9CVWGIjRQUJsO6wvJebys9XCiq+YKEQRkcdnctbOjwqJF+k6UXCnOQVo+Hla2 NohA== X-Gm-Message-State: AHPjjUhQp2bHiIvd5mkx+sh646CLFsbxNhL/By4ggFu5ni6feRB5dGoa keyolL5N3tzxjdd7xIZvsPyOqw== X-Google-Smtp-Source: AOwi7QBtqQwNoEHj/yiQzQ0mybuIJOHaSACe+smHgPrkhEkt+IOiKqdYiBfEYB6tsc9WD0TRfuHfUA== X-Received: by 10.99.181.23 with SMTP id y23mr5294129pge.165.1505992048719; Thu, 21 Sep 2017 04:07:28 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:53 +0800 Message-Id: <1505991597-52989-15-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-non-osi v3 7/7] Hisilicon: Fix the drivers use the same GUID issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Heyi Guo , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" The drivers build from separate sources, their GUID should be different. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Heyi Guo Reviewed-by: Leif Lindholm Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D02/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf = | 2 +- Platform/Hisilicon/D02/Drivers/SFC/SfcDxeDriver.inf = | 2 +- Platform/Hisilicon/D02/MemoryInitPei/MemoryInitPeim.inf = | 2 +- Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf = | 2 +- Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe.inf = | 2 +- Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei.inf = | 2 +- Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf = | 2 +- Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf = | 2 +- Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf = | 2 +- Platform/Hisilicon/D05/Drivers/OhciDxe/OhciDxe.inf = | 2 +- Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePlugDid= VidToBmc.inf | 2 +- Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf = | 2 +- Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf = | 2 +- Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf = | 2 +- Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf = | 2 +- Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.inf = | 2 +- Platform/Hisilicon/D05/MemoryInitPei/MemoryInitPeim.inf = | 2 +- Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.inf = | 2 +- Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.inf = | 2 +- Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSysCtrlL= ibHi1610.inf | 2 +- Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf = | 2 +- Silicon/Hisilicon/Pv660/Library/PlatformSysCtrlLibPv660/PlatformSysCtrlLib= Pv660.inf | 2 +- Silicon/Hisilicon/Pv660/Library/Pv660Serdes/Pv660SerdesLib.inf = | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Platform/Hisilicon/D02/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf= b/Platform/Hisilicon/D02/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf index 8376bbd..8b9ee1d 100644 --- a/Platform/Hisilicon/D02/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf +++ b/Platform/Hisilicon/D02/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D SnpPV600Dxe - FILE_GUID =3D 3246F154-3612-4803-BD4E-4104D7EF944A + FILE_GUID =3D 1AB373EB-2CD7-4D5C-9C39-D31845B67F5E MODULE_TYPE =3D UEFI_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D02/Drivers/SFC/SfcDxeDriver.inf b/Platform= /Hisilicon/D02/Drivers/SFC/SfcDxeDriver.inf index e10275a..02a4d7f 100644 --- a/Platform/Hisilicon/D02/Drivers/SFC/SfcDxeDriver.inf +++ b/Platform/Hisilicon/D02/Drivers/SFC/SfcDxeDriver.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D SFCDriver - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D 02C6BAAE-6E43-4910-8084-60D5045729A0 MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D SFCInitialize diff --git a/Platform/Hisilicon/D02/MemoryInitPei/MemoryInitPeim.inf b/Plat= form/Hisilicon/D02/MemoryInitPei/MemoryInitPeim.inf index c221de9..0095c82 100644 --- a/Platform/Hisilicon/D02/MemoryInitPei/MemoryInitPeim.inf +++ b/Platform/Hisilicon/D02/MemoryInitPei/MemoryInitPeim.inf @@ -18,7 +18,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D MemoryInit - FILE_GUID =3D c61ef796-b50d-4f98-9f78-4f6f79d800d5 + FILE_GUID =3D A311058D-0993-4C05-A3EC-16CC0801C1A0 MODULE_TYPE =3D PEIM VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.i= nf b/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf index 20e2f05..1a2bd01 100644 --- a/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf +++ b/Platform/Hisilicon/D05/Drivers/GetInfoFromBmc/GetInfoFromBmc.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D GetInfoFromBmc - FILE_GUID =3D 43B59C81-9C5F-4021-B0F2-947DB839B781 + FILE_GUID =3D DFDF885A-623D-4D13-9EB6-8454BA30A7CD MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D GetBmcInfoDriverEntry diff --git a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInter= faceDxe.inf b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInte= rfaceDxe.inf index a614b68..e82e5ad 100644 --- a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe= .inf +++ b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfaceDxe/IpmiInterfaceDxe= .inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D IpmiInterfaceDxe - FILE_GUID =3D EF5483F8-68AD-4D71-9A23-674D2E9C013E + FILE_GUID =3D 89DCAC3C-D653-4FD7-82E7-9840ED7E0B1D MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInter= facePei.inf b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInte= rfacePei.inf index e55d3f7..ac9f467 100644 --- a/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei= .inf +++ b/Platform/Hisilicon/D05/Drivers/Ipmi/IpmiInterfacePei/IpmiInterfacePei= .inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D IpmiInterfacePei - FILE_GUID =3D 269702AF-8004-4570-A08E-00762AE65D15 + FILE_GUID =3D 0E169987-AC8F-4DF8-9A67-D2860C15699D MODULE_TYPE =3D PEIM VERSION_STRING =3D 1.0 ENTRY_POINT =3D IpmiInterfacePeiEntry diff --git a/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf= b/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf index 8075f40..8b94903 100644 --- a/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf +++ b/Platform/Hisilicon/D05/Drivers/IpmiMiscOpDxe/IpmiMiscOpDxe.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D IpmiMiscOp - FILE_GUID =3D EC68451C-6D10-4ba2-9862-D27D4D6090DB + FILE_GUID =3D 536C9EE4-3D34-4EB6-9195-7BEEDE4D4F9F MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D IpmiMiscOpEntry diff --git a/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe= .inf b/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf index c173587..510c59d 100644 --- a/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf +++ b/Platform/Hisilicon/D05/Drivers/IpmiWatchdogDxe/IpmiWatchdogDxe.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D IpmiWatchdogDxe - FILE_GUID =3D 7C7ACA9F-DB25-43FB-A479-1B6E42F38792 + FILE_GUID =3D 4C112583-9092-4712-BBBF-429B4B66220F MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D InitializeWatchdogDxeEntry diff --git a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf= b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf index cd7c724..3a79208 100644 --- a/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf +++ b/Platform/Hisilicon/D05/Drivers/Net/SnpPV600Dxe/SnpPV600Dxe.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D SnpPV600Dxe - FILE_GUID =3D 3247F15F-3612-4803-BD4E-4104D7EF944A + FILE_GUID =3D 6BB8E531-2E49-43CC-AF7A-7CABDAEB7B7A MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/OhciDxe/OhciDxe.inf b/Platform/= Hisilicon/D05/Drivers/OhciDxe/OhciDxe.inf index 80d9c49..d0a8d7b 100644 --- a/Platform/Hisilicon/D05/Drivers/OhciDxe/OhciDxe.inf +++ b/Platform/Hisilicon/D05/Drivers/OhciDxe/OhciDxe.inf @@ -17,7 +17,7 @@ [defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D NativeOhci - FILE_GUID =3D 043D0B5E-DAC1-463a-85BA-2CEDC33A8C4F + FILE_GUID =3D 559F7D9C-34A8-4028-815C-D5A73EDEB60F MODULE_TYPE =3D UEFI_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/Repor= tPciePlugDidVidToBmc.inf b/Platform/Hisilicon/D05/Drivers/ReportPciePlugDid= VidToBmc/ReportPciePlugDidVidToBmc.inf index ab2be5e..bcc05cb 100644 --- a/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePl= ugDidVidToBmc.inf +++ b/Platform/Hisilicon/D05/Drivers/ReportPciePlugDidVidToBmc/ReportPciePl= ugDidVidToBmc.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D ReportPciePlugDidVidToBmc - FILE_GUID =3D 9BC4A5D1-5A46-4A6C-AF11-4875268179D3 + FILE_GUID =3D 5C6B2DC9-D4F5-405A-94A4-4EA9E74A1800 MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf b/Platform= /Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf index 909462f..e14723c 100644 --- a/Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf +++ b/Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D SFCDriver - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D 209D1FBE-506F-40BB-9C67-4B6085F92010 MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D SFCInitialize diff --git a/Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf b/Platform= /Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf index 539d612..3daf2bb 100644 --- a/Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf +++ b/Platform/Hisilicon/D05/Drivers/Sas/SasDxeDriver.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D SasDriverDxe - FILE_GUID =3D 49ea041e-6752-42ca-b0b1-7344fe234567 + FILE_GUID =3D 6F39A263-C676-4FED-8609-33148079C721 MODULE_TYPE =3D UEFI_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf b/Platform= /Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf index 0590919..5927561 100644 --- a/Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf +++ b/Platform/Hisilicon/D05/Drivers/Sm750Dxe/UefiSmi.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D SmiGraphicsOutput - FILE_GUID =3D BFB7B510-B09B-11DB-96E3-005056C00008 + FILE_GUID =3D 12584EAB-60CB-43B0-8806-1AE5BEDEEF02 MODULE_TYPE =3D UEFI_DRIVER VERSION_STRING =3D 1.0 =20 diff --git a/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosI= nfo.inf b/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo= .inf index 6b34037..01afa26 100644 --- a/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf +++ b/Platform/Hisilicon/D05/Drivers/TransferSmbiosInfo/TransSmbiosInfo.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D TransSmbiosInfo - FILE_GUID =3D 13668C32-1977-436a-800C-F8644D11CB76 + FILE_GUID =3D 7FCDA10D-F216-4BAD-9D5C-FBF782A305FD MODULE_TYPE =3D DXE_DRIVER VERSION_STRING =3D 1.0 ENTRY_POINT =3D TransferSmbiosInfoToBMC diff --git a/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD= 05.inf b/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.i= nf index 79e0d8e..ecf61b8 100644 --- a/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.inf +++ b/Platform/Hisilicon/D05/Library/OemAddressMapD05/OemAddressMapD05.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D OemAddressMapD05 - FILE_GUID =3D 32BC48E3-5428-4556-A383-25A23EA816A7 + FILE_GUID =3D 8F35288F-9AD2-4B4A-ABC2-D97654FB3E5C MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D OemAddressMapLib diff --git a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInitPeim.inf b/Plat= form/Hisilicon/D05/MemoryInitPei/MemoryInitPeim.inf index da28c5a..b863dc2 100644 --- a/Platform/Hisilicon/D05/MemoryInitPei/MemoryInitPeim.inf +++ b/Platform/Hisilicon/D05/MemoryInitPei/MemoryInitPeim.inf @@ -18,7 +18,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D MemoryInit - FILE_GUID =3D c61ef796-b50d-4f98-9f78-4f6f79d800d5 + FILE_GUID =3D 1E71DFDB-EB4F-465C-BBB3-93D3FEA48437 MODULE_TYPE =3D PEIM VERSION_STRING =3D 1.0 =20 diff --git a/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.= inf b/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.inf index a875f98..10ff0db 100644 --- a/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.inf +++ b/Silicon/Hisilicon/Hi1610/Library/Hi1610Serdes/Hi1610SerdesLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D Hi1610SerdesLib - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D BD95FDA9-54A4-4BDC-8EE6-47969ADF25F1 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D SerdesLib diff --git a/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.inf b/Silicon/H= isilicon/Hi1610/Library/LpcLib/LpcLib.inf index dea2a72..308128f 100644 --- a/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.inf +++ b/Silicon/Hisilicon/Hi1610/Library/LpcLib/LpcLib.inf @@ -17,7 +17,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D LpcLib - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D FEC691AE-110D-444E-9B85-0A8F2EFDCA65 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D LpcLib diff --git a/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/Plat= formSysCtrlLibHi1610.inf b/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrl= LibHi1610/PlatformSysCtrlLibHi1610.inf index 84125aa..fbf16d6 100644 --- a/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSys= CtrlLibHi1610.inf +++ b/Silicon/Hisilicon/Hi1610/Library/PlatformSysCtrlLibHi1610/PlatformSys= CtrlLibHi1610.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D PlatformSysCtrlLibHi1610 - FILE_GUID =3D EBF63479-8F72-4ada-8B2A-960322F7F61A + FILE_GUID =3D 0DC0BBF4-2E09-4943-9534-48BF2EE274D3 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D PlatformSysCtrlLib diff --git a/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.= inf b/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf index 49977ea..67d4a2b 100644 --- a/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf +++ b/Silicon/Hisilicon/Hi1616/Library/Hi1616Serdes/Hi1616SerdesLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010019 BASE_NAME =3D Hi1616SerdesLib - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D 0CBCC289-639C-48E9-BEDD-039B21F5E97B MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D SerdesLib diff --git a/Silicon/Hisilicon/Pv660/Library/PlatformSysCtrlLibPv660/Platfo= rmSysCtrlLibPv660.inf b/Silicon/Hisilicon/Pv660/Library/PlatformSysCtrlLibP= v660/PlatformSysCtrlLibPv660.inf index 35d90df..e36c6b6 100644 --- a/Silicon/Hisilicon/Pv660/Library/PlatformSysCtrlLibPv660/PlatformSysCt= rlLibPv660.inf +++ b/Silicon/Hisilicon/Pv660/Library/PlatformSysCtrlLibPv660/PlatformSysCt= rlLibPv660.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D PlatformSysCtrlLibPv660 - FILE_GUID =3D EBF63479-8F72-4ada-8B2A-960322F7F61A + FILE_GUID =3D B6C2EF97-2E30-4AA4-A3F4-D4EB1BBA1CD2 MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D PlatformSysCtrlLib diff --git a/Silicon/Hisilicon/Pv660/Library/Pv660Serdes/Pv660SerdesLib.inf= b/Silicon/Hisilicon/Pv660/Library/Pv660Serdes/Pv660SerdesLib.inf index cd25daa..c9f3c0a 100644 --- a/Silicon/Hisilicon/Pv660/Library/Pv660Serdes/Pv660SerdesLib.inf +++ b/Silicon/Hisilicon/Pv660/Library/Pv660Serdes/Pv660SerdesLib.inf @@ -16,7 +16,7 @@ [Defines] INF_VERSION =3D 0x00010005 BASE_NAME =3D Pv660SerdesLib - FILE_GUID =3D FC5651CA-55D8-4fd2-B6D3-A284D993ABA2 + FILE_GUID =3D 488347A3-8014-4DC4-8566-B51CA16CE0BB MODULE_TYPE =3D BASE VERSION_STRING =3D 1.0 LIBRARY_CLASS =3D SerdesLib --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992078940342.32639717140125; Thu, 21 Sep 2017 04:07:58 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3733121E9461F; Thu, 21 Sep 2017 04:04:26 -0700 (PDT) Received: from mail-pg0-x230.google.com (mail-pg0-x230.google.com [IPv6:2607:f8b0:400e:c05::230]) (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 AA1BD21E1B76D for ; Thu, 21 Sep 2017 04:04:24 -0700 (PDT) Received: by mail-pg0-x230.google.com with SMTP id d8so3338198pgt.4 for ; Thu, 21 Sep 2017 04:07:31 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:30 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Pehf7vUdmxolG3sVT2chwk8DpZT7XyEY3adACvyQ2Cw=; b=FWz1DgHJBdoZ8dGxGF3qVUMWFuyQbQaEvmg3IidCE1fqbnz4x7USv91F7lIRryvevT kFyE/sjUgARXOuIOKKcanNiDmGOsyEjOou1wXjVGBY5I++YBUBO27StjrzpEYmqDuLqP p4eeu06LYtAfQjzDTjxxy4acZUmelg+31PaCA= 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=Pehf7vUdmxolG3sVT2chwk8DpZT7XyEY3adACvyQ2Cw=; b=e0W/vGCiYeDEme4JayGbkzp1QCunOuWdBEjlrKi+djsQJZ6DbCyMT04AXFal/uf1rC UqNFIe6hU35psd6Gf0oy6hF6c9o3OLkFu/T+fjMdO0cA5LfIr51WFq6aV3uax0Nw3Jvk 9MBauE3e1PEfu6G/QZO0ftkZy3TDQesL7VHu5FiQLxkWyZV0ff0PkUx8xw88dTBmsLD4 qaLIQ9VTkU19mSDpMi6gVSsKM8jQUIossZghRqNMVPq31KZ8zjWYlhpw+kFm3o9iIBY1 HY8dHjFqKBc+t0aX4wwBwkZOOkyV1z1el+gIdrelfu6eUIUWhRjwmNjphIjWdVUPURUu JrBw== X-Gm-Message-State: AHPjjUiUFjlxee7GF/yqzULqWG9EwSrqNC9sHXECjZwcm/jL6XCZjUUr RkGPCi3p9oJV/D/nWuJa9MsQ0qCpMD0= X-Google-Smtp-Source: AOwi7QAro65yLhXEyFA3jaSmE4cpyRi0i9FcMh30MbThMX/EUqmMSLc/peHbqnv3ATEtxE3thY4jIA== X-Received: by 10.84.136.1 with SMTP id 1mr5160939plk.101.1505992051355; Thu, 21 Sep 2017 04:07:31 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:54 +0800 Message-Id: <1505991597-52989-16-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 08/11] Hisilicon/D03: Disable the function of PerfTuning X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, Chenhui Sun , zhangjinsong2@huawei.com, guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Chenhui Sun The PerTuning function is not stable, it will cause the 3008/3108 crash, disable this function first. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chenhui Sun Reviewed-by: Graeme Gregory --- Platform/Hisilicon/D03/D03.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc index fca6781..ac880d9 100644 --- a/Platform/Hisilicon/D03/D03.dsc +++ b/Platform/Hisilicon/D03/D03.dsc @@ -112,7 +112,7 @@ # It could be set FALSE to save size. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE gHisiTokenSpaceGuid.PcdIsItsSupported|TRUE - gHisiTokenSpaceGuid.PcdIsPciPerfTuningEnable|TRUE + gHisiTokenSpaceGuid.PcdIsPciPerfTuningEnable|FALSE =20 [PcdsFixedAtBuild.common] gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"D03" --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992084762756.6278973974079; Thu, 21 Sep 2017 04:08:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 70C6E21D046D6; Thu, 21 Sep 2017 04:04:29 -0700 (PDT) Received: from mail-pg0-x22d.google.com (mail-pg0-x22d.google.com [IPv6:2607:f8b0:400e:c05::22d]) (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 8CD3621E1B76D for ; Thu, 21 Sep 2017 04:04:27 -0700 (PDT) Received: by mail-pg0-x22d.google.com with SMTP id c137so3328294pga.11 for ; Thu, 21 Sep 2017 04:07:34 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:33 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/P2dF6PiBOgnIKmswxbaT01mE0W1c+kzX5YrFnwLVY8=; b=XWaktFpAMT0oYKn3dbh8bPhDpSTQR85aQt3WCSWEBk3Q4nKblwJdI76QaeoWv/DE1J Q4gnNJzY+Znj7W9uk1uj2r5phnuiIQ+pfRTrRtx/ODTrTDrndHsUCDcjvYqnVJOssDi1 VL9rGnzrHmwpzW/hHG57C+srl3dYBO4xH+rXA= 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=/P2dF6PiBOgnIKmswxbaT01mE0W1c+kzX5YrFnwLVY8=; b=uKgkBGD30c0eSW4C69lGDNqhw+7HqjLeb2uzBCs3g4EPxhjINA5TybIRZrI/XYwOHf xmp2fdvOLSBaEyL+mJLiVJCJ4TYY5xTuVM3vJ07yZp1N1US9YOfh884EDAxL8SSKltwz EV2idqcd7aU3VQRAl/BVzTrGCRiOO4CzMPsiXhiyEq5VgWedwrkvUu331DOIcW8aXkcq ZqIQZ8p/+D+1ab+FV97v8l4VUCXpB1D9dRZPg7MwyO5L7KYboZ6/r+SDUHhaMhaeO14O 7mjfE+XSqHFdyr6IYUbgJI3tgGWRsZw5BwRvWfwfu8WZxo/8UXkcYW+LjzBpptySoTcQ EYYA== X-Gm-Message-State: AHPjjUjjZjPc8DbIaxfxZ4VnfbTC4vnb0mv33h7nMFnh8yMU5vsfFuqr iB6yeQaeLm3f4zVMAxQ6A0lMDQ== X-Google-Smtp-Source: AOwi7QBjuzbSdasko4aaZBzT6HSfSJVjAPDuGxXjMEWPN/xtFwcp49oxCpcgnXpc+d3RYFjicp3gSg== X-Received: by 10.84.234.196 with SMTP id i4mr5143179plt.432.1505992054203; Thu, 21 Sep 2017 04:07:34 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:55 +0800 Message-Id: <1505991597-52989-17-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 09/11] D05/ACPI: Disable D05 SAS0 and SAS2 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Ming Huang , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ming Huang There are no interface from SAS0 and SAS2 controller on D05, so SAS0 and SAS2 can't be use. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl b/Silic= on/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl index 93beb95..6455130 100644 --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05Sas.asl @@ -88,6 +88,11 @@ Scope(_SB) Store(0x7ffff, CLK) Sleep(1) } + + Method (_STA, 0, NotSerialized) + { + Return (0x0) + } } =20 Device(SAS1) { @@ -239,6 +244,11 @@ Scope(_SB) Store(0x7ffff, CLK) Sleep(1) } + + Method (_STA, 0, NotSerialized) + { + Return (0x0) + } } =20 } --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992090079482.19495633269923; Thu, 21 Sep 2017 04:08:10 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A9DBF21ECCB15; Thu, 21 Sep 2017 04:04:30 -0700 (PDT) Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (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 64C1A21E1B76D for ; Thu, 21 Sep 2017 04:04:30 -0700 (PDT) Received: by mail-pg0-x22e.google.com with SMTP id b11so3324094pgn.12 for ; Thu, 21 Sep 2017 04:07:37 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:36 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/lG3Ol0OoI11jtBHOMSmpNqUBTWOk56eOf5b7ZGDVbo=; b=CM7EerFp1Ytq2an5STr1EQkC4O5FxQ/CfvckklIwB9n53MQbardlqTv5NGdaFs4hZe 3jrKFUOe0WHmCyDovLDm5+lvQHD9dP0cJRNqDT03V1nTq9/Ogq8ZG4Y7D0qmnNhxicJc qllb8+OfnSTnjZCr1mkD2Xb/k8KJTU2Ljq7Ts= 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=/lG3Ol0OoI11jtBHOMSmpNqUBTWOk56eOf5b7ZGDVbo=; b=EFaoyYPV1s628WdQjp5OpKCEApqcI9kTpz2glP1f12gJ1pdNh2Cn33NKiR+nS73c13 epxa+cU4+2JRopxxr5DriD/YhlZ4tjNIyCpQtgLnjSZhgx0TFcf92g2IIg64C3V4FHIq t8/v4o7EA7v4Y189A9icNPILwyAjKSeCtHyG7ST993YFU1nBKIuX39LfKMEqxmCTnSNY emqvJX1v0Tdadb5qdVWDKHzkTL61Njd/rtlsz2VLB9vIb7vGWMl8gnuFjVn1ATPUOGY3 w3xcRaNQ7LyjpIgAa0z61GRk1gyeniEkx0mB/rxQ2cALavaf1vwr6nOazLQPTvuaWrqr JaSA== X-Gm-Message-State: AHPjjUha8zYBLqyGHfiQd1bZ/k9nkCFxrhcbaHQyLciXKdwH8rzhnD4I 5F/3uVFVUuPtMv6hJj8JZdnGWA== X-Google-Smtp-Source: AOwi7QCjFM1c0C76YA3KVspARz/ErHC0oAgZ7oNgPfb4/CPXQBdBivyJHx1Yz9R7A72cGL4uZO7q0A== X-Received: by 10.98.215.18 with SMTP id b18mr5360139pfh.147.1505992056981; Thu, 21 Sep 2017 04:07:36 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:56 +0800 Message-Id: <1505991597-52989-18-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 10/11] D05/ACPI: Modify I2C device X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Ming Huang , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ming Huang 1. Disable I2C0 device avoiding access conflict in OS; 2. Modify _HID of I2C2 for matching the string in OS driver; Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Reviewed-by: Graeme Gregory --- Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl | 20 +-------------= ------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl b/Silic= on/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl index eb906ef..3cc60d1 100644 --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl @@ -18,26 +18,8 @@ =20 Scope(_SB) { - Device(I2C0) { - Name(_HID, "APMC0D0F") - Name(_CID, "APMC0D0F") - Name(_CRS, ResourceTemplate() { - Memory32Fixed(ReadWrite, 0xd00e0000, 0x10000) - Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, 0, "\\_SB.= MBI6") { 705 } - }) - Name (_DSD, Package () { - ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), - Package () { - Package () {"clock-frequency", 100000}, - Package () {"i2c-sda-falling-time-ns", 913}, - Package () {"i2c-scl-falling-time-ns", 303}, - Package () {"i2c-sda-hold-time-ns", 0x9c2}, - } - }) - } - Device(I2C2) { - Name(_HID, "APMC0D0F") + Name(_HID, "HISI02A1") Name(_CID, "APMC0D0F") Name(_CRS, ResourceTemplate() { Memory32Fixed(ReadWrite, 0xd0100000, 0x10000) --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu Dec 26 00:55:14 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1505992095357345.62215969398426; Thu, 21 Sep 2017 04:08:15 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E073D21E1B77C; Thu, 21 Sep 2017 04:04:33 -0700 (PDT) Received: from mail-pg0-x22a.google.com (mail-pg0-x22a.google.com [IPv6:2607:f8b0:400e:c05::22a]) (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 5294321E1B76D for ; Thu, 21 Sep 2017 04:04:33 -0700 (PDT) Received: by mail-pg0-x22a.google.com with SMTP id j70so3331169pgc.10 for ; Thu, 21 Sep 2017 04:07:40 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:39 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8e46iXc6ep15mZMjZv2wcRGzw4WwWoRRZvWIldeYr3A=; b=X2+ORCIWv7rn62evCpjuXhahojbUo/hNeBOPQcZQ1dO/QeJAyCgz7cahvltMXUBMpM 030/8Xsm8mjfwBG77qVY1EF08l0MfcIHEtZ9FTrV+Ku+MQ+q5Y7II7p5aKOXwb5yAQr6 UgrZRRaEmy1cadAi9eHX///5DTRRRqff0m3TI= 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=8e46iXc6ep15mZMjZv2wcRGzw4WwWoRRZvWIldeYr3A=; b=qfcuk/GgaJnMcJf8TTh/6qNPtgreYnLY+QQcp9c5QguBLIp8dQjjGePmQLowjPF+P8 yef43lXMFcmhdpgE7ZfmpS2q2PsYewBYV5LeXqgvT2QeRWvrE3Cmv/q+I6cjavuxhIyE Ic0nC0CyNve3v3kAfoQIVgn4VoQBjhCLf82lMSG5s9MFrRyk2fS8gakbYb9/dusHB9er JF8uR8jz517d+bznH5nYGTRtKkKXMysUYxf6flHyDhQAGZUl48rjMmLA5MdBRLHLq9tC 1s8eyrl4m9ogVbntcmbZYJ+0R3pkMswI+adNKHEMDMZg4ByQd6QjYiSxRGdcI0xYQ61r oIkw== X-Gm-Message-State: AHPjjUibisDnNnoQfQ7rZYZ60n+yZ8PACw7Ax4Uknllqdqrv7Hq0DbWH u3l+ib0ucNBuv3qUAE8G3YzwZw== X-Google-Smtp-Source: AOwi7QCeLP918sy2rnLjrL5hWwC2K+rjoJ0v2PJXJXfYSyOW1Nt0SQd6S9ehmd3Mk/PhPUBESYD9fQ== X-Received: by 10.98.33.134 with SMTP id o6mr5340249pfj.91.1505992059906; Thu, 21 Sep 2017 04:07:39 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:57 +0800 Message-Id: <1505991597-52989-19-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH edk2-platforms v3 11/11] Hisilicon D03/D05: Enlarge iATU for RP with ARI capable device. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Ming Huang , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ming Huang 1. Because Hi161x chip doesn't support "ARI Forwarding Enable" function, BIOS will enumerate 32 same devices (Device Number 0~31) when attach a Non-ARI capable device in the RP. Hi161x chip will not fix it, need BIOS patch. 2. Just enlarge iatu for those root port with ARI capable device attached, Non-ARI capable device's RP, keep iatu limitation. 3. Remove previous temporary solution as below commit id: "7d157da88852cc91df2b11b10ade2edbbfbe77da" Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jason zhang Reviewed-by: Graeme Gregory --- Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c | 1 + Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h | 7 ++ Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c | 79 ++++++++= ++++++++++++ 3 files changed, 87 insertions(+) diff --git a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c b/S= ilicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c index e3d3988..9fa3f84 100644 --- a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c +++ b/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.c @@ -839,6 +839,7 @@ NotifyPhase( =20 case EfiPciHostBridgeEndEnumeration: PCIE_DEBUG("Case EfiPciHostBridgeEndEnumeration\n"); + EnlargeAtuConfig0 (This); break; =20 case EfiPciHostBridgeBeginBusAllocation: diff --git a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h b/S= ilicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h index cddda6b..c04361f 100644 --- a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h +++ b/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridge.h @@ -401,6 +401,9 @@ PreprocessController ( #define EFI_RESOURCE_NONEXISTENT 0xFFFFFFFFFFFFFFFFULL #define EFI_RESOURCE_LESS 0xFFFFFFFFFFFFFFFEULL =20 +#define INVALID_CAPABILITY_00 0x00 +#define INVALID_CAPABILITY_FF 0xFF +#define PCI_CAPABILITY_POINTER_MASK 0xFC =20 // // Driver Instance Data Prototypes @@ -518,4 +521,8 @@ RootBridgeConstructor ( IN UINT32 Seg ); =20 +VOID +EnlargeAtuConfig0 ( + IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *This + ); #endif diff --git a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c b= /Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c index 10d766a..b57bd51 100644 --- a/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c +++ b/Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciRootBridgeIo.c @@ -14,6 +14,7 @@ **/ =20 #include "PciHostBridge.h" +#include #include #include #include @@ -2322,3 +2323,81 @@ RootBridgeIoConfiguration ( return EFI_SUCCESS; } =20 +BOOLEAN +PcieCheckAriFwdEn ( + UINTN PciBaseAddr + ) +{ + UINT8 PciPrimaryStatus; + UINT8 CapabilityOffset; + UINT8 CapId; + UINT8 TempData; + + PciPrimaryStatus =3D MmioRead16 (PciBaseAddr + PCI_PRIMARY_STATUS_OFFSET= ); + + if (PciPrimaryStatus & EFI_PCI_STATUS_CAPABILITY) { + CapabilityOffset =3D MmioRead8 (PciBaseAddr + PCI_CAPBILITY_POINTER_OF= FSET); + CapabilityOffset &=3D PCI_CAPABILITY_POINTER_MASK; + + while ((CapabilityOffset !=3D INVALID_CAPABILITY_00) && (CapabilityOff= set !=3D INVALID_CAPABILITY_FF)) { + CapId =3D MmioRead8 (PciBaseAddr + CapabilityOffset); + if (CapId =3D=3D EFI_PCI_CAPABILITY_ID_PCIEXP) { + break; + } + CapabilityOffset =3D MmioRead8 (PciBaseAddr + CapabilityOffset + 1); + CapabilityOffset &=3D PCI_CAPABILITY_POINTER_MASK; + } + } else { + PCIE_DEBUG ("[%a:%d] - No PCIE Capability.\n", __FUNCTION__, __LINE__); + return FALSE; + } + + if ((CapabilityOffset =3D=3D INVALID_CAPABILITY_FF) || (CapabilityOffset= =3D=3D INVALID_CAPABILITY_00)) { + PCIE_DEBUG ("[%a:%d] - No PCIE Capability.\n", __FUNCTION__, __LINE__); + return FALSE; + } + + TempData =3D MmioRead16 (PciBaseAddr + CapabilityOffset + + EFI_PCIE_CAPABILITY_DEVICE_CONTROL_2_OFFSET); + TempData &=3D EFI_PCIE_CAPABILITY_DEVICE_CAPABILITIES_2_ARI_FORWARDING; + + if (TempData =3D=3D EFI_PCIE_CAPABILITY_DEVICE_CAPABILITIES_2_ARI_FORWAR= DING) { + return TRUE; + } else { + return FALSE; + } +} + +VOID +EnlargeAtuConfig0 ( + IN EFI_PCI_HOST_BRIDGE_RESOURCE_ALLOCATION_PROTOCOL *This + ) +{ + UINTN RbPciBase; + UINT64 MemLimit; + LIST_ENTRY *List; + PCI_HOST_BRIDGE_INSTANCE *HostBridgeInstance; + PCI_ROOT_BRIDGE_INSTANCE *RootBridgeInstance; + + PCIE_DEBUG ("In Enlarge RP iatu Config 0.\n"); + + HostBridgeInstance =3D INSTANCE_FROM_RESOURCE_ALLOCATION_THIS (This); + List =3D HostBridgeInstance->Head.ForwardLink; + + while (List !=3D &HostBridgeInstance->Head) { + PCIE_DEBUG ("HostBridge has data.\n"); + RootBridgeInstance =3D DRIVER_INSTANCE_FROM_LIST_ENTRY (List); + + RbPciBase =3D RootBridgeInstance->RbPciBar; + + // Those ARI FWD Enable Root Bridge, need enlarge iatu window. + if (PcieCheckAriFwdEn (RbPciBase)) { + MemLimit =3D GetPcieCfgAddress (RootBridgeInstance->Ecam, + RootBridgeInstance->BusBase + 2, 0, 0,= 0) + - 1; + MmioWrite32 (RbPciBase + IATU_OFFSET + IATU_VIEW_POINT, 1); + MmioWrite32 (RbPciBase + IATU_OFFSET + IATU_REGION_BASE_LIMIT, (UINT= 32) MemLimit); + } + List =3D List->ForwardLink; + } +} --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel