Message ID | 1430331729-7367-4-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBB5OCQSVAKGQEQCNOVTY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1C0A92121F for <linaro@patches.linaro.org>; Wed, 29 Apr 2015 18:22:46 +0000 (UTC) Received: by wgin8 with SMTP id n8sf8651976wgi.0 for <linaro@patches.linaro.org>; Wed, 29 Apr 2015 11:22:45 -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=wT5uPBsUgvO8n56XtHjuyc8Mk71zp5AwjprIuBszK0E=; b=MqqSk+TP+0OVtI/lnkQoByAWOzNAyGvQMDvmcoVomrehdOqtCHJJT02XkAOcPRhxvK rWldK93/rNyVO8nVUbfax06Qk29wqB3bjpqj+aIH35ov+mMpBDuI58j7LKlJiGQmSqJ7 lu2sBmYOUmv1yshG1jyf42PEREOWCVJ0N3h1TYvxWzoHQUCxAORKqgwEWZZXkB7rpzGy QZHZIr3fQEp87Zq1QeW2bsKjLXjzCTBUjlvLmnIfRF8FHedriBPo8y93lCKaIY7oVe3b vM/G0x77GZRJPU6I+2vxh2AAAnpL1txtjISM4rK0mRVfd3O94uKqagefCX3KlQAEuRri 5/uw== X-Gm-Message-State: ALoCoQlTBtn99+XonRsd1YLQMZ7urd7N7hxxz2twk2kgCra3w5QqszBOFNwcejIscRATYyrQOn3O X-Received: by 10.152.4.194 with SMTP id m2mr233915lam.1.1430331765351; Wed, 29 Apr 2015 11:22:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.41 with SMTP id t9ls271837lal.82.gmail; Wed, 29 Apr 2015 11:22:45 -0700 (PDT) X-Received: by 10.152.116.102 with SMTP id jv6mr353138lab.50.1430331765077; Wed, 29 Apr 2015 11:22:45 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id x9si7846680lal.18.2015.04.29.11.22.45 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 11:22:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lagv1 with SMTP id v1so26622462lag.3 for <patchwork-forward@linaro.org>; Wed, 29 Apr 2015 11:22:45 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr303002lac.41.1430331764943; Wed, 29 Apr 2015 11:22:44 -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.67.65 with SMTP id l1csp2669648lbt; Wed, 29 Apr 2015 11:22:44 -0700 (PDT) X-Received: by 10.50.122.39 with SMTP id lp7mr29107397igb.24.1430331759649; Wed, 29 Apr 2015 11:22:39 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id d8si165378icp.46.2015.04.29.11.22.38 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Apr 2015 11:22:39 -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-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <edk2-devel-bounces@lists.sourceforge.net>) id 1YnWcx-0003ms-GT; Wed, 29 Apr 2015 18:22:31 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <ard.biesheuvel@linaro.org>) id 1YnWcw-0003me-2C for edk2-devel@lists.sourceforge.net; Wed, 29 Apr 2015 18:22:30 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.212.176 as permitted sender) client-ip=209.85.212.176; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wi0-f176.google.com; Received: from mail-wi0-f176.google.com ([209.85.212.176]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YnWcv-0001QK-Aq for edk2-devel@lists.sourceforge.net; Wed, 29 Apr 2015 18:22:30 +0000 Received: by wicmx19 with SMTP id mx19so137260884wic.1 for <edk2-devel@lists.sourceforge.net>; Wed, 29 Apr 2015 11:22:23 -0700 (PDT) X-Received: by 10.180.92.198 with SMTP id co6mr11161925wib.34.1430331743353; Wed, 29 Apr 2015 11:22:23 -0700 (PDT) Received: from ards-macbook-pro.local (cag06-7-83-153-85-71.fbx.proxad.net. [83.153.85.71]) by mx.google.com with ESMTPSA id k2sm301924wix.4.2015.04.29.11.22.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Apr 2015 11:22:22 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: edk2-devel@lists.sourceforge.net, lersek@redhat.com, leif.lindholm@linaro.org, roy.franz@linaro.org, geoff@infradead.org, olivier.martin@arm.com Date: Wed, 29 Apr 2015 20:22:09 +0200 Message-Id: <1430331729-7367-4-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430331729-7367-1-git-send-email-ard.biesheuvel@linaro.org> References: <1430331729-7367-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: 1YnWcv-0001QK-Aq Subject: [edk2] [PATCH 3/3] ArmVExpressPkg: disallow the use of ArmVExpressSysConfigLib at runtime X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/edk2-devel>, <mailto:edk2-devel-request@lists.sourceforge.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.53 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 |
diff --git a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf index c1647756efbe..78d47f0b2ccb 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf +++ b/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf @@ -20,7 +20,7 @@ FILE_GUID = a05b5cc0-82d2-11e0-82cb-0002a5d5c51b MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = ArmPlatformSysConfigLib + LIBRARY_CLASS = ArmPlatformSysConfigLib|BASE SEC DXE_CORE DXE_DRIVER [Sources.common] ArmVExpressSysConfig.c
The ArmVExpressSysConfigLib library does not (and cannot) runtime remap its MMIO registers, so we should prevent it from being used by runtime drivers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- .../Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)