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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DAD1C433DF for ; Thu, 21 May 2020 15:58:16 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2568020748 for ; Thu, 21 May 2020 15:58:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ctHYH3mM"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="QW/2/Cyb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2568020748 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6RdWFuMtmWQcJiwQRBaLwYDpjhQ7Q2Bmhg9gG6NtkRg=; b=ctHYH3mM9Fo/wpu32SkX5Jhq0 jPOo6FksstpWZ6OpITOKaoVrAgxPzmE/LDz7sMzO2IS7dwAZzecO5m6HySlgqnn4VIDI3huv7XcsV 0Uv/7XlWuOidRVuIJq6N88uecstcSwM3gsqvI0Edg4qVWZokMki/T6Oabo0WjR9dOpYO30X8C1Q2r irSiqsB3wcop5U4wga7LQ3kvEhlDo4Y0XPlLajRo8ECTBI033p69zTU3Qas7ldOfwMOn6kbiZ761z cvNFZKafLE9lrDvS596t1aPsMc8Zwca5W/acnGYApmTqj3QzpEgWY9XXp5qfVt1/NKoa2L+Q0kgm1 sIDBnVQcQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbnaB-0003CD-KA; Thu, 21 May 2020 15:58:07 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbna8-0003BA-2B for linux-arm-kernel@lists.infradead.org; Thu, 21 May 2020 15:58:05 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 04LFvp5x127948; Thu, 21 May 2020 10:57:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1590076671; bh=TPMHFbS+iORHTIuCD7Fo5FkOZZ8OumFZy0+SDb9dspA=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=QW/2/CybTE8Jjh8qBZxRMOCIbCzWYP40rJxi/exOWqqcReAPK0urITescZqq/GBch c65r4o0O3Jf4kHwdyLR3Cv026+5/UmPxoe0xDjJKs+h0Y4uJzXU76+8AT3ABPXXz6U +tflutwSbx14lwT8ar4X6FZAuAbOP3vc3lAmrCDY= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 04LFvp2R090125 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 May 2020 10:57:51 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 21 May 2020 10:57:50 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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; Thu, 21 May 2020 10:57:50 -0500 Received: from [10.250.48.148] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 04LFvoli090798; Thu, 21 May 2020 10:57:50 -0500 Subject: Re: [PATCH 0/4] Update K3 DSP remoteproc driver for C71x DSPs To: Bjorn Andersson , Rob Herring , Mathieu Poirier References: <20200325204701.16862-1-s-anna@ti.com> From: Suman Anna Message-ID: <4691995a-b305-68a2-6637-7a3d9db3f194@ti.com> Date: Thu, 21 May 2020 10:57:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200325204701.16862-1-s-anna@ti.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200521_085804_241976_E8CDDFD4 X-CRM114-Status: GOOD ( 22.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Loic Pallardy , Lokesh Vutla , Arnaud Pouliquen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Clement Leger , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 3/25/20 3:46 PM, Suman Anna wrote: > Hi All, > > This series adds support for a new next generation 64-bit TI DSP based on > the TMS320C71x CorePac processor subsystem called the C71x. The support is > enabled through couple of enhancements to the remoteproc core (primarily to > support a 64-bit trace resource entry), and does depend on the K3 DSP > remoteproc driver posted earlier today [1]. > > The loading support leveraged the 64-bit ELF loader support code added by > Clement and already staged on the rproc-next branch. I am posting this > series separate from the C66x series because of the new 64-bit resource > type enhancement needs (patches 2 and 3). I have leveraged the existing > resource types as is by introducing a new version element, and am open to > ideas if it is desired to just define it as a separate resource type. > > The C71x DSP boots using firmware segments loaded into the DDR with a 2 MB > aligned address requirement on the boot vectors. There is no support for > internal memory loading, and all internal memories shall be used as fast > RAMs/scatchpads by the firmware executing on the DSPs. IPC is through the > virtio-rpmsg transport. There is no support for Error Recovery, Power > Management or loading into on-chip SRAMs at present. > > Following is the patch summary: > - Patch 1 updates the K3 DSP bindings for C71x cores > - Patch 2 introduces a concept of version element into existing resource types > - Patch 3 adds support for a new 64-bit trace resource entry > - Patch 4 enhances the K3 DSP remoteproc driver for C71x I have separated out the C71 platform driver pieces (patches 1 & 4) and posted a v2 for those. Appreciate any feedback on the core patches (patches 2 & 3) that add the minimal 64-bit trace support, as this also sets the direction for resource extensions. I can post the next version for those based on feedback. regards Suman > > regards > Suman > > [1] https://patchwork.kernel.org/cover/11458573/ > > Suman Anna (4): > dt-bindings: remoteproc: k3-dsp: Update bindings for C71x DSPs > remoteproc: introduce version element into resource type field > remoteproc: add support for a new 64-bit trace version > remoteproc/k3-dsp: Add support for C71x DSPs > > .../bindings/remoteproc/ti,k3-dsp-rproc.yaml | 78 ++++++++++++++++--- > drivers/remoteproc/remoteproc_core.c | 65 +++++++++++----- > drivers/remoteproc/remoteproc_debugfs.c | 50 ++++++++---- > drivers/remoteproc/ti_k3_dsp_remoteproc.c | 17 ++++ > include/linux/remoteproc.h | 34 +++++++- > 5 files changed, 203 insertions(+), 41 deletions(-) > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel