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 B9B8FD801DB for ; Sun, 8 Oct 2023 15:39:31 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=7nU4hzkK2vr6YIc58+dEpzTTp04lFpORWxeVmmvYO7w=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1696779570; v=1; b=QLZvJAOKqCa87yPEBPJSSsp1L/8hieT96o8HffW5erALyrdYUsWfYoadZA7lc0r4/0JGn2pK CwFNbuUZ6YlD2GaLgi0MMv8fkaYsKtQYqX6N5ANX0CUvAVhibSggJYwNj+nXw/XdhET8u++DQSK twVHkG7I8ZvT8Gjw/vo2gpNk= X-Received: by 127.0.0.2 with SMTP id 04UBYY7687511x6uqbr9MrUr; Sun, 08 Oct 2023 08:39:30 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.40415.1696779569793424349 for ; Sun, 08 Oct 2023 08:39:30 -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-231-gRWNUvgqNayzVzVGQj37aA-1; Sun, 08 Oct 2023 11:39:25 -0400 X-MC-Unique: gRWNUvgqNayzVzVGQj37aA-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 69BD33806703; Sun, 8 Oct 2023 15:39:25 +0000 (UTC) X-Received: from lacos-laptop-9.usersys.redhat.com (unknown [10.39.192.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7DF2492B05; Sun, 8 Oct 2023 15:39:22 +0000 (UTC) From: "Laszlo Ersek" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Gerd Hoffmann , Leif Lindholm , Sami Mujawar Subject: [edk2-devel] [PATCH 6/9] ArmVirtPkg: introduce DebugLibFdtPL011Uart Flash instance Date: Sun, 8 Oct 2023 17:39:09 +0200 Message-Id: <20231008153912.175941-7-lersek@redhat.com> In-Reply-To: <20231008153912.175941-1-lersek@redhat.com> References: <20231008153912.175941-1-lersek@redhat.com> MIME-Version: 1.0 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: pk7RjAML6f6eGO9eq2UBDGHwx7686176AA= Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="US-ASCII"; x-default=true X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=QLZvJAOK; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none) SW50cm9kdWNlIHRocmVlIG5ldyBEZWJ1Z0xpYiBpbnN0YW5jZXMsIGZvcmtlZCBmcm9tCk1kZVBr Zy9MaWJyYXJ5L0Jhc2VEZWJ1Z0xpYlNlcmlhbFBvcnQuIEFsbCB0aHJlZSBpbnN0YW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