Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2929778pxb; Tue, 24 Aug 2021 10:51:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJkGYxdES0+aKn8zt3LRfvDuBDXVG7xr43poZg8iOj68VQaIkRwEgG5w1n/AxKYjg5GCv+ X-Received: by 2002:a17:907:920e:: with SMTP id ka14mr43328263ejb.167.1629827466942; Tue, 24 Aug 2021 10:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629827466; cv=none; d=google.com; s=arc-20160816; b=nliSlJrcw5x14eVEjL+ofI8zr41xa3Xo+agH+vfY1NAJifSn02MIy4q35bsBQDEtMf sHv3awf1HirdeKfmqLP0ab2iVN4cinvyEb/o8RofIXYT4VdUxNRUUbInmHQTt/qBCsew zw3Gw1gFDbnZQ8ZXCsAdcan4aOXT4nofyTxN4wxob7N3e6JLBVe8w30AputHIZAEGtgx 3SO1dymfbL9fANV/ainteCBHEmFj4cloQR1BQFn5T4gjUv5qkwo9qcAef3piHbbCbsil NkqDfatguSvL9tZD+jBlgb/hmReqt4bNyGT0LQaFTve9nM0hnSOIxsbilN5RBpt/fXpH N1RQ== 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=oWf4vA3IaJb7vMimxT4L3B6A+JXDrm2LxrX0YuikrKE=; b=Stpi3vAaaezlYmRvAm2YaV2wjYpGExvCpQUpGqus78mGnop3nmP8OGGpqcd/Df7VSO F38DtsN/v38pq0TCgm1DqgbPjPqb2l+hs59TLdP7ZSQJ80OObhnW5zO5HFWOYM2YOH/v iaB5baESXjMyf4Jp+jEKjFbn7uIcF2mVM7H76zCOZ6mUU33imXX6PqrYJG2yD928FUJg cmGIFfQjvQ3dj/9En3EPWKAnR4HUP0gfa8A5DXktuTFNETYPcXWHtIyWdx7Oo4iO+rjp 9NOl231rldBDWGrezXVvlBXGGTHOu70DHg02JcFyF+3xSV7uQmW9EaQshG/M+2n4MM7v PSHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=EhGXCWwk; 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 hs6si13804202ejc.12.2021.08.24.10.50.44; Tue, 24 Aug 2021 10:51:06 -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=EhGXCWwk; 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 S241796AbhHXRrZ (ORCPT + 99 others); Tue, 24 Aug 2021 13:47:25 -0400 Received: from mail.skyhub.de ([5.9.137.197]:57118 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239147AbhHXRrC (ORCPT ); Tue, 24 Aug 2021 13:47:02 -0400 Received: from zn.tnic (p200300ec2f114400ce3b938495d443bc.dip0.t-ipconnect.de [IPv6:2003:ec:2f11:4400:ce3b:9384:95d4:43bc]) (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 015121EC01FC; Tue, 24 Aug 2021 19:46:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1629827173; 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=oWf4vA3IaJb7vMimxT4L3B6A+JXDrm2LxrX0YuikrKE=; b=EhGXCWwkVzZZQfEuhSMVwcNnGsoDxbWNOsp5wU+Y88ONF9QXpIN82MpPuuqSsK884GsSiF pVjBXs5cmaPewnNFG+HomVNCIOCBvmJMWazWgos6BPvH2ZUdsHEwvHaa9Te/VMSAD3njX+ bQIpxvw06jberGnOEV5AQ6V5N5t/W7U= Date: Tue, 24 Aug 2021 19:46:51 +0200 From: Borislav Petkov To: "Kuppuswamy, Sathyanarayanan" Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Andy Lutomirski , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 07/12] x86/traps: Add #VE support for TDX guest Message-ID: References: <20210804181329.2899708-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210804181329.2899708-8-sathyanarayanan.kuppuswamy@linux.intel.com> <99c5f6e9-a747-1a4a-d0f4-95b8b28e0d02@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <99c5f6e9-a747-1a4a-d0f4-95b8b28e0d02@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 24, 2021 at 10:32:13AM -0700, Kuppuswamy, Sathyanarayanan wrote: > Mainly chose it avoid future name conflicts with KVM (tdx) calls. But What name conflicts with KVM calls? Please explain. > It is required to handle #VE exceptions raised by unhandled MSR > read/writes. Example? Please elaborate. > Ok. I can check it. But there is only one statement after this call. > So it may not be very helpful. Looking at die_addr(), that calls the die notifier too. So do you even *have* to call it here with VEFSTR? As yo say, there's only one statement after that call and box is dead in the water after that so why even bother... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette