Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7088401rdb; Wed, 3 Jan 2024 04:26:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGk4B/zu6TqNIrfBQf2M+hFWGyuirsfqrc+ZyLmCk/sLyIpEEZkh/+B9DoShP1sLebRnH3q X-Received: by 2002:a17:90a:4b47:b0:28b:aab6:5d9e with SMTP id o7-20020a17090a4b4700b0028baab65d9emr6296880pjl.33.1704284769721; Wed, 03 Jan 2024 04:26:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704284769; cv=none; d=google.com; s=arc-20160816; b=smtf1dUcOnyc79smFVTxdE3pNcyP/XJYgX8eoE9AXDU3oZumE7BZRI6nsFEG+uZ6bb XtLR0SSEmaEsUvuJIFu5cN0QrtFcGBxx/YonZdlsfORi3VvIER0oGnRpgKxkrHysh+0h wh2i/xzi19ENrYMKIGKsTWXVfQiknAB8+qu/7fbSkDVSikFxUN9C9FBtAbWJgIocwCjc uHuXKjnJ2WkmqcJKgDUSRz4JVYg6yRy+badxc0kgbkuGMdP0shTSVF5L5cLT+2Nh3pur 1MvRP0IZqUdbT9LxeX6ZBAuuu9FTT0IsimGK39KyB1UGlOQuQl3w/UGEXNGbt4DDf1ma tkMw== ARC-Message-Signature: i=1; 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=Gw0KnZ2x5TiHQFz8yxi9vX1A1BdbJPMnCaGhwqdh/68=; fh=DIGxkKWDPqysVkw0/lYdZd9nJzo7LI1eQXAnhcfqgP8=; b=u4SazPtxc3+QGZl6ovUT9+Gg6F9mu4S4Mh4ABJib81MU2WGv93q8KZx1ac0Nt89kg1 CevQhe6dC6Ib9EJMZpbVOxSpoYPfYJE109XflqgxfjV5k+WyfVYeAczhUkq9SQ+hgih0 V9aKO0J96FaIaPkZniCyFtdUX/w6Lx8mvIb5Pl9c9FgXk7UVA25LBwlQ0jelNKnDm792 j+6tLy2eIDT8S31z3GPiOhNz7vtrOfNba0Hp/Sewjj+A1cZKJUTIfvRxzEBhl2i4GR8+ bQvP7QCMu4747pwT9efp+PjExO7d/3UsOcgSQJv7Tvg5mSu7xYLn0ordtHAffqAS5ab9 fm1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UDMfLmqr; spf=pass (google.com: domain of linux-kernel+bounces-15515-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15515-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b8-20020a17090a990800b0028a2b0c5d7asi1108648pjp.41.2024.01.03.04.26.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 04:26:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-15515-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UDMfLmqr; spf=pass (google.com: domain of linux-kernel+bounces-15515-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-15515-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 64DF8285A41 for ; Wed, 3 Jan 2024 12:26:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A65CB1947A; Wed, 3 Jan 2024 12:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="UDMfLmqr" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 A486619458; Wed, 3 Jan 2024 12:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704284749; x=1735820749; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7NZPFuLqIaZYxF8kzjwORU+cPOyFb8rBNMttLqHxoyI=; b=UDMfLmqrSvJ7f4Xfhg+a6pdId2N+iIJ76n+VkfdQVd2LdvWHWTNLpXu1 Z+T08AoSiE7mwNTeznB4hWiJpfBCFn4aHGbPV0iWLX1iWwg2aF6vbegFu VG2GP2BQRYCkc7IMp2N+7V9NO9bGAllSK7tRDxn5McW1wdcewW7N/pW+/ WIEZvyxkwTGvDuVuetvklHiAkBUx7dNLwehTFs18429srWHdL+XWLQeul joSWkPZwcUxeowXu9jpLdziPJLeOwv3YNVlvUsrNMTOdMX5Z42jXR7t1K HEj55mVknwVEg9em94cqojKy7POQrnPqakvSdKe3xpdsp8VUlSPxpceCR Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="4085305" X-IronPort-AV: E=Sophos;i="6.04,327,1695711600"; d="scan'208";a="4085305" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2024 04:25:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10941"; a="783498077" X-IronPort-AV: E=Sophos;i="6.04,327,1695711600"; d="scan'208";a="783498077" Received: from sharadav-mobl.amr.corp.intel.com (HELO box.shutemov.name) ([10.249.36.97]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2024 04:25:42 -0800 Received: by box.shutemov.name (Postfix, from userid 1000) id C10E610A567; Wed, 3 Jan 2024 15:25:39 +0300 (+03) Date: Wed, 3 Jan 2024 15:25:39 +0300 From: kirill.shutemov@linux.intel.com To: Alexey Makhalov Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, bp@alien8.de, hpa@zytor.com, dave.hansen@linux.intel.com, mingo@redhat.com, tglx@linutronix.de, x86@kernel.org, netdev@vger.kernel.org, richardcochran@gmail.com, linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, zackr@vmware.com, linux-graphics-maintainer@vmware.com, pv-drivers@vmware.com, namit@vmware.com, timothym@vmware.com, akaher@vmware.com, jsipek@vmware.com, dri-devel@lists.freedesktop.org, daniel@ffwll.ch, airlied@gmail.com, tzimmermann@suse.de, mripard@kernel.org, maarten.lankhorst@linux.intel.com, horms@kernel.org Subject: Re: [PATCH v4 6/6] x86/vmware: Add TDX hypercall support Message-ID: <20240103122539.agoq7647bzwcgjep@box.shutemov.name> References: <20231228192421.29894-1-alexey.makhalov@broadcom.com> <20231228192421.29894-7-alexey.makhalov@broadcom.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20231228192421.29894-7-alexey.makhalov@broadcom.com> On Thu, Dec 28, 2023 at 11:24:21AM -0800, Alexey Makhalov wrote: > From: Alexey Makhalov > > VMware hypercalls use I/O port, VMCALL or VMMCALL instructions. > Add __tdx_hypercall path to support TDX guests. > > No change in high bandwidth hypercalls, as only low bandwidth > ones are supported for TDX guests. > > Co-developed-by: Tim Merrifield > Signed-off-by: Tim Merrifield > Signed-off-by: Alexey Makhalov > Reviewed-by: Nadav Amit Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov