Message ID | 1436207186-15424-4-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBB4EQ5OWAKGQEBZNLZSQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 15ACF22A0A for <linaro@patches.linaro.org>; Mon, 6 Jul 2015 18:26:57 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf53016475wgf.1 for <linaro@patches.linaro.org>; Mon, 06 Jul 2015 11:26:56 -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=jfcwYCNo3K+C9WAJn/LYupotfEbivgBFXQhFT/CDUE0=; b=Wqkb2BeKs1YA7kGayGs/ccEasa6EdUlApIZ0oOrW0iEbounls3tdMzZ7zXJrmaROt/ Q9997k4PL1+Ne6qrwNAz08UwaQW6JOsu3VaJcyWGcxY/sjPKsoHQqp8Hoo4+sbeD6pj1 ULCnhG2xFEt+bQ/XbR58OekRNvLnYSBLi+7uE9IkeeGf0iAA0XdGERHZxyQ1JyUd/eXn HEYkYiWeLGh6T+LndbWBrWYt2Z4CLo465706u81jirWNxrW3EPgQXMVXYSs9SzL7ERo5 5VsxI5h0qa4r5DRZCfdaqAxkKQ7g1S7ztv/a6gYioAY/91WhLBVXPYZK+PUMrgyqMcXT GgLQ== X-Gm-Message-State: ALoCoQl+2k3diaZ3st0xPd/ZVnu5h4ax4/yuiCvTFN6sI0hP94tuRmcj9bMw549tAN+QHWRqG66J X-Received: by 10.112.14.101 with SMTP id o5mr97169lbc.3.1436207216274; Mon, 06 Jul 2015 11:26:56 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.102 with SMTP id lb6ls797280lab.49.gmail; Mon, 06 Jul 2015 11:26:56 -0700 (PDT) X-Received: by 10.152.37.136 with SMTP id y8mr187638laj.21.1436207216127; Mon, 06 Jul 2015 11:26:56 -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 y5si15886123lay.123.2015.07.06.11.26.56 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 11:26:56 -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 labgy5 with SMTP id gy5so13621361lab.2 for <patchwork-forward@linaro.org>; Mon, 06 Jul 2015 11:26:56 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr177847lac.41.1436207215861; Mon, 06 Jul 2015 11:26:55 -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 hn6csp1891600lbb; Mon, 6 Jul 2015 11:26:54 -0700 (PDT) X-Received: by 10.107.132.211 with SMTP id o80mr385106ioi.52.1436207213765; Mon, 06 Jul 2015 11:26:53 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id h9si17532661ioh.8.2015.07.06.11.26.53 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Jul 2015 11:26:53 -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-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <edk2-devel-bounces@lists.sourceforge.net>) id 1ZCB6K-0007Y7-Hj; Mon, 06 Jul 2015 18:26:44 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from <ard.biesheuvel@linaro.org>) id 1ZCB6I-0007Xx-Vx for edk2-devel@lists.sourceforge.net; Mon, 06 Jul 2015 18:26:42 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.44 as permitted sender) client-ip=74.125.82.44; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wg0-f44.google.com; Received: from mail-wg0-f44.google.com ([74.125.82.44]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1ZCB6I-0005fq-5e for edk2-devel@lists.sourceforge.net; Mon, 06 Jul 2015 18:26:42 +0000 Received: by wgjx7 with SMTP id x7so147581619wgj.2 for <edk2-devel@lists.sourceforge.net>; Mon, 06 Jul 2015 11:26:36 -0700 (PDT) X-Received: by 10.194.85.116 with SMTP id g20mr375608wjz.154.1436207196208; Mon, 06 Jul 2015 11:26:36 -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.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 11:26:35 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> 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:26 +0200 Message-Id: <1436207186-15424-4-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 X-Headers-End: 1ZCB6I-0005fq-5e Subject: [edk2] [PATCH 3/3] ArmVExpressPkg: use PSCI for system reset only on AARCH64 platforms 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.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 |
diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index 706861d5e2ec..d9e06781d2a5 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -223,6 +223,7 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf +[LibraryClasses.AARCH64.DXE_RUNTIME_DRIVER] # # PSCI support in EL3 may not be available if we are not running under a PSCI # compliant secure firmware, but since the default VExpress EfiResetSystemLib
The PSCI specification covers both ARM and AARCH64, however, the ARM Trusted Firmware (ATF) reference implementation is only available for AARCH64, and PSCI firmware is not widely available for ARM platforms. So use the EfiResetSystemLib implementation that uses PSCI calls only on AARCH64, and revert to the Versatile Express-specific system register interface (which is only available during boot time) on ARM platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 1 + 1 file changed, 1 insertion(+)