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.web10.2937.1649827583259294591 for ; Tue, 12 Apr 2022 22:26:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=dLMLShQv; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0102df6825=abner.chang@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23D51wJm005780; Wed, 13 Apr 2022 05:26:14 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=zxO4M3pGYY6oKH+cI4i6gtSvpmOUKYoOmHhdeFVn+NY=; b=dLMLShQvFPV1kkV/4EQ3q/F5KjuKAlbjvleDqF5/zYmFswocwS2NGfkESQX6Fd6uhUcg W04EnCEMOWPZE1XgARhALi23YAxFmMEP7Ie7PzUopVrk+9BoAGlpKcCof/DKicjrDqI5 4B7p0TziWo9NAH93EAk9hz4noGe4wpMoaIr2E6g1S4BIFIZspufi0ccMeQx5q0GL1Ci7 UfaQnWPm1155kEpxUYlvt7JQ2qjADcNWd42P90HEdJ0HmhRBn0+1hiOgbg1zom6WwvAo qHvh69PgJvgPDkjdt+z3BlFIxg63/C8XLZh/6Rvsfz79TCzPzrsEoTF4OpQNahOGc9bU zg== Received: from p1lg14881.it.hpe.com (p1lg14881.it.hpe.com [16.230.97.202]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3fd7dc9bwt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Apr 2022 05:26:14 +0000 Received: from p1wg14925.americas.hpqcorp.net (unknown [10.119.18.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id 2A037805E73; Wed, 13 Apr 2022 05:26:13 +0000 (UTC) Received: from p1wg14927.americas.hpqcorp.net (10.119.18.117) by p1wg14925.americas.hpqcorp.net (10.119.18.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 12 Apr 2022 17:25:54 -1200 Received: from p1wg14926.americas.hpqcorp.net (10.119.18.115) by p1wg14927.americas.hpqcorp.net (10.119.18.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 12 Apr 2022 17:25:54 -1200 Received: from p1wg14919.americas.hpqcorp.net (16.230.19.122) by p1wg14926.americas.hpqcorp.net (10.119.18.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15 via Frontend Transport; Tue, 12 Apr 2022 17:25:54 -1200 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (192.58.206.38) by edge.it.hpe.com (16.230.19.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 12 Apr 2022 17:25:54 -1200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a+Cn51z0AMjSFZHHvCzOnE8Jj/93IwDt31t8DAmWppTYO6BpwikmLDnmf++7Nb7rz9jaXsWOBRmQDMflqmq8zjOELi/tBL6P++CF4PkYW15pnKMzyQxhY4pDb95Td6OlC/tspDmmisbNbpUrNtsi/fvZDODO9t/yPkh10X3P7Pz00xwfMOxImm6FnAtLbpPmgYnrkWMed6zDtcK01DWgI2JOfzNo1tuXsarFLWAHGT7hi94cxTQN8JZc3pom6JWsgFHYImgdtI2VPU2ynLZxcohE2kxZL+AS2Cmss1MzT0+XZ3ZbTv8bdZWi4nIWr+VNlZcbPntKUZfDBEc+Zsb1dA== 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=Sq9TzVTOTXvFYBoclB6FubqtTZDFbdsRkS43x1UZK9Y=; b=PakGayMlN2utv5GFkPRP14xbEpyHI5xJ56sm2JuzQX5ll1pL5ItPi9SpQHpdiUKb6zN/uEYneATfZA2eTko0nOm1jK0RuAsC6LQsUnkJcl9KXCr+BAhpCNA/LgUPBDvDUJ9CcFeCD+Ebm8zYxDP/LZht/cY1rk1v53nCSjTzrn9cuVpPSlZkkJ5wHh8tg3PcOVJtPmUN42MMgGzKKshnNiZEuKlnp/Ai9WaATEsRf6ert06x8pTNn+ohMvtQmlJIqaCyvPvEu7m2FJLVlnwKs5CjEH8HbmN148f9NdrGjwrF3+idN78riqd7wqKW0chL1ZP0DZi9BgbUVSdIT+Jfmg== 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 PH0PR84MB1647.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:510:173::6) by MW4PR84MB1732.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:303:1a7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.30; Wed, 13 Apr 2022 05:25:52 +0000 Received: from PH0PR84MB1647.NAMPRD84.PROD.OUTLOOK.COM ([fe80::cc95:6a61:fb46:aed1]) by PH0PR84MB1647.NAMPRD84.PROD.OUTLOOK.COM ([fe80::cc95:6a61:fb46:aed1%9]) with mapi id 15.20.5164.020; Wed, 13 Apr 2022 05:25:52 +0000 From: "Abner Chang" To: "devel@edk2.groups.io" , "kraxel@redhat.com" CC: Leif Lindholm , Ard Biesheuvel , Jordan Justen , "Jian J Wang" , Ray Ni , Hao A Wu , Jiewen Yao , Liming Gao , Pawel Polawski , "Oliver Steffen" Subject: Re: [edk2-devel] [PATCH v3 2/6] OvmfPkg/FdtPciHostBridgeLib: io range is not mandatory Thread-Topic: [edk2-devel] [PATCH v3 2/6] OvmfPkg/FdtPciHostBridgeLib: io range is not mandatory Thread-Index: AQHYSmKPsPFDW1R1PUCkeavOB0kh3Kzr7kyAgAAVaQCAAVLksA== Date: Wed, 13 Apr 2022 05:25:52 +0000 Message-ID: References: <20220407093304.1551182-1-kraxel@redhat.com> <20220407093304.1551182-3-kraxel@redhat.com> <20220412090356.ko5np3i64lqlohuy@sirius.home.kraxel.org> In-Reply-To: <20220412090356.ko5np3i64lqlohuy@sirius.home.kraxel.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1a51b78c-72d2-4230-0fbb-08da1d0e13ab x-ms-traffictypediagnostic: MW4PR84MB1732:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DUNvPzE63KJocj/p6BYZxRlOuctayWFte+Oc5ARqNpnrYXuHj06bEAR+9wZUuKFNPY46I6y8W+JBE+YIZZDiOw542+rb8qKnbO1perDCldEI/Y1dXXVkdqmvlafZ15BlMtureXnfpw/bjZ1Md+TkKXuyQkImQpYtTuEqTXNoE4Bi+AB8Rbux0yZ5IeSe1Ms4N4XaCBSF7X/RK9cyvqAqSQmpz/AIes1MowbfW5YpcwNW125nmACbcasdm/fXVOMBFcOa6VnYgcOWtDC3IPBRIg9yI3YfR4iwCWBPy4a16P+HT9i41DN4TEr0MoTJJuZq4/okUPV4hvNhZoWjEhEAlRpJ1kq6PSvMVHr61P6NfoKnpP6mFEBWw0Mux4XCQ4KbzLrT47qirjxCK/ypUX80NZjetovXGXoLFiHVwArD1Z/jWs8DuL5Qxa0ESMYpX96xRcAJALFp8Cbkp8sD0gywtvIfWrP4Ji8JsKKxWIhsyTMqzXgWzB+gvStXmYNOq7saUuQ/Jh3/O8AcehFS7hSG4G6b2jOrJmIibj1K0QetIDi5ycU4WVSCLaQVsavoBnIu6xC1qlxHfRp5AN3C4E+O14MHkbKpfOu8k4n1tfnoKdS5zKD6Ildfs/+df4LLkTgyKEs5OPVaCwQVVh/ywmBX8U/5NCdjFAeXEW0CbK0koknEZJGvHzh6gW1IX2xS+jWU/rJAEACLirZxT7Kk/V2cOhBN19nbGSBcBR5C4V0jPorQa6ulXDrE8t3M79GyblYN6WP+xXOwGI+thpIOWjzyeFoPGfy5xiH+bDeb2ocO+Ag9NQJFMsMDpW2ADFfHc6lJn+CwF8Q6ZKoCQ7Aq1KOzjHElmMN2c4/qHdX0/S1hmoM= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR84MB1647.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230001)(366004)(38070700005)(82960400001)(55016003)(53546011)(33656002)(54906003)(6506007)(8676002)(38100700002)(71200400001)(4326008)(66946007)(64756008)(66556008)(66476007)(66446008)(76116006)(5660300002)(7696005)(9686003)(122000001)(110136005)(186003)(966005)(316002)(83380400001)(7416002)(8936002)(86362001)(52536014)(2906002)(508600001)(26005)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ccVuj6LybylAp/8RYsp61m4IlSUcB9oQ0icV7afalCyFC0FrltK49A5PbDgc?= =?us-ascii?Q?14/jrPf9kD8GZoDTSmG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GfXKgTt+F5anj0kb5tzl3dtPLlh7jKLDgP9Ehnd5QXBVQua2uLygjjo?= =?us-ascii?Q?f7chX1X+9yFYGtUiuEL5/6BeY5vhZ3ktCp7mo8Gj9COj/4JPvd4z6Wqq+51q?= =?us-ascii?Q?UzB4cRCQE2/OULknfUUL9XFTICft3N3ieDAbnvp0rkNRO5yZRNhz2wQ5jxWT?= =?us-ascii?Q?gH6a5lHvrXSumg8r6dlDsvvtDYjBxinDu/gmE+cGZLSFjrBcMVJU1jCNlB5F?= =?us-ascii?Q?NIcRSTMQiWJEch+zKyEdK6iR0fjugwvQ8BqM7MN8ylfPCs1a9/RcLaJ4cPUb?= =?us-ascii?Q?BtuCCMouni4RYQu9poZOFo+yOiWmiZNrlps0NFlpPbxtfy1xyK98dOGFhH/x?= =?us-ascii?Q?lj8HuVpBridag3kN/zV4pcT/6Xl1uC04saOBF8T2lS+CfeCauBPaxQ4s/fL+?= =?us-ascii?Q?1YM00o4TVTb0yHisfjn1wI+8H3lE6zqZgng+mdek8WvF4FmyQ15rTrb1uCcI?= =?us-ascii?Q?/G6UlpeBoxXb1JtL5RIRwmSA7r1FTGC15jR6Ub+HLF3mYjjk3C1DChVqAOCC?= =?us-ascii?Q?jj43hT0/Z05Zw3A1ke/FYt3vYqc4MSjuiqCZCMiFyS32BoFy/aUBzX6wAjDS?= =?us-ascii?Q?TSBFAajikn1JVvY4SHQqS8/VGQXyb8D6ZvK5/QgfzjAFx/nTfWQZxcCJQRjb?= =?us-ascii?Q?/fFTehHkExUmcjA8N6kJ44yCwhZyNkjRmXhI/F8tbp9ze1CZtOK9AFCqd/aL?= =?us-ascii?Q?aKnw/VfDJdh4K2IjRC/nHp2KjGSqD2Yguj4shJxKbrqdkX46K4YBhVYKKVIo?= =?us-ascii?Q?inSiFTxaoA=3D=3D?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR84MB1647.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 1a51b78c-72d2-4230-0fbb-08da1d0e13ab X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2022 05:25:52.1509 (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: 8ogVFujLRhQt3uhPQkO63wi4O2IgfppzfIIsCEscjZzAGFvI+/Ci/SSeKrM7s9BpkAv2/Zc9ztbwCIgErkcGLA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR84MB1732 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: -jfgsbCRhgS3bL_SLb7oy5cAt3TAc0lF X-Proofpoint-GUID: -jfgsbCRhgS3bL_SLb7oy5cAt3TAc0lF 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.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-12_06,2022-04-12_02,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 phishscore=0 mlxlogscore=724 suspectscore=0 priorityscore=1501 adultscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204130031 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Gerd > Hoffmann > Sent: Tuesday, April 12, 2022 5:04 PM > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > Cc: Leif Lindholm ; Ard Biesheuvel > ; Jordan Justen ; > Jian J Wang ; Ray Ni ; Hao A Wu > ; Jiewen Yao ; Liming Gao > ; Pawel Polawski ; > Oliver Steffen > Subject: Re: [edk2-devel] [PATCH v3 2/6] OvmfPkg/FdtPciHostBridgeLib: io > range is not mandatory >=20 > Hi, >=20 > > > - Io.Base =3D IoBase; > > > - Io.Limit =3D IoBase + IoSize - 1; > > > + if (IoSize) { > > > + Io.Base =3D IoBase; > > > + Io.Limit =3D IoBase + IoSize - 1; > > > + } else { > > > + Io.Base =3D MAX_UINT64; > > > + Io.Limit =3D 0; > > HI Gerd, > > Does the consumer of Io (in PCI_ROOT_BRIDGE structure) know that the > MAX_UINT64 for Io.Base refers to no memory map I/O? >=20 > Patch #1 handles that. Ok, I had my comment in the response to patch #1. Thanks Abner >=20 > take care, > Gerd >=20 >=20 >=20 >=20 >=20