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 2C8B0C7EE31 for ; Tue, 6 Jun 2023 16:31:19 +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=6K9dS6UN5tPzc90jkoxqe1RuUv60tvQqE9jPFFmt/nU=; b=0oac+gJuczJqHs xcB4NYc0SljLWhtlGBSeBGoIT6V2Z1Fi0fnGfOc1WQn3t5oFsanl57UUwqvLkXAyeairCp53cGH2E 3/6vMQvILtb1wV21x7oPBmvC/FeSTHDjl1ThACO0ig3rwj10Yi8a0MIgLo3Hj/vLx+RziZxz59R9w 9MFz8YQV87g7/l8GD69IspaaicttJ/IQ3vyu0YPMnCuXBa+DLgWXCkqQD5zD1dtiGSB9ZHGrnYFax GIO9FA56YwcoMjhe4Gq4x9YCHYpGX3mWYGaH3aoumv44fUBQtEN5BV/suopNQb6ZePnYEiRGz1FjY D+621wJUZdtBZB2hKXFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6Za8-002RSO-2b; Tue, 06 Jun 2023 16:30:52 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6Za6-002RRc-1y for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2023 16:30:51 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 1EAA163598; Tue, 6 Jun 2023 16:30:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CAF3C433EF; Tue, 6 Jun 2023 16:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686069049; bh=pBplO4+hU+s0fObqkw4P608h259jrji39gOalnCZFBA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JeuQkTZzeUx/ZGr+pGJd6IsRLavZrbj5hI/vtjLiiSrg0zWauEWA9ZsWaLws2tei5 L5p+HKoSLlC++xltdfOZHblNZQk/M1PEceDrBYrrdqxkJasPk3UhF2aoD6GTEOdrfo UVQ/ETo1pVpUS19Sbgc2XfDCJQLR11bwGNFSWYe0p3DZZ+n3G+Qbel/3OHWhAfea6G mnMlFhfEpMP69R/ZU7lHl92QEd1/1JIuvOri5kWc5ss7JdlcxWKFIDb/YPKnURi+un 96zyfPyv5bJLjqPuKs6bzSnfsQUAcMwZqzhOQ6CykC38uk4HJx+mUNdYYbc985M68n aQHOHmkPiCiPw== Received: from 152.5.30.93.rev.sfr.net ([93.30.5.152] helo=wait-a-minute.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 1q6Za2-003GH8-Rk; Tue, 06 Jun 2023 17:30:47 +0100 Date: Tue, 06 Jun 2023 17:30:45 +0100 Message-ID: <87mt1co8ne.wl-maz@kernel.org> From: Marc Zyngier To: Eric Auger Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alexandru Elisei , Andre Przywara , Chase Conklin , Christoffer Dall , Ganapatrao Kulkarni , Darren Hart , Jintack Lim , Russell King , Miguel Luis , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu Subject: Re: [PATCH v10 00/59] KVM: arm64: ARMv8.3/8.4 Nested Virtualization support In-Reply-To: References: <20230515173103.1017669-1-maz@kernel.org> <16d9fda4-3ead-7d5e-9f54-ef29fbd932ac@redhat.com> <87zg64nhqh.wl-maz@kernel.org> <86r0rfkpwd.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 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 93.30.5.152 X-SA-Exim-Rcpt-To: eauger@redhat.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alexandru.elisei@arm.com, andre.przywara@arm.com, chase.conklin@arm.com, christoffer.dall@arm.com, gankulkarni@os.amperecomputing.com, darren@os.amperecomputing.com, jintack@cs.columbia.edu, rmk+kernel@armlinux.org.uk, miguel.luis@oracle.com, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@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-20230606_093050_738411_25DE47D9 X-CRM114-Status: GOOD ( 20.80 ) 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 Tue, 06 Jun 2023 10:33:27 +0100, Eric Auger wrote: > > > By the way, what are you using as your VMM? I'd really like to > > reproduce your setup. > Sorry I missed your reply. I am using libvirt + qemu (feat Miguel's RFC) > and fedora L1 guest. OK, so that's *very* different for what I'm using, which is good! Do you have a QEMU branch somewhere? > Thanks to your fix, this boots fine. But at the moment it does not > reboot and hangs in edk2 I think. Unfortunately this time I have no > trace on host :-( While looking at your series I will add some traces. I've been able to run EDK2 compiled for kvmtool with only a couple of change (such as using SMCs instead of HVCs, and disabling the broken DT-to-ACPI convertion). However, reboot isn't something I've played with, as kvmtool doesn't even try to reboot the guest (reboot is handled as power-off). I'm pretty sure this is related to tearing down the shadow S2 MMU contexts when QEMU reinit the vcpus, and we may fail to clean things up. I'll try and have a look once I'm back from holiday (and we can have a look at KVM Forum). Thanks, 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