Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2251233rdb; Thu, 21 Sep 2023 12:55:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHi9msX0zGwagei9dvpD3yf/SBNydmHeVkrVS1k3nMFq+E8ECpeCVhhttUBs7XO9hj/ihh8 X-Received: by 2002:a05:6808:178c:b0:3a4:25ab:eecb with SMTP id bg12-20020a056808178c00b003a425abeecbmr7843942oib.51.1695326138721; Thu, 21 Sep 2023 12:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695326138; cv=none; d=google.com; s=arc-20160816; b=0nXsCxzCKPTMnoUq6xeMEhlw2HoxqXBlVQF7yOiLKyLzYtTHxSbrqqdOF69jStRGEe kycq7UwY09dVyDxbYZdzpR5gXcYO38zMJwoG1+6yPzYdIGHOW/wuOTNH7Gmvhvl2PS2u Vhe5hJBhhJrsjxWZ0oTMvrGPeC85dEtZFlNFdaHD9+uG+H1ldBsbbkrnP/Qbjdk2OcA1 T33QNj8vGDd6SuvDkw6vVSP0RJ/WVbU/KCKvHvNhEQ2bthHw4AblpN4cDug4tbVTntaL aDNSKjCOUNNkUhUNc80eS9A3jOZK2ljwgDpwJg01jP5FxPYjS7Ex/39dANKcRLsZSl4B fGSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:reply-to :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id; bh=ZVlf+Zmdw0yjuqZZfByAGwkepulpdBlfnOk0TKaW64E=; fh=Cfae2gi3H77n6lgJbs2xXDKlxE3Ld0vzjFdC9HopYZI=; b=NAG7Kil5+GfBk/TAEDM9r4dXQmCG6ZLa3/EXuBGM0iJE5D/EfgKD/OYtPGkTZ38MHK FIk1Yie8nUt1elenkS07Ngm8HMsG3wmgf5YvPtyFVQnDz5XRzMu4KB3fQ0X4vEhuzAqH Ou8HT+LzBMAfL1O/D5ouHiUYq0UL8sEeGHzX9jgsqLyK7DMCVRmBQOMrp2hnOTPW/RT7 rPRcIFfogb5KlcEevb5J0XGFzDHqGl/GqWBSmUJ44bnk7sUPMFyqqv/SLC3hDzSCqRmr L2rd1lgm+3WFqNK6gnoj3sGSk5M1fjQR9Db+QscyI3M/SQd8LB9xIGidh3N5LmBiDXsH B41w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o15-20020a656a4f000000b005787a30e1b7si2339464pgu.369.2023.09.21.12.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 12:55:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 662B88065E13; Thu, 21 Sep 2023 12:41:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230001AbjIUTlh (ORCPT + 99 others); Thu, 21 Sep 2023 15:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbjIUTlc (ORCPT ); Thu, 21 Sep 2023 15:41:32 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC0EC113E5 for ; Thu, 21 Sep 2023 12:41:24 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1qjGO1-0004Ii-45; Thu, 21 Sep 2023 11:54:17 +0200 Message-ID: <91daa8b6-57c2-424f-8c6c-647e05f2a8c9@leemhuis.info> Date: Thu, 21 Sep 2023 11:54:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: kexec reboot failed due to commit 75d090fd167ac Content-Language: en-US, de-DE To: "Kirill A. Shutemov" , Dave Young Cc: Ard Biesheuvel , Kees Cook , Aaron Lu , Bagas Sanjaya , Borislav Petkov , Linux Kernel Mailing List , Linux Regressions , kexec@lists.infradead.org, Tom Lendacky , x86@kernel.org References: <20230829125939.bcg2r6hwqf45npko@box.shutemov.name> <20230829140451.GA509854@ziqianlu-dell> <20230907131409.masxz42ik6u456qp@box.shutemov.name> <20230908060230.GA283801@ziqianlu-dell> <20230908123233.dpbpohgrbyyxekzk@box.shutemov.name> <202309080856.F066F92C98@keescook> <20230909113209.actnan6hczrclz2d@box.shutemov.name> <20230911145707.hslq47ngknshrlyk@box.shutemov.name> <20230913142410.dfqsg3l5v44mr5j3@box> From: "Linux regression tracking (Thorsten Leemhuis)" Reply-To: Linux regressions mailing list In-Reply-To: <20230913142410.dfqsg3l5v44mr5j3@box> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1695325285;b61dc50d; X-HE-SMSGID: 1qjGO1-0004Ii-45 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 21 Sep 2023 12:41:43 -0700 (PDT) On 13.09.23 16:24, Kirill A. Shutemov wrote: > On Mon, Sep 11, 2023 at 05:57:07PM +0300, Kirill A. Shutemov wrote: >> On Mon, Sep 11, 2023 at 10:56:36PM +0800, Dave Young wrote: >>>> early console in extract_kernel >>>> input_data: 0x000000807eb433a8 >>>> input_len: 0x0000000000d26271 >>>> output: 0x000000807b000000 >>>> output_len: 0x0000000004800c10 >>>> kernel_total_size: 0x0000000003e28000 >>>> needed_size: 0x0000000004a00000 >>>> trampoline_32bit: 0x000000000009d000 >>>> >>>> Decompressing Linux... out of pgt_buf in arch/x86/boot/compressed/ident_map_64.c!? >>>> pages->pgt_buf_offset: 0x0000000000006000 >>>> pages->pgt_buf_size: 0x0000000000006000 >>>> >>>> Error: kernel_ident_mapping_init() failed > [...] >> The problem is not limited to unaccepted memory, it also triggers if we >> reach efi_get_rsdp_addr() in the same setup. >> >> I think we have several problems here. > [...] >> Any comments? > > I struggle to come up with anything better than increasing the constant to > a value that "ought to be enough for anybody" ©, let's say 128K. > > And we can eliminate logic on no-KASLR vs. KASLR vs. KASLR+VERBOSE_BOOTUP. > > Objections? Apparently not, as there was no reply since then (which is why I show up here, as it looked like fixing this regression stalled). Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page. #regzbot poke