From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B60A7C433EF for ; Mon, 6 Jun 2022 15:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zs9wUOX9z6kHtprXO4R8hTqkwrPrsY0+Z1w6CpIbjvc=; b=iY9IRKTFKxhBMl DMAmhWQOLZtmQx2SaunIDTXmk6t9stQ+oRumEGxPuvMw31AwcS5peLU5jkJCmok7+rifDnIY1fy0Q RiQGXkNoimCMrNgzMUgklOiK7T7JzCcguHn0ccKPB0ldL45VHVwavbVGuNGE3pAQokRlOuBtzUVs0 JvWFP50uxB9hNjZmFadD6HMoNo4LcmN6Sb31FOSZASlrDVWbvDCecrMMhFFu3v/3gjd/+uw2+GhDV osoZ7fg6W0oZQK0k2zmZQGKl16axDsO2FAdgzKpZ1uFseYTDAQxbk0CWdTIY+qu522QNw1/6Mm4II G7LY4nbrunbjtfnpLo7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyF5Y-001vXB-7f; Mon, 06 Jun 2022 15:56:20 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyF5U-001vWS-9e for linux-arm-kernel@lists.infradead.org; Mon, 06 Jun 2022 15:56:17 +0000 Received: by mail-pf1-x42b.google.com with SMTP id y196so13039331pfb.6 for ; Mon, 06 Jun 2022 08:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HqBVIaUxLFLt31mKtTfmzpaubYdTK4hqFLvxcHrajGI=; b=am390ormAxfQBcDhad1xqfGuaIZhU7gIyzfW/9uyFo3xvj2W19MLPe42Uxbqs6q937 WLzpSDXD9fxuZqRO2SmIDl3w0Cwe8amaEnwFcOEnLReu0b1+W18AgTvCA3yyiCdFMxk6 H5tx+lg9wX6uKyHJz1DtdAqa66eSr/6WvFO7lJqSxj//PJqxpBDwR+YevD8yqIlJK/Mx ZcqC+/cRvVqub4Ggt/l/3P3QWCr+b4CkTekrLG3K45HTTZrJZt5U6kt8kyraYtRvIsD7 PJDLyj70pL7QYVclaTA8PuCd/+cfqq/wzBL80/7UiaDyOElSklvX7PxNJIrVlxh41xi0 QGkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HqBVIaUxLFLt31mKtTfmzpaubYdTK4hqFLvxcHrajGI=; b=VXrQ/EwjMjPB3x4zqUEJuBg//2qVeKWtkZfB+nb7v37HQNxPt/3G7cCGYRvipz6QG8 p4VcFs2hiqFQBaczszI78TY34XaeJlvVK1sLxxcQG+1oeJ0MxB0fi/iTWtCMgibp+7Qo 2szKtFQRGtJZMuGx9oGq4ukX8eslNzMJnKLgT/Fjo3Jj1FnIz6CeWZPzQ6rJaIhTJzE4 WKKRBDSJE/aPB3U6Ongg9SqBdF8HNd/kBJEe/Ag9HfPU5gy5pDPNaXmaA3Po/1JNgaRm wmig+hZ1QlvXrzjm4bydDMyKUQjft53/hTOyRiX2iCM2XE6oxarlZ3lLZyIfSg3SH4YK UJYQ== X-Gm-Message-State: AOAM532+ppR+BNBFENU1mGhbaRMUJmBj0lw0Q7aIqvminF0wD/LPZ8HK Se0FRGFTlIz20FDQlkFY9Ejnfw== X-Google-Smtp-Source: ABdhPJze2KfB5rZ725/eBE9Lz2Jfsvti1kHUrazKUB2pLSiIxcf6vV6SLvqVc/BjbYmcF7nR2jTnuA== X-Received: by 2002:a63:741:0:b0:3fc:6b3c:f9dd with SMTP id 62-20020a630741000000b003fc6b3cf9ddmr21224601pgh.351.1654530975570; Mon, 06 Jun 2022 08:56:15 -0700 (PDT) Received: from p14s (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id i6-20020a17090ad34600b001cd4989ff41sm10370086pjx.8.2022.06.06.08.56.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 08:56:14 -0700 (PDT) Date: Mon, 6 Jun 2022 09:56:12 -0600 From: Mathieu Poirier To: Puranjay Mohan Subject: Re: [PATCH v4 0/6] Introduce PRU remoteproc consumer API Message-ID: <20220606155612.GA809345@p14s> References: <20220603121520.13730-1-p-mohan@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220603121520.13730-1-p-mohan@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220606_085616_383098_C36CC042 X-CRM114-Status: GOOD ( 23.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nm@ti.com, devicetree@vger.kernel.org, grygorii.strashko@ti.com, vigneshr@ti.com, kishon@ti.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, rogerq@kernel.org, krzysztof.kozlowski+dt@linaro.org, ssantosh@kernel.org, robh@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org I have started to review this set, comments will come over the next few days. I will clearly inform you when I am done reviewing. Thanks, Mathieu On Fri, Jun 03, 2022 at 05:45:14PM +0530, Puranjay Mohan wrote: > This is the v4 of the patch series [1]. The v3 had some comments > on the DT patch that have been addressed here. The 6th patch in this > series was missed in the previous versions, so, it has been added now. > > I have posted two more patch series that depend on this series, one to > the soc tree and another to the networking tree. I had sent all the 3 > series, including this one as RFC [2] to get comments and to explain the > dependencies. > > The Programmable Real-Time Unit and Industrial Communication Subsystem > (PRU-ICSS or simply PRUSS) on various TI SoCs consists of dual 32-bit > RISC cores (Programmable Real-Time Units, or PRUs) for program execution. > > There are 3 foundation components for PRUSS subsystem: the PRUSS platform > driver, the PRUSS INTC driver and the PRUSS remoteproc driver. All were > already merged and can be found under: > 1) drivers/soc/ti/pruss.c > Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml > 2) drivers/irqchip/irq-pruss-intc.c > Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml > 3) drivers/remoteproc/pru_rproc.c > Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml > > The programmable nature of the PRUs provide flexibility to implement custom > peripheral interfaces, fast real-time responses, or specialized data handling. > Example of a PRU consumer drivers will be: > - Software UART over PRUSS > - PRU-ICSS Ethernet EMAC > > In order to make usage of common PRU resources and allow the consumer drivers to > configure the PRU hardware for specific usage the PRU API is introduced. > > [1] https://patchwork.kernel.org/project/linux-remoteproc/cover/20220418104118.12878-1-p-mohan@ti.com/ > [2] https://patchwork.kernel.org/project/linux-remoteproc/cover/20220406094358.7895-1-p-mohan@ti.com/ > > Thanks and Regards, > Puranjay Mohan > > Roger Quadros (1): > remoteproc: pru: Add pru_rproc_set_ctable() function > > Suman Anna (2): > dt-bindings: remoteproc: Add PRU consumer bindings > remoteproc: pru: Make sysfs entries read-only for PRU client driven > boots > > Tero Kristo (3): > remoteproc: pru: Add APIs to get and put the PRU cores > remoteproc: pru: Configure firmware based on client setup > remoteproc: pru: add support for configuring GPMUX based on client > setup > > .../bindings/remoteproc/ti,pru-consumer.yaml | 69 +++++ > drivers/remoteproc/pru_rproc.c | 254 +++++++++++++++++- > include/linux/pruss.h | 78 ++++++ > 3 files changed, 396 insertions(+), 5 deletions(-) > create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml > create mode 100644 include/linux/pruss.h > > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel