From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A418C48BCD for ; Wed, 9 Jun 2021 11:19:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E99B561364 for ; Wed, 9 Jun 2021 11:19:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238698AbhFILVA (ORCPT ); Wed, 9 Jun 2021 07:21:00 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:64237 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234508AbhFILU6 (ORCPT ); Wed, 9 Jun 2021 07:20:58 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1623237544; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=9BCtXHFVeSUEKomj+XrCPQRr1dpXwmUlcL1F5/BXyGI=; b=n7mbWcKNEqN/ge7I3wOdx9JWOvY/44sy5YI5FQEOQCAswiTIeukA4gKwNNk9cIdLBhtFNRy9 D3v25Uztjl/SGMWENJZrO8A0aG9dV76hO3pQan9aI8e/+lvwZce0xsbZo/MlmBdko6HEXjHr yFfp3KJadkKhhyYjRW+xwPcZ/tM= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 60c0a3a751f29e6baef5f96e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 09 Jun 2021 11:19:03 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 3DF4BC4323A; Wed, 9 Jun 2021 11:19:03 +0000 (UTC) Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 88721C433D3; Wed, 9 Jun 2021 11:19:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 88721C433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, swboyd@chromium.org, manivannan.sadhasivam@linaro.org, Sibi Sankar Subject: [PATCH v4 0/2] soc: qcom: aoss: Expose send for generic usecase Date: Wed, 9 Jun 2021 16:48:50 +0530 Message-Id: <1623237532-20829-1-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch series exposes functions to enable drivers to send their own messages to AOSS (Always on Subsystem). It also adds a debugfs node for qmp so messages can be sent to aoss for debugging and testing purposes. V4: * Fix compilation error due to missing qmp_put * Minor typos [s/tarcks/tracks] V3: * Remove devm memory allocation * Use refcount for qmp handle * Update qmp_get/qmp_put/qmp_remove function with refcount logic Deepak Kumar Singh (2): soc: qcom: aoss: Expose send for generic usecase soc: qcom: aoss: Add debugfs entry drivers/soc/qcom/qcom_aoss.c | 109 ++++++++++++++++++++++++++++++++++++- include/linux/soc/qcom/qcom_aoss.h | 36 ++++++++++++ 2 files changed, 143 insertions(+), 2 deletions(-) create mode 100644 include/linux/soc/qcom/qcom_aoss.h -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project