mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nikolay Borisov <nik.borisov@suse.com>
To: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv5 0/4] x86/tdx: Adjust TD settings on boot
Date: Thu, 4 Jul 2024 13:17:12 +0300	[thread overview]
Message-ID: <499db0a3-186c-4998-a1c6-ce774a2d6c25@suse.com> (raw)
In-Reply-To: <20240624114149.377492-1-kirill.shutemov@linux.intel.com>



On 24.06.24 г. 14:41 ч., Kirill A. Shutemov wrote:
> The patchset adjusts a few TD settings on boot for the optimal functioning
> of the system:
> 
>    - Disable EPT violation #VE on private memory if TD can control it
> 
>      The newer TDX module allows the guest to control whether it wants to
>      see #VE on EPT violation on private memory. The Linux kernel does not
>      want such #VEs and needs to disable them.
> 
>    - Enable virtualization of topology-related CPUID leafs X2APIC_APICID MSR;
> 
>      The ENUM_TOPOLOGY feature allows the VMM to provide topology
>      information to the guest. Enabling the feature eliminates
>      topology-related #VEs: the TDX module virtualizes accesses to the
>      CPUID leafs and the MSR.
> 
>      It allows TDX guest to run with non-trivial topology configuration.


Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>

      parent reply	other threads:[~2024-07-04 10:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 11:41 Kirill A. Shutemov
2024-06-24 11:41 ` [PATCHv5 1/4] x86/tdx: Introduce wrappers to read and write TD metadata Kirill A. Shutemov
2024-06-24 11:41 ` [PATCHv5 2/4] x86/tdx: Rename tdx_parse_tdinfo() to tdx_setup() Kirill A. Shutemov
2024-06-24 11:41 ` [PATCHv5 3/4] x86/tdx: Dynamically disable SEPT violations from causing #VEs Kirill A. Shutemov
2024-07-03 11:39   ` Nikolay Borisov
2024-07-03 13:04     ` Kirill A. Shutemov
2024-07-03 14:49       ` Dave Hansen
2024-07-04 13:03         ` Kirill A. Shutemov
2024-07-03 12:22   ` Nikolay Borisov
2024-07-03 13:05     ` Kirill A. Shutemov
2024-06-24 11:41 ` [PATCHv5 4/4] x86/tdx: Enable CPU topology enumeration Kirill A. Shutemov
2024-07-02 16:17   ` Xiaoyao Li
2024-07-03 12:33     ` Kirill A. Shutemov
2024-07-04 10:17 ` Nikolay Borisov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499db0a3-186c-4998-a1c6-ce774a2d6c25@suse.com \
    --to=nik.borisov@suse.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-coco@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®