Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2514775lqo; Tue, 14 May 2024 00:28:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGOLFpsVG6bk9pXM6nAm/XQBWN4cEqSWZMvQBSDyMoq1bitgSE1e049QbK4d6wCTQKZoQuhX0yt8f+C0AbKLgXeWj4iDvXMK0u1XUtQA== X-Google-Smtp-Source: AGHT+IG+HIg1SNJhww1zh13umAmE5EVWJMXk7tYclW5eni2F+zWg3syeYxaAep2DcSQDET1GiJ8+ X-Received: by 2002:a05:620a:8ce:b0:792:c087:699c with SMTP id af79cd13be357-792c6eb3c08mr2115256285a.28.1715671729286; Tue, 14 May 2024 00:28:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715671729; cv=pass; d=google.com; s=arc-20160816; b=G8Y7TRNvJ3s4fUx/wMuaquj19w7NUygUXGPftA2T9WcVsA9MYqNJv3hS59oVlt64I4 Jc/k0x31TfrZ9YvDkYpbNu7GcGatY22Q7qwncmPLHSZmzeRrYJlr3hx2L1E54XcghtXR JidRIUzzEK2CLnMNjoXLXCvcXr9ffML9m4PjflFxJ2utP5cRlSYkz6L44GzwsSmkZqPF JY66dnWuXa9d6X6TSvaJ6c9raHHRDkHnp95OCZyjenZnb9o2Z1+JvMuDko7F+nRd8ejP /f1WWvbIsAyxHS/50QsF2F7/tOfPmfHpo6jqZ74YZ/XpSuO3iGql4CQdVlQSDpaWc56+ I4tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=shcYdzySamuFWrEG8XGGC2rbupvFgFYLeHD+pMHh7gA=; fh=wIcVxOj+jhq/cE/r8735szXRQp3nLcqo/o80F+9BbZs=; b=kfc4Cz7M4I1bR16PD+4ol98t7KyQO1zJ/HUQET2E5UWsfJU/pPJ8tZpCq7Fh4xDOVZ O+Xyex51Gb4x16xLO86pnC7ZdBeHw16SbHDCH+Q2/gsZ1cfHUSKKMc/KO8Pc06NY4+Nk y/uFHjV2e8m4sf/pq5pVDjiF5f6n7W7eWSg1kAue1+Tj/ylPZMc2timfsb9qt3yDu52s ZYjqKgK+3z9TPRQBwwQV4V5xSSyWEmjCL7RCijv3Hc86f3fSIjZvvAg8NNm+x6NJnf9N 9HPStyI2bvzWUbDeFxbohvns+Nw4gDw57P0oIlQoo0mv03JWVMCcz+5qx7hVuhRKfQYM isgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BHCHIdnh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178394-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792cd459443si894656685a.675.2024.05.14.00.28.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 00:28:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BHCHIdnh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178394-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 09AA41C2171A for ; Tue, 14 May 2024 07:28:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED9A412E75; Tue, 14 May 2024 07:27:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BHCHIdnh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 205CC1171D for ; Tue, 14 May 2024 07:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715671648; cv=none; b=l6s98rFZXOOOhMX1QvB75CrNetImeNnJvQETUdm11T4TMgKZKDLbO++D1gr5nPysAkpRdurY0fBElDtOKU7CjbkLwo0LsvTyFFQsmWUhhdRVbsmrzVdE9QP6e7hgE6MhyT96toSPOEBFm4NatjhV6ag4wODDIpReduz1MFbzR6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715671648; c=relaxed/simple; bh=TqhinNFjSGuaDrXWXAqhFvMXWjYHGbbwdwxYawJQ4sw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=aj7pkQHiNdHquk760fT1IC+fmnFnmhFHzpFW/6XHNwrEhqeWORbinA1wcUGumzDtuYA6jiiKLi2ChKeoYYPi2LqoHYkRlAykTJrCnkOHRL6PlHdM9GjuuGM9JWjgo7Gg3zywu6PzzhOmIIYGIFlPi7gKL4KmLbo8ZJ4BMi2xi/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BHCHIdnh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95C02C4AF07 for ; Tue, 14 May 2024 07:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715671647; bh=TqhinNFjSGuaDrXWXAqhFvMXWjYHGbbwdwxYawJQ4sw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BHCHIdnhPX4RsaleVTOntHFdPgA5VCdTHvBewqlv00zzYBaUErHK5skEPpWvWHHDQ 25zr4OdLD9HKBYf6j94LZaZ6NpKuaII1RjZO8aDPw1xEpvndZ++9Xar77Jp6Oew+QD abxaC00yNIjpQLOx0F185nOg0mnCAaufsT5xAnoNS1mK5xBZbTORyzNyNkg7iSwo7Q PztrHYjV6NjIDhdqecSDOb0yFOKBoU8mBtG0B7X/bGYyAzVtWmNTljUVAptBgW1FQa PuPsQ55oa0Xxep2lMzmnrqbormcxu7oyUCdNnkvmc4iVYKqC3VeKWm4/xyT03EkNCO fu0ByWbhzICHw== Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-51fdc9af005so8410713e87.3 for ; Tue, 14 May 2024 00:27:27 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWu3ICZcYreh4adRSKlQtTiVrjLcU8bqZlrGzNAFEo3vISmNIa9vZcPfRaq+C2pO3rkDjEHBWnw+57UIBDnvNtZG0x2T5dVJTrip4qi X-Gm-Message-State: AOJu0YxnBPTamYrrzIKDwQKlLgX9Y0VH4uI6HMJzBpUSF3HXugLcmdOh eoEdSNrDkjqEM/3ZidUhXhGcsp7Z8tx0PPajNO43gsIjLfdW4UsC8Av+YebpNMAxXQOLCIYfU/Y pfCCRAOJ6SRDrbgsttk2cy2TkfIU= X-Received: by 2002:ac2:42c7:0:b0:518:9ce1:a5bb with SMTP id 2adb3069b0e04-522102786bfmr8597991e87.54.1715671645978; Tue, 14 May 2024 00:27:25 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Tue, 14 May 2024 09:27:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] x86/boot changes for v6.10 To: Linus Torvalds Cc: Ingo Molnar , linux-kernel@vger.kernel.org, "the arch/x86 maintainers" , "H. Peter Anvin" Content-Type: text/plain; charset="UTF-8" On Tue, 14 May 2024 at 03:03, Linus Torvalds wrote: > > On Sun, 12 May 2024 at 23:51, Ingo Molnar wrote: > > > > - Re-introduce a bootloader quirk wrt. CR4 handling > > I've pulled this, but shouldn't the compressed boot also just stop > setting the G flag that it didn't understand? > I agree. But not setting CR4 to a known value is what caused the regression, and that could cause other problems down the road, so fixing it was arguably more important. More than happy to send another patch to clear the G bit from the page table entries created by the decompressor, but at this point, it shouldn't make a difference.