From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web09.3173.1631947615977488164 for ; Fri, 17 Sep 2021 23:47:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=CRqy48NH; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0895da89a4=abner.chang@hpe.com) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id 18I3aShW018041; Sat, 18 Sep 2021 06:46:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=puSEhcLOR+1IVYN314OUgVg9J8dAw+fiQjhJXL0xkZk=; b=CRqy48NHD/nFX93IcNx3Q295hM8r47UDs89+XFMC0iPBROzjAGSOnEodLny3wjM47Xnq o4zdPIS6dmkL+KPoWtaZFyzHVHO020EUDnG+pWXTk8G2p8HZ+kUVhorI264PwJDK3dQj 7DjWqkUI8uJZ+1s62eMcBvewPT7oCvmOGBntgg2RSvlNm+9HrB5zXesNqinF823R5CZX 3RZlStCF1VTXxSRL+naa5U5Is7qn/ocmihdk/lVC+MEFqZ2hzY6kaLeFgkSjgJ+5Ee5s ibPlXtmUGbDi5r/CWLRIvdViK1Xzn0YweTpT2Itkm+guJsyUt3r1eQUX8Hvup6vmqdyo PA== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 3b573r11c7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 18 Sep 2021 06:46:37 +0000 Received: from G9W9210.americas.hpqcorp.net (g9w9210.houston.hpecorp.net [16.220.66.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3425.houston.hpe.com (Postfix) with ESMTPS id D1FAF8D; Sat, 18 Sep 2021 06:46:36 +0000 (UTC) Received: from G4W10204.americas.hpqcorp.net (2002:10cf:5210::10cf:5210) by G9W9210.americas.hpqcorp.net (2002:10dc:429b::10dc:429b) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sat, 18 Sep 2021 06:46:36 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (15.241.52.11) by G4W10204.americas.hpqcorp.net (16.207.82.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Sat, 18 Sep 2021 06:46:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cfZ0BbeEd4f/mW21dhhRoRWby/VoJyxa+2lhH5e0X96s3K/zDqonramZe5SfPgGCa1w6HJHytOZ2dctDlaE7EUPGXiGVYQXOf69Ff9r41GPZKAjZ7x03jv1gz9cZamnkudddGSgoq52dpYwDj6IEhRS5rT4DGvvar8vtIrwDPI+uo/t51aslzetwEY9OlmtGKr4plCN5LImqGvo4vJ/i+NkTPNNqborRE5GEmnxwpE8bFWztVwvD8vX6rDH4PSx3bA3gHmpcl7X6NFV2glpAwDU0c9ee3dIKabGzR9MQRqMzLnt1fgPqrtBZRn5q6XJylFhroPxgKpNgqER4KML+sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HuSSq+3K7YgIoT6o/O32bce5UipOpcWBCULycpwAMiI=; b=S4rFbaBsUKa3wjxi9ZDClQvpJiefUvJcrcx1jvr7pPkSsMNvUdckyw+lNdV1gJd+2Sgca4W0v1CWY9+chVUW3zLOSZCViRlFgB+F+b9zReVvKkAdgJmHnRNI0EojDsosHyO1jxhbwppPHa9vmNAc5ITJx9FZcDClUBfDP8k4LOtrjOILlQ0GLl7/X1Xs4N3wj3bcqal2yGO+dzULTNraAsw4hmxiiB5/z091yDXLa5LpuH9+EiVvmWx7BVA8uEjlzWNYXsbeMcxUSv6PnuCpzAxOdrIaJ3+taQ8ePwtADZuquWaZ9ENCiICeh5jYIMz6VQmxZnd6VvNH4MJIWmfsBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::16) by CS1PR8401MB0584.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7507::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Sat, 18 Sep 2021 06:46:29 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::b88a:7fe7:6294:683f]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::b88a:7fe7:6294:683f%9]) with mapi id 15.20.4523.018; Sat, 18 Sep 2021 06:46:29 +0000 From: "Abner Chang" To: "devel@edk2.groups.io" , "Chang, Abner (HPS SW/FW Technologist)" , "Ni, Ray" , "leif@nuviainc.com" CC: "kraxel@redhat.com" , "Yao, Jiewen" , gaoliming , "'Ard Biesheuvel'" , "Kinney, Michael D" , "Schaefer, Daniel" , 'Sunil V L' , 'Ard Biesheuvel' Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package Thread-Topic: [edk2-devel] [RFC] RISC-V QEMU virtual package Thread-Index: AdeiA3r7QFRZVQLaTkiMKtJbfsb/KgAt/HkAAAZrB1AABGB0UAAH6ySwAEGp9IAAI/PFcAAGd5qAAAOU45AAHXbzAAAnL3LgABSV0IAAAF5XgAAeUxCwAWxaPLA= Date: Sat, 18 Sep 2021 06:46:28 +0000 Message-ID: References: <005f01d7a2bb$6d8e5ef0$48ab1cd0$@byosoft.com.cn> <20210907172229.geh4zcz7pvxoyyj6@leviathan> <20210908133705.kc4unk3nizradc4j@sirius.home.kraxel.org> <20210909052318.tqf6rge2y6cv3h5l@sirius.home.kraxel.org> <20210910095443.yzo64dbhvsoxncyo@leviathan> <16A39EA413775DFC.29279@groups.io> In-Reply-To: <16A39EA413775DFC.29279@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a66107f3-10af-4064-e0e5-08d97a700b1b x-ms-traffictypediagnostic: CS1PR8401MB0584: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rr8gChUQes6INTyHb4z/Sgts5YMzbRy7IiHL9aHE8erCoeHUO8zgOvvuGAq8QEfbZv5fsBI8owVeYFRxf3Su9D/iTkhQ5q5nfhWb1dQY431Vn/erAOInvDv7HBsad4IaQpCTACmmZWglckRBq9v7wJnurBZLdyC3i8GNIiUSXvaE4kpN7KwxIrq1WuO1dWlFcgWKZ+f0KcduQ0LdRb4ys/XVV9e7pTA9DRqHBqLCHcuRZxwid6/4Q8r5yKABI2mENSLntu3Y+/JSBhmFqghPex5tJ/q+jt59ECQ79ClBYr6ZvBQYCnf21xq/LJUNi3LBLJa14JipVzdTFW3k4J+A5omev/X+S7yarodONyxh5iwW3phPEMC2nn2GDmHNI7uVxTv9Pz87T/oK3ddbLCn2N+fHSXLKYpLAw64vFGzol44eDXjqQVFM6gT7HcKHWoJQHescUAbVFcI8vlImeJA3CJ9zqBjMp9TZysVYjSconu0dxD+/kX/KNdM/uMJGU+lRBnXmCdHsC7VNF43aTlC5O/GI3ytjTPaNyyxTVqP6cYL9M3+FbxJx0UNCK0uhysV3L4Ul0dkvPKfTJ1d6kPjcY/JWcyBfVi9AtuOJz8JW4IzdujorMGoavzXSoMmifAPbigMF26/hqiKhyda00RqeTZoCwZPZeAAaCgiE6LQF+jFNo6xdJ3bDRXZo8YhrDhipzUsCJ7ryKhZ3TGACMpzCNQiDFSQsOROpF/qL3mnXmI9btT/nSPJnWbTsFTXmbJdQlP4YBik46O9ULVWw/xGgP3yabPLCRKqzzwueQbagZ0IocEBdHFB+QorOHAovZwOVCAQtHs34e13BTt4xAMMKOA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(396003)(39860400002)(376002)(136003)(346002)(366004)(52536014)(55236004)(6506007)(33656002)(186003)(76116006)(26005)(478600001)(966005)(53546011)(122000001)(66946007)(86362001)(64756008)(66476007)(66556008)(66446008)(38100700002)(83380400001)(9686003)(316002)(38070700005)(8676002)(7416002)(54906003)(71200400001)(5660300002)(4326008)(110136005)(55016002)(2906002)(7696005)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IZSSjzamD+db1tD5o1zQluf3kUwbXXUguwHxKy3T3jhYkV8ehfBD2d/2g8ap?= =?us-ascii?Q?mHasCf0NQfuvVgAW99DDh2Va8CI+Y+sVyENR51h+svpX9lKeCQwy1VCVaw9X?= =?us-ascii?Q?tS/wVRQx3qpv9KGT/5IXN5A8NNHLG1HS0zgnEihhI3Iww4qCoqTyq9vH9gVH?= =?us-ascii?Q?1FGbu7ijwUBdpkvxvE+TM35cMIzYpaw5qxh/Qz1MDEfQeuZ66eB5Ftb+FXjK?= =?us-ascii?Q?N4VugffwaY7OkoZvU4/iw26c3NYeGgVGvUFvwz9RI9K34ThV8kNdAurGCVKG?= =?us-ascii?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vKHn9LqO0H?= =?us-ascii?Q?REYkYdQHfZQ1YzBXoP0e4d5o81i7uyERWdcYcJY3krk0xq3o94fStmHh0XPN?= =?us-ascii?Q?MWXsI2hSvOvGFfr26PJBicrqdS2o1zAS2TZLVUWBiLwj/Z8738m9aCSMsHOD?= =?us-ascii?Q?xjCXITshsb80FGl2zZs5CwfY?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: a66107f3-10af-4064-e0e5-08d97a700b1b X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2021 06:46:28.8988 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9vZnVB2OkY+8sY+mJIzhy0fXI6kqMgC7WUHBnAKtZyktkLa9qeU3ec6mk+JeTwZ1xI0+8x3EBe1AuWc1OT2hxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0584 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: 43y4yYgfHgcPeSuMyL4-x1Z21kCGjVRV X-Proofpoint-GUID: 43y4yYgfHgcPeSuMyL4-x1Z21kCGjVRV X-Proofpoint-UnRewURL: 2 URL's were un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-18_02,2021-09-17_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 impostorscore=0 phishscore=0 clxscore=1015 mlxscore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=696 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109180045 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, below is the plan to move some module/libraries from Arm*Pkg to oth= er packages for RiscVVirtPkg and RiscVPkg. 1. FdtClientDxe - which is a useful protocol for parsing FDT nodes. Move to= stay with FdtLib under EmbeddedPkg. gFdtClientProtocolGuid will be also mo= ved to under EmbeddedPkg. 2. HighMemDxe - Move to under OvmfPkg/Fdt 3. FdtPciHostBridgeLib and FdtPciPcdProducerLib - Move to under OvmfPkg/Fdt The PCD PcdPciIoTranslation is used by above two libraries and ArmPciC= puIo2Dxe, RiscVVirtPkg will use that PCD as well. RiscVPkg may provide its = own CPU_IO2 protocol and use this PCD as ARM does. The definition of PcdPciIoTranslation will be moved to under MdeModule= Pkg for ARM and RISC-V. 4. VirtioFdtDxe - Will be moved to under OvmfPkg/Fdt Let me know if you have any opinions. Regards, Abner > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Abner Chang > Sent: Saturday, September 11, 2021 8:52 AM > To: Ni, Ray ; devel@edk2.groups.io; leif@nuviainc.com > Cc: kraxel@redhat.com; Yao, Jiewen ; gaoliming > ; 'Ard Biesheuvel' ; > Kinney, Michael D ; Schaefer, Daniel > ; 'Sunil V L' ; 'Ard > Biesheuvel' > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package >=20 >=20 >=20 > > -----Original Message----- > > From: Ni, Ray [mailto:ray.ni@intel.com] > > Sent: Friday, September 10, 2021 6:07 PM > > To: devel@edk2.groups.io; leif@nuviainc.com; Chang, Abner (HPS SW/FW > > Technologist) > > Cc: kraxel@redhat.com; Yao, Jiewen ; gaoliming > > ; 'Ard Biesheuvel' > ; > > Kinney, Michael D ; Schaefer, Daniel > > ; 'Sunil V L' ; 'Ard > > Biesheuvel' > > Subject: RE: [edk2-devel] [RFC] RISC-V QEMU virtual package > > > > I asked similar question to Mike who initially set up the CI. > > The answer was: it's ok to pull a edk2-platform code in CI process to v= erify > > edk2 code change. > Move RiscVPkg/RiscVPlatformPkg to under edk2 rather than have it under > edk2-platforms makes more sense to me, and just leave RISC-V platform > code under edk2-platforms. > (Or we can merge RiscVPlatformPkg into RiscVPkg and put RiscVPkg under > edk2 because it seems not necessary to have the common platform code in > the separate package.) > This is not only the matter of RISC-V packages location, CI for any RISC= -V > change is also required. >=20 > Abner >=20 > > > > > -----Original Message----- > > > From: devel@edk2.groups.io On Behalf Of Leif > > Lindholm > > > Sent: Friday, September 10, 2021 5:55 PM > > > To: Chang, Abner > > > Cc: devel@edk2.groups.io; kraxel@redhat.com; Yao, Jiewen > > ; gaoliming ; > > > 'Ard Biesheuvel' ; Kinney, Michael D > > ; Ni, Ray ; > > > Schaefer, Daniel ; 'Sunil V L' > > ; 'Ard Biesheuvel' > > > > > > Subject: Re: [edk2-devel] [RFC] RISC-V QEMU virtual package > > > > > > On Fri, Sep 10, 2021 at 00:08:12 +0000, Chang, Abner (HPS SW/FW > > Technologist) wrote: > > > > > Move it to > > OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMMIO.{c,inf} ? > > > > The naming sounds good to me. > > > > > > > > Another question, > > > > Can CI build the package with dependency of edk2-platform? Currentl= y > > > > RiscVPkg in under edk2-platform and the modules provided by > RiscVPkg > > > > are referred by RiscVVirPkg. > > > > > > Ideally not. > > > > > > I think this serves as a reminder that RISC-V/ProcessorPkg should mov= e > > > over to edk2. > > > > > > / > > > Leif > > > > > > > > > > > > >=20 >=20 >=20 >=20 >=20