From patchwork Thu Jan 8 18:48:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 42884 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5950626CD8 for ; Thu, 8 Jan 2015 18:49:24 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf5836414lab.1 for ; Thu, 08 Jan 2015 10:49:23 -0800 (PST) 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=BQhD+cufSYaW82rtuYUGbyDrX3WUj5CO7xjUvRIB4XQ=; b=XSIYdIzJQo9S6wqIfnfIYB0fkItQkWNPFRTVurWJNemuPJ7/Tlw6kHzv73vlyDR41U Ugh2VyZcFg7yv0PF3oTJggFozHHZxxiH5DmI9Mxodyr8Ci/05BBmzi2WpzxKOUamaKnm dzSgCdbwkvR7C2mx29CAqM/lHW2GbRfP2UPbRF3PwRN3lu7UelnUKSTPf3F06THxZveJ sIB/taDnIq5zeT4GqRSepk10zySYl4F5tAbb3mwGaPdIUUHgW0RAWA7b3buxJgwy9Jrc bPx6vx+ycmzKY3mu4m+Fm9oEOzCM0+5AXfaT9HmGSZ/jIiTlKl/g0ea0GkLDZhryYw82 ODrA== X-Gm-Message-State: ALoCoQlREbnyZnpfqy0W4AP7Vh/w77d/E+8oOIcO9fFMuZ4QW2CQOzcbV8/j6RHedfOSKNIap7l/ X-Received: by 10.152.170.201 with SMTP id ao9mr498113lac.5.1420742963181; Thu, 08 Jan 2015 10:49:23 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.132 with SMTP id lc4ls343707lab.1.gmail; Thu, 08 Jan 2015 10:49:22 -0800 (PST) X-Received: by 10.152.238.1 with SMTP id vg1mr16648292lac.83.1420742962926; Thu, 08 Jan 2015 10:49:22 -0800 (PST) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id ds5si10031452lbc.138.2015.01.08.10.49.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Jan 2015 10:49:22 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id u10so4431819lbd.13 for ; Thu, 08 Jan 2015 10:49:22 -0800 (PST) X-Received: by 10.152.234.35 with SMTP id ub3mr16568548lac.70.1420742962778; Thu, 08 Jan 2015 10:49:22 -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.9.200 with SMTP id c8csp89996lbb; Thu, 8 Jan 2015 10:49:21 -0800 (PST) X-Received: by 10.70.88.164 with SMTP id bh4mr17352341pdb.96.1420742960179; Thu, 08 Jan 2015 10:49:20 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ao1si9843602pad.182.2015.01.08.10.49.19; Thu, 08 Jan 2015 10:49:20 -0800 (PST) Received-SPF: none (google.com: linux-kernel-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 S932484AbbAHStQ (ORCPT + 27 others); Thu, 8 Jan 2015 13:49:16 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:40338 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932404AbbAHStN (ORCPT ); Thu, 8 Jan 2015 13:49:13 -0500 Received: by mail-wg0-f43.google.com with SMTP id k14so4228340wgh.2 for ; Thu, 08 Jan 2015 10:49:11 -0800 (PST) X-Received: by 10.194.60.19 with SMTP id d19mr21876587wjr.48.1420742951873; Thu, 08 Jan 2015 10:49:11 -0800 (PST) Received: from ards-macbook-pro.local ([197.131.128.104]) by mx.google.com with ESMTPSA id gf6sm7204081wjc.11.2015.01.08.10.49.08 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Jan 2015 10:49:10 -0800 (PST) From: Ard Biesheuvel To: leif.lindholm@linaro.org, roy.franz@linaro.org, matt.fleming@intel.com, will.deacon@arm.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, bp@alien8.de, msalter@redhat.com, geoff.levand@linaro.org, dyoung@redhat.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org Cc: Ard Biesheuvel Subject: [PATCH v5 5/8] arm64/efi: set EFI_ALLOC_ALIGN to 64 KB Date: Thu, 8 Jan 2015 18:48:31 +0000 Message-Id: <1420742914-2404-6-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1420742914-2404-1-git-send-email-ard.biesheuvel@linaro.org> References: <1420742914-2404-1-git-send-email-ard.biesheuvel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.182 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: , List-Help: , List-Archive: List-Unsubscribe: , Set EFI_ALLOC_ALIGN to 64 KB so that all allocations done by the stub are naturally compatible with a 64 KB granule kernel. Acked-by: Leif Lindholm Signed-off-by: Ard Biesheuvel --- arch/arm64/include/asm/efi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/efi.h b/arch/arm64/include/asm/efi.h index a34fd3b12e2b..71291253114f 100644 --- a/arch/arm64/include/asm/efi.h +++ b/arch/arm64/include/asm/efi.h @@ -44,4 +44,6 @@ extern void efi_idmap_init(void); #define efi_call_early(f, ...) sys_table_arg->boottime->f(__VA_ARGS__) +#define EFI_ALLOC_ALIGN SZ_64K + #endif /* _ASM_EFI_H */