From patchwork Fri Apr 27 11:37:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 134579 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp608114lji; Fri, 27 Apr 2018 04:38:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrVxSQa2CWUPuKOStJIa9ipmP8fimJYPKnASHR4kzp4qur/WxjXRcxjooim0Yb62TDFjpX/ X-Received: by 2002:a17:902:22a:: with SMTP id 39-v6mr2037665plc.128.1524829087545; Fri, 27 Apr 2018 04:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524829087; cv=none; d=google.com; s=arc-20160816; b=xH211BtX1HKm9G4UAEkYfodo/5buuvBliECSKpWY3ajLR972TYaykYVmerdecodm1G PM/+TPEjbdKjm5/NV/LI72sIlKfOAcuS/A+/7eSqnsAHPWf0J/4Xsxdgtdcb87rcngiw ceC687EJjCY8YUrvnnQXXMt57codlB3INqkOehim04jVnFcCJVOQKoFwLVtQq2xpGI3p 0HCU0utUocutyr9OE+QVk7lM/aOL8tUORncvDUbNHBtLaz0NWt+QeYI+Wlf7tHub4E6V sK2maJhN9q9viO3WfUh63belpaxyix6+voQ4PTDBR9yrEfvMagDcovwIYq1Ly4FxQZGq hQqw== 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=aaDkstx0gM9tOL7UiJg0LBnfwJGwofWsZa+MqJY38mA=; b=Pt2LbJCgmxWMiaj18Qxuc69W1xIuMC3zeCXsTdUH0KRo7mTa6+tzvSIr+w3Rs9MjFt mEtvgbc7liJa287wl2EkuIIORaUm3kaGRogZu1ODf16QmT2/NDBdV6fypkAedIw9eB1l xfvVCXdGRC4+iytdYlsIYpwPovlrQcd6v1gc3LDIhiy/uXwnaT1WvO62i/AQjeOOdhNz DVkWO7eCBqYqT6ITGByW6lRFCQ4GgQP3Msjz4DW27YxHcM8TMf29n+ceQygiZ9AgbHjI 3gkNPTP162RgWU54GS+gKcFu0jOnKxKzK3UTvx5a4FlPPCM4vPonpnyC0hAwOZY8TGap Jq2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=BCDpHzB5; 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 l67si1132154pfg.326.2018.04.27.04.38.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 04:38:07 -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=BCDpHzB5; 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 2C9F8203B8C8F; Fri, 27 Apr 2018 04:38:02 -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=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 C4186203B8C8A for ; Fri, 27 Apr 2018 04:38:00 -0700 (PDT) Received: by mail-wm0-x242.google.com with SMTP id t11so2135631wmt.0 for ; Fri, 27 Apr 2018 04:38:00 -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=cN4zl5bbvDI3gTfqRqjUGQwqEF2vbJcFHvYOv6XOus8=; b=BCDpHzB58UCFC2gR38nUt0EGUdoJNgT0xlP4ncJ6BInmdORUOSqxlmTX34eV9CqU0i gKaib6nXlvh0GAUcX3ohe3nbAXyhKhWNQDwhdsjzh4TzkQvPtoT49XFRlA8mNDY5o/Js L/M/fKafDI1ak/icBGwvheBHvld64r7jgK3nE= 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=cN4zl5bbvDI3gTfqRqjUGQwqEF2vbJcFHvYOv6XOus8=; b=Cu5mIkgWdjKdoTyI14mMfxEaDa7Zi7ZN4bNTylZRRgHJorOmEPInWirjw6MgdwYloo gmWeBB/oCZ5rhYcAiWBsLY3BlL08xJYJBKMYeWDRh4jTCA8tUd2+dbJBEl3AlPX28u9y XK88Q6yUk3P8OYKPU8MsHbpUbAnCu137okPZBl8/GRdGU81RglAtQ9SkOB18Q5/UdMdh OThse+3Pd48XyOEoCVMQT/8XmAOf2WIQJKVp1430n0ilsjD2S2hFoDu7B/wgB5gXXZub 0gPWd3ZJ/BI4gS0OnNVkKoIAUEKorGvdhJ3mtO8qoALzFY0wgCR+LYDOlppZHo1558Kp K88w== X-Gm-Message-State: ALQs6tAvOyGosyz3NP2Cebr+Z8vKJ6lFFt6GYSlC8tXPbv2y+VT/X4XS LDQkcmNhUAhlO6y2N/1fF2OPT7PJovg= X-Received: by 10.28.133.12 with SMTP id h12mr1311703wmd.136.1524829079060; Fri, 27 Apr 2018 04:37:59 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:3995:5470:200:1aff:fe1b:b328]) by smtp.gmail.com with ESMTPSA id k82sm869167wmf.17.2018.04.27.04.37.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Apr 2018 04:37:58 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 27 Apr 2018 13:37:47 +0200 Message-Id: <20180427113748.21663-5-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180427113748.21663-1-ard.biesheuvel@linaro.org> References: <20180427113748.21663-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 4/5] Silicon/SynQuacer/PlatformDxe: depex on gEfiVariableArchProtocolGuid 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: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" SynQuacer's PlatformDxe uses HII style dynamic PCDs, and so it implicitly depends on the PI variable protocol. This dependency is not made explicit due to the fact that it is platform dependent whether a certain variable is backed by such a dynamic PCD. So add gEfiVariableArchProtocolGuid to PlatformDxe's DEPEX to ensure that it does not attempt to refer to HII style dynamic PCDs before the driver that produces them has been dispatched. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Please refer to this discussion for more details: https://lists.01.org/pipermail/edk2-devel/2018-April/023700.html Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf index 8df3073bf24b..5fa2b7f6071d 100644 --- a/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf +++ b/Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf @@ -84,4 +84,4 @@ [Pcd] gSynQuacerTokenSpaceGuid.PcdPlatformSettings [Depex] - TRUE + gEfiVariableArchProtocolGuid