From patchwork Fri Jul 13 08:15:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Huang X-Patchwork-Id: 141853 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp511361ljj; Fri, 13 Jul 2018 01:15:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcvzUqT+hawbw3Cpnsg3RR3A+RvCuNiLhjeHIt/bed1acQWjQqegitdoqE0nrCoa/8gpII1 X-Received: by 2002:a65:6110:: with SMTP id z16-v6mr5228892pgu.412.1531469753137; Fri, 13 Jul 2018 01:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531469753; cv=none; d=google.com; s=arc-20160816; b=OAdBWTuU5u72JjGuAmCBGrvJ6ZqGfH0DN+EzEbTX1RFw9JOTRfkdyKc+cdTNV1BeI0 zsSmdg/YejUATaJQtwMgKGC3/Too2Mj5N09zyhi0W0ARpNJ7Axwah4cYUF01WtvxtK2w Qnq+9K49FKMH/MrDBOXQZvtSxDNuQPj3p+OhYSPwOIJ8gaFKxf/RPN2lYgp1wdBz9zCy OsjYuDNDg6XrhvGT9CCXU8cemmeJ0Kf0hUh20gdzb6p1a5A0xden/pl5LwCm/doBSbeN 6aaq2VpAf8tKaebYI9zmPSSllyPfXWt8ntDt17rsHQ21tMo4Ex2W41B4SIMBuvaw8P3R QaSw== 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=4V/UXgKjTmeGjSxFGR54TUQYKHadcS1MLCioGGCTqKE=; b=u8VMH2tHj4AdTYTOAJhEv72Jd9dfoJ7cuPuBWqdw5XR5swJrk9fN2SFBBg+6FxZFFk NH0cu2SpUfItAJ7Hp7U4TL9eoepKvi+GqNvcUNptpUpDWSeovLMqT+F3cUaIK4K5fFDW cOEr0Rgdm2kWNqt4lBABPR8+uJnH2gD71lOynTyo3RuV/fKLiM2GSaHqqWWWjBwWDLUt MrtSAQ+LHEcYZhpPtpgbO1L8PdNnhKrVZ6zyMSIBrJLehFURrd+oJILOxF0FVIriegHf c1sT6LlGEM2Y4vAxwLar0Tb+nXtLC/Se6V7IlEPHGqREegI5D26uYA8KKIH0C8N0pMmi miXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Q9BotF7D; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id 3-v6si23060275plc.415.2018.07.13.01.15.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 01:15:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Q9BotF7D; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 C2E7320986AA2; Fri, 13 Jul 2018 01:15:52 -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: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-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 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: [edk2] [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: , Cc: huangming23@huawei.com, john.garry@huawei.com, 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 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(+) -- 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/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