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 4141D740034 for ; Mon, 16 Oct 2023 02:58:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=hE4kAYF9L3AqJ39hxIfvsirhnDl6bysUNZQPpZhYiIo=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:From:To:Cc:Subject:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1697425115; v=1; b=KSuHsxp73opNZF9hDXsQJdYeIMG1RS/qWGyIRCNlU7xqtf0i82lRpt4I8sm7gwcaCKCGUnTb ekr6OdI/U8tCDcX0BqoxW+p3L163clfjGPad3ztG3Idoc1cVg/Y+adVsoBn1L1UZyFcAfZNyRYu CHGPJ3ysEYVCnxPn5zQxSfaI= X-Received: by 127.0.0.2 with SMTP id DfIxYY7687511x4sl8xdo4ug; Sun, 15 Oct 2023 19:58:35 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web10.109961.1697425114364897245 for ; Sun, 15 Oct 2023 19:58:35 -0700 X-Received: from loongson.cn (unknown [10.40.24.149]) by gateway (Coremail) with SMTP id _____8Cx5_HWpixlyzsyAA--.31132S3; Mon, 16 Oct 2023 10:58:31 +0800 (CST) X-Received: from [10.40.24.149] (unknown [10.40.24.149]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dx_y_VpixlLgsmAA--.14352S3; Mon, 16 Oct 2023 10:58:29 +0800 (CST) Message-ID: <33d7dbba-af9f-cb1d-6579-932ec9bbe16b@loongson.cn> Date: Mon, 16 Oct 2023 10:58:29 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: "Chao Li" To: Ard Biesheuvel , Leif Lindholm , sami.mujawar@arm.com, Gerd Hoffmann , jiewen.yao@intel.com Cc: edk2-devel-groups-io Subject: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg X-CM-TRANSID: AQAAf8Dx_y_VpixlLgsmAA--.14352S3 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAGCGUsnaYAhgABs6 X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnRJUUU9Fb4IE77IF 4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4 kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8I cVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87 Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2AIxVAIcxkE cVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1lYx0E2Ix0cI8IcVAFwI0_JF 0_Jw1lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxG rwCYjI0SjxkI62AI1cAE67vIY487MxAIw28IcxkI7VAKI48JMxAqzxv262kKe7AKxVWUXV WUAwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUXVWUAwC20s026c02F40E 14v26r106r1rMI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIx kGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAF wI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r 4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IUbRVbPUU UUU== 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,lichao@loongson.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: QryojYQ3qb4X0DENq6LVT5Max7686176AA= Content-Type: multipart/alternative; boundary="------------AvPVodUHnP1Vmv0Zkg3Xqq0X" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=KSuHsxp7; dmarc=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 --------------AvPVodUHnP1Vmv0Zkg3Xqq0X Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Ard, I'm porting the LoongArch virt-machine to edk2. LoongArch virt-machine=20 uses Fdt16550SerialPortHookLib to handle the UartBase, and the=20 gEarly16550UartBaseAddressGuid is defined in ArmVirtPkg.dec. I think this library can be used in other Arch, like RISC-V LoongArch=20 and so on, so can we feasibility this library into OvmfPkg? Hope to hear back from you. Thanks, Chao -=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 (#109620): https://edk2.groups.io/g/devel/message/109620 Mute This Topic: https://groups.io/mt/101989244/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --------------AvPVodUHnP1Vmv0Zkg3Xqq0X Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Ard,

I'm porting the LoongArch virt-machine to edk2. LoongArch virt-machine uses Fdt16550SerialPortHookLib to handle the UartBase, and the gEarly16550UartBaseAddressGuid is defined in ArmVirtPkg.dec.

I think this library can be used in other Arch, like RISC-V LoongArch and so on, so can we feasibility this library into OvmfPkg?

Hope to hear back from you.


Thanks,
Chao
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#109620) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--------------AvPVodUHnP1Vmv0Zkg3Xqq0X--