Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp446974pxu; Fri, 4 Dec 2020 07:11:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzwtQspvO8ZHoGfIaPBBmAJX6DNVR/8v+SBIgl89EfGkZJEB8WS8RkYw/RIHQd6MWurakC X-Received: by 2002:a50:da08:: with SMTP id z8mr8061403edj.170.1607094665408; Fri, 04 Dec 2020 07:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607094665; cv=none; d=google.com; s=arc-20160816; b=AGRIBVtwxilxykzOJiWpJ+Idw/KZIJHeu7CsIWaGpaO5fQnnBUOCLJh/N5jYvmdgeB n/PdYAKDHDGZZ0/kpc1YC5DvAP7pfmCTO3f6RvFbsmCnLlbM0zNYIYZ4O7DIISKwcBm6 TwX9QX2hPFIB34SFJHEuqYg46rcvM+ZNntaL6ckHm8pHCuCl7REOgj+HQNuEBwviuk9e l7OD44o0+/ubVpNYL0HJKy3vr80cJ16lwkWd9TD12oV8b51aZ+1SvooQCDR4fTgLsStM 4zVKG93tMOIA8igjpoq/qofRKMQsGL7tuuATuUphGfoea4BsSNKdswHR8flQ2rPhI66E ueJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=x3QQpVqGD3Chyeor/qyNF9e/Ifi7+TxddtR8br0FcC0=; b=TUMclO3HhNZcZjtd202+xG9IJvr0EyYl4Eh/qsnA/ggW3VwHka/ABYj0z8o2N5wHym RJ8VcaGM1KwUyqsdHkovRY4UuF7/we/6+XjAihI8DVxg6KLQVGOa4wH6fzlKs6BSEwma wd6w6Xk7u5cMqmMIdeTOtp2rspz6M74mPToJWzPkQiQf7Pdlu/lSAaBpDHFGVbL7CeZC bzf7dnXbn68jI41b8DIJBt6xO0V4pSyuQIAJCOt47xmdrRrFqx34xBSVaWjvTwFqmcUF q5A9ZVFvgY+0V3uPfRWzEYlQYJE0kFa7WZ0U4ZTA836XHtc9OP666+Sfdg8DiaUHstBU 21qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=beDMLR2F; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si1885354edr.410.2020.12.04.07.10.40; Fri, 04 Dec 2020 07:11:05 -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=@ti.com header.s=ti-com-17Q1 header.b=beDMLR2F; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730382AbgLDPG7 (ORCPT + 99 others); Fri, 4 Dec 2020 10:06:59 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:55622 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726635AbgLDPG6 (ORCPT ); Fri, 4 Dec 2020 10:06:58 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0B4F5GG6108931; Fri, 4 Dec 2020 09:05:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1607094316; bh=x3QQpVqGD3Chyeor/qyNF9e/Ifi7+TxddtR8br0FcC0=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=beDMLR2F2b0vX4LtEZVKhLWSvvEgIF/zj52w5G0h5t5JqeYKbDvnVdzOGPHyTLDiR M8CHn6vinImn2yRgvQn4WG2KMFWfp4OPW1yfSFztRjTIud937SO0kpm2MKlngfadjl P0J9fzweeDR2UeHZ7uR52WBE63azojKO7faku3CA= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0B4F5G79008358 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 4 Dec 2020 09:05:16 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 4 Dec 2020 09:05:15 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 4 Dec 2020 09:05:15 -0600 Received: from [10.250.68.46] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0B4F590Z054621; Fri, 4 Dec 2020 09:05:10 -0600 Subject: Re: [PATCH v2 0/6] Add a PRU remoteproc driver To: Grzegorz Jaszczyk , , , CC: , , , , , , , , References: <20201119140850.12268-1-grzegorz.jaszczyk@linaro.org> From: Suman Anna Message-ID: Date: Fri, 4 Dec 2020 09:05:08 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201119140850.12268-1-grzegorz.jaszczyk@linaro.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 >