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 0AC7F42C4D; Wed, 7 Jun 2023 15:36:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B0A940ED5; Wed, 7 Jun 2023 15:36:28 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 06D9040A84 for ; Wed, 7 Jun 2023 15:36:27 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 34A173200392; Wed, 7 Jun 2023 09:36:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 07 Jun 2023 09:36:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type: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= 1686144984; x=1686231384; bh=UXjvu7jqL+Vmk/ZlNZUl5L+1xN1P8E2Hlb0 l/MUX6sE=; b=ZCNkY5a7/N9sfzGZ6dzlnvY63Wu75Yt5ZgAdOw/cpQH5yOnvCS9 QREKlMpPZMXuZxAmyVOtZvOf5oqvOzKKCXFPl9WMeMFaTIJ0x5ybeRab6K+yla+3 lvC3mx4Q3oz/2bh8noagcdJtdP4OKc4gdPSbqpbdiHuNsQM0UydqxuSCrn7Ma9C8 4bZByphMiIc8chWZ91Xws4Q1axNeOKSQ/2H25aVCG2Ldr/3dhQPWfBy5FOkQ+G4v D91eH7TEjjl6E26dvlxDB+GkDMPUbN3AxXOxnEqLFggzI40/kivVYUXm51sc3ksQ TGcvAP2ueOti4D63VqW+Eh2080Y0fwZdn2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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= 1686144984; x=1686231384; bh=UXjvu7jqL+Vmk/ZlNZUl5L+1xN1P8E2Hlb0 l/MUX6sE=; b=CAYKA7ywbTq258bzNn5fq+3RJlfsM+l0YI3HM9QYYzdTPI1P7VB i6fjrA+0K6rzzW3Y2pL8NSWuHDYnGEDCOkfnJfMUT4pNTPaacQJ2vHlZ1LrnX7G5 Pn+7ZAdHv8SS1toB62BaF8rOYVYbpEc1iFL/iXEDz08glOmXHU1TkP8jWO3zfh8s zWahNUaGtNHLVsmesLpfbn6yyWxatzUldjE/JglKJCSw0efzydMygVzn8vwIJU0U nq2iRKs4oOtQ3U0pNEJXqI8VoyLMa+HARoPcSppTui2m+wKTmxpU388DcqCa0SoZ 7Ox1jjT7bJQDxIOAI3dfYHcUFnJLJIYfpQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedtgedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedufedtueelgfdthffgvdefkeeitdefieehjedvleffieeuueff keefvdehfeetjeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhkvghrnhgvlhdroh hrghdpshhpihhnihgtshdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Jun 2023 09:36:22 -0400 (EDT) From: Thomas Monjalon To: Nipun Gupta Cc: dev@dpdk.org, david.marchand@redhat.com, hkalra@marvell.com, anatoly.burakov@intel.com, stephen@networkplumber.org, ferruh.yigit@amd.com, harpreet.anand@amd.com, nikhil.agarwal@amd.com Subject: Re: [PATCH v8 0/4] Support AMD CDX bus Date: Wed, 07 Jun 2023 15:36:21 +0200 Message-ID: <1990963.ZhSLo9btvA@thomas> In-Reply-To: <20230607042425.30714-1-nipun.gupta@amd.com> References: <20230124140746.594066-1-nipun.gupta@amd.com> <20230607042425.30714-1-nipun.gupta@amd.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 07/06/2023 06:24, Nipun Gupta: > The CDX devices are memory mapped on system bus for embedded CPUs. > > It uses sysfs interface and the vfio-cdx driver to discover > and initialize the CDX devices. > > The CDX bus and VFIO support is available at Xilinx/AMD open source tree: > https://github.com/Xilinx/linux-xlnx (drivers/cdx/ and drivers/vfio/cdx) > > Linux AMD CDX bus patches has been added into linux tree: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/cdx > > VFIO patches are also submitted in upstream: > https://www.spinics.net/lists/kvm/msg310623.html > > CDX is a Hardware Architecture designed for AMD FPGA devices. It > consists of mechanism for interaction between FPGA, Firmware and > the APUs (Application CPUs). > Firmware resides on RPU (Realtime CPUs) which interacts with > the FPGA program manager and the APUs. The RPU provides memory-mapped > interface (RPU if) which is used to communicate with APUs. > > VFIO CDX driver provides the CDX device resources like MMIO and interrupts > to map to user-space. DPDK CDX bus uses sysfs interface and the vfio-cdx > driver to discover and initialize the CDX devices for user-space > applications. Applied, thanks.