Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2579243rdb; Fri, 22 Sep 2023 02:53:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6mJO9CA4exDv3XhKP4h4blLGP9ryPkNpV5V3Rh7lbz6N/BFr+H0wR07hdCrtwlCF4QtdF X-Received: by 2002:a05:6e02:925:b0:349:927a:5d85 with SMTP id o5-20020a056e02092500b00349927a5d85mr6915887ilt.22.1695376396186; Fri, 22 Sep 2023 02:53:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695376396; cv=pass; d=google.com; s=arc-20160816; b=wn+pjqgM+8fam0CN//LG0FehkDBHh+G+4socDZd3nBRCpTVrci/9kPhJRHYky1UL4p 7A5lHgvnLuWr99EpWLIUcME1zGXqYZuVmeoIq6FTzshwN5+p++16CeOMNfH7NFkmoaFZ DxPNBX4LfNvrjwyLQ8r6SqNqy48Dbgzz5OzFqdHir0FrWMHgCduisdujcz8wBymDh499 ioa4SHLJGlUKJfLKg6WnPxskUrszH78TQ0U6Zp+MvGIkWa8ufWCCULNDmOdcfAl9XOuZ ZFgwmgxtxxO4eb7ZG6KvyLWXQ18hN8T91GXoP5WGSLzExMN6XsF727Ul15UgxGZLFBBJ fqAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=SlRRkLNr5OjKsq5gzSI9t+E7LW/OS59U72FhWaLOpY0=; fh=0+ys44TPPV7GlxSVYIu6Laz9T04v8nJK9DbS/l/57uk=; b=trh/k4ZGZwNr9RthHmVwdpW4DacHYVxiu4Rk0iJUL+kkXMkjSgFb5P4cAbXNRC6g9o caQzHz7Zwnd2xmpUpqi4Tzb5bmd3ECYUiu0kPahov6LjcWdziSYrNRoAA/TVnSbj+6Rc FJmD4UaMSQjzXQr98b/1NGbZIooOXh7nmF3ZFfsiC31msMRD6zhc+uvwGzS30X9I9ju2 4oOAYSzuh9IFTQJ5TBGJ3Ys2PsbvozDLWTc6IUoel+zySCZMZrZJH1O4mE7keMBA0KGc 04/E3hd+KBZ0v/FqZp1uJHhnV23IbbPnGVC7RMFO3qn1PgHv5sIV6YIQ6e4bTTd/WwtX LpZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@qualcomm.com header.s=qcppdkim1 header.b=W5E6pr0o; arc=pass (i=1 spf=pass spfdomain=qti.qualcomm.com dkim=pass dkdomain=qti.qualcomm.com dmarc=pass fromdomain=qti.qualcomm.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=qti.qualcomm.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id u24-20020a656718000000b00578e4fa8a46si3385571pgf.626.2023.09.22.02.53.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 02:53:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@qualcomm.com header.s=qcppdkim1 header.b=W5E6pr0o; arc=pass (i=1 spf=pass spfdomain=qti.qualcomm.com dkim=pass dkdomain=qti.qualcomm.com dmarc=pass fromdomain=qti.qualcomm.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=qti.qualcomm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 1772E8089861; Fri, 22 Sep 2023 02:42:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233302AbjIVJmE (ORCPT + 99 others); Fri, 22 Sep 2023 05:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233152AbjIVJl7 (ORCPT ); Fri, 22 Sep 2023 05:41:59 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9613318F for ; Fri, 22 Sep 2023 02:41:52 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38M79LaO028142; Fri, 22 Sep 2023 09:41:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=qcppdkim1; bh=SlRRkLNr5OjKsq5gzSI9t+E7LW/OS59U72FhWaLOpY0=; b=W5E6pr0oTZRUiByerJysLxLLWs383zeUUhfqZEkVuFBPFyczd7kzLjn71fbOkBs2ddHl hzHuynSUK/vCL2b2X+0qyTvElMwp8/+7CC4dR0ckJXT0SLyTGfKa1cTugMwAhrEwOY+g SVUk6vr5jymUliYK5z32QD0mehmcwkBp9pGVhmsN3q6XyeKPgDTq9Pyen1GwMR8MIQig 5mmerjVxnJ3XIAWsILlkhaOJf+EQzhftSZDi1PanaOkAk5wYYXisCkb8s3pnkXo21rJi M3LvYmsn0jKG5rvVTG1bICC/nqJ2FVLVXjm7/ocUwQfFI8dSQrYKb+tDvlCRVk6pfVb8 yA== Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8uf2hd8v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 09:41:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gea0vOtA/aZsiFto5BO9waaQJmsfUfP7DyNPJ4AgEI3a1BplqO9w/wNCOWM/hOm73M7dqILECUtNYHsziTAhihRPDdBLZNOvFdczgEV244qrEdYlD9cgJLw0WdFsW6p9AZdo38TyIG7C3CGqDLT17uPSYm+AaaNxT1HESr6KlaMvM4kMYBldTPAh80OeO+nsLlL+/HpVkuCEkLq5Agj71LQdOUxIrl0tjXDuUWIDy58dX6h30EufMVu3tp+nCHjRRA3f0Nfh+LtVVBwUqk+tNxGpSog41RfBjYQgn7cdgtSzf7DRkE6O1vi+2T6r18yAugfBU+7bCMcYuVwc0czDkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SlRRkLNr5OjKsq5gzSI9t+E7LW/OS59U72FhWaLOpY0=; b=D6leX+bMroKT6VIwbGgFM1M2VZTRdBoxy/dabJFOSA5BGMeHa1ldq69FDGJO+zGEinvzO5GAlGyy1oNjfei804TQ0hrO7KdOl2A914ObiFTeq5XIRGn6WKPrOXCs/6mgg+wpNP8Ujk22wkyYAehNFb8VIYYB7GnCFWAo+PKHr4FQ7cVFLKMVr8jKJgwYMvvPszD4yqwDVd/I9yI4CekzeFxkjrczI/lIksDupOjV727WqQraIiLdtIfPLRXjMUh//QMlg9gL2p4u5de9q2Wm3KxI9j0NPy2z8/iW7OB+TGvYBuP8x8oTDeugoDXO7XzRUzPi1rM3HDREuhD8SHPw/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qti.qualcomm.com; dmarc=pass action=none header.from=qti.qualcomm.com; dkim=pass header.d=qti.qualcomm.com; arc=none Received: from BN0PR02MB7951.namprd02.prod.outlook.com (2603:10b6:408:169::8) by CH2PR02MB6694.namprd02.prod.outlook.com (2603:10b6:610:ae::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.19; Fri, 22 Sep 2023 09:41:34 +0000 Received: from BN0PR02MB7951.namprd02.prod.outlook.com ([fe80::ed2:9f26:8ab:82fc]) by BN0PR02MB7951.namprd02.prod.outlook.com ([fe80::ed2:9f26:8ab:82fc%4]) with mapi id 15.20.6813.017; Fri, 22 Sep 2023 09:41:34 +0000 From: Ramya SR To: "Ramya SR (QUIC)" , David Airlie , Daniel Vetter , Lyude Paul , Wayne Lin , Jani Nikula , Imre Deak , Alex Deucher , Jeff Layton , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v1] drm/dp/mst: fix missing modeset unlock for MST port detect Thread-Topic: [PATCH v1] drm/dp/mst: fix missing modeset unlock for MST port detect Thread-Index: AQHZ55DQhVb08bi8cEKL8zMH3hln2LAmoqyA Date: Fri, 22 Sep 2023 09:41:34 +0000 Message-ID: References: <1694753689-29782-1-git-send-email-quic_rsr@quicinc.com> In-Reply-To: <1694753689-29782-1-git-send-email-quic_rsr@quicinc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0PR02MB7951:EE_|CH2PR02MB6694:EE_ x-ms-office365-filtering-correlation-id: ca0b8dd1-ede2-4fa6-05c6-08dbbb501c1d x-ld-processed: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XseomE/9L7dLimgP5/Y/wYYNNcTifBTK2qPOVbnuAQDrlay8ePyTg5mQmST5le+baakMqZyraxV8bGK6iyXFSla1A4Uvk1jF2QjmbnT/KkhalmAW8kVSNVe7cWgMcrQMwVCdSwEU2soS+duvy9KIqLgG/3HULP0nLehMYDTwc3io0UXzRQt/WITKq0LWtWomxCcEJHk5dcNPE1maO8g2VquTNmr6+IpUcc4HRVleg/UbcTksHfERfTGSQyCPUP1/eWkH75q/BCmZMjDSQrtAmzGkPdgv1097aW0pV2xOldnnPFFxMkl7r7+9UTpgk92dPZPKoWFQxH+UinHh5J6B5FjFydUMlG/n63A1FRrKdFkznQSrjtPe3tQ4y77dEO27hKbGl8aQCu7RDI3DFMEtSOSHyZaAd4Jyj7RlfNGnuHLvDehypPYUK/bZx/t50v91uf5CkdKIgiBIb+RAir6rdi0DFpqN/0Tbl/PLX+csS3/kc0PPvL9vJjCG40j3uOYSJx6r3LxyZIR+zPNlYpurgSeeseoqbnwaVdITkJ1D+ORxyzxglhNLK8DUTxtmrhAzqZEQYhB3Ezyq4WDLxMlENWE4pvqJGPpKFgrvG6b1Fn/ws4Cq6wTITupcxG8klZo5UGjr6VVucLs49sFLM355uQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN0PR02MB7951.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(136003)(396003)(346002)(39860400002)(451199024)(186009)(1800799009)(55016003)(83380400001)(6506007)(53546011)(478600001)(7696005)(71200400001)(26005)(122000001)(38070700005)(921005)(38100700002)(64756008)(9686003)(41300700001)(110136005)(5660300002)(86362001)(33656002)(316002)(76116006)(66446008)(66946007)(66476007)(66556008)(8936002)(8676002)(2906002)(52536014)(7416002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6aL+9/K3wnx2hv4bkbFrb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PeK7?= =?us-ascii?Q?D4pnsKCqswylBOnBAg8wxw4P1nLXayRZvYqRwMgBwhD27nZHHxBsFMCbBo93?= =?us-ascii?Q?NLnNXtR94p6fxoDLZolJFz0mQefycc08Hmip2oTC9dSpWa3U172H2DC5Oc8n?= =?us-ascii?Q?vO6699dpwife9kBHgFAC1/dvPKlOJRYaC+nY1d4W/qtDJjPRz9bfeCMuq5Iq?= =?us-ascii?Q?z5gtqy6jdSTqVWio5Dfdf5sQTQkIu+kEybat0TTdgBpgKMSnn87UnJAqdLRG?= =?us-ascii?Q?CfMKwXyk1I0nblPQgnUcbgIyHrMl2mHMYrOplmM2HjGXEjoWs2ebLlRTRuin?= =?us-ascii?Q?YDditdtoJNoLYF2JcpmVAtw6aDrtsHCMMR7lUr3lHA6ZoBfMBKaZFbj2Hp8M?= =?us-ascii?Q?57v+PG6S8GPDMGHf6EiWXm1v4GLEzGQnK466D1+iRqSfown7DiaUXRWksG3v?= =?us-ascii?Q?nRL80jGIF9j3K5NWV/YdghRO43TdJYLHq2IsWRpk2h8sawauTywhFZiRK/ZA?= =?us-ascii?Q?NA3W9JZH93DQYpyg0J4mnPftyW8Pqcfl1QHoSHRwSIH+/GE3VnXACgnSlOMs?= =?us-ascii?Q?+9w6xsCDheTzET35yiFT6upIYAumV5WJfbah1Nu6przMuoOksbEVYN7EVj+A?= =?us-ascii?Q?D+mpUzXMO/7eqC/Ux0LDk6EzO9tyEEd+nsmheHQ4mrhpUk0GHb03Ro18DnrI?= =?us-ascii?Q?d8/kdekxWCx0vIlygChyYCeVqo3eMN0C2FZoy7L2?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?us-ascii?Q?UaeDKb1owkdElHr6MDpKpapq1KAFat90DycyeIacmLRvQeSvjQxhNyuCY4Yr?= =?us-ascii?Q?nRBjaxn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97G8UHaDiGQ4V?= =?us-ascii?Q?5cr6R6A7CinteP1zKr3rKOt8VcKkwe+xpf3DH7c5nAUmnS0NIj5zAeYskSAe?= =?us-ascii?Q?gIlh?= X-OriginatorOrg: qti.qualcomm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR02MB7951.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca0b8dd1-ede2-4fa6-05c6-08dbbb501c1d X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2023 09:41:34.6486 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: i38qMe+HF/iTRYNJ1MiGJ7K2Q3sxs0c1nMn0HQu14dxgoxN2ockCSFNpd5tbWHCODk/tynLoUWjGE4qSmMF1Yw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR02MB6694 X-Proofpoint-GUID: gdz57Yt294UDLUloNogL_pX6ab8U7lsS X-Proofpoint-ORIG-GUID: gdz57Yt294UDLUloNogL_pX6ab8U7lsS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_07,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 mlxlogscore=999 mlxscore=0 impostorscore=0 clxscore=1011 suspectscore=0 phishscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220080 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:42:22 -0700 (PDT) Gentle Reminder. Please review the commit. -----Original Message----- From: Ramya SR (QUIC) =20 Sent: Friday, September 15, 2023 10:25 AM To: David Airlie ; Daniel Vetter ; Lyud= e Paul ; Wayne Lin ; Jani Nikula ; Imre Deak ; Alex Deucher ; Jeff Layton ; dri-devel@lists.freed= esktop.org; linux-kernel@vger.kernel.org Cc: Ramya SR (QUIC) Subject: [PATCH v1] drm/dp/mst: fix missing modeset unlock for MST port det= ect Modeset mutex unlock is missing in drm_dp_mst_detect_port function. This will lead to deadlock if calling the function multiple times in an ato= mic operation, for example, getting imultiple MST ports status for a DP MST= bonding scenario. Signed-off-by: Ramya SR --- drivers/gpu/drm/display/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c b/drivers/gpu/dr= m/display/drm_dp_mst_topology.c index ed96cfc..d6512c4 100644 --- a/drivers/gpu/drm/display/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/display/drm_dp_mst_topology.c @@ -4154,7 +4154,7 @@ drm_dp_mst_detect_port(struct drm_connector *connecto= r, =20 ret =3D drm_modeset_lock(&mgr->base.lock, ctx); if (ret) - goto out; + goto fail; =20 ret =3D connector_status_disconnected; =20 @@ -4181,6 +4181,8 @@ drm_dp_mst_detect_port(struct drm_connector *connecto= r, break; } out: + drm_modeset_unlock(&mgr->base.lock); +fail: drm_dp_mst_topology_put_port(port); return ret; } -- 2.7.4