From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: Should SEV-ES #VC use IST? (Re: [PATCH] Allow RDTSC and RDTSCP from userspace) Date: Tue, 23 Jun 2020 18:13:45 +0200 Message-ID: <20200623161345.GQ4817@hirez.programming.kicks-ass.net> References: <20200623120433.GB14101@suse.de> <20200623125201.GG4817@hirez.programming.kicks-ass.net> <20200623134003.GD14101@suse.de> <20200623135916.GI4817@hirez.programming.kicks-ass.net> <20200623145344.GA117543@hirez.programming.kicks-ass.net> <20200623145914.GF14101@suse.de> <20200623152326.GL4817@hirez.programming.kicks-ass.net> <56af2f70-a1c6-aa64-006e-23f2f3880887@citrix.com> <20200623155204.GO4817@hirez.programming.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" To: Dave Hansen Cc: Juergen Gross , Tom Lendacky , Thomas Hellstrom , Joerg Roedel , Mike Stunes , Kees Cook , kvm list , Andrew Cooper , Joerg Roedel , Dave Hansen , LKML , Sean Christopherson , Linux Virtualization , Andy Lutomirski , "H. Peter Anvin" , Dan Williams , Jiri Slaby , X86 ML List-Id: virtualization@lists.linuxfoundation.org On Tue, Jun 23, 2020 at 09:03:56AM -0700, Dave Hansen wrote: > On 6/23/20 8:52 AM, Peter Zijlstra wrote: > > Isn't current #MC unconditionally fatal from kernel? But yes, I was > > sorta aware people want that changed. > > Not unconditionally. copy_to_iter_mcsafe() is a good example of one > thing we _can_ handle. Urgh, I thought that stuff was still pending. Anyway, the important thing is that it is fatal if we hit early NMI. Which I think still holds.