From patchwork Wed Jun 27 07:04:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 140301 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp505756ljj; Wed, 27 Jun 2018 00:04:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfzFCUBidl+/cZcswl7Ke8/Wfug+B914weMT/oy2TaGWbh/LAsHGUamtmqfEd3QjChlwKbA X-Received: by 2002:a17:902:530a:: with SMTP id b10-v6mr482641pli.316.1530083094687; Wed, 27 Jun 2018 00:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530083094; cv=none; d=google.com; s=arc-20160816; b=zY+CWWZXnwOBa6Unhg1hEFBUd9kbAgCeeZc46++hazQxs8T+u3GjEl5s+BXEQCANaN 4Boj/naPnYH9QKQdtmloyTRTZ5U5bNrO3CNHmI73WsbiWCSdKobZEEYX835V6POSSSqZ 6JNk45Bl5wlYEu73rW0lIIR6BETesVh3P30O+VCn7FgO3XNvAqEd10vDdhqvqbB4EacZ 0Q8AM4OFDJefGLjQP72e5jFfb3rNzm75GuA+j7ceqgFy+bdHww5SuX4G/YBhr8/7fsY9 /xLEHjeycqz+k9QR5MyLIiurT3Z+E9nR578i/XZTtwXEMXCgYLM/wXKNT0uxJ2Fn3vfJ y+GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=V7A+6hcHId8jc95xk5H5LujHeNIVYGJI/Ml972uJLL0=; b=zL3JKnmEy8X5/sPH03L1R/bzIGvbiv/Kl3oTs0XGYzPuBHPvzpCKy5u0zFOAsjkfFE pJwKd2IfQmaC9gH4KSOvEITJ1eyZj8uAW/sEOY7kqTFaj1VY14vkeShoXdl9a1Ov4/Pl DVdyi/X57DMw0zjm3tWI7Ube25h0kikc1Ua56t0cdpdXFR98T3IvIuQo/wcish9sNRNp iCiyYErgdfsxDi34N1Hu3Az5z2TnsVzkwyfquk0ceg5n1xA7dq5Y2Odurv5vIVyks9l7 TKqo6PnVRdYLeUYYjn1Rd3BjnrIhNV6SPx3/ny8dvP8wbKVUhALK/dbkU/bQkAptnk52 8bFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NeZLDrfe; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id t128-v6si2810300pgt.598.2018.06.27.00.04.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 00:04:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=NeZLDrfe; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 53A47202E5403; Wed, 27 Jun 2018 00:04:54 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::244; helo=mail-pl0-x244.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (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 719EE202E53E5 for ; Wed, 27 Jun 2018 00:04:53 -0700 (PDT) Received: by mail-pl0-x244.google.com with SMTP id bi1-v6so601299plb.12 for ; Wed, 27 Jun 2018 00:04:53 -0700 (PDT) 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=Mlfumr3jZt2RttbjoqWZt9kscP8aJlugqY5OjZJpCL8=; b=NeZLDrfeSbi9KsaUejF7L4yU9V0r1OOCuGHcFRcwywgKZZoxnGThH62dYC8cSMTZZr /NCCfVg8k7Xy2lUYiQ2kQ5KAS5X1ZljkC2Ep3GuIR2aOZuOoZ2lTxgRofTwjsxZGHeBd ZlIeO106D/UYGaDNY+oTCY9LxEGliZ9J5hzZk= 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=Mlfumr3jZt2RttbjoqWZt9kscP8aJlugqY5OjZJpCL8=; b=cnPSpNtiFkMZjeiUWmOBxMYLYCo/E7eDgn+On3i5uFuCzSy5a4Gu8qNfSYbRu5IxWz musFIFLUeL9ive712UWne7gRnOKwb+rce6fgDKd2TdxvqYJ7/ajFgWfMNJpae7Ql0GcA RjAIr5q3k4zYjVTiKCLH2dbSguqWQcck4thfU6NeJpI0fvW3JRWOXY9j6gHuIiDc0JK3 M0/jnGrIoEe4ZLPfa20zXlUh7YlOPvUVpIdm8Uvg05vVudgE7Hp365Oz7V5PbaUBNbKn 9Nf0KI9Tr7LfAHgJQMs/LR9mcmkRJaRb5ijLc07GMgd3Sornj+F4L50KbB2tpjyWX6d7 zcMg== X-Gm-Message-State: APt69E2gICRuX6FetSYHOTDoun0ss/cdeL4WD+tVTt578JlBIA76dljC q+B0wX7y/53FWqm+Gyyc6LKkVwMbDms= X-Received: by 2002:a17:902:5942:: with SMTP id e2-v6mr4986650plj.64.1530083093191; Wed, 27 Jun 2018 00:04:53 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id q6-v6sm4128833pgc.21.2018.06.27.00.04.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jun 2018 00:04:52 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Wed, 27 Jun 2018 15:04:38 +0800 Message-Id: <20180627070443.42886-2-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180627070443.42886-1-ming.huang@linaro.org> References: <20180627070443.42886-1-ming.huang@linaro.org> Subject: [edk2] [PATCH edk2-platforms v1 1/6] Hisilicon/D0x: Fix invoke SetMemorySpaceAttributes error bug X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: huangming23@huawei.com, john.garry@huawei.com, Ming Huang , zhangjinsong2@huawei.com, huangdaode@hisilicon.com, guoheyi@huawei.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" The edk2 commit bacfd6e let CpuDxe running latter. CpuDxe should run early. CpuDxe is needed by gDS->SetMemorySpaceAttributes, and gDS->SetMemorySpaceAttributes is invoked by several drivers. Add several drives to APRIORI scope for implementing the ordering. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo --- Platform/Hisilicon/D03/D03.fdf | 10 +++++++++- Platform/Hisilicon/D05/D05.fdf | 6 +++++- 2 files changed, 14 insertions(+), 2 deletions(-) -- 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/Hisilicon/D03/D03.fdf b/Platform/Hisilicon/D03/D03.fdf index 1383aa1091..027b53a6cf 100644 --- a/Platform/Hisilicon/D03/D03.fdf +++ b/Platform/Hisilicon/D03/D03.fdf @@ -146,6 +146,14 @@ READ_STATUS = TRUE READ_LOCK_CAP = TRUE READ_LOCK_STATUS = TRUE + APRIORI DXE { + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf + INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf + INF Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf + INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf + } + INF MdeModulePkg/Core/Dxe/DxeMain.inf INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf @@ -153,6 +161,7 @@ READ_LOCK_STATUS = TRUE # # PI DXE Drivers producing Architectural Protocols (EFI Services) # + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -186,7 +195,6 @@ READ_LOCK_STATUS = TRUE # Simple TextIn/TextOut for UEFI Terminal - INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf diff --git a/Platform/Hisilicon/D05/D05.fdf b/Platform/Hisilicon/D05/D05.fdf index 4503776d63..37d9cc0c18 100644 --- a/Platform/Hisilicon/D05/D05.fdf +++ b/Platform/Hisilicon/D05/D05.fdf @@ -148,6 +148,10 @@ READ_LOCK_STATUS = TRUE APRIORI DXE { INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf + INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf + INF Platform/Hisilicon/D05/Drivers/SFC/SfcDxeDriver.inf + INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf } INF MdeModulePkg/Core/Dxe/DxeMain.inf @@ -157,6 +161,7 @@ READ_LOCK_STATUS = TRUE # # PI DXE Drivers producing Architectural Protocols (EFI Services) # + INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -190,7 +195,6 @@ READ_LOCK_STATUS = TRUE # Simple TextIn/TextOut for UEFI Terminal - INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf