From patchwork Tue Feb 21 15:55:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarannya S X-Patchwork-Id: 655792 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BB5FC61DA3 for ; Tue, 21 Feb 2023 15:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234245AbjBUP4Y (ORCPT ); Tue, 21 Feb 2023 10:56:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233750AbjBUP4X (ORCPT ); Tue, 21 Feb 2023 10:56:23 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF88F23D82; Tue, 21 Feb 2023 07:56:22 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31LEL8cV020913; Tue, 21 Feb 2023 15:56:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=WLnshkJAU0sP3EWG+RoHY10HM3NnVgWCRXhzRbNvlu8=; b=GcyTkCwkeTVnYEaxRteJ7QpUHdeKYRgdNHXIGrmMwCvCf3ZhivPQNw9ABRnzuJAzyLQq zlyb6NDYynYJJhLQqCXfgN4qdgM1AJvoFvmxPOsZANg352SFfYCCLOz/vyEqC9xIvN8j vHM01QCzRVYWFei604z5q6bfBpTEy7qxnUZji/DeYhXAjgFyn05erUwOwMYrZrHG/BI0 IHiNB+AuagFMZQqWQPPAEo/M7rjM5qKE4bRYIz1S7NOj6gmW94BRxpKxZ4nMKGGHrq3M Bewhq6dfldBPTFYzF2oonyc7Z7GXvmlYqoe/IVL21eGe+JJKLdYUKs8+HFFK8oWjaHR+ KA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nvxxkg9xk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Feb 2023 15:56:18 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31LFuG0E025245 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Feb 2023 15:56:16 GMT Received: from sarannya-linux.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 21 Feb 2023 07:56:13 -0800 From: Sarannya S To: , , , , CC: , , , Sarannya S Subject: [PATCH V5 0/3] rpmsg signaling/flowcontrol patches Date: Tue, 21 Feb 2023 21:25:59 +0530 Message-ID: <1676994962-18206-1-git-send-email-quic_sarannya@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: QivQSA-Ab8Vk2JQpntJlint_CzUEnOyc X-Proofpoint-ORIG-GUID: QivQSA-Ab8Vk2JQpntJlint_CzUEnOyc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-21_08,2023-02-20_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 phishscore=0 adultscore=0 spamscore=0 clxscore=1015 priorityscore=1501 mlxlogscore=597 suspectscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302210132 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Added two new RPMSG IOCTLs for rpmsg_char- RPMSG_GET_SIGNAL_IOCTRL and RPMSG_SET_SIGNAL_IOCTRL, to set/get the flow. Addressed review comments for changing variable names/ desciptions. Sarannya S (3): rpmsg: core: Add signal API support rpmsg: glink: Add support to handle signals command rpmsg: char: Add RPMSG GET/SET SIGNAL IOCTL support drivers/rpmsg/qcom_glink_native.c | 63 +++++++++++++++++++++++++++++++++++++++ drivers/rpmsg/rpmsg_char.c | 58 ++++++++++++++++++++++++++++++----- drivers/rpmsg/rpmsg_core.c | 20 +++++++++++++ drivers/rpmsg/rpmsg_internal.h | 2 ++ include/linux/rpmsg.h | 15 ++++++++++ include/uapi/linux/rpmsg.h | 12 +++++++- 6 files changed, 162 insertions(+), 8 deletions(-)