From patchwork Mon Sep 19 10:53:58 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: 12980252 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 68F14C54EE9 for ; Mon, 19 Sep 2022 10:57:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbiISK5O (ORCPT ); Mon, 19 Sep 2022 06:57:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbiISK4z (ORCPT ); Mon, 19 Sep 2022 06:56:55 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ECE4237C1; Mon, 19 Sep 2022 03:54:21 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28J9kqLx014354; Mon, 19 Sep 2022 10:54: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=wlBMZgu5seAGCbtVWgfXhdZUSvDR2GJql8BQ9Wt/s9w=; b=ca+cSSozUCP0SsFJ7HxEiL4XkBoSXdaOZ+vST5CHnPD58tvdiJTdVBn7se208/DyA37O owItzjDfvX0oq5/Fh7eWHTZrBHKBa8RT7LfiwQGvDfAk9+PhEkoQUo/QWOzTC0k3Py/2 nzP5HpdeUV6qw6yhavfUK0h5YkqGQeShR4HvgEk/1uqMo3j/faXFh2+PMXOge22qM0VC dPslFR0rVkH1SmwrbpPnai+1vUgbwx5DIEBTbp24+5ldc4lKRX5fQwax+sOlzIvSrOXr B10aSJRzXiS/A/sh5DLK10SLBHCo1YNdYip55FJMC6WDk5vS3W6c75PkH+OY4vuEIwaH 5w== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jn6dh3tvh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Sep 2022 10:54:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 28JAsGi8015936 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Sep 2022 10:54:16 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; Mon, 19 Sep 2022 03:54:13 -0700 From: Deepak Kumar Singh To: , , , , CC: , , , Deepak Kumar Singh Subject: [PATCH V4 0/2] rpmsg_char/ctrl driver fixes Date: Mon, 19 Sep 2022 16:23:58 +0530 Message-ID: <1663584840-15762-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-GUID: gIJ4V1AQ9okYKX2_nDv92p-yCR1mQlEP X-Proofpoint-ORIG-GUID: gIJ4V1AQ9okYKX2_nDv92p-yCR1mQlEP 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-19_05,2022-09-16_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 mlxlogscore=551 spamscore=0 mlxscore=0 impostorscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 clxscore=1015 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209190072 Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Change from v4: Corrcted mistaked in commit message for patch2. 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(+)