From patchwork Sat Oct 3 06:37:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 267392 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A572C4363D for ; Sat, 3 Oct 2020 06:38:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF09F206A5 for ; Sat, 3 Oct 2020 06:38:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="g55jZzqA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725766AbgJCGiO (ORCPT ); Sat, 3 Oct 2020 02:38:14 -0400 Received: from mout.gmx.net ([212.227.17.21]:41065 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgJCGiO (ORCPT ); Sat, 3 Oct 2020 02:38:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1601707075; bh=XRD1G/FKH5P14Qoexkz4KABtNAoyURyyM07p9s6A2yA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=g55jZzqAXpsVo9RbgbGMro15/KEK4AFcMWrdbwImz473pZtOmJaiJwbz//1jX4CW9 Qij0VWSkZKiofX6EHL6No0kxRzRb+qu94tofYJs0DxbjcYBEA9LyNd8pIuFiNfEl6V Stzs5swGlR/ESB2/krromLiah2I3ihqbn0ADvd4s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([178.202.41.107]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MvbG2-1ki3Gu4AmU-00seKf; Sat, 03 Oct 2020 08:37:55 +0200 From: Heinrich Schuchardt To: Ard Biesheuvel Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-efi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Atish Patra , Heinrich Schuchardt Subject: [PATCH v2 2/2] docs: admin-guide: EFI stub to main Linux handoff Date: Sat, 3 Oct 2020 08:37:25 +0200 Message-Id: <20201003063725.8698-3-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201003063725.8698-1-xypron.glpk@gmx.de> References: <20201003063725.8698-1-xypron.glpk@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:i+31IZulvm+Hkm7Jgc9slA5QQmVL8UwmQXplGyx3R1TkJGbBspR XPqhfjvk+xyIKZzg6xGtnym6LYGj2X/c3mml0ZtXvQELo7AglFu2XZuDPIWWAitvE8yDNgw 84P5xxAjcRL80fFpZUmqUIxVt9IYKZSBnVteu54lr298LBb2oa7er5OvcTaVUgSnPMADJGo MA9ILHeYiCfEo47WlVY5g== X-UI-Out-Filterresults: notjunk:1; V03:K0:yRmdQYnLlKc=:Bgo/dGOvyZPkoTfpEazkt9 Mq8GzYXyQz+Oy0m3rCNm0b5Z8Yx9ctatfa8KzVu1YxGvr/7lLGg88dxNX7ksWz/SOHvZ4o6xw Cqbf715H1RvmSXr/O5IWQV0PpQEfe5Y111J085ZTRVqZBKqQghp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BDi0DK6H8AQRxUFmTgx+qEJq8OrxFi+8CnTzR bdm3EpoI15W6Up1/dCwYXGh/BIDeNLYwYfe0cnw== Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org Describe the handoff from the EFI stub to the main Linux kernel. Signed-off-by: Heinrich Schuchardt --- v2: new patch --- Documentation/admin-guide/efi-stub.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.28.0 diff --git a/Documentation/admin-guide/efi-stub.rst b/Documentation/admin-guide/efi-stub.rst index 4965dec48af4..669602ff4515 100644 --- a/Documentation/admin-guide/efi-stub.rst +++ b/Documentation/admin-guide/efi-stub.rst @@ -133,3 +133,15 @@ described above. This option is only available if CONFIG_EFI_ARMSTUB_DTB_LOADER=y and secure boot is disabled. + +Handoff to main Linux kernel +---------------------------- + +Currently the EFI stub enters the main Linux kernel via the same entry points +that are used when booting without UEFI. This might change in future versions. +For a description of these entry points see: + +* for arm :doc:`/arm/booting` +* for arm64 :doc:`/arm64/booting` +* for riscv :doc:`/riscv/index` +* for x86 :doc:`/x86/boot`