Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4469198pxj; Wed, 12 May 2021 06:23:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy41RPN8HP2wQ964tYdKc80gNSiN/fCXCK2ytinAunv33o0r4WusE/B08jAhSjCqCY6edCv X-Received: by 2002:a05:6402:1c0b:: with SMTP id ck11mr43347436edb.264.1620825823840; Wed, 12 May 2021 06:23:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620825823; cv=none; d=google.com; s=arc-20160816; b=zzlQkGOOt9qkgpQy3MbGRRh+Js7sf1LZhmV3Z1DL7Znvrbhi1BCYGbO/k+ICp9YwE3 z59a6kM5c0StKOAQwEMRlqJ+EYxKDSHphCcw9cg6B7OQTDAvM3iXvddqLc93Nl7b9AXA 6gOj7O70z6DrINcNQGjKXRcO4JqZ5YwI8P9d6c2d1ky8NhZC/xmjVn5grGJ8zv/FEMrV 0BPdBLc9REFiGlIKwhIQJw33419PLywe9bEpeJn6+UCcTX1kv3Cuv/gySu/e6pNXWRTh NZ0svtHGPJtE0NR+LAH/31g5CsBam5pbK7N1o4CTByRroZnQs4CElb67UHqsL7xWhcJ7 Uviw== 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=kM8Gv4a7if6FOAGYpIP4H4G5ELTL9yP0j2wunmulU+g=; b=xfDGjs4n2p6nszV5Sdm2GnBgbcrQzAa2E8Ub9OwOD3Ck6opjPuvyoKxSz4y2ndkrS2 dyvVlSKGfuMUiH6ZTkMGQqvpOLEc6D8GgNY1TbmftoDciNwsUbT5iDCVxHvwb9hnzg4P bkyDYWU0CyGv2uERreLj2I8Y5WdqwYeXulQ39a2MW6SMPZJsoiA260kng/aKxm81AQgJ kzbissOXPFfRcgsEa8r0lasPYK8Lv2lBSBKAxAND0B3+eIx46eVwgC9vKnZsslpaHGDb m9yOT8ndgJF6yIIOhHtf4EtcjyAEAeWWs+/Drv8NG0xlOpd33hRIjLAVIunRY0u6IP8K wgEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=IxkLR8bN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si8684229edb.474.2021.05.12.06.23.19; Wed, 12 May 2021 06:23:43 -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=@infradead.org header.s=desiato.20200630 header.b=IxkLR8bN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbhELNUY (ORCPT + 99 others); Wed, 12 May 2021 09:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbhELNUW (ORCPT ); Wed, 12 May 2021 09:20:22 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B9AC061574 for ; Wed, 12 May 2021 06:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=kM8Gv4a7if6FOAGYpIP4H4G5ELTL9yP0j2wunmulU+g=; b=IxkLR8bNVFnsDosV3gjfPgggNa 1zh6QH/LgbpHoi480Ij82xCBQAnWc5KtCeK4JpZ26xHB15CP1luAkUovYhCcfCDc4LxpINJ2rWVUJ Karqtz3BHWU6pBpxdyrBM9PJCJb3LUV4qLTYT7ozpXTk8bW8mcp1VtRf45dq4kcdcKhvInMDbfFf9 Gi6FdogMnOjwiHnQKKbWnc6FqTXjfcGcMArKgcHvfYvUQljm3UPNBhV9MmCsbnyJ7PCjbXRhm4uDG 2JxaO8B0lU0OuHL5BL45JLE65lbvnzR4pyP6i5tBEXvFeLN2TVDWFQWWUx003LIimpxYW3bJbFfsG 8Qsw3dew==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lgolT-002sBN-Hy; Wed, 12 May 2021 13:19:04 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 22EED300242; Wed, 12 May 2021 15:18:58 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 088162870D488; Wed, 12 May 2021 15:18:58 +0200 (CEST) Date: Wed, 12 May 2021 15:18:57 +0200 From: Peter Zijlstra To: Juergen Gross Cc: Andi Kleen , Borislav Petkov , Kuppuswamy Sathyanarayanan , Andy Lutomirski , Dave Hansen , Dan Williams , Tony Luck , Kirill Shutemov , Kuppuswamy Sathyanarayanan , Raj Ashok , Sean Christopherson , linux-kernel@vger.kernel.org Subject: Re: [RFC v2 01/32] x86/paravirt: Introduce CONFIG_PARAVIRT_XL Message-ID: References: <4f8c9559dd04d8e8485c419c5ebc9471613f7928.1619458733.git.sathyanarayanan.kuppuswamy@linux.intel.com> <41463493-48bb-0e69-dcb2-3072e2ddf208@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41463493-48bb-0e69-dcb2-3072e2ddf208@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 05:56:05PM +0200, Juergen Gross wrote: > No. We have PARAVIRT_XXL for Xen PV guests, and we have PARAVIRT for > other hypervisor's guests, supporting basically the TLB flush operations > and time related operations only. Adding the halt related operations to > PARAVIRT wouldn't break anything. Also, I don't think anything modern should actually ever hit any of the HLT instructions, most everything should end up at an MWAIT. Still, do we wants to give arch_safe_halt() and halt() the PVOP_ALT_VCALL0() treatment?