Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2534215rwd; Wed, 17 May 2023 10:57:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bURicq4QOFbLnGqc/KnxmDFmkbi7fu/EgsvnItQc6AtZ7qwzm1j5i23ak3eju7sQIfBbw X-Received: by 2002:a17:90a:c3:b0:24d:e296:659b with SMTP id v3-20020a17090a00c300b0024de296659bmr176787pjd.22.1684346228978; Wed, 17 May 2023 10:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684346228; cv=none; d=google.com; s=arc-20160816; b=FHtVDyfgGtSa2mpIeJu/QpVXWFHbgpEQivowKn1YFsvSlQUWDHaDE+wqgZbXhCQooT x7BykbZmSKMwqwoTxUc4p6NjD60847Hk6eeMni7rIgdtf2KQ6+jtcGq+z6UuZzfZceXR VyOv4wrUWOKjoAV++OyVr04R4gxZS4qEKiqQh42wIb16QuisHGArRiGNXzPw41Jqqa0M xMnsqZY7ZctX5dVIQuQwi/PXwKhtX4ipbKaigL4tRc2fxYClrtkDYsJTqZ+hRX39CHSp A3/ypSjXu9xc8/qbbrO2RG854AwYaKkpT3b9FehXa+yl4skuvx/PJYQ4BXFXnDfamFjX wxbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jSLldGrlFeDLob0SjoV+tDw0C7NLfpHCaoN5cOY2jz4=; b=v78fij1cZWYfzZvEGgDsngRSa0Swwbg5jnui84HfRPbDThNWmoLIKC2O34NQwEyom2 Cfb07AGbvofKQYeF5H5dw4GIUzqHmWDg73SCMF53Ul0xI18nx5mprw5y5hseK9upN4v8 8fGiwbUL0Y4yrVHBHyPJp43l9HuJGWm5gAvsMrH8ZDg95yMkaqyaSbBt/8U19KjIGXk8 iYDGG1kkQaU6MRzqWxuu4LX5m1Zie1hkRt62nwvgaoLd85P0Kv94d7jSEi7X/+WjKx/T N5xhOf2EgpSz/HLvec5Kq+/igeik4ZMOnQqRa4i9XHyjClDk0va15uG43TXUndWgdANH rtQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=pMZUdQSJ; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f29-20020a63381d000000b0051820b42b57si21824031pga.619.2023.05.17.10.56.51; Wed, 17 May 2023 10:57:08 -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=@alien8.de header.s=dkim header.b=pMZUdQSJ; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjEQRbx (ORCPT + 99 others); Wed, 17 May 2023 13:31:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjEQRbw (ORCPT ); Wed, 17 May 2023 13:31:52 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6A5C26A3; Wed, 17 May 2023 10:31:50 -0700 (PDT) Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 370A61EC0666; Wed, 17 May 2023 19:31:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1684344709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=jSLldGrlFeDLob0SjoV+tDw0C7NLfpHCaoN5cOY2jz4=; b=pMZUdQSJF55h9VbGEMx3Xs57CkxQG7ExZK3q7hwHCUnBweJkpBQF6+bOsL1hPr+t2/MbW8 0ure1g3c1cAKuXP2E9p/7Ib1dNXoZyVr3vIASYySVudFPtwFi0FkSHs1iuKLV0FD8tywbM puMrmiQtrXIMdVtZeRYiGci+Pr+wKaQ= Date: Wed, 17 May 2023 19:31:45 +0200 From: Borislav Petkov To: Ard Biesheuvel Cc: linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Evgeniy Baskov , Andy Lutomirski , Dave Hansen , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Alexey Khoroshilov , Peter Jones , Gerd Hoffmann , Dave Young , Mario Limonciello , Kees Cook , Tom Lendacky , "Kirill A . Shutemov" , Linus Torvalds Subject: Re: [PATCH v2 01/20] x86: decompressor: Use proper sequence to take the address of the GOT Message-ID: <20230517173145.GEZGUPgRTiUFB2GwgG@fat_crate.local> References: <20230508070330.582131-1-ardb@kernel.org> <20230508070330.582131-2-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230508070330.582131-2-ardb@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Please fix all your subjects as explained here: https://kernel.org/doc/html/latest/process/maintainer-tip.html#patch-subject On Mon, May 08, 2023 at 09:03:11AM +0200, Ard Biesheuvel wrote: > We don't actually use a global offset table (GOT) in the 32-bit Please use passive voice in your commit message: no "we" or "I", etc, and describe your changes in imperative mood. Personal pronouns are ambiguous in text, especially with so many parties/companies/etc developing the kernel so let's avoid them please. > diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S > index 987ae727cf9f0d04..53cbee1e2a93efce 100644 > --- a/arch/x86/boot/compressed/head_32.S > +++ b/arch/x86/boot/compressed/head_32.S > @@ -58,7 +58,7 @@ SYM_FUNC_START(startup_32) > leal (BP_scratch+4)(%esi), %esp > call 1f > 1: popl %edx > - addl $_GLOBAL_OFFSET_TABLE_+(.-1b), %edx > + leal (_GLOBAL_OFFSET_TABLE_ - 1b)(%edx), %edx Yeah, that's a bit better. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette