Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1228587rwo; Wed, 2 Aug 2023 10:31:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlFoea7IUpMilM87zCMOkBwb3XtxRfebRQTU4DV3VZ22YQism6vn2z9EfSAZg6pLvZ/Mdmg0 X-Received: by 2002:a05:6a00:21d1:b0:687:1604:39eb with SMTP id t17-20020a056a0021d100b00687160439ebmr15762582pfj.25.1690997508169; Wed, 02 Aug 2023 10:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690997508; cv=none; d=google.com; s=arc-20160816; b=RFnM81tJC8iIE2+dnAzWmqqG+vBzd9KTGJxnBs+RtgAT8IYBVh95elI31mXJF3NJdg ttVB9JKQG6BhSEAqHcTGmkdaZvTT8QD+qwoYug1moGvsd6peJYuiviam8c1VpWwy/XbH jm22YoPtIvovYBm1BwzyBWz7h9jcAydDI4PRv5hoBmC6J7IB7yDYDprNjIS+epsAJLA2 bLHIVRH4LeJP4FGd4dYvRwsbFlIwtrHgu4iwB3D7GE60j9la0Ffy5Q2vk0q78WhWKn4t 6IyfDkIPLU0LcaHu7eC0y7xwi47VhDR84QJC0aKhNEmMlLRe3z3LBt1QWFDGuWoX3ELm BUKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=skWUi5PcvVm7aAMMh7p/LFLr6m46fzBWFlwr2mR+KqQ=; fh=/CRgEMFreXUXW/Yb8UUueEFGuE1BMPS1XNMsC1Sp4wQ=; b=YRJGwiZRNmUxfZZ8MZEAnXJTdbPW9djUEXgpDeluNd3SrI+E14Lf2e98ZXFPRXAynw YKn8FgemYmO+Nzz0rH8f5GgfC7iQWcyDBMfW5Z6LEQWpWpDZDkkbs4bpKAjmYiTyNsJB EfEn9BhrupsVv91pgfVzf3qjwYVKoRrcVVvOuSLISaUMO6B8tv14vnWBrMUOpJO3zito wbZwI5JhvtvJvARLIpCTvUtZ/ehowbXVMeyQm6XG2tC04Jp0Yj1WDRYmvJXddCgZruZ7 W/8ZMaR6LXBRZrsxOAJIZe8+ZXE97pSIuvxshPvUEN1JktSFboyHeLlaGQZIq18Q/MbC kjMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t8q5cK8/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p36-20020a056a000a2400b00686e6cdf08esi11035792pfh.350.2023.08.02.10.31.35; Wed, 02 Aug 2023 10:31:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="t8q5cK8/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230144AbjHBRGY (ORCPT + 99 others); Wed, 2 Aug 2023 13:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbjHBRGW (ORCPT ); Wed, 2 Aug 2023 13:06:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22BCAE57; Wed, 2 Aug 2023 10:06:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A89BF61A4F; Wed, 2 Aug 2023 17:06:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16C88C433D9; Wed, 2 Aug 2023 17:06:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690995979; bh=skWUi5PcvVm7aAMMh7p/LFLr6m46fzBWFlwr2mR+KqQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=t8q5cK8/F3VUNLPrZvxOWjfUw38QnpP2qxI4w1cVIAj64yQx0v1jm90/IIAvi9FAC hQ76tJw4gTPD+8fUVgVgamRQqmEOKPqIOTvZf3hc75Bkrwa4/RHs/bFQTNnGi9M2vA 9tOC4Co75ohZk2g56b/xDj07zqhLumhox99xFLfCQX6kyju5XTJNpgTCppvOumZDMJ gO2XqQCH6eb+jlvXXZzTl53eQFXEwRYUy79+D0Ue9uo7UfVZXI1RnjgU6kqaI9DHq/ 2oWcZIqHjKvvv6uMiz7Dy/IiLcL1OTe57bA5EmyaDeblI/opln3F/VPuhShpuM2L8g 18w9S7D1WQ/5A== Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-4fe457ec6e7so62836e87.3; Wed, 02 Aug 2023 10:06:18 -0700 (PDT) X-Gm-Message-State: ABy/qLapVkcbfcuJXwHFloqAvEgBH12O1Mbtiu4FXOOjkVXzq0D9TSQV QKKeB9yVGgexMBG40MOEDPbhuGRXmw+8GYxNs/w= X-Received: by 2002:a19:ca0b:0:b0:4f6:2b25:194e with SMTP id a11-20020a19ca0b000000b004f62b25194emr4208508lfg.58.1690995977047; Wed, 02 Aug 2023 10:06:17 -0700 (PDT) MIME-Version: 1.0 References: <20230802151704.2147028-1-ardb@kernel.org> <20230802164603.fzy2lmflp4iann5c@box> In-Reply-To: <20230802164603.fzy2lmflp4iann5c@box> From: Ard Biesheuvel Date: Wed, 2 Aug 2023 19:06:05 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] efi/x86: Ensure that EFI_RUNTIME_MAP is enabled for kexec To: "Kirill A . Shutemov" Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Aug 2023 at 18:46, Kirill A . Shutemov wrote: > > On Wed, Aug 02, 2023 at 05:17:04PM +0200, Ard Biesheuvel wrote: > > CONFIG_EFI_RUNTIME_MAP needs to be enabled in order for kexec to be able > > to provide the required information about the EFI runtime mappings to > > the incoming kernel, regardless of whether kexec_load() or > > kexec_file_load() is being used. Without this information, kexec boot in > > EFI mode is not possible. > > > > The CONFIG_EFI_RUNTIME_MAP option is currently directly configurable if > > CONFIG_EXPERT is enabled, so that it can be turned on for debugging > > purposes even if KEXEC is. However, the upshot of this is that it can > > s/is/isn't/ ? > indeed, will fix.