From patchwork Thu Sep 15 09:44:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak Kumar Singh X-Patchwork-Id: 606271 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 83CC9C6FA86 for ; Thu, 15 Sep 2022 09:44:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229483AbiIOJom (ORCPT ); Thu, 15 Sep 2022 05:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiIOJol (ORCPT ); Thu, 15 Sep 2022 05:44:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 189BF6364; Thu, 15 Sep 2022 02:44:39 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28F98R8w028091; Thu, 15 Sep 2022 09:44:34 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=1JlleiinbqYR0vMj+iP0lRST9473ZTUu+GSuKM+5psQ=; b=RpzzkYLUTaZL5wQgQAxHlRUJdXr7N2DZ5j10CdJk4Ng8J3BIt9VqCQ/umtWN+ieThout IgzMjco4uiJSi0AQcnI/BPe7lpWQN9uxUkJBo9TOHRIo5fyozHG9z3Gu33m6fjyP7eA9 dTkC2+6vToG/lZI9l6smF2fJM1krR/Tss1ozZKlNNLeH5nIzEazRn+V2zqz5i4y1p1CG mFaW1N9aJnNK3fsSoujCdsMOqFGFc4Q3ybz0/xxzdmToN7v9N6Zs38VqCMxhaL1J05/J xgDEED2O4imCx4MZVZP46eohwbjNtjXKhBQxEQ9ktGuLwVAGbYQ6gH1INz3uoS2AYzX9 4A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jkqm1hrqm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2022 09:44:34 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28F9iXQK027793 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2022 09:44:33 GMT Received: from deesin-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Thu, 15 Sep 2022 02:44:30 -0700 From: Deepak Kumar Singh To: , , , , CC: , , , Deepak Kumar Singh Subject: [PATCH V4 0/2] rpmsg_char/ctrl driver fixes Date: Thu, 15 Sep 2022 15:14:11 +0530 Message-ID: <1663235055-3081-1-git-send-email-quic_deesin@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: rWLKd7T4czNHAv16hJVuyw0gGQjoIr-G X-Proofpoint-GUID: rWLKd7T4czNHAv16hJVuyw0gGQjoIr-G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-15_05,2022-09-14_04,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 suspectscore=0 mlxlogscore=597 adultscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2208220000 definitions=main-2209150053 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Change from v3: Corrcted subject line pf patches. Deepak Kumar Singh (2): rpmsg: glink: Add lock to avoid race when rpmsg device is released rpmsg: glink: Add lock to rpmsg_ctrldev_remove drivers/rpmsg/rpmsg_char.c | 8 ++++++++ drivers/rpmsg/rpmsg_ctrl.c | 2 ++ 2 files changed, 10 insertions(+)