Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752150AbdHHLCy (ORCPT ); Tue, 8 Aug 2017 07:02:54 -0400 Received: from canardo.mork.no ([148.122.252.1]:36753 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbdHHLCw (ORCPT ); Tue, 8 Aug 2017 07:02:52 -0400 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= To: Bjorn Andersson Cc: "David S. Miller" , Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] In-kernel QMI handling Organization: m References: <20170804145938.25427-1-bjorn.andersson@linaro.org> Date: Tue, 08 Aug 2017 13:02:37 +0200 In-Reply-To: <20170804145938.25427-1-bjorn.andersson@linaro.org> (Bjorn Andersson's message of "Fri, 4 Aug 2017 07:59:32 -0700") Message-ID: <8737921fw2.fsf@miraculix.mork.no> User-Agent: Gnus/5.130015 (Ma Gnus v0.15) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v78B2wPV023040 Content-Length: 965 Lines: 24 Bjorn Andersson writes: > 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. Interesting! I tried to add some QMI handling in the kernel a few years ago, but was thankfully voted down. See https://www.spinics.net/lists/netdev/msg183101.html and the following discussion. I am convinced that was the right decision, for the client side at least. The protocol is just too extensive and ever-growing to be implemented in the kernel. We would be catching up forever. Note that I had very limited knowledge of the protocol at the time I wrote that driver. Still have, in fact :-) Bjørn