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 B74EE7803D1 for ; Mon, 16 Oct 2023 07:47:43 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9MzbClM0Nvi0d4UJQiXZGCs/iJAh/2PLOjuVG+TocHY=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20140610; t=1697442462; v=1; b=BQpN2EEmGhQ48vYN+u0txpmQrmfHyy3PkGtj1+OeA2snH8TzmC0KY1oWWIGvdvIS9xS/p/do XaoryvrL714cejNIdNcs1PwcgFRLF3TLRzWkIRf+9Ue/aU5TSSPhyRso7vzKoWhSAT+4d6P1klt n69xYrkjFiC6EkGnNCed42oA= X-Received: by 127.0.0.2 with SMTP id ai7WYY7687511xU8NXYzXSSg; Mon, 16 Oct 2023 00:47:42 -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.112610.1697442461388935007 for ; Mon, 16 Oct 2023 00:47:41 -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-663-q19MHosJMAy-PdxrhL37vQ-1; Mon, 16 Oct 2023 03:47:36 -0400 X-MC-Unique: q19MHosJMAy-PdxrhL37vQ-1 X-Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (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 E873A29ABA20; Mon, 16 Oct 2023 07:47:35 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.193.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 375B425C8; Mon, 16 Oct 2023 07:47:35 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 39D75180092D; Mon, 16 Oct 2023 09:47:28 +0200 (CEST) Date: Mon, 16 Oct 2023 09:47:28 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, lichao@loongson.cn Cc: Ard Biesheuvel , Leif Lindholm , sami.mujawar@arm.com, jiewen.yao@intel.com Subject: Re: [edk2-devel] About the feasibility of detaching Fdt16550SerialProtHookLib from ArmVirtPkg Message-ID: References: <33d7dbba-af9f-cb1d-6579-932ec9bbe16b@loongson.cn> MIME-Version: 1.0 In-Reply-To: <33d7dbba-af9f-cb1d-6579-932ec9bbe16b@loongson.cn> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 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,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: hOJC8zLBzutBqIA64R702tHix7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=BQpN2EEm; 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 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] -=-=-=-=-=-=-=-=-=-=-=-