Message ID | 1416315432-8534-14-git-send-email-ard.biesheuvel@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDYNJBOFRECBB2UGVWRQKGQEHICTUPY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B0465241C9 for <linaro@patches.linaro.org>; Tue, 18 Nov 2014 13:02:35 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id t10sf3114790eei.8 for <linaro@patches.linaro.org>; Tue, 18 Nov 2014 05:02:34 -0800 (PST) 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:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=1/mvHg1Xw1tsd1qwVsF4Lo9pbPj9uCge+jUlwDW2h8U=; b=MvRkOyqPJu4uGugKR1QmzJz/AIgFl8mtpx6ACnFXb4a/rO+vl0410kl12m5paD9MnU gonpljGZLD4gsRNa9DKLVZKdhuZtUBg+/OjG3uIuX+6halW7eHMXuUT3VfnsKJ6+sRK5 DPekKTxsRLO28jQ/vTNnHS5mWNRVZ7rg3az+BtC5SMzbEZqoav0wkvokCH3kmjig9Pue B2xAy6XQ3q0Kt/PfZm4Y2Xzbs1SkkX3Fu5seQGFK4BTPLPgey0xv0arqbuGPao38zTVB C9zQzedXtnN1Cl3SCqZzIiTJWLt0G2hlhCSaAjLf+XEm24DLKxrLg3iFqa5BGI43Wemp o++w== X-Gm-Message-State: ALoCoQkiMFveWyzL5T3btmA5UDvwz+7Cbo3R8TiZZNTXVnQNP4oPX3CXxA1GEHXtmN/+ph73wNcl X-Received: by 10.180.19.42 with SMTP id b10mr389504wie.0.1416315754912; Tue, 18 Nov 2014 05:02:34 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.51 with SMTP id t19ls876514lal.16.gmail; Tue, 18 Nov 2014 05:02:34 -0800 (PST) X-Received: by 10.112.150.102 with SMTP id uh6mr36796441lbb.50.1416315754530; Tue, 18 Nov 2014 05:02:34 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id nz8si10307642lbb.12.2014.11.18.05.02.34 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Nov 2014 05:02:34 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id pv20so1292765lab.23 for <patchwork-forward@linaro.org>; Tue, 18 Nov 2014 05:02:34 -0800 (PST) X-Received: by 10.152.116.102 with SMTP id jv6mr22450654lab.40.1416315754440; Tue, 18 Nov 2014 05:02:34 -0800 (PST) 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.184.201 with SMTP id ew9csp1323309lbc; Tue, 18 Nov 2014 05:02:33 -0800 (PST) X-Received: by 10.70.43.41 with SMTP id t9mr37415468pdl.26.1416315752809; Tue, 18 Nov 2014 05:02:32 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id pg9si35720581pdb.83.2014.11.18.05.02.32 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 05:02:32 -0800 (PST) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XqiOf-0005e3-Lt; Tue, 18 Nov 2014 13:00:41 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XqiM7-0002iD-Nx for linux-arm-kernel@bombadil.infradead.org; Tue, 18 Nov 2014 12:58:03 +0000 Received: from mail-wg0-f43.google.com ([74.125.82.43]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XqiM5-00049T-8Z for linux-arm-kernel@lists.infradead.org; Tue, 18 Nov 2014 12:58:01 +0000 Received: by mail-wg0-f43.google.com with SMTP id l18so6185918wgh.16 for <linux-arm-kernel@lists.infradead.org>; Tue, 18 Nov 2014 04:57:39 -0800 (PST) X-Received: by 10.180.84.167 with SMTP id a7mr39495783wiz.39.1416315459140; Tue, 18 Nov 2014 04:57:39 -0800 (PST) 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 cz3sm55726799wjb.23.2014.11.18.04.57.37 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Nov 2014 04:57:38 -0800 (PST) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: leif.lindholm@linaro.org, roy.franz@linaro.org, linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, msalter@redhat.com, dyoung@redhat.com, linux-efi@vger.kernel.org, matt.fleming@intel.com, will.deacon@arm.com, catalin.marinas@arm.com, grant.likely@linaro.org, geoff.levand@linaro.org Subject: [PATCH v3 13/13] arm64/efi: set EFI_ALLOC_ALIGN to 64 KB Date: Tue, 18 Nov 2014 13:57:12 +0100 Message-Id: <1416315432-8534-14-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1416315432-8534-1-git-send-email-ard.biesheuvel@linaro.org> References: <1416315432-8534-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141118_125801_305326_84BBD350 X-CRM114-Status: GOOD ( 10.09 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on casper.infradead.org summary: Content analysis details: (-2.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.43 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.43 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list 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: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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.215.50 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm64/include/asm/efi.h b/arch/arm64/include/asm/efi.h index 5420ad5a4c63..18d4a764d630 100644 --- a/arch/arm64/include/asm/efi.h +++ b/arch/arm64/include/asm/efi.h @@ -48,6 +48,8 @@ extern void efi_init(void); #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__) +#define EFI_ALLOC_ALIGN SZ_64K + void efi_set_pgd(struct mm_struct *mm); #endif /* _ASM_EFI_H */
Set EFI_ALLOC_ALIGN to 64 KB so that all allocations done by the stub are naturally compatible with a 64 KB granule kernel. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- arch/arm64/include/asm/efi.h | 2 ++ 1 file changed, 2 insertions(+)