Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D118C74A5B for ; Sat, 11 Mar 2023 17:28:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbjCKR2J (ORCPT ); Sat, 11 Mar 2023 12:28:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbjCKR2F (ORCPT ); Sat, 11 Mar 2023 12:28:05 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E0D7F74E; Sat, 11 Mar 2023 09:28:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EC86FB80690; Sat, 11 Mar 2023 17:28:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8685C433A7; Sat, 11 Mar 2023 17:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678555681; bh=MgWZFw77Mq4oyTN1crwuDMPhX/uS/XNa2w3f/KUQH1s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=d9M2olfRzTUVasTmQ53pfkalSBPnQsljd94ecPgo7/B28+RtNutaG3x1qfIFu3Uk1 8e4o/IHrQ5rgYRsuqSdvtCFAGFlBmNPrZrfSK1RI46bSrQUPwmywHbXz+B1YLO8ZV2 H2j9Wk+aRsfqrTppQmlqrGD/QUWCPAOt5zpt8WuP/c6/eWFqeBRVH4BEkkPm/DfxGe Izu/rOkMxe+fO6xQKGzXXhr+/3rx05vfdZ94pmP6k4nc6ZAeTrDWYHUEJiOubANlsp bIqp3cAiYEhpUOcqaoNxhoHtSZezSn5zDswCBxDydkUMEcSv+UIWo9nl0PArAFRjro hlrnaaJFSZqKQ== Received: by mail-lf1-f51.google.com with SMTP id t11so10672359lfr.1; Sat, 11 Mar 2023 09:28:01 -0800 (PST) X-Gm-Message-State: AO0yUKXyD1UWBynrhCvxF10K2jsQRWu8NHx55X9RVI5fFxw+zl1s/Z5m q5BY0gdJTQbasfcTyeIVqktW99Scw7rQhyc6i/4= X-Google-Smtp-Source: AK7set/DORTs5gwcCfki/6Zgo3sscNdW6pA/sij/js5ziMvcFOJCYdnwwNmj4VEXMUd8p9ndyRAgUzDVQjJqjYjUjuM= X-Received: by 2002:ac2:546c:0:b0:4d5:ca42:aee7 with SMTP id e12-20020ac2546c000000b004d5ca42aee7mr9081052lfn.7.1678555679698; Sat, 11 Mar 2023 09:27:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Sat, 11 Mar 2023 18:27:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 17/26] x86/boot: Reduce size of the DOS stub To: Evgeniy Baskov Cc: Borislav Petkov , Andy Lutomirski , Dave Hansen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexey Khoroshilov , Peter Jones , "Limonciello, Mario" , joeyli , lvc-project@linuxtesting.org, x86@kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 11 Mar 2023 at 15:49, Evgeniy Baskov wrote: > > On 2023-03-10 17:59, Ard Biesheuvel wrote: > > On Thu, 15 Dec 2022 at 13:40, Evgeniy Baskov wrote: > >> > >> This is required to fit more sections in PE section tables, > >> since its size is restricted by zero page located at specific offset > >> after the PE header. > >> > >> Tested-by: Mario Limonciello > >> Tested-by: Peter Jones > >> Signed-off-by: Evgeniy Baskov > > > > I'd prefer to rip this out altogether. > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=9510f6f04f579b9a3f54ad762c75ab2d905e37d8 > > Sounds great! Can I replace this patch with yours in v5? > Of course. > > > > (and refer to the other thread in linux-efi@) > > Which thread exactly? The one about the removal of > real-mode code? > Yes, this one https://lore.kernel.org/linux-efi/20230308202209.2980947-1-ardb@kernel.org/