Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1803069rwd; Tue, 13 Jun 2023 14:37:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4WqasKlPPSdVFaWgFggPkyOvEnU3pPJxQx3SM7U2K43d2fnnEwVacIO1H5qbMzO84ikZKP X-Received: by 2002:a17:907:7e8c:b0:94a:653b:ba41 with SMTP id qb12-20020a1709077e8c00b0094a653bba41mr13403677ejc.15.1686692238759; Tue, 13 Jun 2023 14:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686692238; cv=none; d=google.com; s=arc-20160816; b=yYgULP8fpL8ORRuZiJYiDdl/UHX5k5wmqu+HOSAN+2pNpmSYSy3zBYEjtnW+x0rvYh 3rLYrIh1+s4/SoxeiIO6vv6/CWdwCEB1c36VVaiCEeAQhdfhaAed/XH/Gyo7B9j9PTN2 xnyUwlYpX9C4Pxi0eSrsPL2YtZhzyId1T5zfqBxh+pkvl3O9WGrqahT6nsWS/aVlHNWr NB+VXydhZw7V6DMbLj5Y3PTXDw2pip+0QKXDusXk5LGTMaTDkyGrTzGaty1MWarAQtKx YBC0oxvRkIghZsPTbZVkM1scLd3SuRKPF0rEdow2ycEdrd4y2xSQzCsfAHalxZ6VYVzm UDlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/Av4fBGeoNH4wHA4MSFyZ2nuNzk8vnseeHEMbqvMOEU=; b=KRoIubuf52gKDzpbOQtyJyiDpafADzdFbUTl1KDQKwiI4r3pM5+N4AjCJ7Z0D/xUap 6aIRgTOh+jqOKbmVRA+edExhQeGDyz5E0moMrS05OEDNLPCstRWmFLUdwQGkTuQs3FLH pj3Ke2kwIkfeNMFSDpAoWhXgVftFWMiSIXM5yicthuA+mgiE84Wa9oPYxvgpVw+6SHd4 7kAxq6KWi1RguUQgdRH6V7BjVpwF9AC4aN6XxpZU6r+YDhxrrDc0VcoZ9/vEyIWmy1fQ VeKw/S/9kLUZJmsTQ8URGOCnz9gdo1PUWsMc7pV+M+W6RyLZ/nEIIL/GbzfhEGONQNf+ shew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="IFvu/mkW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a17090606d100b0096f81356bacsi7186043ejb.35.2023.06.13.14.36.53; Tue, 13 Jun 2023 14:37:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="IFvu/mkW"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240203AbjFMUv3 (ORCPT + 99 others); Tue, 13 Jun 2023 16:51:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240059AbjFMUv1 (ORCPT ); Tue, 13 Jun 2023 16:51:27 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C09561BE5; Tue, 13 Jun 2023 13:51:23 -0700 (PDT) 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 35DKZ9uP017928; Tue, 13 Jun 2023 20:51:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=/Av4fBGeoNH4wHA4MSFyZ2nuNzk8vnseeHEMbqvMOEU=; b=IFvu/mkW/D3OHiwHX4jrjsFjW9zaLbZw9mlJWK350JVnR2IHy09ufUZVFuMbvz+d5/r7 8nsFIWs4JetMKF28B0txG2PW/fs0FD+RtvMALUevxxxDpLu5FOa6WiVq2+kRLW9HT3a2 CVMZRsVVBsDXWAiZo6ZN43TQM2QoU2H6H7tCU5QYfLfQJBuN/q29tF6c+HJSHs6TAAbg fRb29zAoeD1RQI7x+soYp0KPykpn2jAQcTZDSgjhGnz1qD6RvYj5NahdUG6TSbAoI/ks 2APdfzsiEWaiZk0+s1zmUwKmh+5qulxxHnjEor+qh35ShfXjE2Iu3ZLErDAxPwopPPli Zg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r6f7a28v2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jun 2023 20:51:09 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35DKp8Io030667 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jun 2023 20:51:08 GMT Received: from [10.134.70.142] (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.42; Tue, 13 Jun 2023 13:51:07 -0700 Message-ID: <6ee95128-e97d-a1b6-8fed-c022479853de@quicinc.com> Date: Tue, 13 Jun 2023 13:51:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] drm/msm/dp: Drop aux devices together with DP controller Content-Language: en-US To: Doug Anderson , Dmitry Baryshkov CC: Bjorn Andersson , Rob Clark , Marijn Suijten , "Kuogee Hsieh" , Johan Hovold , "Sean Paul" , David Airlie , Daniel Vetter , Stephen Boyd , Vinod Polimera , , , , , Sankeerth Billakanti References: <20230612220106.1884039-1-quic_bjorande@quicinc.com> From: Abhinav Kumar In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: VwJ2nj-aj5Ee-POqtHBF_Fl6Mdjtxe27 X-Proofpoint-ORIG-GUID: VwJ2nj-aj5Ee-POqtHBF_Fl6Mdjtxe27 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-13_22,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=800 clxscore=1015 priorityscore=1501 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 malwarescore=0 mlxscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306130181 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Doug On 6/13/2023 12:33 PM, Doug Anderson wrote: > Hi, > > On Mon, Jun 12, 2023 at 3:40 PM Dmitry Baryshkov > wrote: >> >> On 13/06/2023 01:01, Bjorn Andersson wrote: >>> Using devres to depopulate the aux bus made sure that upon a probe >>> deferral the EDP panel device would be destroyed and recreated upon next >>> attempt. >>> >>> But the struct device which the devres is tied to is the DPUs >>> (drm_dev->dev), which may be happen after the DP controller is torn >>> down. >>> >>> Indications of this can be seen in the commonly seen EDID-hexdump full >>> of zeros in the log, or the occasional/rare KASAN fault where the >>> panel's attempt to read the EDID information causes a use after free on >>> DP resources. >>> >>> It's tempting to move the devres to the DP controller's struct device, >>> but the resources used by the device(s) on the aux bus are explicitly >>> torn down in the error path. >> >> I hoped that proper usage of of_dp_aux_populate_bus(), with the callback >> function being non-NULL would have solved at least this part. But it >> seems I'll never see this patch. > > Agreed. This has been pending for > 1 year now with no significant > progress. Abhinav: Is there anything that can be done about this? Not > following up on agreed-to cleanups in a timely manner doesn't set a > good precedent. Next time the Qualcomm display wants to land something > and promises to land a followup people will be less likely to believe > them... > Both QC and Google know there were other factors which delayed this last 3-4 months. But, I do not have any concrete justification to give you for the delays before that apart from perhaps other higher priority chrome and upstream bugs which kept cropping up. Hence, all I can offer is my apologies for the delay. After seeing this patch on the list, we have revived this effort now and re-assigned this within our team to take over from where that was left off. It will need some time to transition but this will see the end of the tunnel soon. Thanks Abhinav