From patchwork Mon Jul 11 19:00:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 9223967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A8D2860760 for ; Mon, 11 Jul 2016 19:02:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9504B27E15 for ; Mon, 11 Jul 2016 19:02:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A1BA27E3E; Mon, 11 Jul 2016 19:02:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4507E27E15 for ; Mon, 11 Jul 2016 19:02:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMgSY-0000ga-5U; Mon, 11 Jul 2016 19:01:38 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMgSI-0000Vt-O7 for linux-arm-kernel@lists.infradead.org; Mon, 11 Jul 2016 19:01:23 +0000 Received: by mail-wm0-x235.google.com with SMTP id p190so16849605wmp.1 for ; Mon, 11 Jul 2016 12:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hDOgjQZ1D3a/eA448VCQeAh8asQ6YuU2HtQMqAGyjmY=; b=Uqpd/nVgGqMaZB23D0xd44W6eUqqWxa8oLqS6FSIv+zJkJ20gYlX+W6IKDOLPq758s fwmwx02w0uuXapCxNTZNfv8QuLq7vPUhyAIXW/NkUa8FHeam+uLsa7i2jG3fMlfCm/zC T5cBVTWyAQfDLLLvMqvGo/S66IfpdxZ+g58/M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hDOgjQZ1D3a/eA448VCQeAh8asQ6YuU2HtQMqAGyjmY=; b=fgDqUkZl1buoxVVUXiX5wpEIf3fR4ZwuePJixyLD/zpjAAG0UC7sumXozpGx1yF8PG X50L3yXelES1wh2gHsBtzQT9ioqW7TsiPE/aduSd59CDJIKW9qEjxnyVamS0un00AR3J qxc9S6vZVGe+5Nd2imoh0bWdN/C4toukdcZuZJUxokBL8Lu1vIDiLAIXxzkTqFdx6QLb OebiWmGo0rSl1EOevMhJbZKUIUW0pCDIAlby8GLRJvuKcqUAJMwQgcOm9ezWBPdpsGgt PO9WUw4Er89AbOhsu9RmdD4X7FPz9f4HeD+bfmoYI/wL77fq2ZN7fYk5fd5L3Of4zBX6 Z4CA== X-Gm-Message-State: ALyK8tKiCAGXAE9Ozy7GzFUEs8ntGvbImMktZIuQW7szybVdUjpFiCCNDUf2hxfYZHA6f8wm X-Received: by 10.194.248.163 with SMTP id yn3mr1297908wjc.21.1468263661088; Mon, 11 Jul 2016 12:01:01 -0700 (PDT) Received: from localhost.localdomain ([188.203.148.129]) by smtp.gmail.com with ESMTPSA id b187sm1646398wmg.15.2016.07.11.12.00.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 12:01:00 -0700 (PDT) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, matt@codeblueprint.co.uk, tbaicar@codeaurora.org, cov@codeaurora.org Subject: [PATCH v2 2/2] efi/arm*: esrt: add missing call to efi_esrt_init() Date: Mon, 11 Jul 2016 21:00:46 +0200 Message-Id: <1468263646-28184-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468263646-28184-1-git-send-email-ard.biesheuvel@linaro.org> References: <1468263646-28184-1-git-send-email-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160711_120122_965481_774F8530 X-CRM114-Status: GOOD ( 10.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, pjones@redhat.com, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ESRT support is built by default for all architectures that define CONFIG_EFI. However, this support was not wired up yet for ARM/arm64, since efi_esrt_init() was never called. So add the missing call. Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/arm-init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/arm-init.c index 5a2df3fefccc..e0a511d4074f 100644 --- a/drivers/firmware/efi/arm-init.c +++ b/drivers/firmware/efi/arm-init.c @@ -247,6 +247,7 @@ void __init efi_init(void) reserve_regions(); efi_memattr_init(); + efi_esrt_init(); efi_memmap_unmap(); memblock_reserve(params.mmap & PAGE_MASK,