Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp578428rdh; Wed, 14 Feb 2024 05:53:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVP6FsGwAT1hcPZ8t+xf0UO/GpeX40xP2EiiplhqTANU8YU/zIs5VxPil7Y34CuqhACBcvCO9G5LiOJ72qRWumass+eUX67ne/uk8qxAg== X-Google-Smtp-Source: AGHT+IEBfZQZpXiBKwI7ONRRomXTKhO0iY23NtTmIXICIqnaiSQJjFiOrrk97NOs5hXOICys7Ce1 X-Received: by 2002:ac2:4c0e:0:b0:511:4a03:6b5d with SMTP id t14-20020ac24c0e000000b005114a036b5dmr1825797lfq.24.1707918790106; Wed, 14 Feb 2024 05:53:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707918790; cv=pass; d=google.com; s=arc-20160816; b=lQO4sMKYKDLRuu7zGhvaHQ2ssGUagDCe9Pow7wfLnYB9OCHHbYZlJyM8CRZoobIvE1 Gjrn+KO79XOIUMZy+iGcYN5HwJt2blWBn4/nFXITpbTu89ZsEfldJfLuKAnG/eOxZ46u BeqYr4k4LWKI80qdJwsiJPG0SE31PSLkCvfSMSdzLl5ovGhqCSLs0bwP/C+EUwtzc7Pm bao4UGqN82SGj4pC6Dg/4yxRKdQwP7GgMeYTuIL1W7nkFiE5Nv3S854chM8CHkSdrBPH Kg1e3Q3DVZcQ8WyWEHjRSknE3518P+u2IiN2h/T9l72PE/ix10qpCPd168bSQMuTnwPA i3Yw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lKZrBM/DYrA307qiU+C3ypbozZmvadCmkQsuEytMwUM=; fh=14JR/ByY2mdvm9CalWccKeZTgQFKlR/RrS6xAoZeMj0=; b=Z07LD6N/XO5R/a9R3z/GWVfFx7OiJm2Nr+WELMsvoJ3vBgM5qeaKaPVZ+3JD/p+7zk FZZBG0pU3iKmyF0O0THS7WIsuEvrrViDlCmHigenHimFUri9p0KO0agZVfDSo4o2JqHb Ijkur2HvKbgsUG71VZlgCpvXz+jh4noBXP95PYmv7VzHOWJ/Y0Me0SuoBwfeKcDZhEnA y45PjwxsOdtIxrW2pGMsS4FdZsJ3AQCaTohyXDm15skgFHw5BqPTUsiePJcBF7UAiTUy ZzED0X11+qSlNp8CkSE/kFe57R9lSm2FYUYztTHNyu+Dnjkf+CxT/Z7Jgh2DohIEoSET LVBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rO2Y0P/r"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65295-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUeRlq9slz6l7cDZDLni3Aq6wdfk/lgezvO9NIMZKqEbnYiGj4HafsYZnzWJEh2cLM7iatg2l7420SkfLwofnEQPpNXBT1quRVZZIqj6w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a4-20020aa7d904000000b0056112583c05si4872332edr.592.2024.02.14.05.53.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 05:53:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65295-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="rO2Y0P/r"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65295-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B5C441F237E4 for ; Wed, 14 Feb 2024 13:51:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EB8F54BDF; Wed, 14 Feb 2024 13:51:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rO2Y0P/r" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 753ED1CABA; Wed, 14 Feb 2024 13:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707918707; cv=none; b=h+Yo1DRkcuCIptGZu+MhkwjXSuo2s/3ctEiDuR+fHFjlUifktHOjclxro0Wk4aYochd0cuPREkrszIkhh99FmGSstqdtboNl9nSnC7SsqbAUkc5huyksK13u0PtNV4sk19eBWkd7M+MNvgj0V1wlQYZ0OYcN709EmL/iK5erRBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707918707; c=relaxed/simple; bh=Qq4RI3/eNvGIvnkvbEhKzEkeUXbVPZq7+5c0G9BM++I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LA93RMMLJwUrJ9peN0K4SSJ5/9Tp6Jnse0x7sVG+iABrQjbhOUGKJJ5SRUGWi8T5IHkrY7PoRExlNh1XU+Fhq9U/57LiiI90bLUvPsL5N6ojXFHjcuU+2QtpK5X+UWeGxvM9Szpw7H61DuOpDq5af8DmHeqesxJGht46SjbNgjQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rO2Y0P/r; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3A38C433F1; Wed, 14 Feb 2024 13:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707918706; bh=Qq4RI3/eNvGIvnkvbEhKzEkeUXbVPZq7+5c0G9BM++I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rO2Y0P/rIMwckSI4l41akdMEhZtEl+Kno80nEh/FOlEu7LHwVqzr0gHSGb4rxy46h wbIn8eX2z8YkjpATs0FKPYzqCLGxqDHTm8cq8aFD6cJcrHNFv38mSRCd6GK3LEcSaU iR6e45a8NtmMSeCggrS/dEcwl/FPrhMXzzm4LfIzJ3FRVh/ANgrmWP/c8fJr3sawIp u7gI3lmObcKNatscXsV6qohUPs/nwil/IKwjHFjnszp10/MitkFSNiZEwf0c465CDs wX+BNxgYVQfwmiCR7EhqC9Ij0lDBz3uRo3SirfmLB1C7ZPp1QbOyeoXwe3k5LGZsKV oL0mcq15CVDTQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1raFgD-000000005BW-1E73; Wed, 14 Feb 2024 14:52:06 +0100 Date: Wed, 14 Feb 2024 14:52:05 +0100 From: Johan Hovold To: Abhinav Kumar Cc: Rob Clark , Dmitry Baryshkov , Kuogee Hsieh , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Bjorn Andersson , quic_jesszhan@quicinc.com, quic_sbillaka@quicinc.com, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, regressions@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: drm/msm: DisplayPort regressions in 6.8-rc1 Message-ID: References: <343710b1-f0f4-5c05-70e6-3c221cdc9580@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <343710b1-f0f4-5c05-70e6-3c221cdc9580@quicinc.com> On Tue, Feb 13, 2024 at 10:00:13AM -0800, Abhinav Kumar wrote: > I do agree that pm runtime eDP driver got merged that time but I think > the issue is either a combination of that along with DRM aux bridge > https://patchwork.freedesktop.org/series/122584/ OR just the latter as > even that went in around the same time. Yes, indeed there was a lot of changes that went into the MSM drm driver in 6.8-rc1 and since I have not tried to debug this myself I can't say for sure which change or changes that triggered this regression (or possibly regressions). The fact that the USB-C/DP PHY appears to be involved (/soc@0/phy@88eb000) could indeed point to the series you mentioned. > Thats why perhaps this issue was not seen with the chromebooks we tested > on as they do not use pmic_glink (aux bridge). > > So we will need to debug this on sc8280xp specifically or an equivalent > device which uses aux bridge. I've hit the NULL-pointer deference three times now in the last few days on the sc8280xp CRD. But since it doesn't trigger on every boot it seems you need to go back to the series that could potentially have caused this regression and review them again. There's clearly something quite broken here. > On 2/13/2024 3:42 AM, Johan Hovold wrote: > > Since 6.8-rc1 the internal eDP display on the Lenovo ThinkPad X13s does > > not always show up on boot. > > [ 6.007872] [drm:drm_bridge_attach [drm]] *ERROR* failed to attach bridge /soc@0/phy@88eb000 to encoder TMDS-31: -16 > > and this can also manifest itself as a NULL-pointer dereference: > > > > [ 7.339447] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 > > > > [ 7.643705] pc : drm_bridge_attach+0x70/0x1a8 [drm] > > [ 7.686415] lr : drm_aux_bridge_attach+0x24/0x38 [aux_bridge] > > > > [ 7.769039] Call trace: > > [ 7.771564] drm_bridge_attach+0x70/0x1a8 [drm] > > [ 7.776234] drm_aux_bridge_attach+0x24/0x38 [aux_bridge] > > [ 7.781782] drm_bridge_attach+0x80/0x1a8 [drm] > > [ 7.786454] dp_bridge_init+0xa8/0x15c [msm] > > [ 7.790856] msm_dp_modeset_init+0x28/0xc4 [msm] > > [ 7.795617] _dpu_kms_drm_obj_init+0x19c/0x680 [msm] > > [ 7.800731] dpu_kms_hw_init+0x348/0x4c4 [msm] > > [ 7.805306] msm_drm_kms_init+0x84/0x324 [msm] > > [ 7.809891] msm_drm_bind+0x1d8/0x3a8 [msm] > > [ 7.814196] try_to_bring_up_aggregate_device+0x1f0/0x2f8 > > [ 7.819747] __component_add+0xa4/0x18c > > [ 7.823703] component_add+0x14/0x20 > > [ 7.827389] dp_display_probe+0x47c/0x568 [msm] > > [ 7.832052] platform_probe+0x68/0xd8 > > > > Users have also reported random crashes at boot since 6.8-rc1, and I've > > been able to trigger hard crashes twice when testing an external display > > (USB-C/DP), which may also be related to the DP regressions. Johan