From patchwork Tue Feb 21 16:03:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarannya S X-Patchwork-Id: 13148159 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 852BFC636D7 for ; Tue, 21 Feb 2023 16:04:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233780AbjBUQEO (ORCPT ); Tue, 21 Feb 2023 11:04:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233085AbjBUQEM (ORCPT ); Tue, 21 Feb 2023 11:04:12 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7CDD59E5; Tue, 21 Feb 2023 08:04:11 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31LCXYc3011531; Tue, 21 Feb 2023 16:04:06 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=U/7RlYWEBJJQRx631k1uDRejbn/omAydR20LWrC3oBmiKWI/exkrO+ynuQLkcvcPjXjX 5ZVVd3Od52T14Ll1jy8yFfaL3xVGMqoclFSm65HyCczx0iXuMyc9m4mXvWEXyd/YGyNK dfSR1uFlAggqIz5/Cz9hCo6hwLYqCBngHXQKYHjB78jK/OhoJ0mAR253rxYGlhw43JOi nHkAOONmG4Tk7lriEwP+O3NJkv6+seZczUPo5/D8KaKf0E3wnE8k2TH57YZ4u2wlyKrA 4JX9n3hUYU1K/vpa4gCjeNtd8sOPDsd/UCl7zV44/+QZaldg6DNmeR+IJP57T89RHoS2 Cw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ntpw9qy17-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Feb 2023 16:04:06 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 31LG450N002061 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Feb 2023 16:04:05 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 08:04:02 -0800 From: Sarannya S To: , , , , CC: , , , Sarannya S Subject: [PATCH V5 0/3] rpmsg signaling/flowcontrol patches Date: Tue, 21 Feb 2023 21:33:34 +0530 Message-ID: <1676995418-19358-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-ORIG-GUID: 3gAVTzOQKDXfEaW6uPew2CnYS6jh1P_y X-Proofpoint-GUID: 3gAVTzOQKDXfEaW6uPew2CnYS6jh1P_y 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 mlxlogscore=597 clxscore=1015 spamscore=0 adultscore=0 impostorscore=0 phishscore=0 mlxscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302210134 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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(-)