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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 6ED81C7619D for ; Thu, 20 Feb 2020 02:58:40 +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 44AEC24658 for ; Thu, 20 Feb 2020 02:58:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NRVDCTAl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="BngRSNtl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44AEC24658 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org 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-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=q5wr0rIlMY+8Co2hmObbLVNonvTMs0UpzjSywEG09h4=; b=NRV DCTAlv7vBYzaHCE3RMy+NxyUcWXVJxkLEGMiTXD0bh+wLCB7+C1GYN9B7IIIzpp/+6MQuRlTfV5Y8 OhmXBWlljSibNih1354uu4cklM+k7ya7q+k6qFi2kiianhwDDqUEscJ6kfiw2BWug2qt+SNN1aIKT xF6Yedzn6n5y6GGRUSVON6n5xz+LkLR//zwknA0vpBWyJdsftG19UmZoQKzHO6nJVD2T3gwFVTzrF 2Ys092mWEexqbFZvpok01DwinzbvcYGyVjmGNk4p0IFtKqejPyxZnZXmYYH8k7lBbDzJjdToXoJw5 GQ62Il2Tlm5wOss+gsHnkzQ4cINJPSQ==; 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 1j4c2s-0000rE-87; Thu, 20 Feb 2020 02:58:34 +0000 Received: from mail26.static.mailgun.info ([104.130.122.26]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j4c2L-0000NY-AM for linux-arm-kernel@lists.infradead.org; Thu, 20 Feb 2020 02:58:04 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1582167483; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=maU3Pns7JRQnq6kS3D6USOvQxwO2Ev/vCO5JSfnzuSw=; b=BngRSNtlxIDertTZujTgY570O3XaPBf7HDKlmCdfJ3aOAvd1kv81/7oQIUsdd8ghxrg5n387 0Y7sFN+WwYS40YrhvEh77Rrbjr6oahMQ7Yc5GACCRu/7GU1ykGrYZ5AMtIrnECm7lTiluE73 wT86P439MwK02UcQxTPYfCgGkOM= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyJiYzAxZiIsICJsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e4df5b1.7f6365d9b1f0-smtp-out-n03; Thu, 20 Feb 2020 02:57:53 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 3B2B3C4479F; Thu, 20 Feb 2020 02:57:53 +0000 (UTC) Received: from sidgup-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sidgup) by smtp.codeaurora.org (Postfix) with ESMTPSA id 55CF4C43383; Thu, 20 Feb 2020 02:57:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 55CF4C43383 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=sidgup@codeaurora.org From: Siddharth Gupta To: agross@kernel.org, bjorn.andersson@linaro.org, ohad@wizery.com Subject: [PATCH 0/6] remoteproc: qcom: Add callbacks for remoteproc events Date: Wed, 19 Feb 2020 18:57:39 -0800 Message-Id: <1582167465-2549-1-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200219_185803_397533_95F91AF2 X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. 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: tsoni@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, rishabhb@codeaurora.org, Siddharth Gupta , psodagud@codeaurora.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds the usecases for SSR and Sysmon subdevices which are used by remoteprocs and kernel client drivers relying on those remoteprocs. Patch 1-3 adds callbacks for prepare, start and unprepare events, and also type of sysmon notification. Patch 4-6 adds a per subsystem notifier chain, callbacks for prepare, start and stop events for ssr subdevice. Rishabh Bhatnagar (1): drivers: remoteproc: Add name field for every subdevice Siddharth Gupta (5): remoteproc: sysmon: Add ability to send type of notification remoteproc: sysmon: Add notifications for events remoteproc: sysmon: Inform current rproc about all active rprocs remoteproc: qcom: Add per subsystem SSR notification remoteproc: qcom: Add notification types to SSR drivers/remoteproc/qcom_common.c | 86 ++++++++++++++++++++++++---- drivers/remoteproc/qcom_common.h | 1 + drivers/remoteproc/qcom_sysmon.c | 103 ++++++++++++++++++++++++++++------ drivers/soc/qcom/glink_ssr.c | 20 ++++++- include/linux/remoteproc.h | 17 ++++++ include/linux/remoteproc/qcom_rproc.h | 17 ++++-- 6 files changed, 209 insertions(+), 35 deletions(-) -- Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel