From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.3239.1631948430385301757 for ; Sat, 18 Sep 2021 00:00:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=ZZNqjcJL; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0895da89a4=abner.chang@hpe.com) Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18I4VsGL014108; Sat, 18 Sep 2021 07:00:21 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=yG1UnlAKPfEE/Tcpaekt6wAw7XvlIEx75lCcmzOh/PU=; b=ZZNqjcJLSaTYA/6eafjiXQYIxW4cApGq5oc9OApF/ACVbnTEnD0NmaUJzMwQZtddPHMn aEp0KlIkGiLAMQOJNZK0oV1W4ZM/IV8vfMa0CneR842hleomJwoiyfrIsWnKfR0febbx dwoq37O+q+AiOJihjlsjoSxLObUNF/ohufs5CIkyjTjLT8lyYyLem7oG7V4G1/QFJ5v/ oUdVegjR6x26VHeaDIsj85WbvPSTRSqSN1dNYNUTTIar7xD+R4bvYzftMoFNqi+UUssp pV08BR6SWTTT1qu5Z189PsIGrOlUC/cxpqD3yi9KrUQ5qvAvyV1ACE+jVIAphBShcTOZ mQ== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 3b56afhcbx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 18 Sep 2021 07:00:20 +0000 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3427.houston.hpe.com (Postfix) with ESMTPS id E622B7B; Sat, 18 Sep 2021 07:00:19 +0000 (UTC) Received: from G1W8106.americas.hpqcorp.net (2002:10c1:483d::10c1:483d) by G1W8106.americas.hpqcorp.net (2002:10c1:483d::10c1:483d) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sat, 18 Sep 2021 07:00:19 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (15.241.52.10) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.18 via Frontend Transport; Sat, 18 Sep 2021 07:00:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eKs6q5gcFq4TX1LBB0eXvPPTuJrFb5P9840c18/DECefgICIOO687r++iT6ndnyX1Dg+If9KcsjLperVhrGuXubeM6PSgKT7f2HxUdCDx8YKwFYv8bzvIxlsDkx5zpTIQd23lTgvFnud34P+h0tnpIqpxy7R/pfFduA76tPSBhrYNIy/Ih/nAQxPZph0H6Qg7E/bWw5JO/ag4QkidXH7/dZOqgaeJOjzXrrG0cGyJIewed+MVGlPApo3s3//Q/NVG2k9z+cmAwusdJvh5X1zWhTrGeM197wXOcPGjga/Ziy7GwsXSmn/8/0wbPrWUEOz0uDrIxjH6YzuGSg9ekA1Xw== 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=tdijYucOLkgdEX6zpoyfFLi7CQB9anSFRDpuH7yPp0E=; b=U/U00EKq1UUtHIAFGaKUg3d4BHgC59E8faHi2VwghGQdbfW+0eLXI+o2KUt/aubCybkVo1p4sBU8jYizywUE0qaL0ajiMuMXZvpOJdX3wITM57lMdeyff7aXy/TrS5JXDvjcqfmsDd0lPzFcV4AeshJRr//IegKrzi0ADo0tjenfm2P+74IM/IRtvxeidCAlT/Qo60exptfe0uZGa7nCq5ZY6EnUSViGh5CGX1m6sNyGoL6cg367t3F34xKmbTpP+BLXRTESlXlrfTcLs4KhlPQ/4fxGEacNVMxcafppHSGJMgI52Q1c/hXzzNO9a12HsRx5DmQToPD5fWRRVwPWfg== 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 CS1PR8401MB0422.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Sat, 18 Sep 2021 07:00:16 +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 07:00:16 +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/PFcAAGd5qAAAOU45AAHXbzAAAnL3LgABSV0IAAAF5XgAAeUxCwAWxaPLAAAStBcA== Date: Sat, 18 Sep 2021 07:00:16 +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> <16A5D7B7D6218B9A.31588@groups.io> In-Reply-To: <16A5D7B7D6218B9A.31588@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: 4ecd27a4-e42d-4848-f290-08d97a71f882 x-ms-traffictypediagnostic: CS1PR8401MB0422: 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: Sb3xWDa0uXfTZcOglb54t+FWZTF1ysKLtFhueudXsPedogIU+735yqiOe+A2aTX8Y0V40ZmiCSFXEF5b5IpchXtgOkDoJz4USjTs5UzcpAevZ1eTJQC+OAv8KKZhPRXer4jaxesnVyqgWuQzIgyURYVESby1SOaWPdb3rUnCvsf6Ydy37jXaChtwhn3mqdqJTmgNwngslM7FlJGr98I2xkF+gq/5Use0zmhUUk0b6eYYjrALpwnsDhoMee79QtohUVIafObJ6WXHfowlNSJFhkny9XbTaOdjKthFxV8WD2zMwrYO9y8SHAt3WA3YwCe3bGrlQMTuWxsc+7BNChIKTQQx9tGzRbkep2BcL7dyBzxD1W/NDV6KDChjQ/F9owD5HVBZpWjlJVXcO+RKxDP0l6wmEU/qN4LlXBVnCJV588AdOms6bU+7c59yF2KNqetAnQdGGvTi35Fl3TKp/RA7hSdiCMXYMRgddSNQNT5G89QVcsaSwfNWZB/5ZeTrouWD/ZQ7gClvTFzzpZGINO3WVMODMsINtp4EJTPcfp4dqTb5TjIrCDEHOzsvq7dfvSOuwhN7ZIQZb4ygp/rKRmtOVlk5zMs/4hFk9/9O0HZ12XDVU0g4dqlIYWiM9eO4lYh9rxerXjmi9FZw5SmrvUYy69UwfNdt8HlxmQxaUKCcjjego9najqYIaIpth8jfb9gtn1v3vqKCrYBFIKOIPiMX0DN6bznwuaWJw8GpVJa7CGghnL/u3wmSs71fjN/qj6pi8B1j/oPH851nQGyr/9Wq9nVggX0Q1hyb6YELc1AMs5Rq3FY86AP4YRO1bNEtM63bv+FpBo0mRUZPHCshPSKe+A== 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:(366004)(2906002)(186003)(5660300002)(52536014)(83380400001)(7416002)(8676002)(508600001)(9686003)(71200400001)(55016002)(4326008)(38100700002)(110136005)(38070700005)(316002)(6506007)(33656002)(66446008)(53546011)(55236004)(54906003)(122000001)(76116006)(66946007)(26005)(64756008)(66556008)(8936002)(966005)(7696005)(66476007)(86362001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ur4gdB96AuAuF5SxpsAdyfZ96JoBnCguCsmJQ8FI7VZh8Jjx86/DxwYGtC1z?= =?us-ascii?Q?WFz5p6RH9ca+2uumrEBwxWuni9BgFAEJqBwP2ZW94HDmpt8wu5SdPeMAPTpz?= =?us-ascii?Q?IKiOFH6nz7e+faJoFxKgPZ+Q/IA93tnfX1bKa/4G3+5TJz3vHJzxdXGbtezC?= =?us-ascii?Q?2lJrFy8mtQf4ZuJPgsS1jznaU6XrroHtyi+OS5NwceI2B2iQJ83l3LbMQVij?= =?us-ascii?Q?Seqw7is2kHtlTmkLaoAGRBF7YEvqxVHk+olByO8FYkLMObu5dgvIwq+ZxbrS?= =?us-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/WFeGKXFj0w35VXY2iqo2gX/z9Noijq?= =?us-ascii?Q?RoGiXz+U6v2zcOMNzossBIfcNezEDRgWp0QOZIoHEedk0L8XAc6C0EZj60UT?= =?us-ascii?Q?9KUO3EC+/VieRP7+GC8tKikYio4I/zddU6aTcpxX5ueOgQKYOgGzQv0iafwk?= =?us-ascii?Q?PeZ31VvysIBiTFTUwxwTcog4?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 4ecd27a4-e42d-4848-f290-08d97a71f882 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2021 07:00:16.7241 (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: wplfX45D2lTy25STr/H2Ru8SIYsVhsU37Ssx8f8KJOjdmHK0o3kmOek8YtFBn1xEwNFaq3DnpLpJKXWsUSfqiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0422 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: OvHCaqWlkSflqB2rgGdO5Au2sIZDiHE5 X-Proofpoint-GUID: OvHCaqWlkSflqB2rgGdO5Au2sIZDiHE5 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 priorityscore=1501 malwarescore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 clxscore=1015 mlxlogscore=764 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109180046 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable One corection. > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Abner Chang > Sent: Saturday, September 18, 2021 2:46 PM > 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 >=20 > Hi all, below is the plan to move some module/libraries from Arm*Pkg to > other packages for RiscVVirtPkg and RiscVPkg. >=20 > 1. FdtClientDxe - which is a useful protocol for parsing FDT nodes. Move = to > stay with FdtLib under EmbeddedPkg. gFdtClientProtocolGuid will be also > moved 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 > ArmPciCpuIo2Dxe, 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 > MdeModulePkg for ARM and RISC-V. PcdPciIoTranslation will be moved to under MdePkg/ Abner > 4. VirtioFdtDxe - Will be moved to under OvmfPkg/Fdt > Let me know if you have any opinions. >=20 > Regards, > Abner >=20 > > -----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 > > > > > > > > > -----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= verify > > > 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 RI= SC-V > > change is also required. > > > > Abner > > > > > > > > > -----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? > Currently > > > > > 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 m= ove > > > > over to edk2. > > > > > > > > / > > > > Leif > > > > > > > > > > > > > > > > > > > > > > > > > > >=20 >=20 >=20 >=20 >=20