Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1568875rdb; Sat, 3 Feb 2024 11:45:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1+Os+mh5WfsuDkGlZDOSb46YwiaKrPG71125nT7HJCcO3i35qQKC6m4HjVmUKiS5ooiP/ X-Received: by 2002:a05:6870:6122:b0:219:6ea9:b679 with SMTP id s34-20020a056870612200b002196ea9b679mr137953oae.37.1706989544890; Sat, 03 Feb 2024 11:45:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706989544; cv=pass; d=google.com; s=arc-20160816; b=ICjalsWciEtMYv1KPo0qSSJiYVa8ngVwTvPzULtB4Pxj7GIR8X7ledQryIE72Lyr2J lMQxo9pZXNjvtmmUXtV//pllXx+GG865Z4vIo5EYtPweOfT5JMa/7s86FkMf3d0dpHEo KBXwdsd4f0omDjDWuwUFT/HV41CNRfpU9D2xkHx4hEWlNo+VcrEhRrZvYYciWSjqNtv4 KehooIE43bzPHnn2tBz1shIw5WeXxfQkMhYCaGU7MLcw5n9G6xpTz1wflWu7QQF0Vyvp 6HMi0ti8OZ6gUWjlBTyS4hBhYhJMljuCtZ41ozaACL9G0IK5mC1FwA4a3kBxJZEFFy1Y OH9Q== 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=vt5PlNONgksbT19ob4ZS3LjM5BOwuQhzw7BUPoTXCes=; fh=iThSl1VEnSWonizAdnuwWGg/qZ4mBY8fMJXbxWGxEho=; b=pUoUS2Gc31ldzTQ7P19FmRCh2xR2KZ8YpLngav+U9qKSDxlgAifl79Q6ELJUEy0w0N jhqOQersgCp2fcg6aQefi6+6cun7nCnZqHowja+A5y86CHMfrGe72h226/MV2Mp17dqA rpRP+p6NJMQjSEfLX1ZiQ/EkyTVFyh/TcU1XRpexl1siv9Icqws0+p317cvRGZmJ1Cwv X11fdMnvEI64qLiQTYoA8URiU5roV7S6nQVMtAsUhdW9p7PG/2mjZLfKmn7uUGcs2t/6 qm3kWAzCDcIRIYWxSHScED6r1QnTr5Be/T78jzmtoASUg52irHdlCl5e9OqiHW6FEmcf ZqfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=Nh9kTd7v; 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-51274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51274-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; AJvYcCV11aRMRtR60UPCcRqggxxo6vsLs8brbLMDlHglZ93BjgoEiBp5oVCMrJiJaTw6dJ77W+Xa9LPocUmb5S0OTnFs3VYFss7ktLK8RpZFXg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w27-20020a63161b000000b005c5e2c15169si3550798pgl.737.2024.02.03.11.45.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 11:45:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=Nh9kTd7v; 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-51274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51274-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 843A02851F1 for ; Sat, 3 Feb 2024 19:45:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86A2D5FBA0; Sat, 3 Feb 2024 19:45:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="Nh9kTd7v" 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 325A05CDD3 for ; Sat, 3 Feb 2024 19:45:34 +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=1706989537; cv=none; b=PVUPbh2tfKZNMnh6ZWngabzsQt4yVsGp5TBasxQn0d16zsaXIJ38x0D/VwCdjrHJabPX0wlUpGoOjrLvcFKuIasgLB78ZLCp5/mu9FzCfd6QNWsOtLngP4EMQYpOqldDbNUsAtAeE99LMq+jy6bcX6u07RHK8qjq7nXY4MTycGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706989537; c=relaxed/simple; bh=OZ8tqHKMSnW/RLCgujHSxVnpe/vJVwNLA9V9eMIlOok=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kRquZNB3FZyUYcTBKQkEhigU8OUzFzZGCtxEO272nVXNSfb/XNham5QmTVW5wgFqaAwSwvZxedGWFQcHqowjA0BhrGFPsKGHY5sqf0p2JHVv4ztQNGHi2iGbJdrvMUmVrdZCOrhTo/E66HbzlesHmUhh9QmJtwbdsEqWb1Hn5Ow= 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=Nh9kTd7v; 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 D16F940E016C; Sat, 3 Feb 2024 19:45:32 +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 LL7Mp7vWCURW; Sat, 3 Feb 2024 19:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1706989529; bh=vt5PlNONgksbT19ob4ZS3LjM5BOwuQhzw7BUPoTXCes=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nh9kTd7vAUqVQnH8xoN0CI7kiALIESBMw3IJaxqVDcffloE5lXkTcXnWvXnta6nEC VxzBRDomI5iMsVOG1uy0n8FivpMqxF9RbClAGxKUejVFJDP4/ji65kmMuRY2mP21jO 6JJljwoK9iQM20nYH1wXSlAjZVhzqefg1z8Go29I89rieyXcxVd6lKHBgFknDX91sz UWlJQsE08oWOLDkTsUBosh11YLDPJdpIlQROK+Nwx2hw9W5F5LIkAGxBA9fshiDEvE SKenGeaax8zXm/zD0gLcie6927LDGbtqvtJcyd06WO4cmKQiBhOUd4k5PgyeoULjwt Qi66UzpNZmR0Ed+qj4fA014LIvjtTBkuNdbWNTOamKCAN1zuDJilHhLRCHeixFBBH/ bSei+pm2NZt3l+QGzZ3IjM3eAAMYe71zjhM6ud+4bL26UPrfKINlKsaec6UZ6LXV9s NLpHjYw7TVGDzJQZBUKkHpzi+QajERFSlfe3Jx0iocmQ6MBIWLxEsTadQHLDtYISAb ndHusx76kiyGtxYb5Ep/v3eLDCe6uI7tVqwr4kRUBmDb4tB/t1ieLaL7TxvoPqiEuE kL+FVzyTfG6SqxNowGATvc7wtMhQ0MQIOHq5szOBXD57WngBaA2qLQaH44laGaIS2L yZwj2HWo3TZ4yLjBAjPKRhbg= 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 BBD3E40E0081; Sat, 3 Feb 2024 19:45:16 +0000 (UTC) Date: Sat, 3 Feb 2024 20:45:10 +0100 From: Borislav Petkov To: Nathan Chancellor Cc: pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, kirill.shutemov@linux.intel.com, ndesaulniers@google.com, morbo@google.com, justinstitt@google.com, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev Subject: Re: [PATCH] x86/coco: Define cc_vendor without CONFIG_ARCH_HAS_CC_PLATFORM Message-ID: <20240203194510.GJZb6Xxh2h-cqqY27f@fat_crate.local> References: <20240202-provide-cc_vendor-without-arch_has_cc_platform-v1-1-09ad5f2a3099@kernel.org> <20240203102925.GFZb4VhT1IwX-XRxTV@fat_crate.local> <20240203160806.GA520926@dev-fedora.aadp> <20240203190729.GHZb6O8UborcetShlw@fat_crate.local> <20240203193552.GA655765@dev-fedora.aadp> 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: <20240203193552.GA655765@dev-fedora.aadp> On Sat, Feb 03, 2024 at 12:35:52PM -0700, Nathan Chancellor wrote: > Yeah, that seems like a fair plan to me. I was a little concerned about > a future change that would require backporting to kernels that have > da86eb961184 (i.e., 6.6) that do not have a9ef277488cf and miss this fix > but that is a bridge that can be crossed if it ever appears, no point in > thinking too hard about it at this point. Yep. > I can send a v2 on Monday, unless Paolo wants to just add > > Fixes: a9ef277488cf ("x86/kvm: Fix SEV check in sev_map_percpu_data()") > > directly during application. I think the rest of the patch is fine but > if there are any other changes that should be made, I am more than happy > do to so. Nah, LGTM. Acked-by: Borislav Petkov (AMD) Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette