* [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg
@ 2023-10-16 2:58 Chao Li
2023-10-16 6:00 ` Chao Li
2023-10-16 7:47 ` Gerd Hoffmann
0 siblings, 2 replies; 6+ messages in thread
From: Chao Li @ 2023-10-16 2:58 UTC (permalink / raw)
To: Ard Biesheuvel, Leif Lindholm, sami.mujawar, Gerd Hoffmann,
jiewen.yao
Cc: edk2-devel-groups-io
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
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: 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]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 1770 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg
2023-10-16 2:58 [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg Chao Li
@ 2023-10-16 6:00 ` Chao Li
2023-10-16 7:47 ` Gerd Hoffmann
1 sibling, 0 replies; 6+ messages in thread
From: Chao Li @ 2023-10-16 6:00 UTC (permalink / raw)
To: Ard Biesheuvel, Leif Lindholm, sami.mujawar, Gerd Hoffmann,
jiewen.yao
Cc: edk2-devel-groups-io
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
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]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 2169 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg
2023-10-16 2:58 [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg Chao Li
2023-10-16 6:00 ` Chao Li
@ 2023-10-16 7:47 ` Gerd Hoffmann
2023-10-16 8:03 ` Chao Li
1 sibling, 1 reply; 6+ messages in thread
From: Gerd Hoffmann @ 2023-10-16 7:47 UTC (permalink / raw)
To: devel, lichao; +Cc: Ard Biesheuvel, Leif Lindholm, sami.mujawar, jiewen.yao
On Mon, Oct 16, 2023 at 10:58:29AM +0800, Chao Li wrote:
> 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?
Yes, OvmfPkg is the home for virtualization-related packages. We moved
libs from ArmVirtPkg to OvmfPkg before so risc-v can easily share them.
take care,
Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109622): https://edk2.groups.io/g/devel/message/109622
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]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg
2023-10-16 7:47 ` Gerd Hoffmann
@ 2023-10-16 8:03 ` Chao Li
2023-10-16 8:08 ` Gerd Hoffmann
0 siblings, 1 reply; 6+ messages in thread
From: Chao Li @ 2023-10-16 8:03 UTC (permalink / raw)
To: devel, kraxel; +Cc: Ard Biesheuvel, Leif Lindholm, sami.mujawar, jiewen.yao
[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]
Hi Gerd,
So, what I understand that is I can move the Fdt16550SerialPortHookLib
into OvmfPkg?
Thanks,
Chao
在 2023/10/16 15:47, Gerd Hoffmann 写道:
> On Mon, Oct 16, 2023 at 10:58:29AM +0800, Chao Li wrote:
>> 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?
> Yes, OvmfPkg is the home for virtualization-related packages. We moved
> libs from ArmVirtPkg to OvmfPkg before so risc-v can easily share them.
>
> take care,
> Gerd
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109623): https://edk2.groups.io/g/devel/message/109623
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]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 2309 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg
2023-10-16 8:03 ` Chao Li
@ 2023-10-16 8:08 ` Gerd Hoffmann
2023-10-16 10:21 ` Chao Li
0 siblings, 1 reply; 6+ messages in thread
From: Gerd Hoffmann @ 2023-10-16 8:08 UTC (permalink / raw)
To: Chao Li; +Cc: devel, Ard Biesheuvel, Leif Lindholm, sami.mujawar, jiewen.yao
On Mon, Oct 16, 2023 at 04:03:04PM +0800, Chao Li wrote:
> Hi Gerd,
>
> So, what I understand that is I can move the Fdt16550SerialPortHookLib into
> OvmfPkg?
Yes.
take care,
Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109624): https://edk2.groups.io/g/devel/message/109624
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]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg
2023-10-16 8:08 ` Gerd Hoffmann
@ 2023-10-16 10:21 ` Chao Li
0 siblings, 0 replies; 6+ messages in thread
From: Chao Li @ 2023-10-16 10:21 UTC (permalink / raw)
To: Gerd Hoffmann
Cc: devel, Ard Biesheuvel, Leif Lindholm, sami.mujawar, jiewen.yao
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
Ok, I will move this lib when submit LoongArch virtual-machine patch set.
Thanks,
Chao
在 2023/10/16 16:08, Gerd Hoffmann 写道:
> On Mon, Oct 16, 2023 at 04:03:04PM +0800, Chao Li wrote:
>> Hi Gerd,
>>
>> So, what I understand that is I can move the Fdt16550SerialPortHookLib into
>> OvmfPkg?
> Yes.
>
> take care,
> Gerd
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109630): https://edk2.groups.io/g/devel/message/109630
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]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 1872 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-10-16 10:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 2:58 [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg Chao Li
2023-10-16 6:00 ` Chao Li
2023-10-16 7:47 ` Gerd Hoffmann
2023-10-16 8:03 ` Chao Li
2023-10-16 8:08 ` Gerd Hoffmann
2023-10-16 10:21 ` Chao Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox