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 BD7F3C05027 for ; Mon, 23 Jan 2023 11:24:47 +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=Vx5vInU7LZNs4tqKdu1FahL+4v3JASdMXbKoGWmKaFU=; b=xG8fps2fXrbRw1 EdY+FsbDuMtH7KnXW+mrbDGceydGptGFmNt37FH/J/jiJLcrAp6gHekKrEgCxJBnQvEZ9/bCRP6kX j9q9jQQB9zO03yXJsdUhB5TMksyqaWM9b2LQGJiKHT4ybuV8tK5uE2gUQVVUicZ4jascVjSHi2yUg o5xwoIKOO6VtgmcwvIVetgGRgGASHNawx9Il0aDmGsIYWbBLSMDGxIF6NG44XCiGmbJIWdi7d2yJD toF3xmcIA+pGXoQM1SEjdhhEP7HSbwIJM64Q5vGO6XqwsITlFcL0UIrNPhgfdTBFgCsp2ahDo+A96 pZTpIEo9xaoEWtEbleDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJuvf-00GxCF-HR; Mon, 23 Jan 2023 11:23:59 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJuvb-00GxBL-SW for linux-arm-kernel@lists.infradead.org; Mon, 23 Jan 2023 11:23:57 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 558E4B80B30; Mon, 23 Jan 2023 11:23:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DBF9C433EF; Mon, 23 Jan 2023 11:23:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674473033; bh=MG4dKe/lEhMeBHCTD7Z6kSXtoYwi3Oyjui1AiICa0Vg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ivqSFefkOM6YftWNlMf9kE83iM3KwzVDdwT6p6aNT/PoWJ5DJRyUaIFopU394im/F B59lAxKTE+j0V+dJ4t4SvCwRr8MuR9W9a3dOcADZb253Zz8Bon7rvA/pcFlmwxOdpV ZPKdLcQ4dnyb0fPJVfYnpSJ4RhZUrQrk/hyesA/BURM2GVzEgkbiBa0wavNMXo3HGa kiy8GdPJaYxn1Pjuin1gOlzSYu9dxVTYVcSsjqE23WYudSBHbrPUXEASGAirMqaZc0 kteP4lhEgdQR3ehwTeeEaQZT/qQ0UbGybMM8PSffDgg6vEEN86NZ3lt2+3RHuXxrSY lLd5D7FPL7l2Q== 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 1pJuvW-003vOM-Iz; Mon, 23 Jan 2023 11:23:50 +0000 Date: Mon, 23 Jan 2023 11:23:50 +0000 Message-ID: <86cz75mr3t.wl-maz@kernel.org> From: Marc Zyngier To: Shanker Donthineni Cc: James Morse , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, Vikram Sethi , Zenghui Yu , Oliver Upton , Suzuki K Poulose , Ard Biesheuvel Subject: Re: [PATCH] KVM: arm64: vgic: Fix soft lockup during VM teardown In-Reply-To: References: <20230118022348.4137094-1-sdonthineni@nvidia.com> <863588njmt.wl-maz@kernel.org> <28061ceb-a7ce-0aca-a97d-8227dcfe6800@nvidia.com> <87bkmvdmna.wl-maz@kernel.org> <2e0c971a-0199-ff0d-c13c-d007d9f03122@nvidia.com> <86wn5imxm9.wl-maz@kernel.org> <86r0vpmn5q.wl-maz@kernel.org> 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/28.2 (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: sdonthineni@nvidia.com, james.morse@arm.com, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, vsethi@nvidia.com, yuzenghui@huawei.com, oliver.upton@linux.dev, suzuki.poulose@arm.com, ardb@kernel.org 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-20230123_032356_102861_04A6D544 X-CRM114-Status: GOOD ( 15.59 ) 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 Sat, 21 Jan 2023 15:35:48 +0000, Shanker Donthineni wrote: > > > > On 1/20/23 06:00, Marc Zyngier wrote: > > What I am asking agin is: is there any overlap between any vgic ioctl > > and the teardown of the VM? Do you ever see kvm_vm_release() being > > called before kvm_device_release()? > > > > Because that's the overlap I've been talking all along. > > I've not observed overlap of kvm_vm_release() with ioctls > kvm_device_ioctl(), kvm_vcpu_ioctl() and kvm_vm_ioctl() for > 3hrs. Test created hundreds of VMs and teardowns. OK, that's reassuring. Thanks for looking into this. 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