From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Andy Gross <andy.gross@linaro.org>,
Ohad Ben-Cohen <ohad@wizery.com>,
Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Arun Kumar Neelakantam <aneela@codeaurora.org>,
Chris Lew <clew@codeaurora.org>,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-soc@vger.kernel.org, linux-remoteproc@vger.kernel.org
Subject: [PATCH v4 0/5] In-kernel QMI helpers and sysmon
Date: Wed, 29 Nov 2017 17:16:39 -0800 [thread overview]
Message-ID: <20171130011644.9421-1-bjorn.andersson@linaro.org> (raw)
This series introduces a helper library for drivers that needs to implement
clients or services in the kernel for communicating with QMI encoded messages.
This is used by a set of drivers in order to implement control signaling that
needs to happen between a driver and a service on a remote processor, such as
the synchronization of states during a remoteproc shutdown/restart; as seen in
the sysmon implementation.
Finally a sample driver provides an implementation of the "test" protocol,
which is a service typically implemented by Qualcomm remoteproc firmware.
Changes since v3:
- Don't call QMI handler for response type messages without known txn
- Kerneldoc updates
- Style updates
Changes since v2:
- Fix reported typos
- Checkpatch fixes
- Use non-gpl EXPORT_SYMBOL
Changes since v1:
- Lot of modifications to QMI interface, from feedback and implementation and
testing of sysmon.
- Added sysmon driver.
- Added patch for remoteproc to pass gracefulness on subdev remove.
- QRTR patches part of v1 was merged separately
Bjorn Andersson (5):
soc: qcom: Introduce QMI encoder/decoder
soc: qcom: Introduce QMI helpers
remoteproc: Pass type of shutdown to subdev remove
remoteproc: qcom: Introduce sysmon
samples: Introduce Qualcomm QMI sample client
drivers/remoteproc/Kconfig | 17 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/qcom_adsp_pil.c | 12 +
drivers/remoteproc/qcom_common.c | 6 +-
drivers/remoteproc/qcom_common.h | 21 +
drivers/remoteproc/qcom_q6v5_pil.c | 3 +
drivers/remoteproc/qcom_sysmon.c | 587 ++++++++++++++++++++++++
drivers/remoteproc/qcom_wcnss.c | 4 +
drivers/remoteproc/remoteproc_core.c | 18 +-
drivers/soc/qcom/Kconfig | 9 +
drivers/soc/qcom/Makefile | 2 +
drivers/soc/qcom/qmi_encdec.c | 826 +++++++++++++++++++++++++++++++++
drivers/soc/qcom/qmi_interface.c | 857 +++++++++++++++++++++++++++++++++++
include/linux/remoteproc.h | 4 +-
include/linux/soc/qcom/qmi.h | 279 ++++++++++++
samples/Kconfig | 9 +
samples/Makefile | 2 +-
samples/qmi/Makefile | 1 +
samples/qmi/qmi_sample_client.c | 631 ++++++++++++++++++++++++++
19 files changed, 3274 insertions(+), 15 deletions(-)
create mode 100644 drivers/remoteproc/qcom_sysmon.c
create mode 100644 drivers/soc/qcom/qmi_encdec.c
create mode 100644 drivers/soc/qcom/qmi_interface.c
create mode 100644 include/linux/soc/qcom/qmi.h
create mode 100644 samples/qmi/Makefile
create mode 100644 samples/qmi/qmi_sample_client.c
--
2.15.0
next reply other threads:[~2017-11-30 1:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-30 1:16 Bjorn Andersson [this message]
2017-11-30 1:16 ` [PATCH v4 1/5] soc: qcom: Introduce QMI encoder/decoder Bjorn Andersson
2017-11-30 17:17 ` Chris Lew
2017-12-01 9:10 ` Jitendra Sharma
2017-12-05 17:33 ` Bjorn Andersson
2017-11-30 1:16 ` [PATCH v4 2/5] soc: qcom: Introduce QMI helpers Bjorn Andersson
2017-11-30 8:18 ` Philippe Ombredanne
2017-12-01 5:35 ` Bjorn Andersson
2017-12-01 7:48 ` Philippe Ombredanne
2017-11-30 17:33 ` Chris Lew
2017-11-30 1:16 ` [PATCH v4 3/5] remoteproc: Pass type of shutdown to subdev remove Bjorn Andersson
2017-11-30 17:35 ` Chris Lew
2017-12-01 14:50 ` Arnaud Pouliquen
2017-12-05 6:46 ` Bjorn Andersson
2017-12-05 10:54 ` Arnaud Pouliquen
2017-12-05 17:17 ` Bjorn Andersson
2017-12-06 8:55 ` Arnaud Pouliquen
2017-12-06 21:53 ` Bjorn Andersson
2017-12-07 12:14 ` Arnaud Pouliquen
2017-11-30 1:16 ` [PATCH v4 4/5] remoteproc: qcom: Introduce sysmon Bjorn Andersson
2017-12-01 1:52 ` Chris Lew
2017-12-01 5:31 ` Bjorn Andersson
2017-11-30 1:16 ` [PATCH v4 5/5] samples: Introduce Qualcomm QMI sample client Bjorn Andersson
2017-11-30 17:36 ` Chris Lew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171130011644.9421-1-bjorn.andersson@linaro.org \
--to=bjorn.andersson@linaro.org \
--cc=andy.gross@linaro.org \
--cc=aneela@codeaurora.org \
--cc=clew@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=ohad@wizery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).