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 E0646AC0E70 for ; Mon, 16 Oct 2023 06:00:22 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/EhoDzD90h7/JGo2dOTf5XCBOGZj100TA9CyKo2vzgk=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:From:To:Cc:References:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1697436021; v=1; b=rLIYHqh3wzI2CrYDIrnvusAddDsJ2p4hKfTrG1mAH/AY77L0h8tkRg4gkI3n1m9X6FpbFTsh A1p/Iyg73XCpXTyr21KMy+lyO3AX/UOnS6xE2LipwkEoVCKp3hMip2/5aMuZG0dBTZ5GdlNAhRi Gq/OuuumB1FHhgjO9DrSXtjY= X-Received: by 127.0.0.2 with SMTP id FuiHYY7687511xtVxJS16fx0; Sun, 15 Oct 2023 23:00:21 -0700 X-Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mx.groups.io with SMTP id smtpd.web11.111664.1697436019221736231 for ; Sun, 15 Oct 2023 23:00:19 -0700 X-Received: from loongson.cn (unknown [10.40.24.149]) by gateway (Coremail) with SMTP id _____8DxRvFr0SxlLEAyAA--.31505S3; Mon, 16 Oct 2023 14:00:12 +0800 (CST) X-Received: from [10.40.24.149] (unknown [10.40.24.149]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxS9xr0SxlRSImAA--.14239S3; Mon, 16 Oct 2023 14:00:11 +0800 (CST) Message-ID: <0f73ffd3-9889-3a62-2bcd-37ec51d07574@loongson.cn> Date: Mon, 16 Oct 2023 14:00:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg From: "Chao Li" To: Ard Biesheuvel , Leif Lindholm , sami.mujawar@arm.com, Gerd Hoffmann , jiewen.yao@intel.com Cc: edk2-devel-groups-io References: <33d7dbba-af9f-cb1d-6579-932ec9bbe16b@loongson.cn> In-Reply-To: <33d7dbba-af9f-cb1d-6579-932ec9bbe16b@loongson.cn> X-CM-TRANSID: AQAAf8DxS9xr0SxlRSImAA--.14239S3 X-CM-SenderInfo: xolfxt3r6o00pqjv00gofq/1tbiAQAGCGUsnaYCdwABsJ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3UbIjqfuFe4nvWSU5nxnvy29KBjDU0xBIdaVrnRJUUU92b4IE77IF 4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4 kK6r106r15M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8I cVAFwI0_JFI_Gr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1l84ACjcxK6I8E87 Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2AIxVAIcxkE cVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx1lYx0E2Ix0cI8IcVAFwI0_JF 0_Jw1lYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxG rwCYjI0SjxkI62AI1cAE67vIY487MxAIw28IcxkI7VAKI48JMxAqzxv262kKe7AKxVWUXV WUAwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUXVWUAwC20s026c02F40E 14v26r106r1rMI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIx kGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAF wI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F 4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07j1T5dU UUUU= 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: aD8wKEbvuIn927Q3q8Xdimlyx7686176AA= Content-Type: multipart/alternative; boundary="------------QSdnS80052sEirq1TTsToThh" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rLIYHqh3; 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 --------------QSdnS80052sEirq1TTsToThh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sorry, the last mail was misspelled, what I meant was: can we detaching the Fdt16550SerialPortHookLib into OvmfPkg? Thanks, Chao 在 2023/10/16 10:58, Chao Li 写道: > > 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. > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109621): https://edk2.groups.io/g/devel/message/109621 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] -=-=-=-=-=-=-=-=-=-=-=- --------------QSdnS80052sEirq1TTsToThh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Sorry, the last mail was misspelled, what I meant was: can we detaching the Fdt16550SerialPortHookLib into OvmfPkg?


Thanks,
Chao
在 2023/10/16 10:58, Chao Li 写道:

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.

_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#109621) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--------------QSdnS80052sEirq1TTsToThh--