From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425283AbcBRGjL (ORCPT ); Thu, 18 Feb 2016 01:39:11 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:35411 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425038AbcBRGjI (ORCPT ); Thu, 18 Feb 2016 01:39:08 -0500 From: Bjorn Andersson To: Andy Gross , David Brown Cc: Srinivas Kandagatla , Fengwei Yin , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/5] Qualcomm SMD multi-channel client support Date: Wed, 17 Feb 2016 22:39:01 -0800 Message-Id: <1455777546-19280-1-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After trying to avoid implementing multi-channel support in SMD in v1 of the HCI driver for Qualcomm WCNSS BT, this new version includes the necessary SMD refactoring and additon of an API that allows SMD devices to call back into the SMD core to acquire additonal channels. The additional channels are tied to the existing SMD device and the life cycle of the new channel will be tied to, and affect, the original channel. Changes since v2: - rwlock is replaced by spinlock - smarter kicking of the two workers Bjorn Andersson (5): soc: qcom: smd: Introduce callback setter soc: qcom: smd: Split discovery and state change work soc: qcom: smd: Refactor channel open and close handling soc: qcom: smd: Support multiple channels per sdev soc: qcom: smd: Support opening additional channels drivers/soc/qcom/smd.c | 229 ++++++++++++++++++++++++++++++++----------- include/linux/soc/qcom/smd.h | 8 +- 2 files changed, 179 insertions(+), 58 deletions(-) -- 2.5.0