From patchwork Mon Jul 6 18:26:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 50773 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ABEED218EA for ; Mon, 6 Jul 2015 18:26:59 +0000 (UTC) Received: by lagc2 with SMTP id c2sf5333284lag.0 for ; Mon, 06 Jul 2015 11:26:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=ogbO11KpCnKtry+BY2t+pd7Xxaw3Zzxp8OFEfpMMSjY=; b=CzwesBwvyOTd9qNcumbooERN5P7eQWp8+EDHOhlegwXvibL2GRIXRarEbDWhkL1I6k Hi477fk/UYxmhI74EEQuWtrXyDEMWcK+5PxAoZVfSLHmBVUlKT5KG7/bWXmi7HzT6RfX opLdlGrEEJx1Haqd6GW+Xy+87/djpk/n5XvE4hpd1tCHY9Q0yOS3Nu0rBHLw2Gybk3CD 5FW6kZeEzVWp8Y2sQOS5bq0QFWl11vS9dNKNeoMAREkqQQDR/uGdfZAF/lHQOq69EBWH s4pOdDPMNQTpw0LpOo7kcW4CKVNWvm1SLt3cSo+pt2iUlnPbDYDpSesYVtgXS8LmEG99 xD1A== X-Gm-Message-State: ALoCoQlnh5eZNSepT3f+vMVCvzzVG4ofmBbdHsyBSQg/h9k7RW/v/VDJAP4FGQfPWIfdpYymopsD X-Received: by 10.112.118.194 with SMTP id ko2mr110931lbb.16.1436207218780; Mon, 06 Jul 2015 11:26:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.136 with SMTP id kq8ls782174lac.32.gmail; Mon, 06 Jul 2015 11:26:58 -0700 (PDT) X-Received: by 10.152.21.65 with SMTP id t1mr216431lae.26.1436207218378; Mon, 06 Jul 2015 11:26:58 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id jx2si15897561lbc.124.2015.07.06.11.26.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 11:26:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lagx9 with SMTP id x9so166086089lag.1 for ; Mon, 06 Jul 2015 11:26:58 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr209244laj.88.1436207218250; Mon, 06 Jul 2015 11:26:58 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1891621lbb; Mon, 6 Jul 2015 11:26:57 -0700 (PDT) X-Received: by 10.107.46.2 with SMTP id i2mr388376ioo.18.1436207216675; Mon, 06 Jul 2015 11:26:56 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id z8si17889537ick.41.2015.07.06.11.26.54 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Jul 2015 11:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZCB6J-0003pF-D1; Mon, 06 Jul 2015 18:26:43 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1ZCB6H-0003p1-VB for edk2-devel@lists.sourceforge.net; Mon, 06 Jul 2015 18:26:41 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.212.179 as permitted sender) client-ip=209.85.212.179; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wi0-f179.google.com; Received: from mail-wi0-f179.google.com ([209.85.212.179]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZCB6H-0003qx-4k for edk2-devel@lists.sourceforge.net; Mon, 06 Jul 2015 18:26:41 +0000 Received: by wifm2 with SMTP id m2so37811619wif.1 for ; Mon, 06 Jul 2015 11:26:35 -0700 (PDT) X-Received: by 10.194.60.81 with SMTP id f17mr462637wjr.62.1436207195077; Mon, 06 Jul 2015 11:26:35 -0700 (PDT) Received: from ards-macbook-pro.arnhem.chello.nl (dhcp-077-250-063-167.chello.nl. [77.250.63.167]) by mx.google.com with ESMTPSA id fi6sm29908128wib.6.2015.07.06.11.26.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 11:26:34 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.sourceforge.net, ryan.harkin@linaro.org, olivier.martin@arm.com, leif.lindholm@linaro.org Date: Mon, 6 Jul 2015 20:26:25 +0200 Message-Id: <1436207186-15424-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436207186-15424-1-git-send-email-ard.biesheuvel@linaro.org> References: <1436207186-15424-1-git-send-email-ard.biesheuvel@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1ZCB6H-0003qx-4k Subject: [edk2] [PATCH 2/3] ArmVExpressPkg: use ArmVExpressSysConfigRuntimeLib by default X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Instead of using a NULL implementation of ArmPlatformSysConfigLib for DXE_RUNTIME_DRIVER modules, which prevents them from accessing system control registers even at boot time, use the new implementation that only switches into a non-functional mode at runtime, and operates as before otherwise. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index 1ca9b2de6550..706861d5e2ec 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -221,7 +221,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf - ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf + ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf # # PSCI support in EL3 may not be available if we are not running under a PSCI