Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1339784rdb; Sat, 3 Feb 2024 02:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/mblERulFPnEUkIy+ch6Kb4i1RBSuhfNqNZsKw4jXpb9TLvJBoOe7fsHwUUwzlUatBqie X-Received: by 2002:a05:620a:13e7:b0:783:e74f:66e6 with SMTP id h7-20020a05620a13e700b00783e74f66e6mr4490748qkl.22.1706955652506; Sat, 03 Feb 2024 02:20:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706955652; cv=pass; d=google.com; s=arc-20160816; b=zYMcJjCqNoZoPIRRoO2QdBlzYLEuAucn+vkTjIBqRpPSmqkmjVk6jmcbASGvJUfwSf NP7/i43PdH4xgGBobq6qJv9nEc2EcsjuBC4pQUOQ0T089rEGRDm3u26puncuB3cEGCMJ V45P2H9DKFXdY+LNSH160tqCk2dCQyHC/HdvszS/hyFAYlu/npYIlGaCVVveeECJ00J0 DE4jDWiuhWhfWJBMg0oS01NfOQCXoQg4y6ysfN/9y5f3NYh482jicDmgiq7Rwiflc3ba y9HtlvqUQdQBp7WzYUs5IXyMK4fDoWEN4pUx0w5wYdcgjLOVcVk/5X54uXgAFo3C2epG UGzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2zyWyVqFNtMTEIdHrsP05059AHmN6V8QJQNY6SWCBbA=; fh=puFDm/DZ9VPln3EPWaFl/Xqo+YQjTy1rhRd0068s9us=; b=O5LMCWLa3GQEQ3t7DeUzfG8/v2VCm1FtQzzqzWgtRmedIafMxPfcjgkf/4tHdWZE/j JXmg9PYYzj2pW7NQ9KSL/iOSUJuRKi4p8njxbt8kp8v7puYlR1CgsftaDi/VSKbP4KQP j8WkUJTSSXgRqaNDQEQO9+AZZ7VrV0PPF6EpgLLlW5n+sQV17lnv0bQI28Zyi4H2GHaz GIwk/30BEiAZi7r+fEKWemdre4nwaRgoqUfUXoImVNroaH+CIx09f6FQV3kHVvk6r400 /s4xe6VZsSokarSgQGVYPRQLqUykZLbML8e3WIXQKn2bsVoHBqAiDguKkNSnOvazPoJc x8TQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=ZMGm9u9a; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-51024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de X-Forwarded-Encrypted: i=1; AJvYcCXbTax3LYs4pJOumFKE/zNJbVCi028hlF76k6feco1PaipClE1A2EdZ1nbuF/Usb9mrkAbGH3qadMjVzsgTuu5LNUA4IAYWI9dYEq0PGQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vw18-20020a05620a565200b007833cd150c0si3840064qkn.200.2024.02.03.02.20.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 02:20:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51024-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=@alien8.de header.s=alien8 header.b=ZMGm9u9a; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-51024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de 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 B19FE1C219CA for ; Sat, 3 Feb 2024 10:20:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A61F5D735; Sat, 3 Feb 2024 10:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="ZMGm9u9a" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 3AC2E5C91A for ; Sat, 3 Feb 2024 10:20:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706955604; cv=none; b=eM7CssUeJmfIgu1Fsql/i9F6ZTANzp/zNNF9WxR4K/3V+Fpn7aZbH0TY4kNYt8T3wIlQYFdv00f2R1tKrNzxpxzmgtmB33gcl/HpdZ6cSMzqemnL7DywVbwXHDeReqhvkZDcnKlRimT2BMiWLeCoQSi9q69myMqv7Q7MJxVBHDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706955604; c=relaxed/simple; bh=PVKxAsYPQohK0Nj/GK+q1ZmGmqklyWwfThPeHDKkpRg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NyyBpNLahrYoRwTnnc/guXZlY5UqJumLw5wIn6GmFXE/0Bg5w5hDI8UJsCRPTqbqLK7laJh7BAV27Evqufb4iSLzUv5W4lPt1NrLnpU5+Ht2n741f5fMx7aa4M8xJQkxYoNPeVYlnjMGI2XruwcEkXj+IbE1XNT18o7WIrefZms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=ZMGm9u9a; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id BC50C40E01A9; Sat, 3 Feb 2024 10:19:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0tpSz7JZZM7c; Sat, 3 Feb 2024 10:19:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1706955597; bh=2zyWyVqFNtMTEIdHrsP05059AHmN6V8QJQNY6SWCBbA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZMGm9u9acJLuhOw2QRKAusUZ83IveTFWrLShnMkmC/rVfjIb3vb4aFNETN+qrS+1b aAGFfZVBEx4YJbsO/7ARE7Yg3UTe4SOupTSLg38l1RvzpnuUGDwAzfBTYAOF9Uiqy5 9++twFAUX73uVzN5u3/W75mTjPXD14TF20NMLl5A37maHVujR+HVoOOM0FYkpjkUBo JK7h06alNIvKlDdkpA/w22Szo/126zKhE5wjIOQ6SrEBTUcGxBzNty79Y/RyQ0fBVO IoBlu8ZrK8+Niy1t0lETFexiV9yMevDNlLh4CEdUs+qmfheM4UOi1VEMS/ZRyRq65k oNgnNG65SGFyRG8u919Lm95E4h2sEfCuHy9LtYVGCFruv3JGCeIbLCIUuQ1hprl5MS 6EeKFRiLiQ7i0smvqIvwwNXUEJwl9nXltHFfQSeIO39Y4rQwIQmWnufnfA493JBZTX zlPA9o1npowgmDT4ofTDfNanp1GmlSPY6rs04iQG73slewasPI9Fi9GG702p3jQWkT eV1Lz6Ga/JjYPIBEm4mrt+NrKRDXe8pPO86cLbt0DiM5bkoUzL1xWispgAa22XZ9yo 1/4LiwUtJYnUz1bk4VvhHwES5yts5cVpgJH0IJXlPg65TPP70uej5CwejhA+k5pObX S5J0sX3Y1dZ6hFiVaXbKMTGI= Received: from zn.tnic (pd953021b.dip0.t-ipconnect.de [217.83.2.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id E336440E016C; Sat, 3 Feb 2024 10:19:32 +0000 (UTC) Date: Sat, 3 Feb 2024 11:19:27 +0100 From: Borislav Petkov To: Kevin Loughlin Cc: Jacob Xu , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, Nick Desaulniers , Justin Stitt , Tom Lendacky , Pankaj Gupta , Hou Wenlong , Ard Biesheuvel , Dionna Glaze , Brijesh Singh , Michael Roth , "Kirill A. Shutemov" , linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-coco@lists.linux.dev, Ashish Kalra , Andi Kleen , Adam Dunlap , Peter Gonda , Sidharth Telang Subject: Re: [PATCH v3 0/2] x86: enforce and cleanup RIP-relative accesses in early boot code Message-ID: <20240203101927.GEZb4TL2H3XTqCSo5d@fat_crate.local> References: <20240121182040.GBZa1geI5NxWSslvt0@fat_crate.local> <20240130220845.1978329-1-kevinloughlin@google.com> <20240131140037.GDZbpShX2b0elXlqDA@fat_crate.local> <20240131182944.GJZbqRmBN_KDgK_nmB@fat_crate.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Fri, Feb 02, 2024 at 04:22:02PM -0800, Kevin Loughlin wrote: > True. I just think it would be better to have an upstream fix for > clang builds of SEV-SNP guests; I believe the first such SEV-SNP code > was merged in 5.19 if I'm not mistaken. SNP host support is not upstream yet. So we'd be supporting something which is out-of-tree. Lemme see how ugly it'll get... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette