From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.75069.1674744377861519085 for ; Thu, 26 Jan 2023 06:46:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JPe6L6Q/; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674744377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sHDqNT0GGglr8c06orHSp8HJMDgB+rXK0E+PonLIFu8=; b=JPe6L6Q/CrcDXO8R2kMwGZE8bfvsa/CuPc+o4DGWK/cQqeyyXlbgqS77j3Nfrk/vxNxTZE 5weQQ4M+KKufBknG9vLr5GZHm4tHvw18E+1c3j/Yf/iym2VC3VxHd+xlxSkuHqlayI82VT FQqSaquB5fPUcnlEyD3pdr8fIYYouiI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-440-247FUjCEMsaYXrs1CsTuZg-1; Thu, 26 Jan 2023 09:46:15 -0500 X-MC-Unique: 247FUjCEMsaYXrs1CsTuZg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8031138149AB; Thu, 26 Jan 2023 14:46:15 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4423051E5; Thu, 26 Jan 2023 14:46:15 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 4EF7B180091C; Thu, 26 Jan 2023 15:46:13 +0100 (CET) Date: Thu, 26 Jan 2023 15:46:13 +0100 From: "Gerd Hoffmann" To: Marc Zyngier 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 Message-ID: <20230126144613.a5vtxwnqgbj7ob7c@sirius.home.kraxel.org> References: <20230119120021.4yohqindvj3ghwky@sirius.home.kraxel.org> <20230126120151.kqxphknorphulcb5@sirius.home.kraxel.org> <86zga5l84j.wl-maz@kernel.org> MIME-Version: 1.0 In-Reply-To: <86zga5l84j.wl-maz@kernel.org> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 26, 2023 at 01:48:12PM +0000, Marc Zyngier wrote: > On Thu, 26 Jan 2023 12:01:51 +0000, > Gerd Hoffmann wrote: > > > > > > 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? Yes. > I wouldn't be surprised if that broke ages ago as nobody really tests > this configuration. Understandable. 1G is enough for simple smoke tests but not much beyond that. And it is the odd child in the gang which hasn't a gic. > If you can pinpoint the last state where this actually worked, I'll > try and have a look. Don't have that at hand. Need try downgrade stuff and see what I find. Tried with edk2 already back a year or so without success. Didn't try downgrading qemu / kernel yet. > But this sounds unrelated to the page fault handling that my patch was > fixing. Yes, unrelated bug. But the page fault bug reproduces on the rpi3 too, without the fix the firmware hangs before printing the first log line. Wanted report that because Ard mentioned it is hard to reproduce. take care, Gerd