From patchwork Fri Aug 17 21:44:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10569383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A5A94109C for ; Fri, 17 Aug 2018 21:40:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 893BD2BEEF for ; Fri, 17 Aug 2018 21:40:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D49F2BEFB; Fri, 17 Aug 2018 21:40:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 181122BEEF for ; Fri, 17 Aug 2018 21:40:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727342AbeHRApf (ORCPT ); Fri, 17 Aug 2018 20:45:35 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:43062 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbeHRApe (ORCPT ); Fri, 17 Aug 2018 20:45:34 -0400 Received: by mail-pf1-f194.google.com with SMTP id j26-v6so4019709pfi.10 for ; Fri, 17 Aug 2018 14:40:32 -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:mime-version:content-disposition :user-agent; bh=SH7SU68bJ3aykT9kkPdjdUqn5j5c3dYXqR5XQuZQ6ow=; b=S0atfTZRkDOsifs7mc+lT9PRSZkFyxKDgbh6HPrlRCJZYKLF2ZYiUdhGit9uX81j/w 79PBiJ2qXzFtHLlYk1569hJ1L8BWDklHzWgJ6DR4QqB2hJhF1hUz/h3Vtoa3whGz2gqr neUAs9lq6jJEcpEl4jQDjTPHaTYgpZ68QKumo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=SH7SU68bJ3aykT9kkPdjdUqn5j5c3dYXqR5XQuZQ6ow=; b=S9bA2zLFnJyehrpVfdfVWmZjVRnh0zcu5rgeWqsrXWxaKEhJ84mT+CayonucXrl5p7 qTFX5aeAS4NYTamYxZsX2O/H0V2b+SDbghiNvazo3FHtRfBtev69aV37kyjvTBDIaaoE vgseFLvuEPtdFTLabsZw5EUpsMaYF5ktob8HLMGoj0PTCHIQBfOulxvb6MwblFMBunzb wDjdt09H3gjpiCa3XHJSbhz6jqhLqOWvos54qCaxtjlUq5yDDbuQp3wEMv6tH6BZZiIZ leyllmBzu9u+/DgAEOyaIcvnxrvEzkKql0/+RYne6RiH1Ka/Ue3sosjx5Ltntv/bmdFG wugQ== X-Gm-Message-State: AOUpUlFXOx1Z7W2YkUbCUwTW2GIJFPZzWjonKyzX7XFskZJe9HOi1faG 0+99Z+RFoOkZsiMdWIXNbZefOg== X-Google-Smtp-Source: AA+uWPx0svfWUWinW5v+tZKu6E9NBKBLU/sEvQvw9xdRKf2Kgf8m4U/OaI0Vj55VtLe7kTkUusGdbQ== X-Received: by 2002:a63:3246:: with SMTP id y67-v6mr34212903pgy.399.1534542032380; Fri, 17 Aug 2018 14:40:32 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id s85-v6sm5181045pfa.116.2018.08.17.14.40.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Aug 2018 14:40:31 -0700 (PDT) Date: Fri, 17 Aug 2018 14:44:22 -0700 From: Bjorn Andersson To: Linus Torvalds Cc: Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Arnd Bergmann , Loic Pallardy , Sricharan R , Suman Anna , Alex Elder , Bartosz Golaszewski , Sibi Sankar Subject: [GIT PULL] remoteproc updates for v4.19 Message-ID: <20180817214422.GA3941@tuxbook-pro> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: git://github.com/andersson/remoteproc tags/rproc-v4.19 for you to fetch changes up to b2201ee554a5811f569f31280b0079e7d6177606: remoteproc/davinci: use the reset framework (2018-08-16 17:39:55 -0700) ---------------------------------------------------------------- remoteproc updates for v4.19 This adds support for pre-start and post-shutdown hooks for remoteproc subdevices, refactors the Qualcomm Hexagon support to allow reuse between several drivers, makes authentication in the MDT file loader optional, migrates a few format strings to use %pK and migrates the Davinci driver to use the reset framework. ---------------------------------------------------------------- Alex Elder (1): remoteproc: rename subdev probe and remove functions Arnd Bergmann (2): remoteproc: qcom q6v5: fix modular build remoteproc: qcom: fix Q6V5_WCSS dependencies Bartosz Golaszewski (1): remoteproc/davinci: use the reset framework Bjorn Andersson (7): remoteproc: q6v5: Extract common resource handling remoteproc: qcom: adsp: Use common q6v5 helpers remoteproc: qcom: q6v5-pil: Use common q6v5 helpers remoteproc: Rename subdev functions to start/stop remoteproc: Make start and stop in subdev optional remoteproc: Make client initialize ops in rproc_subdev remoteproc: Introduce prepare and unprepare for subdevices Loic Pallardy (2): remoteproc: replace "%p" with "%pK" remoteproc: st_slim: replace "%p" with "%pK" Sibi Sankar (1): remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote Sricharan R (2): remoteproc: qcom: mdt_loader: Make the firmware authentication optional remoteproc: qcom: Introduce Hexagon V5 based WCSS driver Suman Anna (2): remoteproc: Reset table_ptr in rproc_start() failure paths remoteproc/davinci: Mark error recovery as disabled .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 7 +- drivers/remoteproc/Kconfig | 23 + drivers/remoteproc/Makefile | 2 + drivers/remoteproc/da8xx_remoteproc.c | 37 +- drivers/remoteproc/qcom_adsp_pil.c | 156 +----- drivers/remoteproc/qcom_common.c | 26 +- drivers/remoteproc/qcom_q6v5.c | 252 +++++++++ drivers/remoteproc/qcom_q6v5.h | 46 ++ drivers/remoteproc/qcom_q6v5_pil.c | 158 +----- drivers/remoteproc/qcom_q6v5_wcss.c | 601 +++++++++++++++++++++ drivers/remoteproc/qcom_sysmon.c | 5 +- drivers/remoteproc/remoteproc_core.c | 117 ++-- drivers/remoteproc/remoteproc_debugfs.c | 4 +- drivers/remoteproc/remoteproc_virtio.c | 2 +- drivers/remoteproc/st_slim_rproc.c | 3 +- drivers/soc/qcom/mdt_loader.c | 87 ++- include/linux/remoteproc.h | 19 +- include/linux/soc/qcom/mdt_loader.h | 4 + 18 files changed, 1188 insertions(+), 361 deletions(-) create mode 100644 drivers/remoteproc/qcom_q6v5.c create mode 100644 drivers/remoteproc/qcom_q6v5.h create mode 100644 drivers/remoteproc/qcom_q6v5_wcss.c