From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 31472940F6B for ; Mon, 2 Oct 2023 01:51:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=b3/56YUDB/AnpV0nuUmpiyiCwxm1mnIrlCDXprHRxtw=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:To:References:Cc:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1696211493; v=1; b=fMVNsiguWCefCPBGUqIV6TH2P8aFNicJfldS9z08GW2MgqVCLYiYpUp46YkPfUSaP3A/uLiT E/bzsC0e8rcpS4B+1j6yDG3L2KY1qRKXxCuDwHKlsoBC2M6gcYF5W1sSetU+dGyjmj00B0aJiz2 CAZErU9/kDlzldGWPtr2jJeY= X-Received: by 127.0.0.2 with SMTP id gST0YY7687511xS1UimpdCV6; Sun, 01 Oct 2023 18:51:33 -0700 X-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.web11.73151.1696211492869964508 for ; Sun, 01 Oct 2023 18:51:33 -0700 X-Received: from mimecast-mx02.redhat.com (mx-ext.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-184-CiaAx0b1M0uapsLZBzK8jA-1; Sun, 01 Oct 2023 21:51:28 -0400 X-MC-Unique: CiaAx0b1M0uapsLZBzK8jA-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2DBC43C0F661; Mon, 2 Oct 2023 01:51:28 +0000 (UTC) X-Received: from [10.39.192.60] (unknown [10.39.192.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 64033493113; Mon, 2 Oct 2023 01:51:27 +0000 (UTC) Message-ID: <1aee726a-4522-5513-95da-0160d92a1de2@redhat.com> Date: Mon, 2 Oct 2023 03:51:26 +0200 MIME-Version: 1.0 Subject: Re: [edk2-devel] EDK2 ArmVirtQemu behaviour with multiple UARTs To: Peter Maydell References: Cc: Ard Biesheuvel , Gerd Hoffmann , edk2-devel-groups-io From: "Laszlo Ersek" In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: gPOehluqF9nJis3IujOZ6OKZx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fMVNsigu; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On 9/21/23 12:50, peter.maydell at linaro.org (Peter Maydell) wrote: > If you want to play around with this, I have some WIP patches at > https://git.linaro.org/people/pmaydell/qemu-arm.git uart-edk-investigatio= n > (content wise they should be fine, but I haven't cleaned them up into > a coherent set of distinct patches yet, so they're a bit messy.) > A run of QEMU with both UARTs which sends all output to files looks like: >=20 > ./build/arm-clang/qemu-system-aarch64 -display none -vga none \ > -machine virt,acpi=3Don,virtualization=3Don,mte=3Don,gic-version=3Dmax,= iommu=3Dsmmuv3 \ > -smp 2 -m 1024 -cpu max,pauth-impdef=3Don \ > -bios ~/linaro/edk2/QEMU_EFI_DEBUG.fd \ > -drive file=3D/home/petmay01/avocado/data/cache/by_location/0154b7cd3a4= f5e135299060c8cabbeec10b70b6d/alpine-standard-3.17.2-aarch64.iso,format=3Dr= aw > \ > -device virtio-rng-pci,rng=3Drng0 \ > -object rng-random,id=3Drng0,filename=3D/dev/urandom \ > -chardev file,id=3Dchr0,path=3D/tmp/uart0-rev.txt \ > -chardev file,id=3Dchr1,path=3D/tmp/uart1-rev.txt \ > -serial chardev:chr0 -serial chardev:chr1 >=20 > (adjust -serial options to taste) Is the "uart-edk-investigation" branch still the most recent one for this? (I've not checked it yet, but coming close.) Thanks Laszlo -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109241): https://edk2.groups.io/g/devel/message/109241 Mute This Topic: https://groups.io/mt/101498371/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/19134562= 12/xyzzy [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-