From patchwork Fri Aug 9 23:26:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Franz X-Patchwork-Id: 2842260 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B9A139F294 for ; Fri, 9 Aug 2013 23:31:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E20B420373 for ; Fri, 9 Aug 2013 23:31:44 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ED38120365 for ; Fri, 9 Aug 2013 23:31:43 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7w8K-0002GO-Pt; Fri, 09 Aug 2013 23:30:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7w7L-0003oU-9T; Fri, 09 Aug 2013 23:29:11 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V7w5T-0003an-Ut for linux-arm-kernel@lists.infradead.org; Fri, 09 Aug 2013 23:27:17 +0000 Received: by mail-pa0-f50.google.com with SMTP id fb10so5410532pad.23 for ; Fri, 09 Aug 2013 16:26:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DEGYosQc8P/qujfCS8FC1sMRmeGahkyggIkhnX4EvyE=; b=L4miLwFek8dvvXVg3nTn8EMRweIrsW7y17j4cv+3Z94oGuRc2T6EJyzv7+QUccs+Gd JAlRhdKGP2MEdzomtz5IGBa+cN1wzU6aKfPImVd+gPhXIPgdMz9SZ5S6jOG/4babKuFJ NxetXMlp+r4Re3IWTLlJExsxwSNoRNy8D4aOColIA9HJx/V5jHygI7r3RljwsOAJCK0T +a/4W1/Q+Zdisovi273wbSm3GFP7tAF45P2rwbbnPvf2nOeyTGDeCPU8zGcNNloUl6cp Ljnis2mSrDBg6tV6gtDJPlD5jqkWTPROZgmXnjgEyh1HDmZAV7qbWiF0aDp8jqCV1f/J VrdA== X-Gm-Message-State: ALoCoQlO2I2QX32AusG1DBwP4GMZsEkU2BYwVkgrHFvlQwkFBaJob90ctp2kkOawttFv9VutH5ck X-Received: by 10.66.150.9 with SMTP id ue9mr13825414pab.88.1376090814597; Fri, 09 Aug 2013 16:26:54 -0700 (PDT) Received: from rfranz-i7.local (c-24-10-48-230.hsd1.ca.comcast.net. [24.10.48.230]) by mx.google.com with ESMTPSA id ue9sm24823913pab.7.2013.08.09.16.26.52 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Aug 2013 16:26:53 -0700 (PDT) From: Roy Franz To: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, matt.fleming@intel.com, linux@arm.linux.org.uk Subject: [PATCH 16/16] Add config EFI_STUB for ARM to Kconfig Date: Fri, 9 Aug 2013 16:26:17 -0700 Message-Id: <1376090777-20090-17-git-send-email-roy.franz@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1376090777-20090-1-git-send-email-roy.franz@linaro.org> References: <1376090777-20090-1-git-send-email-roy.franz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130809_192716_629104_71E1946E X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Roy Franz , dave.martin@arm.com, leif.lindholm@linaro.org, msalter@redhat.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Roy Franz --- arch/arm/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 43594d5..8607d03 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1805,6 +1805,17 @@ config UACCESS_WITH_MEMCPY However, if the CPU data cache is using a write-allocate mode, this option is unlikely to provide any performance gain. +config EFI_STUB + bool "EFI stub support" + depends on EFI + ---help--- + This kernel feature allows a zImage to be loaded directly + by EFI firmware without the use of a bootloader. A PE/COFF + header is added to the zImage in a way that makes the binary + both a Linux zImage and an PE/COFF executable that can be + executed directly by EFI firmware. + See Documentation/efi-stub.txt for more information. + config SECCOMP bool prompt "Enable seccomp to safely compute untrusted bytecode"