Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-11-24 Thread Jeremi Piotrowski
On 24/11/2023 14:33, Kirill A. Shutemov wrote: > On Fri, Nov 24, 2023 at 12:04:56PM +0100, Jeremi Piotrowski wrote: >> On 24/11/2023 11:43, Kirill A. Shutemov wrote: >>> On Fri, Nov 24, 2023 at 11:31:44AM +0100, Jeremi Piotrowski wrote: On 23/11/2023 14:58, Kirill A. Shutemov wrote: > On

Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-11-24 Thread Kirill A. Shutemov
On Fri, Nov 24, 2023 at 12:04:56PM +0100, Jeremi Piotrowski wrote: > On 24/11/2023 11:43, Kirill A. Shutemov wrote: > > On Fri, Nov 24, 2023 at 11:31:44AM +0100, Jeremi Piotrowski wrote: > >> On 23/11/2023 14:58, Kirill A. Shutemov wrote: > >>> On Wed, Nov 22, 2023 at 06:01:04PM +0100, Jeremi

[PATCH] net :mana :Add remaining GDMA stats for MANA to ethtool

2023-11-24 Thread Shradha Gupta
Extend performance counter stats in 'ethtool -S ' for MANA VF to include all GDMA stat counter. Tested-on: Ubuntu22 Testcases: 1. LISA testcase: PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-Synthetic 2. LISA testcase: PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-SRIOV Signed-off-by:

Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-11-24 Thread Jeremi Piotrowski
On 24/11/2023 11:43, Kirill A. Shutemov wrote: > On Fri, Nov 24, 2023 at 11:31:44AM +0100, Jeremi Piotrowski wrote: >> On 23/11/2023 14:58, Kirill A. Shutemov wrote: >>> On Wed, Nov 22, 2023 at 06:01:04PM +0100, Jeremi Piotrowski wrote: Check for additional CPUID bits to identify TDX guests

Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-11-24 Thread Kirill A. Shutemov
On Fri, Nov 24, 2023 at 11:31:44AM +0100, Jeremi Piotrowski wrote: > On 23/11/2023 14:58, Kirill A. Shutemov wrote: > > On Wed, Nov 22, 2023 at 06:01:04PM +0100, Jeremi Piotrowski wrote: > >> Check for additional CPUID bits to identify TDX guests running with Trust > >> Domain (TD) partitioning

Re: [PATCH v1 2/3] x86/coco: Disable TDX module calls when TD partitioning is active

2023-11-24 Thread Jeremi Piotrowski
On 23/11/2023 15:13, Kirill A. Shutemov wrote: > On Wed, Nov 22, 2023 at 06:01:05PM +0100, Jeremi Piotrowski wrote: >> Introduce CC_ATTR_TDX_MODULE_CALLS to allow code to check whether TDX module >> calls are available. When TD partitioning is enabled, a L1 TD VMM handles >> most >> TDX

Re: [PATCH v1 1/3] x86/tdx: Check for TDX partitioning during early TDX init

2023-11-24 Thread Jeremi Piotrowski
On 23/11/2023 14:58, Kirill A. Shutemov wrote: > On Wed, Nov 22, 2023 at 06:01:04PM +0100, Jeremi Piotrowski wrote: >> Check for additional CPUID bits to identify TDX guests running with Trust >> Domain (TD) partitioning enabled. TD partitioning is like nested >> virtualization >> inside the

Re: [PATCH v2 0/8] x86/coco: Mark CoCo VM pages not present when changing encrypted state

2023-11-24 Thread kirill . shutemov
On Tue, Nov 21, 2023 at 01:20:08PM -0800, mhkelle...@gmail.com wrote: > From: Michael Kelley > > In a CoCo VM when a page transitions from encrypted to decrypted, or vice > versa, attributes in the PTE must be updated *and* the hypervisor must > be notified of the change. Strictly speaking it

Re: [PATCH v1 3/3] x86/tdx: Provide stub tdx_accept_memory() for non-TDX configs

2023-11-24 Thread Jeremi Piotrowski
On 23/11/2023 15:11, Kirill A. Shutemov wrote: > On Wed, Nov 22, 2023 at 06:01:06PM +0100, Jeremi Piotrowski wrote: >> When CONFIG_INTEL_TDX_GUEST is not defined but CONFIG_UNACCEPTED_MEMORY=y is, >> the kernel fails to link with an undefined reference to tdx_accept_memory >> from >>