Message ID | 1413821951-29461-2-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBBEHMSSRAKGQE6XYRUPI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1392B203C5 for <linaro@patches.linaro.org>; Mon, 20 Oct 2014 16:19:29 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id h11sf2862162wiw.7 for <linaro@patches.linaro.org>; Mon, 20 Oct 2014 09:19:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=wqywDxcn9p856iwlVecYGyalBs9+GX0Gbav3VWEk188=; b=LuSkn5E6NPQHl1BWtVyl2rwgFjueD0NcelmutB7lTgvEVi2f8eEjGpl01QrFtXNQG2 53U5DovnfB7bjepZzbDHMt3sSZpn3+M+WyLZCk4OYPqyQ93/ShpjxaTPkAyaW8rgcpRd fdgRR9wSsb46BT5O1GU1I7VId5Fe2/4iuJSok9i8Pusra75tLA65Q9sZYZtn7gd6Nmt2 eezNdKRr937licqqsG/FnVdC9kk3AGfGbOlaXX4IGPNzRqFCu3gc/GWykE7937bKmZVE rxrpFMsw/HntQVMu61Pur6gCk6Xl7r3myXSwYdYdLiBIWtDQpn2agZtpJd3jhSrTnz1L IbhQ== X-Gm-Message-State: ALoCoQlIW5/aJ+wFxjF/E6riWJxJsk9ZeoWjQ865BNR5I4fevprVpVY5LDb1IWhnpdMijOgxiie2 X-Received: by 10.180.105.74 with SMTP id gk10mr3421148wib.0.1413821968885; Mon, 20 Oct 2014 09:19:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.170 with SMTP id l10ls404830lah.18.gmail; Mon, 20 Oct 2014 09:19:28 -0700 (PDT) X-Received: by 10.152.23.3 with SMTP id i3mr4280111laf.53.1413821968725; Mon, 20 Oct 2014 09:19:28 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id y9si15093080lbr.1.2014.10.20.09.19.28 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 09:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id n15so4218496lbi.11 for <patchwork-forward@linaro.org>; Mon, 20 Oct 2014 09:19:25 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr28583205lad.29.1413821965652; Mon, 20 Oct 2014 09:19:25 -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.84.229 with SMTP id c5csp337982lbz; Mon, 20 Oct 2014 09:19:24 -0700 (PDT) X-Received: by 10.70.15.228 with SMTP id a4mr28782959pdd.77.1413821963712; Mon, 20 Oct 2014 09:19:23 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fo9si8287845pdb.175.2014.10.20.09.19.23 for <multiple recipients>; Mon, 20 Oct 2014 09:19:23 -0700 (PDT) Received-SPF: none (google.com: stable-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751992AbaJTQTW (ORCPT <rfc822;patch@linaro.org> + 1 other); Mon, 20 Oct 2014 12:19:22 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:43326 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751972AbaJTQTV (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 20 Oct 2014 12:19:21 -0400 Received: by mail-wi0-f176.google.com with SMTP id hi2so7637324wib.3 for <stable@vger.kernel.org>; Mon, 20 Oct 2014 09:19:20 -0700 (PDT) X-Received: by 10.180.205.171 with SMTP id lh11mr21713487wic.66.1413821960144; Mon, 20 Oct 2014 09:19:20 -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 l5sm10145027wif.3.2014.10.20.09.19.18 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 09:19:19 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: leif.lindholm@linaro.org, roy.franz@linaro.org, linaro-uefi@lists.linaro.org Cc: Semen Protsenko <semen.protsenko@linaro.org>, <stable@vger.kernel.org>, Matt Fleming <matt.fleming@intel.com> Subject: [PATCH 01/11] efi/arm64: Store Runtime Services revision Date: Mon, 20 Oct 2014 18:19:03 +0200 Message-Id: <1413821951-29461-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1413821951-29461-1-git-send-email-ard.biesheuvel@linaro.org> References: <1413821951-29461-1-git-send-email-ard.biesheuvel@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: stable@vger.kernel.org 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.217.180 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 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-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c index 865fdf5c7344..219a59f2ae97 100644 --- a/arch/arm64/kernel/efi.c +++ b/arch/arm64/kernel/efi.c @@ -455,6 +455,8 @@ static int __init arm64_enter_virtual_mode(void) efi_native_runtime_setup(); set_bit(EFI_RUNTIME_SERVICES, &efi.flags); + efi.runtime_version = efi.systab->hdr.revision; + return 0; err_unmap: