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.web11.6518.1634285637748647681 for ; Fri, 15 Oct 2021 01:14:06 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=o4SAuKDc; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0922d4c8eb=abner.chang@hpe.com) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19F81taI012529; Fri, 15 Oct 2021 08:13:56 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 : mime-version; s=pps0720; bh=vvOCIPFTsY2mgiA19QKfiAXrEQOQ//D34lMCIxZMJhs=; b=o4SAuKDcynkTb9QxX04Qw02RGqcQ/yQsXAcHSj49xPNGAhFkhIrpFgY2AfKZ1EOyu/DJ OsF7EZdkXnfarMUi9MlGHiXLiWGo/quD8u6I2S/boB27cg2U62MvBY1AboJrWDAf+YyN 67sYxorrctBzcUILYtPfq2ubXlfy4VS5Ire+CIRjH9dhEJqA7GBiFS2zdniQz/7EvXhS fOh+keSlcB1BQToqpmTRh8SEh0LA/MSU0pTPhBy184DkinVj0nZ1Ib+GL4rJ1K7Fkm35 z4cehAFcbYTuhGgz0Tzyo51qcSHCUXW2WrfQIbDRV5RNWWSQLeahVwEwc34J0D86eJT8 4w== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 3bpmrt00nd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Oct 2021 08:13:56 +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 g9t5008.houston.hpe.com (Postfix) with ESMTPS id DAC4857; Fri, 15 Oct 2021 08:13:55 +0000 (UTC) Received: from G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Fri, 15 Oct 2021 08:13:56 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (15.241.52.11) by G9W8456.americas.hpqcorp.net (16.216.161.95) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Fri, 15 Oct 2021 08:13:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MLTeshvk3KEFTp1lRO/05F5UW0Ddc2A2eB/nIutiUwI4kiw2eXNgpXaXk5gRl54iDSN4IKDmWAn5+EoAPmJs07FkufvNk/tsvIjOHS8c8Aiv4ZHEwq/ymXTE1gcNscxc0sW955UwxzAfG3voBTlwtqywS7SPDKfNzJzqDDPWtp6Rpti89Rge9vKqORvf2lJ/5NpbaG41DHc8MPj3BaDrJTIzG7oTBo3aCwuB02CaHe1kLMWUzUUhwv3AjbOkvhDibLftiYhwuPlyzJ1+rmfmCUu6nFwskFPGsTcOPiH8AknaJVNQkpINOlXYnckJaop7vwCI0rhB4UiG2QcRdiUQbQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ruPqQupOHfbMRD73s+7QkIvCY3mU4FoMg8gMoLirY3s=; b=lk+CpYPjCGCDV0WruwBuhLAYpv3zaMPCzLTrZar54026om5Hp8m7DenG5iMs3p8smkfkJrDDzwywGjM3yqOSbja9mpHcvizVo+kegEe3TJ28RxqyedOfsfBy4nOfa3tHk+EQyyvvilQTCs0MZaQU6CNRatOyAK22XWqG7tH16kxKSqPUiAwzOewqmtMNolhhpBlF76n0NmhfbIMBJApu5+Wz3cMtv+WMElVqivBUl67wX948Lztn2MCyCoJKjNpawEQ3G6OpEZj8Km7zBaZzRbXswLJIzGR6ppE0479WwqC0WaQRoN9rJFPd2oqqSZGxZFg5gJtniGamWZwCmkmO/w== 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 CS1PR8401MB0421.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Fri, 15 Oct 2021 08:13:54 +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.4587.030; Fri, 15 Oct 2021 08:13:54 +0000 From: "Abner Chang" To: "devel@edk2.groups.io" , "ardb@kernel.org" CC: Ard Biesheuvel , Leif Lindholm , "Schaefer, Daniel" Subject: Re: [edk2-devel] [edk2-platforms][PATCH 1/9] Platform/OverdriveBoard: Use PcdPciMmio(32)64Translation PCD from MdePkg Thread-Topic: [edk2-devel] [edk2-platforms][PATCH 1/9] Platform/OverdriveBoard: Use PcdPciMmio(32)64Translation PCD from MdePkg Thread-Index: AQHXwZqfeRqJ8xHnX0SqO2HIX+8K+6vTtYQ3 Date: Fri, 15 Oct 2021 08:13:54 +0000 Message-ID: References: <20211015070008.28192-1-abner.chang@hpe.com> <20211015070008.28192-2-abner.chang@hpe.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: d1cd3a2e-0e9d-4d4e-af98-e6bcffcc969f 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: c8af4990-3159-40a3-64cb-08d98fb3bac2 x-ms-traffictypediagnostic: CS1PR8401MB0421: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: lePmAAX8e3fgF1hBVj+/f3lsc9GripmB+vUysaOf+Ai3VjsQu2oaUlIerdzzYZRMFBe4edgG3PRzcr6blcY7W8cw/V5mVN05IrHgQGOvfb1HOl1f/1KAeGG5Ei8RrVd+dQ4220cOTzb4seewv1WTk+RBEb4ougdKQky1/1qGGTdko7PqjZVF0Wa7erb5mbuKZpbToC0aAU7Juei1ESAOtO1JCFxVDKXcyMrKULWM8m5k90lQh+kvn+0NA1MFw7lWkvsuI65DiIwS0m/JfrfQkiZxT1qLqaRh+3RMHCgXXHha/6rjZtjWflnXIeDyLCJKNEiWygjqjnn6QFhnRbLPi1ulSdMnhGcQA0jKTDmmpGDcZLkIwIn+rHbOjkXheKjMUsjdclOHUduhoUHka/Fxy99z5B9S0eusKLbs9xFrAXWA2qUhc2paRexL9I+IgCKOqonxv8jMERctUDdpIGeMzJlDAob8cffBe/+IQCzRncsGEx/IKWgl8MEcw931UDnuluJpOwpbP/UvRXCs6FgwL8HuuRMAvEcukGgN1uIZGVBQJnvRXI6qQ9mZFJuuffu5IBt0nCM6sV3ijCrFikCVzlFTbERDC6RxN14WnKyOh7ntW+5EGkqoK3yVjx2r8LgG2FvY8ShNW8cStW68lx9s4/In9J2Egy21B4hHpEYoSNRUbZEKZKfga04ch2/gI3nHlvu8XEte1Oe97dChgGlnKr5bK01aoBrVc9fdMYgW7HgAz5cX6M7xgVweQS7re0FlxiZa2krQadnApUfu/8P0kFQk7sjPWDoSewbGn9Vka3A3EiPHug9dZ1AsFOkVaItAYWsUgKLPrpwUaCTa8mIRyA== 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)(83380400001)(316002)(966005)(71200400001)(166002)(38100700002)(508600001)(86362001)(122000001)(33656002)(66556008)(7696005)(6506007)(53546011)(38070700005)(55016002)(5660300002)(8676002)(4326008)(66446008)(64756008)(110136005)(66476007)(55236004)(54906003)(76116006)(91956017)(19627405001)(186003)(66946007)(9686003)(82960400001)(8936002)(2906002)(52536014)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?rvmAxnqIarNJByZGkXqwb5mw1MNjWslJMtlCekk8KVzS+qhaxHvdF92NF3?= =?iso-8859-1?Q?2dTCOWjs2kJva3fkKuEA+a8Z7S4Kb1V8dgS8GY4SEomOsXLXeEvvl8lhVS?= =?iso-8859-1?Q?5QGAT/8vopm3lO/7o6UxnOpGmv5Ovup41IZRkOEAZ2KK7yp13jYS9JJHe/?= =?iso-8859-1?Q?M9w4tUW9P8KV1H2AJL6ShGdeLD85SlowuJkMB9OmI3/ivzycJ9fZ8EGPIH?= =?iso-8859-1?Q?eryhurd7uruYpCYbkSLinVFx+RDpVDPwhblXgfTfTWYes6eVbZ4C0sD+dC?= =?iso-8859-1?Q?fVwmcdWuzmPmdUWH5D0/+niVL/9fONFCjkAY3IYWVVyETyRc/9aytKWamA?= =?iso-8859-1?Q?mtXs8/bfYmw4kWNg8yD+bL1GuuPVsSlzCpFwPSn9ktL4bw24DH8fsf3/8A?= =?iso-8859-1?Q?88O0SuQC0a/8PSJnC1E1yYTTUqzWDexZpf5a8fW8NwCt9sEZlXxajQGgVO?= =?iso-8859-1?Q?oZjTkNR9NZaxzdyxeG1vRXpJf9lpQiG0+/qllnKi3gweYynpH6Blcjs2qA?= =?iso-8859-1?Q?yYNWpWbbGBDFnOlFGFWq0hkPR7e+gNsktue9NTR/wJK3cShYPK5hXpJQz5?= =?iso-8859-1?Q?mp9d9niwE6o/N7fc54PqBOltHZsiDTdxweiqHPTnRn9P6NfCjKJBlBHp6M?= =?iso-8859-1?Q?7s7K9vYnbHTHGLTlj1JX1IM2issLLIEBY5BcuXluA07/Yt0E19YHrZJg0S?= =?iso-8859-1?Q?FUZalDVbuTwGL9S/6GBk3kfCwyfNJNuAhelMvYNqkPG266isT9lHpa4rsA?= =?iso-8859-1?Q?gH+aHaJZ50eVjOACMnalI/cCksS7og51eprxG6DNOziqSae/XeiBXGe//D?= =?iso-8859-1?Q?LtXNHExKSr+XwP5a1oTse2x9HRSowxshRc6g5KwH2Gq3ghjqoFQ0Ce9vla?= =?iso-8859-1?Q?2FC17nvvwpRUkPwv901UpwIeIANZVu4FH/FI+2blYPuOruPvkxaD8l4FuR?= =?iso-8859-1?Q?MD/1oiXI5spPnjIUsQIgDQv/JsqsK6ml0ehW+aWKNd/mxl6mddzIyXyjp6?= =?iso-8859-1?Q?DH03Y9O2RIXQzF3krohs9vgOshb6fQskdVi3i+ixjnncyfRUK++6/sjbLH?= =?iso-8859-1?Q?MFZLw12Y7u7Sno3mXfukAFVwUimuCFDHN6ita4uBlpj6aPdjow5g6Iiu61?= =?iso-8859-1?Q?L5lcLVztpMA7fws94z0vjFVlz+Su3GZOTaJE5OTnu6+xtNZTLgBQDOVdte?= =?iso-8859-1?Q?FwTOW6iMOmOPu6XIMPqsNn0nzVRhW3F1z+npFagRfwpoiZMhaj2VjGZOKG?= =?iso-8859-1?Q?lQys5MTUmmwuXF8k36P6VsH5+S2cNMt/7aHqF61rkpzIt0ezS7RkLA6MVW?= =?iso-8859-1?Q?fzgTmaAbBbsf3hNVnqcIqCcZZDAJ3luCE4hWPaRx6zZTwbHasNrjzNqsp7?= =?iso-8859-1?Q?+jIVnRrEnM?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: c8af4990-3159-40a3-64cb-08d98fb3bac2 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2021 08:13:54.2916 (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: 5fjQD2QS0xrHmyr2iDpesbJi3u+cIn27Ni9Jy5mrnnZVtEYOhK8VK2S2UqUPlOr8nWMf0i5Shk8uWAtzTonNlQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0421 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: w7yoS7m2u34KRrX4PP-nGQi91HaJMwau X-Proofpoint-GUID: w7yoS7m2u34KRrX4PP-nGQi91HaJMwau X-Proofpoint-UnRewURL: 16 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.425,FMLib:17.0.607.475 definitions=2021-10-15_02,2021-10-14_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 phishscore=0 adultscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110150052 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CS1PR8401MB11443C4271D42E1E39F8A9C0FFB99CS1PR8401MB1144_" --_000_CS1PR8401MB11443C4271D42E1E39F8A9C0FFB99CS1PR8401MB1144_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable sigh... typo. Should be ArmPkg, will send V3. Abner ________________________________ From: devel@edk2.groups.io on behalf of Ard Biesheuv= el Sent: Friday, October 15, 2021 3:59 PM To: Chang, Abner (HPS SW/FW Technologist) Cc: edk2-devel-groups-io ; Ard Biesheuvel ; Leif Lindholm ; Schaefer, Daniel Subject: Re: [edk2-devel] [edk2-platforms][PATCH 1/9] Platform/OverdriveBoa= rd: Use PcdPciMmio(32)64Translation PCD from MdePkg On Fri, 15 Oct 2021 at 09:58, Abner Chang wrote: > > Compliant with BZ: #3665 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D3665 > > PcdPciMmio(32)64Translation PCD is relocated to MdePkg that leveraged > by both ARM and RISC-V arch. This patch uses the one from MdePkg > instead the one under ArmVirtPkg. > ArmVirtPkg?? > Signed-off-by: Abner Chang > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Cc: Daniel Schaefer > --- > Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AM= D/OverdriveBoard/OverdriveBoard.dsc > index 91b8c7792e..af20739120 100644 > --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc > @@ -403,11 +403,11 @@ DEFINE X64EMU_ENABLE =3D FALSE > > gArmTokenSpaceGuid.PcdPciMmio32Base|0x40000000 > gArmTokenSpaceGuid.PcdPciMmio32Size|0x80000000 > - gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0 > + gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation|0x0 > > gArmTokenSpaceGuid.PcdPciMmio64Base|0x100000000 > gArmTokenSpaceGuid.PcdPciMmio64Size|0x7F00000000 > - gArmTokenSpaceGuid.PcdPciMmio64Translation|0x0 > + gEfiMdePkgTokenSpaceGuid.PcdPciMmio64Translation|0x0 > > ## Use PCI emulation for ATA PassThru > # gEfiMdeModulePkgTokenSpaceGuid.PcdAtaPassThruPciEmulation|TRUE > -- > 2.17.1 > --_000_CS1PR8401MB11443C4271D42E1E39F8A9C0FFB99CS1PR8401MB1144_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
sigh... typo. Should be ArmPkg, will send V3. 

