Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp258165rdb; Sat, 17 Feb 2024 07:15:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUnCT9Id7bGuXFaTKsaxhioZrt5SbkC6o8fZozgZTSaf5IGchhIkLHKT8PO9ehIEP4eZf8hSjxlVbeayjF+VxF6pZKbcvNSCuF/coRtOg== X-Google-Smtp-Source: AGHT+IHfMtFZz064p0ADQaaLLXcOabmFbkfcVxPT9c+md+79YLKQF3PJMWxUHhWm7pwouoM4ZU8Y X-Received: by 2002:a05:6a21:2d0c:b0:19d:e644:7c9 with SMTP id tw12-20020a056a212d0c00b0019de64407c9mr14946984pzb.22.1708182904953; Sat, 17 Feb 2024 07:15:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708182904; cv=pass; d=google.com; s=arc-20160816; b=qhl/1Z58ikvwlXinCrbh22qdkOhi9QlCm3q9Agls1DsDZyBlR5OYH/yRjeio/U5EYQ QkQS1gxErTBSXCdK25KD2R3cKNkfxt5rR2RUN0P4lQsC3K6Iykw5b4zBIydHUwOH0/Qi gHbp7BLUO/Twe+eiGnLBzTfBdbpT9IAkR77DmDqBKMzSeYNN/W5xND7E/tKD8jMChBcR EgAlzIxvm6VH0z+l93HwfLwnJdZm0yRe5J1drjpMpa439WKWwTfRRCw+Hb6VKuq4rmSa f1gbLuc7WtCcmhSwvGaKYG0ihKbPbbB4ep9t6dge2NQIDmCHnY+hmJLBY/7xR6DFb2Id 45Ig== 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=5Xa26wApoopVPT/PJ7AJ0Cca3RtqGFJlbrlBkaNTdLk=; fh=9Y8LR/9ZlPsavzy+zbHnZJgAcY3Ft/3gDlgPZHWiRUw=; b=v4mABl1/a7hAXCIhFtBrskUkXGnw5R4uSxBTAdNdoVSb1u8yV4UW2B69EoCsbKlMKA 7SqL9RYwduO58vM7mfHzWClp65DzObqQCQiL3yPN057gUgiAWjRR2bmuYF5eQJytmHG3 Mkjq5fOm33CHrWTIjRyZzsyXHTrAWbWLopoWIC9k9gdQ+V+uRQjsIGzGSpfG3hvefZq3 +aG0uuNDvsIDk3Dsn9L+NevK4VvMN9kIjQ5qRyJiVFm2BRpaWPCJiIlwuYty/AzDMd0/ BJypn0HSwSnSoc0A6b7cbEB1JE421GOTGrnXBWl/LrUyFK7mSObOF4EShAPqE17E3Zpi M2pA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nE7HsySo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69933-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69933-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id cb15-20020a056a02070f00b005d8baa20a39si1610738pgb.312.2024.02.17.07.15.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 07:15:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69933-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nE7HsySo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69933-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69933-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A31292844CA for ; Sat, 17 Feb 2024 15:15:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3F0B7C6C8; Sat, 17 Feb 2024 15:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nE7HsySo" 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 0208069D3A; Sat, 17 Feb 2024 15:14:58 +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=1708182899; cv=none; b=uEf5iz4n5y7iCAp351uv3j937AaV/2w9VVe2Ejv/6w77FKM18422msLmPgcnbXxrr+/OdXu2kZG1wdBO1DDDyzwVguaUXk7ywL4zx6vMXqN2oqmt2WMNrInhRPIxpKbf7YhmCw3CU8Zp0s9bUDm64+heYnOzcEvc0OD2ZfFOkzM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708182899; c=relaxed/simple; bh=TLjN2HulsLngOJVgAuYf4Pn7GqZqS3+GGjKKcBZ0KkM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mx0MJapr8LikmlWF1q4/Ii20oUVGyVWNMzOhekuj5THVrNfVyEsUHqjZhE7d0ezOgbHe/6HnDglsnj3pIMwsCu4abtRbUg/qu/2sjnVdxXP9MC6H05bcj/8PmuTJQlpYyi6qSODPS/O3kIoUNzmQO6pebex9+Wmhl+eh+8HxEPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nE7HsySo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E663C433F1; Sat, 17 Feb 2024 15:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708182898; bh=TLjN2HulsLngOJVgAuYf4Pn7GqZqS3+GGjKKcBZ0KkM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nE7HsySov90y/vHtMCfJXd23d7y6KBAtm1F4lITB4vg8MBRjnFV0snYu57pS04AHo /4GtJZiH7KWwW1kKACjE3hCQSRcfwb9zXVHDpI9D753TxbzIaK4lhFJEtHxBG9n5Cs zc5SamBHZXw6g1u5F2JyYpiKNIpsG/XcMtmnzbbiaXsAvHrHx1xsXxqGhXmv+soR+O DNBUfMQUqod4rzw4eInf23Mt96swC3oHpbUFe0NtdiEwXmXh0vKjPofCQQYpgqhI33 lmJj0Mc8dg1t7sOVpEAJzbgnyeeIJ1dL8sGY9i04DZT1pGS/3sw8gjbjI7tLYyIGVx 6b//0l8cHdAsQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rbMP4-000000001bL-1zG3; Sat, 17 Feb 2024 16:14:58 +0100 Date: Sat, 17 Feb 2024 16:14:58 +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: On Wed, Feb 14, 2024 at 02:52:06PM +0100, Johan Hovold wrote: > 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. Since Dmitry had trouble reproducing this issue I took a closer look at the DRM aux bridge series that Abhinav pointed and was able to track down the bridge regressions and come up with a reproducer. I just posted a series fixing this here: https://lore.kernel.org/lkml/20240217150228.5788-1-johan+linaro@kernel.org/ As I mentioned in the cover letter, I am still seeing intermittent hard resets around the time that the DRM subsystem is initialising, which suggests that we may be dealing with two separate DRM regressions here however. If the hard resets are triggered by something like unclocked hardware, perhaps that bit could this be related to the runtime PM rework? Johan