From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::241; helo=mail-pf0-x241.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (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 69F2120985997 for ; Fri, 13 Jul 2018 01:15:51 -0700 (PDT) Received: by mail-pf0-x241.google.com with SMTP id i26-v6so10803931pfo.12 for ; Fri, 13 Jul 2018 01:15:51 -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=lO0o17UU6tLjZ5kJmP8rZrlzcGusHssMHmj+tepitPE=; b=Q9BotF7DR5u+jXlAHdmYfL7FWnaIsQ1JmxH7A7BogsQNxE8Przk4ENllFoHICdYEiQ vWB6DIIrMRF+qcexq6W8mxUn+//l089buWeq5eaNCp0k9dK1m54GP3RKy0tH7CIuDFjc c/dXAJE6y5OD1tMayrDuZK3X0q7w4cRsgdECM= 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=lO0o17UU6tLjZ5kJmP8rZrlzcGusHssMHmj+tepitPE=; b=pfBm9aR71cAQenRgMteA1JuiBu1l+epdxcgcXH2sdIibgTU1EOq2SlVzQizDMmikJ7 PzQjLmbqi8OmKvZBNy/TgZ2VUbWAtjV5qj5m7RnzL4VFKTZ2f3XSXtm8tgLK8UMkz2WV Pn9ta7cI7JQD+tD3HmTrDt7GXvJzQGIzYNtlfXUqMH04+nZm9Me2aTsrW92DWsvXibkD gM/mWAss0YNcM0QuSezrcqhnJ/6S4qkK3vJavPQfEozr8Q2qqzglmiKNAtUTYF5is8q2 aF8JUSrdmQ/t+aPKJPtVhiL0NBGYBBvTDY7Q8wWiE1UpCGiTET55NNP14wuusSV05DFB zKnQ== X-Gm-Message-State: AOUpUlHAp0py3p9JwBMGJIQ+CUo3XcDqYDTyNWSTwDup5BQa0Xl5YvtU VaQKD+PlCmXrmndAxCQcBDHVbQ== X-Google-Smtp-Source: AAOMgpceAIE5fcxY4RAcNa+6be5VPbZWK0V3qm1XkQICbj7cXOpwEK849b3rXnERks1vQ5kaWirGQg== X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr6018997pfd.181.1531469751056; Fri, 13 Jul 2018 01:15:51 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id e7-v6sm24400196pgc.55.2018.07.13.01.15.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jul 2018 01:15:50 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Cc: ard.biesheuvel@linaro.org, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, Ming Huang , Heyi Guo Date: Fri, 13 Jul 2018 16:15:35 +0800 Message-Id: <20180713081540.8414-2-ming.huang@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180713081540.8414-1-ming.huang@linaro.org> References: <20180713081540.8414-1-ming.huang@linaro.org> Subject: [PATCH edk2-platforms v3 1/6] Hisilicon/D0x: Fix invoke SetMemorySpaceAttributes error bug X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2018 08:15:51 -0000 The edk2 commit bacfd6e let CpuDxe running latter. CpuDxe is needed by gDS->SetMemorySpaceAttributes, and gDS->SetMemorySpaceAttributes is invoked by some drivers. This issue can solve by adding Depex on gEfiCpuArchProtocolGuid to RealTimeClockLib. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang Signed-off-by: Heyi Guo --- Platform/Hisilicon/D03/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Platform/Hisilicon/D03/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf b/Platform/Hisilicon/D03/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf index 319c35c724..ae7116dc31 100644 --- a/Platform/Hisilicon/D03/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf +++ b/Platform/Hisilicon/D03/Library/DS3231RealTimeClockLib/DS3231RealTimeClockLib.inf @@ -46,3 +46,5 @@ [Pcd] +[Depex] + gEfiCpuArchProtocolGuid -- 2.17.0