Abner



From: devel@edk2.groups.i= o <devel@edk2.groups.io> on behalf of Ard Biesheuvel <ardb@kernel.= org>
Sent: Friday, October 15, 2021 3:59 PM
To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>= ;
Cc: edk2-devel-groups-io <devel@edk2.groups.io>; Ard Biesheuve= l <ardb+tianocore@kernel.org>; Leif Lindholm <leif@nuviainc.com>= ;; Schaefer, Daniel <daniel.schaefer@hpe.com>
Subject: Re: [edk2-devel] [edk2-platforms][PATCH 1/9] Platform/Overd= riveBoard: Use PcdPciMmio(32)64Translation PCD from MdePkg
 
On Fri, 15 Oct 2021 at 09:58, Abner Chang <abne= r.chang@hpe.com> wrote:
>
> Compliant with BZ: #3665
> http= s://bugzilla.tianocore.org/show_bug.cgi?id=3D3665
>
> PcdPciMmio(32)64Translation PCD is relocated to MdePkg that leveraged<= br> > by both ARM and RISC-V arch. This patch uses the one from MdePkg
> instead the one under ArmVirtPkg.
>

ArmVirtPkg??

> Signed-off-by: Abner Chang <abner.chang@hpe.com>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Daniel Schaefer <daniel.schaefer@hpe.com>
> ---
>  Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform= /AMD/OverdriveBoard/OverdriveBoard.dsc
> index 91b8c7792e..af20739120 100644
> --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
> +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
> @@ -403,11 +403,11 @@ DEFINE X64EMU_ENABLE  =3D FALSE
>
>    gArmTokenSpaceGuid.PcdPciMmio32Base|0x40000000
>    gArmTokenSpaceGuid.PcdPciMmio32Size|0x80000000
> -  gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0
> +  gEfiMdePkgTokenSpaceGuid.PcdPciMmio32Translation|0x0
>
>    gArmTokenSpaceGuid.PcdPciMmio64Base|0x100000000
>    gArmTokenSpaceGuid.PcdPciMmio64Size|0x7F00000000
> -  gArmTokenSpaceGuid.PcdPciMmio64Translation|0x0
> +  gEfiMdePkgTokenSpaceGuid.PcdPciMmio64Translation|0x0
>
>    ## Use PCI emulation for ATA PassThru
>    # gEfiMdeModulePkgTokenSpaceGuid.PcdAtaPassThruPciEm= ulation|TRUE
> --
> 2.17.1
>





--_000_CS1PR8401MB11443C4271D42E1E39F8A9C0FFB99CS1PR8401MB1144_--