From mboxrd@z Thu Jan 1 00:00:00 1970 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.4502.1662530100914845855 for ; Tue, 06 Sep 2022 22:55:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=c6z4ZBD4; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662530100; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=25AVwbAt7V/btx8NDPQ0DpKeoIm/c7rp2+NrL85D5mg=; b=c6z4ZBD4Swxr5Xp1wsKzrjEMnlOLaQ0GomfjkH9Sw4jVr6OlZUf3J05on24cy8jONlRwy5 qPPC+fapPN2E3byJ8rCghZrw1T0tEGp5sALJzoI82rfgHc4z8J0WRATw66U7Blw6mLsFPp M3VRCBlWfmIIq05mZzb1w90av56Tupc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-167-eOD-M5hBO2OZxEkOQJmOgA-1; Wed, 07 Sep 2022 01:54:56 -0400 X-MC-Unique: eOD-M5hBO2OZxEkOQJmOgA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CE694185A79C; Wed, 7 Sep 2022 05:54:55 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.195.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 49C924010FA1; Wed, 7 Sep 2022 05:54:55 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B7E9A1800394; Wed, 7 Sep 2022 07:54:53 +0200 (CEST) Date: Wed, 7 Sep 2022 07:54:53 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, sunilvl@ventanamicro.com Cc: Jian J Wang , Liming Gao , Eric Dong , Ray Ni , Rahul Kumar , Debkumar De , Catharine West , Daniel Schaefer , Abner Chang , Leif Lindholm , Ard Biesheuvel , Heinrich Schuchardt , Anup Patel Subject: Re: [edk2-devel] [RFC PATCH 00/17] Refactor and add RISC-V support in edk2 repo Message-ID: <20220907055453.iobaxem6lf5lsn7l@sirius.home.kraxel.org> References: <20220906170837.491525-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 In-Reply-To: <20220906170837.491525-1-sunilvl@ventanamicro.com> X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > RISC-V virt needs following packages from ARM. Need feedback whether they can > be moved to a common location. Current RISC-V virt model DSC file include them > directly. > - ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf > - ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf > - ArmVirtPkg/PlatformHasAcpiDtDxe/PlatformHasAcpiDtDxe.inf > - ArmVirtPkg/Library/NorFlashQemuLib/NorFlashQemuLib.inf OvmfPkg is the place for both the x64 code and code shared by virt platforms (like virtio drivers). So the ArmVirtPkg code should move to OvmfPkg (and I think some modules have already been moved over from armvirt because riscv needs them too). Not sure about ArmPlatformPkg take care, Gerd