From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4119DC433EF for ; Tue, 17 May 2022 13:53:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346547AbiEQNxq (ORCPT ); Tue, 17 May 2022 09:53:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232850AbiEQNxo (ORCPT ); Tue, 17 May 2022 09:53:44 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 342646240; Tue, 17 May 2022 06:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652795623; x=1684331623; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qntudTR6UjQ9xuy4RHR1VXPdymqaf+mRmNGJmowhCTI=; b=UsTh2OZlJYdtjoHxRyXEvJ6EWqZwYgB9kTD8vNvKBsUtASKwaSGRgBzJ lIe33GP0ZwDEiidEc3mHEXcO/RUjeOC8WzY20T4I1pRimKjCP1dqpxHHg WIKXsvflzqVnuFTd12Pr3WGTUkR2jIrhSftZ6RjhZaLRMQmr68izSSWer WHWEIYrWy82REc5/+Cd6Kf8GoYI8YilIUWi56Sj9MRiXwdJzTVwuTAPpv Y0fgO7TqTuBaW2tFHlcdIEzNKJ3xnXOHo+LnmiwFzfdyq81cIziteJBOj i07l2csOF/NZUs9aag09olUkzIHvxEeDGFYQdG38wqXZad/bbVBu3H9XE A==; X-IronPort-AV: E=McAfee;i="6400,9594,10349"; a="251084458" X-IronPort-AV: E=Sophos;i="5.91,233,1647327600"; d="scan'208";a="251084458" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 06:53:42 -0700 X-IronPort-AV: E=Sophos;i="5.91,233,1647327600"; d="scan'208";a="544915273" Received: from gao-cwp.sh.intel.com (HELO gao-cwp) ([10.239.159.23]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2022 06:53:35 -0700 Date: Tue, 17 May 2022 21:53:26 +0800 From: Chao Gao To: Sean Christopherson Cc: Paolo Bonzini , Zeng Guang , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , "kvm@vger.kernel.org" , Dave Hansen , "Luck, Tony" , Kan Liang , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Kim Phillips , Jarkko Sakkinen , Jethro Beekman , "Huang, Kai" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "Hu, Robert" Subject: Re: [PATCH v9 0/9] IPI virtualization support for VM Message-ID: <20220517135321.GA31556@gao-cwp> References: <20220419153155.11504-1-guang.zeng@intel.com> <2d33b71a-13e5-d377-abc2-c20958526497@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, May 16, 2022 at 08:49:52PM +0000, Sean Christopherson wrote: >On Tue, May 03, 2022, Paolo Bonzini wrote: >> On 5/3/22 09:32, Zeng Guang wrote: >> > >> > I don't see "[PATCH v9 4/9] KVM: VMX: Report tertiary_exec_control field in >> > dump_vmcs()" in kvm/queue. Does it not need ? >> >> Added now (somehow the patches were not threaded, so I had to catch them one >> by one from lore). >> >> > Selftests for KVM_CAP_MAX_VCPU_ID is posted in V2 which is revised on top of >> > kvm/queue. >> > ([PATCH v2] kvm: selftests: Add KVM_CAP_MAX_VCPU_ID cap test - Zeng >> > Guang (kernel.org) ) >> >> Queued, thanks. > >Shouldn't we have a solution for the read-only APIC_ID mess before this is merged? We can add a new inhibit to disable APICv if guest attempts to change APIC ID when IPIv (or AVIC) is enabled. Maxim also thinks using a new inhibit is the right direction [1]. If no objection to this approach and Maxim doesn't have the patch, we can post one. But we will rely on Maxim to fix APIC ID mess for nested AVIC. [1] https://lore.kernel.org/all/6475522c58aec5db3ee0a5ccd3230c63a2f013a9.camel@redhat.com/