From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8A61342BCC; Mon, 29 May 2023 08:15:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76634410DD; Mon, 29 May 2023 08:15:47 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8A56B40A4B for ; Mon, 29 May 2023 08:15:46 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34SM0Jrq021635; Sun, 28 May 2023 23:15:44 -0700 Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2049.outbound.protection.outlook.com [104.47.74.49]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3quf7pd7kh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 May 2023 23:15:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mrsYH+1/J2VRaQtDrixCe22z0m+g7BMe8TlnrQ93Rg7fKGDj1qwucFcRL0YC4STmjKuUCM7dWbVsQhPwbEIP068FMLfTUQmSfzn5p58yH+FYdh6CclfHhEm5m1DkF42E44TCFGGJmz+Abte2VFk4YeQy1HZCRKDxK//EQZvxAiaHUdErMI4BYS/RMurXoJSJnKG0YSP0bYVPzmsLsp0HX+p3N0IHHuqv/qOFWp9nMFTuoC6lQy2MAjjKAOIDx7OnzZpLgHUYHyxoQpLhevRsWjdisyi98VPp86a9fTGi/MrF9Yri0PLxvKA3tpK7QJlT7GMgIaGcJhEHnbok7yXuFQ== 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=5VOXPFTHFeEorHOUuwSTY29tqnhFlvb4fI9XMWZ7t8M=; b=mvd+/mOiWk0L4m9E60oK6cVOS8lkJidI5iKT4wBhPxJQqQyOMmL3bGkGdC7ZE8C80ie2kbfZ6ZOMNf7XRqsqbdLHlTrPZX5J0apj7u6Q0+R20AzLkqr4dToXyMFOHcdjIswNltBKWFG37ZQiHi4CYKdr0uSy/l29NXyhlEJ3TEczm8VpbFrBLlAhb6Qkb8TmndxD2rIxg4bOscEnZ1FhwUZsWqRlUYzKuM7XM+M9zGHdFKj+JhrvTXCwQZirutjCX03eZy/azKnoNi62kZ7jnLjE/J/HAi/mFokc8Z0oocZQA3zSxjnZaBNxC8RI7fK6KNydq5AgLyGeb9Bkx2XBaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5VOXPFTHFeEorHOUuwSTY29tqnhFlvb4fI9XMWZ7t8M=; b=ZiWyPbFuVFBAlOZAXDkMDXSTckfivSV8CNo/9wonm2jXV2aUeADADZ2cmeKVoLefddPOl6gINvRxf4USD3JnZy/f/oPlq4FZUSBJdhRVYtf7rQ3T8Rs7RM7UEN2x1t+Rr0IXDCV22NpiLheid01t02NbNj+/kVKdxWq/AkIwT8w= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by MW3PR18MB3596.namprd18.prod.outlook.com (2603:10b6:303:5a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.22; Mon, 29 May 2023 06:15:41 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::6ee0:5adc:6008:b4e9]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::6ee0:5adc:6008:b4e9%6]) with mapi id 15.20.6433.022; Mon, 29 May 2023 06:15:41 +0000 From: Sunil Kumar Kori To: Miao Li , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "ferruh.yigit@amd.com" , "chenbo.xia@intel.com" , "yahui.cao@intel.com" , Anatoly Burakov Subject: RE: [EXT] [PATCH v3 2/4] bus/pci: avoid depending on private value in kernel source Thread-Topic: [EXT] [PATCH v3 2/4] bus/pci: avoid depending on private value in kernel source Thread-Index: AQHZjt8N47Ui/mfKhUOUa4eEJr7xh69wzCfA Date: Mon, 29 May 2023 06:15:41 +0000 Message-ID: References: <20230515094124.722431-1-miao.li@intel.com> <20230525163116.682000-1-miao.li@intel.com> <20230525163116.682000-3-miao.li@intel.com> In-Reply-To: <20230525163116.682000-3-miao.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc2tvcmlcYXBw?= =?us-ascii?Q?ZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5?= =?us-ascii?Q?ZTM1Ylxtc2dzXG1zZy0zYTQzZGE4YS1mZGU4LTExZWQtYjZjOC1mODc1YTQx?= =?us-ascii?Q?YWM1ZDJcYW1lLXRlc3RcM2E0M2RhOGMtZmRlOC0xMWVkLWI2YzgtZjg3NWE0?= =?us-ascii?Q?MWFjNWQyYm9keS50eHQiIHN6PSIxNzA2IiB0PSIxMzMyOTgxNDUzODAyODM4?= =?us-ascii?Q?MTUiIGg9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?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQVFBQUFBQUFBQUFDQUFBQUFBQ2VB?= =?us-ascii?Q?QUFBYlFCaEFISUFkZ0JsQUd3QWJBQmZBSFFBWlFCeUFHMEFhUUJ1QUhVQWN3?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUJBQUFBQUFBQUFBSUFBQUFBQUo0QUFBQnRBR0VBY2dCMkFH?= =?us-ascii?Q?VUFiQUJzQUY4QWR3QnZBSElBWkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFFQUFB?= =?us-ascii?Q?QUFBQUFBQWdBQUFBQUEiLz48L21ldGE+?= x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|MW3PR18MB3596:EE_ x-ms-office365-filtering-correlation-id: ea032acb-f3f7-48e9-ce3d-08db600c2144 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ot68L7LceUMwpsa5mUb+j0g7JENIBjN8dPtYpQDGIb6c4oF9JpkWFsHv8OAcExxiyhMfntiLDhuf75YKliMHWdWF0ik6o82c2oiqPf8hIaJQI3COOGwcd4E2qAGkFyDJbuYugyQr+FitIKxEN5goGvP2RK8njKOc4Rf5aXLQJKLuNdrmZfAK9cFC0zHWh18X4QN+qUiRfliW+nVi2vdqJjNGfgSDMv522ZkVveY/TMry/4fP4XEZTf3+RmruXR7L11xPsOARSZdApvGmha53/tfKTjRIvSemdcjXL2uPQmjoIq2AV+4ZIUUa7uEJP0gyfNTJq5+2t2mQarRCPQq2xy75mlyKN5MGK6Jc3LpVyYYUp8DejKu7RCN7BEA4KTkrJr0wTruzDHeC9mQnRYs2gInTKJpkmFnN09vTquZklezOCpnYA19BVUV5/PvrjNb9J96eOAh48Xc0CPnGWoxeW5NcU3kEAzG6Ob9aMiQqgLNSgt0Fdeg6+V9GOnbBz1A2Zfdbe0ZgQzMvAl6h6ba1GeVcXX80+aElPriERHuhzcmPYaPLmUCExUa77DlejcFrtA7iTUvFO0xz40EZlUrIcmQK/z/DPzPuhixc9ehvYzI= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3860.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(396003)(136003)(346002)(39860400002)(376002)(451199021)(38070700005)(6506007)(9686003)(186003)(2906002)(53546011)(54906003)(110136005)(478600001)(26005)(19627235002)(83380400001)(86362001)(7696005)(122000001)(8676002)(966005)(41300700001)(38100700002)(8936002)(55016003)(5660300002)(66946007)(76116006)(64756008)(66446008)(66476007)(66556008)(316002)(71200400001)(33656002)(52536014)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?XLXMFgt4i/ciLb5BvMLT3NMzeuYtPeZ6MHMGYi59/fWH5t6bIkrfeBRcO+x2?= =?us-ascii?Q?IIS+EfEL2vaCLVD3ZgG+mKsmDdvbCLjNDLl//XOiiUxQGUeYkZIFYTQ6+IpL?= =?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tZg4L0Qqq2DqsqcrtZqGLinb?= =?us-ascii?Q?8YJ89/wEhd0fptlIXFRHgM8Z9nWcoiNC+6zQJ7e2kVPAPolcKJEWZGLZs7Me?= =?us-ascii?Q?7P9h8GcwsQIEa+T5Rve77ULrQIo0toYar5GvxAVR21N9e4VTuudJXwERPZLH?= =?us-ascii?Q?Dvx6I/UcVSnDqWjbbU0eY5eapMBoaVto8xzfxoMEOHzpOQLbPoAk5U6uY96C?= =?us-ascii?Q?wh0QWALXKXrWI4YtkQxFXyGB1VfulRUKOl99/mHRT9FSglJKmJJwgGYXP5xQ?= =?us-ascii?Q?GjOjsM0thUki6wXQlW/7NJaHNcqmTV8XO6sql4bFROscCCUxW3EvkGkgnTi0?= =?us-ascii?Q?XuHTWTJk35oKKYw3nC0pxiP6AhTGE81jjtjo4kIjrJolkh0PE5hORTBc7oVR?= =?us-ascii?Q?cmT6W42GLlCqt60+r3P/KyhIRKNE8Pz7fQOnMvgHZkiUBwvh5HmF4tE+Gdtu?= =?us-ascii?Q?fuJpWp8rH1r9BmhSea4bI9FDyzJ5E1Z85iNAXRobaUSgrNtb3GyZPXbQVdqg?= =?us-ascii?Q?rIsvMKcKQsrfHDSjX5YDIAtFOE42bGBpIFBsAkytE4E1eOliTcG/QntE/VWD?= =?us-ascii?Q?ye//OC+Et/d8U6XHhG8=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3860.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea032acb-f3f7-48e9-ce3d-08db600c2144 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2023 06:15:41.7005 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lXpRO7WrYp2FAxCc4Q3iEpAmaT45qprl5HpRcmJXGk2dX7xbAIpb8NliwAYUPHVESgwAg4M77+xou5SbRrhN7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR18MB3596 X-Proofpoint-GUID: UJ7c5prRON6OdYP3YBNoTR4EDZ-A00FO X-Proofpoint-ORIG-GUID: UJ7c5prRON6OdYP3YBNoTR4EDZ-A00FO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-29_03,2023-05-25_03,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Miao Li > Sent: Thursday, May 25, 2023 10:01 PM > To: dev@dpdk.org > Cc: Sunil Kumar Kori ; thomas@monjalon.net; > david.marchand@redhat.com; ferruh.yigit@amd.com; > chenbo.xia@intel.com; yahui.cao@intel.com; Anatoly Burakov > > Subject: [EXT] [PATCH v3 2/4] bus/pci: avoid depending on private value i= n > kernel source >=20 > External Email >=20 > ---------------------------------------------------------------------- > From: Chenbo Xia >=20 > The value 40 used in VFIO_GET_REGION_ADDR() is a private value > (VFIO_PCI_OFFSET_SHIFT) defined in Linux kernel source [1]. It is not par= t of > VFIO API, and we should not depend on it. >=20 > [1] https://urldefense.proofpoint.com/v2/url?u=3Dhttps- > 3A__github.com_torvalds_linux_blob_v6.2_include_linux_vfio-5Fpci- > 5Fcore.h&d=3DDwIDAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DdXeXaAMkP5COgn1z > xHMyaF1_d9IIuq6vHQO6NrIPjaE&m=3DJmiGBKn8A8yznTdPB1knOyEeYM4moYy > ws5F5wylRMz9_Jp8-FRr- > _FDWaUpA6a7U&s=3DDBgE0M81mcB0EWqXuq8apKbHmhKQIQ52RFcPWdHXat > s&e=3D >=20 > Signed-off-by: Chenbo Xia > --- > drivers/bus/pci/linux/pci.c | 4 +- > drivers/bus/pci/linux/pci_init.h | 4 +- > drivers/bus/pci/linux/pci_vfio.c | 197 +++++++++++++++++++++++-------- > drivers/bus/pci/private.h | 9 ++ > lib/eal/include/rte_vfio.h | 1 - > 5 files changed, 159 insertions(+), 56 deletions(-) >=20 Acked-by: Sunil Kumar Kori ... [snipped] ... > 2.25.1