Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp793003pxj; Wed, 2 Jun 2021 11:32:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUQZQAhP2FzHDIsg6FVR1X0M7HWP+uo4FCOvr0/aAbBqdxIm1tDzg6ywAhbMOEjcB62QKc X-Received: by 2002:a17:906:7f07:: with SMTP id d7mr1703255ejr.240.1622658758066; Wed, 02 Jun 2021 11:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622658758; cv=none; d=google.com; s=arc-20160816; b=KoABabL04toL1kLrfzOWciTW+bg+bJNWTIz0zeCT8lNpXkWvgB7NmfiigLveY7rt+q a+oqBr1QLSN/G+kTDBO1lYME8lqcg2KS9DuriPLFvUzmLBjOMxpXo3L+0i7gE3aXgDnE orLALlnQTW2ZL+oXKqOMDXCONMKrI0s6N9mlVJGbG9CqahjcDTIf/Wn+XJZ9/XlIEu65 5rdplbgXeeKBXve2qR0ugk49Qq9Q018ny7gjQeH0N7XcgyutrX1PRLHCDxzAgJAxJod7 Ib4njINnNQDkcyoo24rapsFhiKWZqTgEtlerNzZUi2RxZmdpUNn9SQba3Djmox7wbxk0 z7Uw== 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=s2MpVwsPPjHrgo3VWJyqJekulpEUVtwlLcFpp91/3GQ=; b=toSW8ioGTX6mANTmdXq1qTevEdCaVOSsMPp7HF/zYUcpU/DtzK6GHzxkoAZ/SUa2It ikgqDkvbduBYDmGpZqJ4w7Ay/a/6hVNkn3tEDRmXCbOZCYVolYaf0wxE0ByO6z7s2tax yWszLS47liSgHmxk5t4F859V+76xvnZsm4q4mgH2+2+RNVU7bG+vpiUlMgANa0UrCVTL DKArbal4l8ejwap6u5m7CQQrng+TIx2zg1R5JO1vf1gwjRfeQSczfgcJXC6neIGNH/5p dfOTMkbc+kZaCvIzY6djBI+1uli9IaOSp7FUwnOtkUosJkPsomdb8cc1/WN2fX8yFQRi MhXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Y5LJX1L4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si501990edx.381.2021.06.02.11.32.14; Wed, 02 Jun 2021 11:32:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=Y5LJX1L4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229554AbhFBScp (ORCPT + 99 others); Wed, 2 Jun 2021 14:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbhFBScn (ORCPT ); Wed, 2 Jun 2021 14:32:43 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8897C061574 for ; Wed, 2 Jun 2021 11:30:59 -0700 (PDT) Received: from zn.tnic (p200300ec2f0f0e00ae3ef7328f799462.dip0.t-ipconnect.de [IPv6:2003:ec:2f0f:e00:ae3e:f732:8f79:9462]) (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 438791EC047D; Wed, 2 Jun 2021 20:30:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1622658658; 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=s2MpVwsPPjHrgo3VWJyqJekulpEUVtwlLcFpp91/3GQ=; b=Y5LJX1L4Y6mXe+niBhG5UBS8zTtMca4U283WO4ITb4qI0XwzAG9Yv6bedaRcsTUl7/ylLN YhPmYPCdLPcxg+GQpt5u3fTF7fQ42VvZ3PAl/XpaQA1a21fo03BMCUbVbvOZUvzTAQeqQd 8vKicnZq0sgVr7Anc5+3rEaPIjhNk20= Date: Wed, 2 Jun 2021 20:30:58 +0200 From: Borislav Petkov To: Tom Lendacky Cc: Kuppuswamy Sathyanarayanan , Peter Zijlstra , Andy Lutomirski , Dave Hansen , Tony Luck , Andi Kleen , Kirill Shutemov , Kuppuswamy Sathyanarayanan , Dan Williams , Raj Ashok , Sean Christopherson , linux-kernel@vger.kernel.org Subject: Re: [RFC v2-fix-v2 1/1] x86: Introduce generic protected guest abstraction Message-ID: References: <20210527042356.3983284-2-sathyanarayanan.kuppuswamy@linux.intel.com> <20210601211417.2177598-1-sathyanarayanan.kuppuswamy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 02, 2021 at 01:19:07PM -0500, Tom Lendacky wrote: > This certainly doesn't capture all of the situations where true would need > to be returned. For example, SEV, but not SEV-ES, requires that string I/O > be unrolled, etc. Yeah, I believe this would be better done for you guys, ontop, as you know best what needs to be queried where. So this first patch adding only a stub should be fine. Or you or someone else does the conversion ontop of the Intel patch and then all patches go together. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette