Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1704062

[PATCH 0/6] In-kernel QMI handling

From Bjorn Andersson <bjorn.andersson@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/6] In-kernel QMI handling
Date 2017-08-04 17:10 +0200
Message-ID <uaMeZ-8ke-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This series starts by moving the common definitions of the QMUX protocol to the
uapi header, as they are shared with clients - both in kernel and userspace.

This series then introduces in-kernel helper functions for aiding the handling
of QMI encoded messages in the kernel. QMI encoding is a wire-format used in
exchanging messages between the majority of QRTR clients and services.

It then adds an abstractions to reduce the duplication of common code in
drivers that needs to query the name server and send and receive encoded
messages to a remote service.

Finally it introduces a sample implementation for showing QRTR and the QMI
helpers in action. The sample device instantiates in response to finding the
"test service" and implements the "test protocol".

Bjorn Andersson (6):
  net: qrtr: Invoke sk_error_report() after setting sk_err
  net: qrtr: Move constants to header file
  net: qrtr: Add control packet definition to uapi
  soc: qcom: Introduce QMI encoder/decoder
  soc: qcom: Introduce QMI helpers
  samples: Introduce Qualcomm QRTR sample client

 drivers/soc/qcom/Kconfig          |   8 +
 drivers/soc/qcom/Makefile         |   3 +
 drivers/soc/qcom/qmi_encdec.c     | 812 ++++++++++++++++++++++++++++++++++++++
 drivers/soc/qcom/qmi_interface.c  | 540 +++++++++++++++++++++++++
 include/linux/soc/qcom/qmi.h      | 249 ++++++++++++
 include/uapi/linux/qrtr.h         |  35 ++
 net/qrtr/qrtr.c                   |  16 +-
 samples/Kconfig                   |   8 +
 samples/Makefile                  |   2 +-
 samples/qrtr/Makefile             |   1 +
 samples/qrtr/qrtr_sample_client.c | 603 ++++++++++++++++++++++++++++
 11 files changed, 2261 insertions(+), 16 deletions(-)
 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/qrtr/Makefile
 create mode 100644 samples/qrtr/qrtr_sample_client.c

-- 
2.12.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] In-kernel QMI handling Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-04 17:10 +0200
  [PATCH 4/6] soc: qcom: Introduce QMI encoder/decoder Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-04 17:10 +0200
  [PATCH 5/6] soc: qcom: Introduce QMI helpers Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-04 17:10 +0200
  [PATCH 6/6] samples: Introduce Qualcomm QRTR sample client Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-04 17:10 +0200
  Re: [PATCH 0/6] In-kernel QMI handling Dan Williams <dcbw@redhat.com> - 2017-08-04 17:40 +0200
    Re: [PATCH 0/6] In-kernel QMI handling Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-07 19:40 +0200
      Re: [PATCH 0/6] In-kernel QMI handling Marcel Holtmann <marcel@holtmann.org> - 2017-08-07 21:20 +0200
        Re: [PATCH 0/6] In-kernel QMI handling Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-08 06:50 +0200
          Re: [PATCH 0/6] In-kernel QMI handling Marcel Holtmann <marcel@holtmann.org> - 2017-08-08 08:20 +0200
  Re: [PATCH 0/6] In-kernel QMI handling Bjørn Mork <bjorn@mork.no> - 2017-08-08 13:10 +0200
    Re: [PATCH 0/6] In-kernel QMI handling Marcel Holtmann <marcel@holtmann.org> - 2017-08-08 13:20 +0200
    Re: [PATCH 0/6] In-kernel QMI handling Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-08-09 00:50 +0200
      Re: [PATCH 0/6] In-kernel QMI handling Dan Williams <dcbw@redhat.com> - 2017-08-09 02:50 +0200

csiph-web