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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 017D8C4167B for ; Mon, 6 Nov 2023 15:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FdtyegatsSnlMtrJ2EcefCcvpDQ+1DT20wpzLwKrp8M=; b=zyKqs++trrOzRD /jPYgcs5aBjf1A8Pj31TCxeaLGSPCQz7oyzXRKzsFlt8/v0nOgCdtEH4RZhfKJQJVE90PifQuHH+6 ifkse5MEKXcaoHaYB6AVJNpYBO1IGzzOh/WMixSLrdXEtQHEPXMD3GFBQA/yMHFLeK+KPeXZmpKkl S/OcV9nfF2LED6X9+aN90VGgssMJ4GEeLpNEBM9muZPFqJtrtwAsyTeOcPvoCWHGwkrsGIxYblrrv gCzyN5jjeDSr9vzkz6JH6QAev8ZvfY2aKrqao5Aoe1aDz1f3fMiMKP66joTPIrRlLVH3IMF3iP2X0 JmoSsEQan4U0QEF7VZFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r01bR-00Gzaw-07; Mon, 06 Nov 2023 15:33:25 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r01bN-00GzZd-0y for linux-arm-kernel@lists.infradead.org; Mon, 06 Nov 2023 15:33:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 666E3CE0D9A; Mon, 6 Nov 2023 15:33:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95FE8C433C7; Mon, 6 Nov 2023 15:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699284797; bh=xV7m5Axz6doc1+4iuhW6bs3XG18ZDG1RNL3LtMPk/bA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QSe+LhMhvFLDhezunvYjS91vcxuGdkNV3dRzxEHBsN2hfo6RPH/Pt2YTxiRrRmcAD OvgnVk5QNtmf4artyOZ1+svaV6jGvSQ6y6y/mlMVdK1eZ/b3E9RjHeYg6VOHt/QRES 4qxEJlQ9pZnV6Bymj2bqCcqmMjYc9+47Z0Q7Bm5Xbj+pa39mwdQKMiI3MCY3N//fk2 2AADPaFJc9/oKRhknESCqAhP7DjE7Jxn8eN/6n202w/G9Ioz/GqWmejgS4EMhpmbsJ bWJIxJ4lWSKBEs35tUSSjf48SDSbjVWyPJQozNEgzLGwXZFinq+fI8tQ1vHWUbliDV NbIa5ZTv5f+/A== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1r01bG-00Ao8C-Rb; Mon, 06 Nov 2023 15:33:15 +0000 Date: Mon, 06 Nov 2023 15:33:14 +0000 Message-ID: <86edh228xx.wl-maz@kernel.org> From: Marc Zyngier To: Kunkun Jiang Cc: Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Gavin Shan , Jean-Philippe Brucker , "open list:IRQCHIP DRIVERS" , , , Subject: Re: [RFC PATCH] KVM: arm/arm64: GICv4: Support shared VLPI In-Reply-To: <1fb8353e-e9c4-2570-c2ca-ec537c18ac4d@huawei.com> References: <20231102143507.840-1-jiangkunkun@huawei.com> <87msvt6cc7.wl-maz@kernel.org> <1fb8353e-e9c4-2570-c2ca-ec537c18ac4d@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: jiangkunkun@huawei.com, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, gshan@redhat.com, jean-philippe@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, wanghaibin.wang@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231106_073321_540713_0F644382 X-CRM114-Status: GOOD ( 12.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 06 Nov 2023 14:59:01 +0000, Kunkun Jiang wrote: > > The virtio-pci driver write entry1-6 > massage.data in the msix-table and trap to QEMU for processing. The > massage.data is as follow: > > entry-0 0 > > entry-1 1 > > entry-2 1 > > entry-3 1 > > entry-4 1 > > entry-5 1 > > entry-6 1 Urgh... is vp_modern_queue_vector() used in your configuration? This is ... terrible. I wonder if PCIe actually allows this sort of thing. In any case, this sort of behaviour breaks so many thing in KVM's implementation that I'd recommend you disable GICv4 until we have a good solution for that. M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel