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 43E0D41CE5; Mon, 20 Feb 2023 11:51:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3457C43016; Mon, 20 Feb 2023 11:51:47 +0100 (CET) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 0D17E40395 for ; Mon, 20 Feb 2023 11:51:45 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 935433200999; Mon, 20 Feb 2023 05:51:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 20 Feb 2023 05:51:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1676890303; x= 1676976703; bh=GUgmy9XsfcdFe6Z87rsiEoVttF2dpmqh+IBn5sE8jLc=; b=F HBTw1jUeXnG7vQ8no1o7nMD2nzq7/npBc2ySBQAk5qEqPP8H7+hZxHI3QrdrIz28 PofLYhPFtonVCJhXDZcor6SYIjUdx3DcmQO0+f91839Itm4KdDbZDBy//qjZRRwO deg2hMRo/Ref/I8AaN7C8OfGWyx+E5ggIlu/FflTsfSzhgLdeooS5hyMFhNodr7O tnRh204UwdGaUbbViRtfSQhac8iOVwY/cc1XXSlzTG2+3AUS/3rQE/Fp2E0I1S1U UaxITM1LLBaPZtcINORYrKo6drfUQaMTWtGeaLtpB63KuJTpHPFHMTwMBK+bFeWc Fu1qR+IRvOXlTaYCUJHjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1676890303; x= 1676976703; bh=GUgmy9XsfcdFe6Z87rsiEoVttF2dpmqh+IBn5sE8jLc=; b=o 4YvdH+g0myTDyZjuPHltsC0eISU8z9M/7RUq4BGGrzuQo1L1daUIj7wh/I7untrI YcfYem8S7Iy3yT05Imava5M13C8IG7WriT9EHwMLjYZn1SQZh2gfj4+SaNS+nQxD +5irvyXguQDsw7UdNMOqsBscR66O7VYYfjdFNNR/isi1y7jGUBxfhRkEb9XSEe9d 7Xo4mZfinYzOgjLH9wkCA4QAQcVblrARAi3uxhscymOc7fuNKlC112SbN/qWrTzv 9W1Db+6YVxC//ZtmJdu3/J1Q0eqiwioOsBhMG7/WNOu8PW8oWe+gUc4Epo17JVSN rO3v+HuSKeHP8qCuEoAdA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejhedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Feb 2023 05:51:42 -0500 (EST) From: Thomas Monjalon To: Tomasz Duszynski Cc: dev@dpdk.org, chenbo.xia@intel.com, jerinj@marvell.com, stephen@networkplumber.org, david.marchand@redhat.com Subject: Re: [PATCH v3] bus: add platform bus Date: Mon, 20 Feb 2023 11:51:40 +0100 Message-ID: <3148059.NnENhoQgcM@thomas> In-Reply-To: <20230215111031.2235204-1-tduszynski@marvell.com> References: <20230205183832.842668-1-tduszynski@marvell.com> <20230215111031.2235204-1-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 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/ ?