Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp449957pxu; Fri, 4 Dec 2020 07:14:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJywqyzMBd6g/7G17ysc08siDoZ+dPhi5WChlZkwCwGSoTU0yAxAX7OK14Rmp8cR/WC7EdTl X-Received: by 2002:a17:906:cd06:: with SMTP id oz6mr7654873ejb.25.1607094871186; Fri, 04 Dec 2020 07:14:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607094871; cv=none; d=google.com; s=arc-20160816; b=VPVaFBs6rlu+VS8ZhHPSSSEZYVff1MuVqpaTbS7/TlUMHdZZY3e+guoj43E8BVDrFD EU5E5YFAI1Sg2nlFSm1uJYNin9K9FCD9VJr21j+9opP2EBOCgexy9C6TI3dSbRnqkwaw eLbCGrUJrFgYZHab11CwG+5UMs0LasfoW4Qy48JeZkLSptL2o8zVijVTDM4AqwuAwJry CDWk8HkIcUYgFmShP6xSojXdBRUNbiWhbpqnxqzni3dqDQFJ+GoyBcHiqiw2iNMJP7Pm 9iJcxlYEjopJTKRrTcWsXR6GPPzMYoADoTQGP7AvFC4eh76sDVXpMgutdlVoiFb/EHLO dgCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CTZE5KYHYdCtlR64X4cdwkLGSERgZtg1bRZFdAZq1Jo=; b=SjyDUHo/BD55tlsscRY+TuVEb87KVs2b8G0Fertv5iJSiBJd9FGE0Id5DeKFbVvbr3 +ojSadALK+1F29DyOjObhypEfNY6KscbMbkTRXTkcVlmuaX1pYpc0B04cWzi3xB6eAFt eAupIc0cms5UU6ud5hadRd7408VLSeIhi/R7eWBMyZ/JxUj3YVJeew+301fU+SRGM1Jx 4011m4WL0ZZNNHbWFMhGS/pd90wfI91pxcvkfHrj5soIgjRFBVGIjeiEW2JTh1XzChoj aIu3z+2R59XF/+uVR0FJnnwKsmQ0plxrpcIrQHGUEzecR5VfMFqXL1jlJuijpcEI2cW+ pKig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oo3ypHsX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p11si1510676eja.213.2020.12.04.07.14.06; Fri, 04 Dec 2020 07:14:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oo3ypHsX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730382AbgLDPMN (ORCPT + 99 others); Fri, 4 Dec 2020 10:12:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728626AbgLDPMN (ORCPT ); Fri, 4 Dec 2020 10:12:13 -0500 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E76F9C061A52 for ; Fri, 4 Dec 2020 07:11:32 -0800 (PST) Received: by mail-qt1-x842.google.com with SMTP id 7so4123811qtp.1 for ; Fri, 04 Dec 2020 07:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CTZE5KYHYdCtlR64X4cdwkLGSERgZtg1bRZFdAZq1Jo=; b=oo3ypHsXZFXMgirMzks9ExPqQMPDJAFZS9OrDgQfyEK6g02cm8ZZBSC6uXO9ABvjsF D7RmT6gvfSXp0rwl4EsPfLix2qnmrSDmgGPUM5oIu3ii7NgDH+G0vdvo6dhYWpAi6o/o AVf0wneYfo/YQZoxUKRrPCQZm+ub/pUh2Ns5GRMW26EgDPETzbOoOV0AR+9gaKBU2ZKP eeluI5XnEQ72v4drP+BWPooR7N2v0T1phoETXPVLXKl2uamKh1It2irIhZU+vRWoh6BI TvIHbKms6AJmoiIVvM0m6wMB0vMdDi0QsdNygHWxFrm5MDgIzmryNkccH+XJc5hHWj9w kY9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CTZE5KYHYdCtlR64X4cdwkLGSERgZtg1bRZFdAZq1Jo=; b=GN3Fh4jwfbp6Vz2FHbgHU949mb0+B9yMlnyM10quISD3mif1bYO68zV2+AOyG7jsY4 45cLpNfDuPWf3V6DWxhIyHaWLFv140sUd3PZiXTD20PSTzHB9kgER8eWZRPU+PS+yEmF hxCWZLgdqK42RN2h0xPiiL+2gxZliXPcvfmg1R7SFh/BlJk+WIt6XC9IHfS9ymIZVqcB EUdkcOXadUq9fUi02/aaO37bUAZZBe+r0IDkVAP80t0NonFHH2g/SI4uCNkh1ByYWXbK jyx/Uu6ury+9LuPoHoeRg7u25BzuKg3KeQD+pjstrJR6pg/GhQAavuWpknT3wsxp8p4C FiBQ== X-Gm-Message-State: AOAM5338PwbvJc9k3/soLkWe243dXQ9KAz0uag9w//BrY+L63Yewy59C tOfLAaizN3k1BQta+jj2ccjXN0dT4LxefFjdjzU98g== X-Received: by 2002:aed:3c42:: with SMTP id u2mr9224643qte.159.1607094692010; Fri, 04 Dec 2020 07:11:32 -0800 (PST) MIME-Version: 1.0 References: <20201119140850.12268-1-grzegorz.jaszczyk@linaro.org> In-Reply-To: From: Grzegorz Jaszczyk Date: Fri, 4 Dec 2020 16:11:20 +0100 Message-ID: Subject: Re: [PATCH v2 0/6] Add a PRU remoteproc driver To: Suman Anna Cc: Ohad Ben Cohen , Bjorn Andersson , Mathieu Poirier , linux-remoteproc@vger.kernel.org, Rob Herring , Lee Jones , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Bajjuri, Praneeth" , Roger Quadros Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suman, On Fri, 4 Dec 2020 at 16:05, Suman Anna wrote: > > Hi Greg, > > On 11/19/20 8:08 AM, Grzegorz Jaszczyk wrote: > > Hi All, > > > > 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. > > > > The K3 AM65x amd J721E SoCs have the next generation of the PRU-ICSS IP, > > commonly called ICSSG. The ICSSG IP on AM65x SoCs has two PRU cores, > > two auxiliary custom PRU cores called Real Time Units (RTUs). The K3 > > AM65x SR2.0 and J721E SoCs have a revised version of the ICSSG IP, and > > include two additional custom auxiliary PRU cores called Transmit PRUs > > (Tx_PRUs). > > > > This series contains the PRUSS remoteproc driver together with relevant > > dt-binding. This is the 3rd foundation component for PRUSS subsystem, the > > previous two 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 > > > > The following is a v2 version of the series. Please see the individual patches > > for exact changes in each patch, following are the main changes from v1: > > - Patch #1: fix two yamllint warnings. > > - Patch #2: address Suman comments: minor style improvements and fix for > > optional resource table handling (moved from patch #3). > > - Patch #3: address Suman comment: minor style, comments and trace improvements > > (no functional changes). > > - Patch #4: No changes. > > - Patch #5: Update documentation of pru_rproc_memcpy() function and is_k3 flag. > > - Patch #6: No changes. > > > > Best regards, > > Grzegorz > > > > Grzegorz Jaszczyk (1): > > remoteproc/pru: Add support for PRU specific interrupt configuration > > > > Suman Anna (5): > > dt-bindings: remoteproc: Add binding doc for PRU cores in the PRU-ICSS > > remoteproc/pru: Add a PRU remoteproc driver > > remoteproc/pru: Add pru-specific debugfs support > > remoteproc/pru: Add support for various PRU cores on K3 AM65x SoCs > > remoteproc/pru: Add support for various PRU cores on K3 J721E SoCs > > One minor change for v3 when you repost to address Mathieu's comments, can you > please adjust the patch titles to use > "remoteproc: pru:" instead following the latest convention. Sure - I will do that. Thank you, Grzegorz > > Thanks, > Suman > > > > > .../bindings/remoteproc/ti,pru-rproc.yaml | 214 +++++ > > drivers/remoteproc/Kconfig | 12 + > > drivers/remoteproc/Makefile | 1 + > > drivers/remoteproc/pru_rproc.c | 877 ++++++++++++++++++ > > drivers/remoteproc/pru_rproc.h | 46 + > > 5 files changed, 1150 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml > > create mode 100644 drivers/remoteproc/pru_rproc.c > > create mode 100644 drivers/remoteproc/pru_rproc.h > > >