Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750895AbdGYF4v (ORCPT ); Tue, 25 Jul 2017 01:56:51 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:34557 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750762AbdGYF4s (ORCPT ); Tue, 25 Jul 2017 01:56:48 -0400 From: Bjorn Andersson To: Andy Gross , David Brown , Bjorn Andersson Cc: Ohad Ben-Cohen , linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH 0/2] Qualcomm GLINK SSR support Date: Mon, 24 Jul 2017 22:56:42 -0700 Message-Id: <20170725055644.20947-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1094 Lines: 26 This adds the common Qualcomm helpers to tie in subsystem restart notifications with the ADSP and Modem PILs and then adds a driver for the "glink_ssr" channel to propagate these notifications. This is needed on GLINK RPM enabled platforms to have the RPM reset the state of the communication channels to the peripherals, allowing them to be restarted without the RPM crashing due stale FIFO data. Bjorn Andersson (2): remoteproc: qcom: Add support for SSR notifications soc: qcom: GLINK SSR notifier drivers/remoteproc/qcom_adsp_pil.c | 6 ++ drivers/remoteproc/qcom_common.c | 71 +++++++++++++++ drivers/remoteproc/qcom_common.h | 10 +++ drivers/remoteproc/qcom_q6v5_pil.c | 3 + drivers/soc/qcom/Kconfig | 9 ++ drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/glink_ssr.c | 164 ++++++++++++++++++++++++++++++++++ include/linux/remoteproc/qcom_rproc.h | 22 +++++ 8 files changed, 286 insertions(+) create mode 100644 drivers/soc/qcom/glink_ssr.c create mode 100644 include/linux/remoteproc/qcom_rproc.h -- 2.12.0