Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1285281ybz; Wed, 22 Apr 2020 17:39:28 -0700 (PDT) X-Google-Smtp-Source: APiQypI51Pu8BK+YMfN0n5fvLI/qzE4XOcopzlOYKeQPT+3u3ZvABueyADOe+BEsUpgHHEhFyBSh X-Received: by 2002:a05:6402:1f6:: with SMTP id i22mr933875edy.271.1587602368597; Wed, 22 Apr 2020 17:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587602368; cv=none; d=google.com; s=arc-20160816; b=i89J3/r9kmmgddm/jZPatXBrhbS3G3sVJyuLXS3N8FpkDqamfrxLu9ig+KcGpo5+1k uAdUlks/MIe/+df8QalWJaTKz9xQ34ZUzjni5pTfARtcTlNNtUO794vnDaz0zJKnjSk0 BKRSFl5Bf+tokGX+h8DjJZqXRbPhNwj1p/xnC7aMjGD2wCe40pH8m4VQK7gg4a9Hup0C yh/uXZEw3rx80ck6T525l2p+K5yweg7NnxiQimhh//QcQSylW3ubqWKWVm4+78UsV55C HH2/AnykRYWBrWZ+pwmpOKcT5bi0PYU1CThJAabGrhfbiIH4Qh6su/sR0nSaAV/pNaLa EMCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=75TUGWxKMG+i7tFa2VqXTsbczTpvn8gAWE0prn7/ZWo=; b=Rab9WmrOK9G/pMZXmP7Rz8ehREfYEhs5wmtZf8wzjDeMQg5Xlem4xcs9/kAc1/42pq SyY6vxkipkBvGtcl7gWZVtSCaZbPROEwiIAF3VlbSLFF49RBoOTGvbHYmYp+6lzoYQDG a1cvzDq1qukmbg1Gm+2UdLj+JGHj4Rpd3nHPrhRELDV89DeJdEvjvSL3WqyoZlIK1jPh ouJjO5FbYRXifHVZCEO6luKPlQjFAi4Z1m/4DHUB9bpXTjYCYTrzi6f/7gD5US9oV2e2 Jg4S8sfoKOEGYvyAJv3iXGzOuW8+r8ENQEuuWnMH5Sz8K1k5gci0nTIOppf00Lght0rD gYCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bt1mUO+l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id aq1si418825ejc.344.2020.04.22.17.39.05; Wed, 22 Apr 2020 17:39:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Bt1mUO+l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726071AbgDWAiI (ORCPT + 99 others); Wed, 22 Apr 2020 20:38:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726006AbgDWAiH (ORCPT ); Wed, 22 Apr 2020 20:38:07 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D5E0C03C1AB for ; Wed, 22 Apr 2020 17:38:07 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id d24so1632335pll.8 for ; Wed, 22 Apr 2020 17:38:07 -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=75TUGWxKMG+i7tFa2VqXTsbczTpvn8gAWE0prn7/ZWo=; b=Bt1mUO+l/1mVfkOUUYZ/vPLooOPPe2yy40kGK8VcjvtAzsSqTHrRzK2SrxdZfESL25 xIhyrTUVQOpkLdo2Cy3uiDoEjf3Jbz7eT1wgoK9POxngD3LR5FziEYCRZYgW6NJY6GGw 5Ud1iXBI0aLIgsvXnrO9Y8T07eEsOCqRd2cY1a3kpqOc34nnZoNmeVqri1MpehT38tTX mKNE+EGdlZ3oySSoIghIScraOGmz/RuK4j20yUW7xf3Ip2aDehUuteE3XSC4Z0HMKw/L IAasCCd0aLdN18dqDWj0SyEPxg+qjZvTRVmlS3aDZvHSjsTdPpuJqqGZxuROsUD9Fcjx wvmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=75TUGWxKMG+i7tFa2VqXTsbczTpvn8gAWE0prn7/ZWo=; b=emnoNHnK6z45ffwp/t0RZ/97r7JGHNfjlSB4CQiR8VUJpMgopw9zOVyzB2PR4X2ubt 11veDs7uY0OTr1XrIgUHLzpKWnr90oaxPWuC8k7yJMqd3PRAcuxWnyNpmPrBfylvjPLv spRMCVHyHTqfyeDCFSRVMztUEF/N0mrhn2ocWb1ZIybYJL7OCWJt0VOrj6yNL78o7oja nEj3qwPVPf71cL4bjqLum2uHD63Q/LLAQ8jkoP6V9CVQXNWaOVzGFYfWeR9+zH/DVc3m 6rOSBd4r45jVjcjBDMVQxmzzR0p37vlD4I3jXIoN9U1ZcwTI8EmdoKZ7n204lbpCD0FF niUQ== X-Gm-Message-State: AGi0PuZaQUDFCgXtDQ+q6t3gyMgs49ZzXQkMb+hyrze9x+mNGg1Zy+cg X9z31UyHeXlwZw8HILxqbaYtuQ== X-Received: by 2002:a17:902:b187:: with SMTP id s7mr1435976plr.0.1587602286693; Wed, 22 Apr 2020 17:38:06 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 6sm432225pgz.0.2020.04.22.17.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 17:38:05 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, Chris Lew , Sibi , Siddharth Gupta Subject: [PATCH 0/4] rpmsg: Refactor Qualcomm glink_ssr Date: Wed, 22 Apr 2020 17:37:32 -0700 Message-Id: <20200423003736.2027371-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to allow for wider use of the SSR notifier in remoteproc's qcom_common this series internalizes the notifier chain used by glink_ssr. To simplify the Kconfig dependencies it also moves the glink_ssr implementation to rpmsg and merges it with qcom_glink_native, as these do go hand in hand. Bjorn Andersson (4): remoteproc: qcom: Pass ssr_name to glink subdevice soc: qcom: glink_ssr: Internalize ssr_notifiers rpmsg: glink: Integrate glink_ssr in qcom_glink arm64: defconfig: Remove QCOM_GLINK_SSR arch/arm64/configs/defconfig | 1 - drivers/remoteproc/qcom_common.c | 17 ++++++++++- drivers/remoteproc/qcom_common.h | 5 +++- drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- drivers/remoteproc/qcom_q6v5_mss.c | 2 +- drivers/remoteproc/qcom_q6v5_pas.c | 2 +- drivers/rpmsg/Kconfig | 6 ++-- drivers/rpmsg/Makefile | 3 +- .../glink_ssr.c => rpmsg/qcom_glink_ssr.c} | 28 +++++++++++++------ drivers/soc/qcom/Kconfig | 9 ------ drivers/soc/qcom/Makefile | 1 - include/linux/rpmsg/qcom_glink.h | 3 +- 12 files changed, 49 insertions(+), 30 deletions(-) rename drivers/{soc/qcom/glink_ssr.c => rpmsg/qcom_glink_ssr.c} (83%) -- 2.24.0