From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web10.73647.1674740899081936190 for ; Thu, 26 Jan 2023 05:48:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bkh9Ls4S; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: maz@kernel.org) 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 D7258B81DBB; Thu, 26 Jan 2023 13:48:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92227C4339E; Thu, 26 Jan 2023 13:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674740894; bh=grOqAw+DJNdjom66uvVoOD8SHWjXNTqyDGq527Vuutk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bkh9Ls4SQm2k+VMM8YwNK+FmkbCmZNMyBogJMys0kwWbNez4D6szMIzTli09nYB0v KFRR21VoOfDsWNJBSsB8lkKG1I/7223BXPEh0+W2vDoul3d6g4/hA08Zkp+d13Y3iW e48s9BrZF7SfG5Scw1jeG/xIOHyqNwwRWwU+70FNjhUOzOK2n9xMhvH7LU3qQZYElg ylDvOIkpCO0cK2ZQsFix87bHEagN11Fvf6BuNfdpQ1locAdKoqSFGm3GR3VEM7MLbv jMSW0af4gv7TORE7FDqdrAVZyfzhgmn1Fq8jmBauxc9R7tbl2PzKNL0i0f3dwmO8Lq U0AFXX8bkj40A== 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 1pL2bs-004qBM-Dk; Thu, 26 Jan 2023 13:48:12 +0000 Date: Thu, 26 Jan 2023 13:48:12 +0000 Message-ID: <86zga5l84j.wl-maz@kernel.org> From: Marc Zyngier To: Gerd Hoffmann Cc: Ard Biesheuvel , devel@edk2.groups.io, osteffen@redhat.com, dann.frazier@canonical.com Subject: Re: [edk2-devel] [PATCH v2 2/2] ArmVirtPkg/ArmVirtQemu: Avoid early ID map on ThunderX In-Reply-To: <20230126120151.kqxphknorphulcb5@sirius.home.kraxel.org> References: <20230119120021.4yohqindvj3ghwky@sirius.home.kraxel.org> <20230126120151.kqxphknorphulcb5@sirius.home.kraxel.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: kraxel@redhat.com, ardb@kernel.org, devel@edk2.groups.io, osteffen@redhat.com, dann.frazier@canonical.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Content-Type: text/plain; charset=US-ASCII On Thu, 26 Jan 2023 12:01:51 +0000, Gerd Hoffmann wrote: > > On Thu, Jan 19, 2023 at 02:21:30PM +0100, Ard Biesheuvel wrote: > > On Thu, 19 Jan 2023 at 13:55, Oliver Steffen wrote: > > > > > > Quoting Gerd Hoffmann (2023-01-19 13:00:21) > > > > Hi, > > > > > > > > > > I tried the most recent Qemu master (v7.2.50) and also v7.0.0, > > > > > > on the 5.14 (RHEL) kernel and on 6.1.6-200.fc37.aarch64 (from Fedora). > > > > > > No luck. > > > > > > > > > > > > > > > > Does that include a backport of commit 406504c7b0405d74d74c15a667cd4c4620c3e7a9? > > > > > > > > Probably not given that fedora kernels are almost vanilla and the > > > > backport landed in stable in v6.1.7 (commit 9a1195c584321). > > > > > > > > Oliver: try pulling the latest kernel directly from koji: > > > > https://koji.fedoraproject.org/koji/buildinfo?buildID=2112315 > > > > > > > > take care, > > > > Gerd > > > > > > > > > > Thanks for the koji link, Gerd. > > > > > > It works with 6.1.7-200.fc37.aarch64. > > > Perfect. > > > > > > Thanks Ard, thanks Marc! > > > > > > > Thanks for the report. Up to this point, Marc is the only one who had > > managed to reproduce this afaik, so having another data point where > > the fix works as intended is rather nice. > > One more data point: This also gets things working again on the > raspberry pi 3. Well, sort of. There still is some timer problem > (it waits forever on the splash screen). That might also be some > qemu bug though ... RPi3 as a host? Using the QEMU-provided GIC emulation? I wouldn't be surprised if that broke ages ago as nobody really tests this configuration. If you can pinpoint the last state where this actually worked, I'll try and have a look. But this sounds unrelated to the page fault handling that my patch was fixing. Thanks, M. -- Without deviation from the norm, progress is not possible.