Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp197822lfu; Wed, 30 Mar 2022 20:32:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoLEVxjt8t5UvYYxW8zJy8YskaFxXask72aLnfHbZzmphTAGxsgn7wMBg1ggak5zTVpacu X-Received: by 2002:a63:250:0:b0:386:4fd7:432b with SMTP id 77-20020a630250000000b003864fd7432bmr8913465pgc.26.1648697577994; Wed, 30 Mar 2022 20:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648697577; cv=none; d=google.com; s=arc-20160816; b=eUWSde6A/dwTGxOWWgwgghPlZvbNc3Q6lEo41PVfZnfMNBSVzuqDXEl31tYvMMONJb BWSYZPT50d2u+YmAmCCVTxHWS4jq2j/fa6p4sf87dRWqNJ8p/1zEHSdFq2EmhEiRnFjF pBoQ6F/zdmoiZg5/5APSAT25wotZ6fkJi0AESD8lr00r76DipYG78GxokM8IXp2swOdT WJ+q49246Y0mtLNdd50+LSzM7/4fBnspOJa97m4SjSXsvTn5ahOtzRnsPkFvfv5kuFgr vTqn4jp8jsYOf5xHwNiWaU6m7Hxuj0AI2uKM3AWZhNAgqvxAr7oN9u0tyLnEIBrv+uTK +P4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uNFWdiLOQ2v9u23dgUqa15YJW6/w3bRd0yjEQLcdcr4=; b=i6hiJQZ1lFF4mjz7gzU++u8BUQiNtI321rHyOyw9TvT0HtAPRLI5cxsxWFNBy7ggG0 VtBrw0wEdwUdvmX7f2T9OWpWTMPVuXHNVz5Cht8VPQW0r7Ceb+LahmFIWjH5zhmvuwry PsCq03PB2Yc2si3xME7uDS+w4a1x1BK6SbITdUBbbxntxVFtboEF8POWh8ObDv+PBspu 4pcElCT738l1/TCHlDJZUb6yz7w8ENsmN+ZqQln9Vjuoyk6XuH8cRXow4jUmddrXgJr1 QPvn1j+gAFOs0PBUEqzwkGeXluQM8WHsyzgAYHzBa0MNHNnh7eUbQ7Z2qSPAMH4u6QIk 7YHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KEkWd1SM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m2-20020a17090a730200b001c6eb7ed8b8si1689854pjk.188.2022.03.30.20.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 20:32:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KEkWd1SM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EFFC7128643; Wed, 30 Mar 2022 19:57:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242194AbiC3DCp (ORCPT + 99 others); Tue, 29 Mar 2022 23:02:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239063AbiC3DCl (ORCPT ); Tue, 29 Mar 2022 23:02:41 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E2031753BE for ; Tue, 29 Mar 2022 20:00:57 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id j83so20879618oih.6 for ; Tue, 29 Mar 2022 20:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uNFWdiLOQ2v9u23dgUqa15YJW6/w3bRd0yjEQLcdcr4=; b=KEkWd1SMtZYZDEFRpUDIjVy5iCSaiD4jEmLknTJo/tvMItdGcgd0Seqk0fR1Yw38G/ Dw3MJ29cY/wVuByN0WIW0PWMYR2buO8lLko4eF6KrTXa1Gp6HqY4hQHeOU9NsFpH7Tg4 JemfCRPQDLNcAby/3LZYEjqxPjtx7hPgeTjX5xfAz7cdjxTOzU73tYloCDRDOgmgyvI7 b9HlSp+RHrx5O1uabDDg2FIVo2gKx6qagwbitjPmzaVbAkm/g2zWYVMP+cvrUykppZV8 f/QyIls07S6zJGF0vQROMbKcAOlaYgc4fCPQQ14Vp/ndyAgYp4NTw3a2C4Q2NeqW8So8 spcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uNFWdiLOQ2v9u23dgUqa15YJW6/w3bRd0yjEQLcdcr4=; b=RBfHAGv2PayYG+Ea9mygBeuTwD+/sJ/JH1yN/+Ce9IpUqV94ePmpPUwhk3+yHcGH1q q7AYY7mKgovNdkfSQ9/tbd4W60m7zFWoEh5LFrU+fWHsnQqm53Dp9pB2ssiWsCLppnkn XM1G582E5nErV7a0OkWnpCCLNA6tOShMmMVZmwOlHk3i3vlKkNPwK+MYSIt3J6dxmoLh fvn48C+R43QTTeFyxcm5lquv0CoCS3a0pSrq0ERa/QcrcAxd33z5OxgTuzYgbzCSdWp3 PPg4f19P3XD7Qzy7/zzXYIrH6MaOq+RvJUws44GpxRzy64wYqbl11uC8aaTsfiXx0kbJ PC/w== X-Gm-Message-State: AOAM533vcp6M0GsiPPTyrUV+8m/UOrfsR3j/hEWGF/dAxRJABCd3xhp7 hsqiyfN216FIot15gPZOYCNebw== X-Received: by 2002:a05:6808:23cc:b0:2d9:dc76:1f36 with SMTP id bq12-20020a05680823cc00b002d9dc761f36mr970242oib.292.1648609256406; Tue, 29 Mar 2022 20:00:56 -0700 (PDT) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id y3-20020a056870e50300b000d9be6436f1sm9002789oag.29.2022.03.29.20.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 20:00:55 -0700 (PDT) From: Bjorn Andersson To: Linus Torvalds Cc: Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Suman Anna , AngeloGioacchino Del Regno , Miaoqian Lin , Rakesh Pillai , Allen-KH Cheng , Alistair Delva , Puranjay Mohan , Stephan Gerhold Subject: [GIT PULL] remoteproc updates for v5.18 Date: Tue, 29 Mar 2022 22:00:55 -0500 Message-Id: <20220330030055.189960-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c: Linux 5.17-rc2 (2022-01-30 15:37:07 +0200) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rproc-v5.18 for you to fetch changes up to 59983c74fc42eb2448df693113bf725abbda05f9: remoteproc: qcom_q6v5_mss: Create platform device for BAM-DMUX (2022-03-11 20:21:56 -0600) ---------------------------------------------------------------- remoteproc updates for v5.18 In the remoteproc core, it's now possible to mark the sysfs attributes read only on a per-instance basis, which is then used by the TI wkup M3 driver. The rproc_shutdown() interface propagates errors to the caller and an array underflow is fixed in the debugfs interface. The rproc_da_to_va() API is moved to the public API to allow e.g. child rpmsg devices to acquire pointers to memory shared with the remote processor. The TI K3 R5F and DSP drivers gains support for attaching to instances already started by the bootloader, aka IPC-only mode. The Mediatek remoteproc driver gains support for the MT8186 SCP. The driver's probe function is reordered and moved to use the devres version of rproc_alloc() to save a few gotos. The driver's probe function is also transitioned to use dev_err_probe() to provide better debug support. Support for the Qualcomm SC7280 Wireless Subsystem (WPSS) is introduced. The Hexagon based remoteproc drivers gains support for voting for interconnect bandwidth during launch of the remote processor. The modem subsystem (MSS) driver gains support for probing the BAM-DMUX driver, which provides the network interface towards the modem on a set of older Qualcomm platforms. In addition a number a bug fixes are introduces in the Qualcomm drivers. Lastly Qualcomm ADSP DeviceTree binding is converted to YAML format, to allow validation of DeviceTree source files. ---------------------------------------------------------------- Alistair Delva (1): remoteproc: Fix count check in rproc_coredump_write() Allen-KH Cheng (2): dt-bindings: remoteproc: mediatek: Add binding for mt8186 scp remoteproc: mediatek: Support mt8186 scp AngeloGioacchino Del Regno (3): remoteproc: mtk_scp: Use devm variant of rproc_alloc() remoteproc: mtk_scp: Reorder scp_probe() sequence remoteproc: mtk_scp: Use dev_err_probe() where possible Bjorn Andersson (1): remoteproc: qcom: q6v5: Add interconnect path proxy vote Miaoqian Lin (3): remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region Puranjay Mohan (1): remoteproc: Introduce sysfs_read_only flag Rakesh Pillai (3): dt-bindings: remoteproc: qcom: adsp: Convert binding to YAML dt-bindings: remoteproc: qcom: Add SC7280 WPSS support remoteproc: qcom: q6v5_wpss: Add support for sc7280 WPSS Stephan Gerhold (1): remoteproc: qcom_q6v5_mss: Create platform device for BAM-DMUX Suman Anna (7): remoteproc: wkup_m3: Set sysfs_read_only flag remoteproc: move rproc_da_to_va declaration to remoteproc.h remoteproc: Change rproc_shutdown() to return a status remoteproc: k3-r5: Refactor mbox request code in start remoteproc: k3-r5: Add support for IPC-only mode for all R5Fs remoteproc: k3-dsp: Refactor mbox request code in start remoteproc: k3-dsp: Add support for IPC-only mode for all K3 DSPs .../devicetree/bindings/remoteproc/mtk,scp.yaml | 1 + .../bindings/remoteproc/qcom,hexagon-v56.txt | 140 ---------- .../bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml | 161 ++++++++++++ .../bindings/remoteproc/qcom,sc7280-wpss-pil.yaml | 219 ++++++++++++++++ .../bindings/remoteproc/qcom,sdm845-adsp-pil.yaml | 160 ++++++++++++ Documentation/staging/remoteproc.rst | 3 +- drivers/remoteproc/mtk_common.h | 3 + drivers/remoteproc/mtk_scp.c | 90 ++++--- drivers/remoteproc/qcom_q6v5.c | 21 +- drivers/remoteproc/qcom_q6v5.h | 3 + drivers/remoteproc/qcom_q6v5_adsp.c | 228 ++++++++++++++-- drivers/remoteproc/qcom_q6v5_mss.c | 19 +- drivers/remoteproc/qcom_wcnss.c | 1 + drivers/remoteproc/remoteproc_cdev.c | 2 +- drivers/remoteproc/remoteproc_core.c | 9 +- drivers/remoteproc/remoteproc_debugfs.c | 2 +- drivers/remoteproc/remoteproc_internal.h | 1 - drivers/remoteproc/remoteproc_sysfs.c | 21 +- drivers/remoteproc/ti_k3_dsp_remoteproc.c | 208 +++++++++++---- drivers/remoteproc/ti_k3_r5_remoteproc.c | 287 ++++++++++++++++++--- drivers/remoteproc/wkup_m3_rproc.c | 1 + include/linux/remoteproc.h | 5 +- 22 files changed, 1305 insertions(+), 280 deletions(-) delete mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.txt create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,qcs404-cdsp-pil.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,sdm845-adsp-pil.yaml