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 6582941D3C; Wed, 22 Feb 2023 13:46:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAE5E42F8A; Wed, 22 Feb 2023 13:46:08 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CBBB940693 for ; Wed, 22 Feb 2023 13:46:07 +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 31MBFTbj006801; Wed, 22 Feb 2023 04:46:06 -0800 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nty30a16c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2023 04:46:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WYusw/Xez32glvTdTU/pAgHMPHm+V1bMhZbHAnbo7Qhll1et49fDhSLqnNRO7h6U/VRvzVw/lJB2ebEPFFu2eJBHcyopRFs1z6pJ7jiHKmxJIKJkvCX8Qq+YPGSR7usVhd5yfziQF7iFniNm64VBjk5mq6q+vmxfmQ5JQKxrcw8ZyZCt1OaYLBtjTbCFkKwVEUOU5oeQTqlPGyXk3A/kZvWhusLT/Fn+jvtcSttDDShlF48KZAudhtKKL2vekinTtaWpxQrRW6cv8cboFm568AOEbU7gWG6Wwbv/zvR/Ku5eahTbg3I9tHWN3f/kwD7SdBn9CsiKilffCnJROgZQ+A== 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=ikcrTlpGcufVR1ncgN7GrLmYPFF/OcTOqv66WgLfCoI=; b=iBSYFM3+w3JbJR108VwrZAq46/Ia2Q72gDeXjMRqo5PAKDSn4kn6HPGI55IsNFQiJEZbABPnzXbwa8fE3q1PgCWfN9wpJHJhHrPTJ7kp7e4GmQw1UFQ95rAj2YK2lDg17EYIM0pSe3EnCVoM+aA1QbTwZ9ohuElx7xtCb2vSBTmmLoqCIIf3xTIPgYwOg+eBVWTmPsGeJ/AYLhIMRD5FH9XU136Zira5RZMits2eqJLEW/AIUE41T+Ea0V/IpA7JjccNDoUupaRr1/35Hf3E3Owdfji54N6OPjdQMDgfE/UdFiuNxwDX4RpA0iJH94JFOVHEtR0urR0r7ACu9ueofg== 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=ikcrTlpGcufVR1ncgN7GrLmYPFF/OcTOqv66WgLfCoI=; b=qW0/aiJJWNhaZ0IjmCwGaGxUT+rAHsV9o7+MeDqYSHkvGHEs/NbaNEsuw+k/U0wzhbGbANFOoD9Qa8QkgTmK+9Mk9clP49jFzlnFYfZTZaBF8yntUhBJDYbVNLYlvlQV22p3oUijlSRqz/2fEwgrLAKV9LIwUIkCDfBWoq1yQuw= Received: from DM4PR18MB4368.namprd18.prod.outlook.com (2603:10b6:5:39d::6) by SJ0PR18MB4464.namprd18.prod.outlook.com (2603:10b6:a03:3bb::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.19; Wed, 22 Feb 2023 12:46:03 +0000 Received: from DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::6d6a:99da:de:ea6b]) by DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::6d6a:99da:de:ea6b%8]) with mapi id 15.20.6134.019; Wed, 22 Feb 2023 12:46:03 +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 v3] bus: add platform bus Thread-Topic: [EXT] Re: [PATCH v3] bus: add platform bus Thread-Index: AQHZQS4lXoUCOfjw5EaKBtmupopNha7XsEMAgANEBgA= Date: Wed, 22 Feb 2023 12:46:02 +0000 Message-ID: References: <20230205183832.842668-1-tduszynski@marvell.com> <20230215111031.2235204-1-tduszynski@marvell.com> <3148059.NnENhoQgcM@thomas> In-Reply-To: <3148059.NnENhoQgcM@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_|SJ0PR18MB4464:EE_ x-ms-office365-filtering-correlation-id: 197a592f-ab14-4101-4772-08db14d2c1d1 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: V+PjXv1J2u61/ExcqT1KQyRPLHc9XpUuu6UIYEm39OMFhIEw5zPULoYqhSzMJ6i6y+nN0sDsaqi052k4a6p5cWZ/aOqRodcVpqNAQe9+7ri5apfbDwhLSFuf1kMwwmFQV1TDp9PAiwTatwbQVV1eIWClkPoyVhXUW/5+iLnT4QsNHl/Sltv+ydJPQBQtOJzVDnp9UEUpuBSBUvCHB0Bw1H5RogWSLOSL+JJvUQs9Yl0AT27p+TC09I5W0yeQDwSpmdmJ5o0hXsm3J/VMvAv7dk4f6fXEwAXImv75iq96MKDXCvzTn8vxIa9tXfPejAIra7Y0QtS7P8sdyXzuoOgPJl8DKs7v7wmm0o3eTAm+Jutc4mGI7++lj23QTbwo32D0JTjPFY8dw7htQNc6Xi5Ww9DLDPchT/UubRY0Vv144rfmFIwRRASR2QPpBfkpv1JDLiS4Bi06LQrTxKjZebfTP9FhAbphk5ZiHBn5sL/BecdNQ7GAzamdxgd36wvWot6X8nA92prmITF2rinqYLkd323sliM2aENzOngSHaogtY6RPNfwudGmCI8OKbPhVBLAdLWaccDi5E6op0/+Bwm+PiQ1schP64Mbpf2ZsB7PAZsjQwSYlQ+yIMvCHADD77maaRI1ek2Dm/hA/eKotM2W6JF4647Uki2HpHT0OfSkBKqO+PP5H2Kxvd9GM4bOP1IvhKjlNZGMX8B/wLQa7F6txg== 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)(376002)(136003)(39860400002)(396003)(346002)(366004)(451199018)(26005)(186003)(6506007)(9686003)(7696005)(54906003)(478600001)(71200400001)(316002)(83380400001)(38100700002)(66946007)(66556008)(76116006)(2906002)(52536014)(64756008)(8676002)(66476007)(66446008)(6916009)(41300700001)(122000001)(4326008)(8936002)(5660300002)(33656002)(38070700005)(55016003)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?O4neCwRSWnudJnw0n6FSUWLVFdWLzNsB9RysdRBzQyXBy2mjRLojGyQEhLED?= =?us-ascii?Q?Qmx29hyoNnE+nYtwn3E3hUJa/NVY6DnqnMkHNBy69wPPitF85R4YrCxRHt3D?= =?us-ascii?Q?nvp7fYWUoHkQjgAECt5cSud/Cy3jb0yCKS16fcm7xG/TjoRZeGpPROZjnJhS?= =?us-ascii?Q?j78vmw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qIZU3vmKpY?= =?us-ascii?Q?1N4AK0uhsE5GLP5usCVcy+Djqd0Zqa12cJoGZCV+GYX9rYBM+OqK+CSdlkTa?= =?us-ascii?Q?wbGuvHxkq9d/z/QE/UMwmPRzdP49b5NdbhinGyEHgKxei8rXrb4gC/dAskOM?= =?us-ascii?Q?QWR2ummPOwxVlHBpZlQdr9nXofsRdFCWvFUFoUk/y3gz0OuuAp5YPhUALsJY?= =?us-ascii?Q?DUCdXdgz3etHkI7j6doup0US97NUFS7FcIICLjs32obrdLnH+MgAqGUgJfh3?= =?us-ascii?Q?k2Mjhivz/jQEVNBIrUcCdeAMhxnZvI33Mom+71iMRMIarj6iBBDBRCQFxyUb?= =?us-ascii?Q?LpAi1mrMcvYi1I0CYQDeE8QeLtT1V4IKP8dSJJATj4Uqo+95Mva/ayp7KxFK?= =?us-ascii?Q?zImnLpwGx08NIf9pdBfrYBQ3pD/F0DHQwPClWUcdJrBxvLGHTdjaa68hTOOD?= =?us-ascii?Q?WzjeNUuk4oKF0Y70PRnuqnZ/HUQE7xQEJU1zJxEBZWxtGo/M+FlIZYBu9RS8?= =?us-ascii?Q?zgEVSo8Ad6IGLmEPtlnVHAgYBD1C+O2ooLB/+RvN?= 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: 197a592f-ab14-4101-4772-08db14d2c1d1 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Feb 2023 12:46:02.9837 (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: MjtfWMYYMoTqwdC4IUVJXyaD9zyRsbmlaSXg4C152pT4nnRK68HKQtrtaejm4YyPGmWdySDnTQbNs0T6h+qp+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB4464 X-Proofpoint-GUID: oQrmlLJfpEOgYv0Sgfo2tLiITAkEBFmt X-Proofpoint-ORIG-GUID: oQrmlLJfpEOgYv0Sgfo2tLiITAkEBFmt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-22_05,2023-02-22_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: Monday, February 20, 2023 11:52 AM >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 v3] bus: add platform bus > >External Email > >---------------------------------------------------------------------- >15/02/2023 12:10, 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 > >I would like to better understand how to use it. >Please could you add some doc in doc/guides/linux_gsg/ ? > > Sure. I'll update linux_drivers.rst as, at least to me, is seems the most r= easonable place.=20