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.web10.622.1587361124963651338 for ; Sun, 19 Apr 2020 22:38:45 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=037915fef8=abner.chang@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03K5ciKv019200; Mon, 20 Apr 2020 05:38:44 GMT Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 30g78269e5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Apr 2020 05:38:43 +0000 Received: from G9W8454.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.161.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2354.austin.hpe.com (Postfix) with ESMTPS id 803D9D0; Mon, 20 Apr 2020 05:38:11 +0000 (UTC) Received: from G4W9119.americas.hpqcorp.net (2002:10d2:14d6::10d2:14d6) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 20 Apr 2020 05:38:11 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (15.241.52.11) by G4W9119.americas.hpqcorp.net (16.210.20.214) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 20 Apr 2020 05:38:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W1HlANbchVxEE9E04Cc5wHYZWguVh9S4ml5c790rKpuWlfLSK6jSsSAAWHngmuJkeoiYEbb2dFjiUZvGpwyKJFnmqzKKGa+Js6/x+VHhGrSLr88sv43n4aWwi6xt6MK1P3pRPBfvyhkE1mvG3AQeNPprszkSCdp50XgAf1cexNHjdhAnf7nKxntgqj7ZGw0ncZTMrKVWl8dEBtFIv1PaoBQvMRdrK6w9eaZnEqHy/lCys/9tuVhhD+yQ/oehx2N9I9hpRMLrXl7AQGsnypQS71l4vixbQiip3RDZ6r3zAaIZ6v2hQd6DkUb5lnDa4B2M9z0m3AEdcbhYkw0l0aav9Q== 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:X-MS-Exchange-SenderADCheck; bh=+oeqmK4qRZgQf5CC0L5URKT7mi9sWHHUPDmJLSbEzGc=; b=dybFxdK8EMm9bsWNQo3wU8EkeVQrCjK43wMQ1sPoopNGKPvbSoMK/+/vrFDbMisZSE2YhGJ9WQSsZS9Mc22aprFzMjxZwDmM6uGo2ljowWasEjg0XJGmCYI4tLF8I5k8S4hOu/h5JCLFqRmKeFhJN9KiIQe9IHeOhYz14YRqW5V5blZ8eIhnUIgLdCl5ajJcUcOHPXZW6cN9m0l17BMfcNmUcy5yoyg3W+e4PbwyBXcZrylJqi3wAPV1xV4mDMhlnzgjMS+X6j8fA/RGk9/kjoNLSIWDX87qeIbcuyCr5IBJp8Oe4W6VhAtSRRh6hYAXeH7AVO6+iX4mcmQ6J4Dpfw== 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 TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:770a::14) by TU4PR8401MB1150.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7714::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.27; Mon, 20 Apr 2020 05:38:09 +0000 Received: from TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM ([fe80::38ba:b525:f979:8411]) by TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM ([fe80::38ba:b525:f979:8411%11]) with mapi id 15.20.2921.027; Mon, 20 Apr 2020 05:38:09 +0000 From: "Abner Chang" To: "devel@edk2.groups.io" , "hao.a.wu@intel.com" CC: "Chen, Gilbert" , Leif Lindholm , "Gao, Liming" Subject: Re: [edk2-devel] [PATCH v1 2/3] MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch. Thread-Topic: [edk2-devel] [PATCH v1 2/3] MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch. Thread-Index: AQHWDw6zF79oI2yGA0uFSUZjLxNprqiBiCgQgAAFJOA= Date: Mon, 20 Apr 2020 05:38:09 +0000 Message-ID: References: <20200410072555.7444-1-abner.chang@hpe.com> <160466A642D4443D.7555@groups.io> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [16.242.247.131] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 69379120-5e7a-4e7e-5ff7-08d7e4ed0295 x-ms-traffictypediagnostic: TU4PR8401MB1150: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:257; x-forefront-prvs: 03793408BA x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TU4PR8401MB0429.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(136003)(396003)(39860400002)(376002)(366004)(346002)(8936002)(81156014)(52536014)(8676002)(19627235002)(54906003)(33656002)(316002)(966005)(110136005)(4326008)(478600001)(71200400001)(9686003)(55016002)(2906002)(76116006)(64756008)(66946007)(66556008)(5660300002)(66476007)(66446008)(7696005)(186003)(26005)(6506007)(86362001)(53546011);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jdux4Mf+uVTomsDxDZi7RPee5Kds1rFQXQ/Omk/j/OJkF+ulvVXrMcRl9ft7GNANW3YpJjvGIyOL72nTG+64Fp0LeAk2knvWG3iSj1n7zrCcwTi1moNIenI3g5t5VbtUeKrMhBLY0tCBMmi5Nv2D7pTzsZ93WZQmKlUPY6nY7KWhJSe4/3pF6sIduCspThqnDBA/ciNNNrZuc/2sWuBTomNUBGDUBIF8fI8R07pk4xfPN1H9DVZDT0lhoGQUpFnQPCe0DMoMkgVD7PNPwwQeffWhcUfUr0xsQVjPal3uuOoiVDhUoeaoYZwHKfqphkwjsl8G1kDgiek8yPob15G5wAdfJSwl1Q9gCKeK0pFozw/KBMY0aldKv8ihxQuIjuBMZfYzKV6OLRhUrfSd8EMvv3JrxdY4ojig+M/LgOjDpWSInjQevbmaN9T1nDiU6/vX+m2smllujA1Oji8eEnFvGbJEXWIo2LHL97vgz6qdkPGEMTbh3vlKlCtj1QdcS1FFLy5yWdwJe+Rbt3xSHtVOww== x-ms-exchange-antispam-messagedata: o8D3C7PzrEoaaINY8mFl0BNUMeu7xTdPwaOIw4F0ltqmW2RPI66e9jvAFGF0vu+xtHQ3+5bziNrhXc31C/bqceihmXobFyOlQH4iAuk+Uj+4lzvFCTj9jOk4gH7nuTkNsnh2fXvCF+Ku19eCCczuKw== X-MS-Exchange-CrossTenant-Network-Message-Id: 69379120-5e7a-4e7e-5ff7-08d7e4ed0295 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2020 05:38:09.5771 (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: z7jdk1YycAihskfXc9jMFz3jfTUyt+c205RoxugKQ9Qinr8S8onCo5qTFJeHlxzlOXRd4AUTNO89u0hZNoAhOA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB1150 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-20_01:2020-04-17,2020-04-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 phishscore=0 adultscore=0 mlxlogscore=751 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004200049 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Wu, Hao A > Sent: Monday, April 20, 2020 1:24 PM > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > Cc: Chen, Gilbert ; Leif Lindholm > ; Gao, Liming > Subject: Re: [edk2-devel] [PATCH v1 2/3] > MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 arch. >=20 > > -----Original Message----- > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > > Chang, Abner (HPS SW/FW Technologist) > > Sent: Friday, April 10, 2020 3:26 PM > > To: devel@edk2.groups.io > > Cc: Chang, Abner (HPS SW/FW Technologist); Chen, Gilbert; Leif > > Lindholm; Wu, Hao A; Gao, Liming > > Subject: [edk2-devel] [PATCH v1 2/3] MdeModulePkg/CapsuleRuntimeDxe: > > Add RISCV64 arch. > > > > Add RISC-V in INF for building CapsuleRuntimeDxe RISCV64 image. > > > > Signed-off-by: Abner Chang > > Co-authored-by: Gilbert Chen > > Reviewed-by: Leif Lindholm > > > > Cc: Hao A Wu > > Cc: Liming Gao > > Cc: Leif Lindholm > > Cc: Gilbert Chen > > --- > > .../Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf | 9 +++++---= - > > 1 file changed, 5 insertions(+), 4 deletions(-) > > > > diff --git > > a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > > b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > > index 942eda235c..8bf5035a69 100644 > > --- > a/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > > +++ > > b/MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf > > @@ -5,6 +5,7 @@ > > # the capsule runtime services are ready. > > # > > # Copyright (c) 2006 - 2020, Intel Corporation. All rights > > reserved.
> > +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All > > +rights > > reserved.
> > # SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -21,20 > > +22,20 @@ # # The following information is for reference only and > > not required by the build tools. > > # > > -# VALID_ARCHITECTURES =3D IA32 X64 EBC ARM AARCH64 > > +# VALID_ARCHITECTURES =3D IA32 X64 EBC ARM AARCH64 RISCV64 > > # > > > > [Sources] > > CapsuleService.c > > CapsuleService.h > > > > -[Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64] > > +[Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64, > > Sources.RISCV64] > > SaveLongModeContext.c > > > > -[Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64] > > +[Sources.Ia32, Sources.X64, Sources.ARM, Sources.AARCH64, > > Sources.RISCV64] > > CapsuleCache.c > > > > -[Sources.Ia32, Sources.X64, Sources.EBC] > > +[Sources.Ia32, Sources.X64, Sources.EBC, Sources.RISCV64] > > CapsuleReset.c >=20 >=20 > Hello Abner, >=20 > Sorry for the delayed response. > I saw you added the new arch under sections: > [Sources.Ia32, Sources.EBC, Sources.ARM, Sources.AARCH64] [Sources.Ia32, > Sources.X64, Sources.ARM, Sources.AARCH64] [Sources.Ia32, Sources.X64, > Sources.EBC] >=20 > How about the below section? It is not needed, right? > [Sources.X64] No, we don't need [Sources.X64] for architecture specific saveLongModeCont= ext implementation. thanks >=20 > Best Regards, > Hao Wu >=20 >=20 > > > > [Sources.ARM, Sources.AARCH64] > > -- > > 2.25.0 > > > > > > >=20 >=20 >=20