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 B0FC441E83; Mon, 13 Mar 2023 08:08:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96A03406BC; Mon, 13 Mar 2023 08:08:31 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id AB66E40151 for ; Mon, 13 Mar 2023 08:08:29 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32D6P3rL020041; Mon, 13 Mar 2023 00:08:28 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2047.outbound.protection.outlook.com [104.47.66.47]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3p8t1t4hcv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Mar 2023 00:08:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e2wXBhj/BhYJmA+mnKfVY9KvRtnmLur735pL18B4fktAb1yabH5sL6aQl40lO5vLimYuHGr1/llN6v4Rtm70JM3hTS0x8USlFVg2P9MLci9JXe/nC0jUCBqpF5Awk4Wkvxb2RKg0rCFrPMy73U809hiiLXjUlwE95rDUpfgcyMtBSWDeR3KuKwt6/FS9nHK599BMtdNGYZR0gzwAOA9A0/wiBQw17f4+SgDlFqAn9PSA+TWqF7QQbq4nDIZpaONoCfUGsJWcdQvVzvCgeduBJ7eXbwIqSPlDg/KL6lgSVHHJGU9Bi2iecfKEBC+NJNyxbAn3uW27cghou8zBx69DQQ== 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=Izyx/hkpzraxskr5csO+I6qcFy5uYkRoYC2+avLHMfc=; b=BBr75zRD9KaiLqTC/nnfd66lKJ8kLwHRVvNjUV+VDQSvAQRB7Kc8Qi5vch/yG+5u4J7vnmcBt4PDonKsKjfmaO5VIwUGWjg53ZcQpaNoy+OQ+a/DkuC5D0K6WDh1RDr0kZH7m/g26s3Nwmw3m/oSQOu2mpKgtOLwyHQrYJ942cM3OBfDWNAPKjDCzfqX7pZ1/bSC4y2EgLLWe88lQXTnwUFUne1LvJ5koiIokkLkbUyjLI22oq4cJbtsRAKV2uzgm6xa6SPguk0BSg5xEtGMCUqyXHYr+0+NC/dqVR9IQmzVSstgAPKgf+F46YGqXU624piNC8yULS+lWI/jwj1qiA== 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=Izyx/hkpzraxskr5csO+I6qcFy5uYkRoYC2+avLHMfc=; b=QOLTMtVCmEGdi2bXbuagZmlUrHG8aR998rIbyU6MP+XhJnvyl7/8vvaWGXRJaGT4p+43MUYS0+oKE/OLb9c4GkwWDo09hFFrz5T3QDm/BoTKbqeDC3NMtWyGBOq8ZaN9AcMv1UpP07PuxeSX+i0Od9pguDTe4PsYewCWQws+k1k= Received: from DM4PR18MB4368.namprd18.prod.outlook.com (2603:10b6:5:39d::6) by DM4PR18MB4317.namprd18.prod.outlook.com (2603:10b6:5:398::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.24; Mon, 13 Mar 2023 07:08:25 +0000 Received: from DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::a836:b2fe:215d:8148]) by DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::a836:b2fe:215d:8148%7]) with mapi id 15.20.6178.024; Mon, 13 Mar 2023 07:08:25 +0000 From: Tomasz Duszynski To: Thomas Monjalon CC: "dev@dpdk.org" , "chenbo.xia@intel.com" , Jerin Jacob Kollanukkaran , "stephen@networkplumber.org" , "david.marchand@redhat.com" Subject: RE: [EXT] Re: [PATCH v4] bus: add platform bus Thread-Topic: [EXT] Re: [PATCH v4] bus: add platform bus Thread-Index: AQHZTHhULQpdSd69W0+igCIWl8OuVa70RkYAgAQV8BA= Date: Mon, 13 Mar 2023 07:08:25 +0000 Message-ID: References: <20230215111031.2235204-1-tduszynski@marvell.com> <20230301195912.3835720-1-tduszynski@marvell.com> <1792851.8hzESeGDPO@thomas> In-Reply-To: <1792851.8hzESeGDPO@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR18MB4368:EE_|DM4PR18MB4317:EE_ x-ms-office365-filtering-correlation-id: 45575706-8821-4887-7870-08db2391bd18 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6dfs4uJShOimpGBZDMlqC86yG+Yjg/AXDKnqrjvuEtLUGYbYt+WelUN3ZwT0mdfQ6md8gHfVjeUJ3EMs7v44LsuR2t+ig1pNlmJaXcWRu2r6lepAZlUPHdhcnq2sbzNAxx5r4zWJj8JfAuTLGcZEyp8/IS4TMLok2iOGUYqUxsTHkhwd29BqFkT58IhKHx5yIvmI57CmGCUUBdPz9aZoAfK8vUQG60sKf0kyXkf1nBDHLbzqHcF38apSC9x8n1lcUS5/uR1fzCtOYwQBUC37WAI3ORCtv6EFaSijKEfq6kXrIWpkzzysLs7xZF24/BScYFEc0IdtGVVJdII4JoWPLSYA4V9QsWJd/g7dpY/i/q3mKxUxvM0oZCBKvKIsZbsNDfMpmH63w2YRF/gUjOetK0Yayynj3rUfltFDwaGmt+5SjLqbOvLThz8UJFyjsCi34WZvuBCROraCfkROc/npxI0v0wpKsidWliAP0WVXhbmh7LqO/10EIOYWsiNBfH2jTLNxlVrnMUpXi5IF9D/uJFm+0zHcXaP7ynpU0CJznh6LKXhj4WZ8ev8GU4yycs9hGXtjN4OYOyifBYy9zfyHm6Ff7jPL+kfUAp/13H6odIo2c196aAdHXqX+P+cQPcC9FNOBI4PkZALjhc28H8GukYqzMDx+CW0mO9QklMFO8/uBOVXHlBjPeQ76e/DDOoW0tiJ8Aib99J/JXOd6JTX1kQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR18MB4368.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(136003)(346002)(376002)(39860400002)(366004)(396003)(451199018)(9686003)(4326008)(5660300002)(8936002)(52536014)(41300700001)(186003)(26005)(6506007)(6916009)(33656002)(86362001)(83380400001)(2906002)(66556008)(66476007)(64756008)(8676002)(76116006)(66446008)(7696005)(71200400001)(55016003)(316002)(54906003)(478600001)(66946007)(38070700005)(38100700002)(122000001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8vSTooKBUTIGlCb604JqrW8/CRIY/F0LuojV/GlOOvERHrrA4ap4+g8eOaug?= =?us-ascii?Q?lb4sEbJRS5ERMLdmWNpdZQu0ky8+UHfREo6pNF4ZuB4y4Xgi7OjeMifrdjIU?= =?us-ascii?Q?xpdXWqVkNCRqWVXuh/IAu+kZzX8c6yWaTD0fzzoo+qGGJn/MkI8Ru7SOixWU?= =?us-ascii?Q?sVHwV48HwEqzt9nSwJp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?Q?aSmS9px3Q3cKOhA8WSMjjMMED6IeYGbiTFCg9dK8mRsYL/vz9znBEpp59321?= =?us-ascii?Q?OeX3/GyEpJMav/N6BWuokI8JV7BqYHsYEuuOfa9Ee7VIU6ynlvZgWmTEte2D?= =?us-ascii?Q?jU+zvxQBT2FjkFqHYMXU7ITTMB8vBoq7Y286nqME2gqVs0qS2Kop0HdFiH92?= =?us-ascii?Q?y1cL+/95SS+I4GZanvrXaYyUe2vG1/J+oB9EZdLd9e7HEYXTCa0L76IPqnws?= =?us-ascii?Q?R0eJiDWDJ1aCT3tiC+VF6+Ls+LVQXAkp7r78NCNdGHV+Cvpm3D2+vfYH+jTy?= =?us-ascii?Q?MOLP3xHRHYNcLSs4SqhJxWcagafWCJyhm4Mrg97dt2yrMCpODLu9v+M3qTdm?= =?us-ascii?Q?YRgRKLNhMfZH0yLBa3YoA3i7+DFBqDpf7j88RW6CVBID6DPTz02niLI4gBO6?= =?us-ascii?Q?JJym7fyAuMsw4pR27CLTJb7EiRltZ6p50jqmCe4WcYIzOZbgRqOGGduQHM9t?= =?us-ascii?Q?pJyHAao0Pd8AXWNPNwl3lZidxvO2z/AmSMnA4P32?= 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: DM4PR18MB4368.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45575706-8821-4887-7870-08db2391bd18 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2023 07:08:25.2472 (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: 3CElz0E2V+OTgcPdRMIc3EE0TVxcOj4WABxxjyQVXiBuqydIa25xMeCC30nGN84nGxRbv9+TzRxjnLAe6VYLlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR18MB4317 X-Proofpoint-GUID: C9Qnqu8ncnfQT1b4H-j2E9N8wqJn3bT3 X-Proofpoint-ORIG-GUID: C9Qnqu8ncnfQT1b4H-j2E9N8wqJn3bT3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-12_10,2023-03-10_01,2023-02-09_01 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: Thomas Monjalon >Sent: Friday, March 10, 2023 5:45 PM >To: Tomasz Duszynski >Cc: dev@dpdk.org; chenbo.xia@intel.com; Jerin Jacob Kollanukkaran ; >stephen@networkplumber.org; david.marchand@redhat.com >Subject: [EXT] Re: [PATCH v4] bus: add platform bus > >External Email > >---------------------------------------------------------------------- >01/03/2023 20:59, Tomasz Duszynski: >> Platform bus is a software bus under Linux that manages devices which >> generally do not have built-in discovery mechanisms. Linux normally >> learns about platform devices directly from device-tree during boot-up >> phase. >> >> Up to this point, whenever some userspace app needed control over >> platform device or a range of thereof some sort of driver being a >> mixture of vdev/rawdev was required. >> >> In order to simplify this task, provide an auto-probe experience and >> separate bus logic from the driver itself, add platform bus support. >> >> Currently devices backed up by vfio-platform kernel driver are >> supported. >> >> Signed-off-by: Tomasz Duszynski > >Applied with minor doc improvements, thanks. > > Thanks!