Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp523942lqc; Fri, 8 Mar 2024 04:55:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXAAw66vXk4CtCCk7RavKXV2AG7MhFAs0XUuXAEOaCa2rg7MGEsByzDAPE+uOazQ7KZxPZUpRqJGpgFT84HWhzkWq1rlnrG+xq8e5mdzw== X-Google-Smtp-Source: AGHT+IElPWOUdYsGFgGtpUu9N/I0K6LeHBVOEb7Sd9AtcdWaKyDSvV+2LgrBczOng1ZvJbKtp57v X-Received: by 2002:a50:f61a:0:b0:566:624a:9e3f with SMTP id c26-20020a50f61a000000b00566624a9e3fmr173332edn.3.1709902550709; Fri, 08 Mar 2024 04:55:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709902550; cv=pass; d=google.com; s=arc-20160816; b=Usl2iSDxSw3ZFpkPmgt38d6otxbmie/MDvdsDbtEVIq+v4ShX1rBJvE3GO+mb2608L rGzdjzDEmcKv5kmDSTs/a8Q/0cih2HY5/M3WEyO1zd4q/7H8kGmhC7ykoG5ZvRDXcdiV H09J/41mJdu0INEHDVIw37URF0Or1rf01YlFgcZml2EG1iybonTfZ625HPBcu/RqDAGo V87mPhKBV+RyUlQF46frRbwctOLOodfJ6ed4L/UCa+ElGZWWd0lSgrcnosc3x8LxWx7L XHpDeSi++w1JcMYumwFel9KlH3CSlIkdiib0ZRCESHWr1gvcfVHXT1VibnZByEbA8jHi l29g== 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=DMB6XBSEH5tpo6kZxCYrrsN2BtNkPX+n9Czpa1drTuQ=; fh=89FWH88ZSWWTrrUJ03Rmk0Lh6T4LYqxYQLhyB4hgGp8=; b=EEemRG93ykVenJ3J01oKUMBffAhaxMiqu6Ck9XDFNJ1Z3l/hH9EVcL7PYLS7o7/oE5 tz5tE2Ylgh3y0Q7QKDpop4WQQo4kpcwxM/lj74+nMH9fvYuVDyecdYN79U/FHTNqHKCS iNjhcdJAlky+kI9eP/hKl6u3KHa3waWFSrrgGZsacNfPsdFpjd734iDeU74UxI7RroZt Nqpl6ysq+Z9kOQ+UdADTfyvBAXv5oyEoA9WKizfPg1Yh2Na1pabmUCr1ngorhujl+Lr7 d45svLoexFWtQwmikQEdDf1crC/8fMNxk75JwTk7PYMteC5E1YIN91rs9swWhPoJJSpG eijA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e+7uzEgl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-97031-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97031-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y6-20020a056402358600b00565df7ac53fsi7932609edc.481.2024.03.08.04.55.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 04:55:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97031-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e+7uzEgl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-97031-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97031-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 719851F22D0D for ; Fri, 8 Mar 2024 12:55:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BFE81BC30; Fri, 8 Mar 2024 12:55:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e+7uzEgl" 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 42CEA63B8; Fri, 8 Mar 2024 12:55:42 +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=1709902543; cv=none; b=rAFK6NGMKtEqzu2ttZrm7F+jKQzwei/aFbnUOv/pulpuimHCvCHTGEnHjpj1DZhQsCNZGr2rgrfIjT4CVhUzVt51Dyfou00hGJ6TjNnT8OUVaRcaME4G19BuD5IKnNsCMwhfyzbspNO2LllKq7rD9Kck/HQwmUJ5O245YJOtCrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709902543; c=relaxed/simple; bh=XzlD8OK+n2+8xxnxUIfr7jDUUAa8eBm1PY9cIuQU2Is=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KtYaBSMtEQ22UBdd0UaGtt1bFzUjurcBfszSSY3UpXc0Qtuey04QjtXgvE4T74y0cQPWyvq+/MubrozdL44ZUKGXY1OFuktpE93B0mDPpRwBUU1SHFVMT8Ms+REgNajBikud1W8X0SCypcsd2aSnD4E/FMgQhTEhnaA8omZKn/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e+7uzEgl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6490C433F1; Fri, 8 Mar 2024 12:55:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709902542; bh=XzlD8OK+n2+8xxnxUIfr7jDUUAa8eBm1PY9cIuQU2Is=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e+7uzEglLWDQFyNu1AHUm/0A3RA1njvNqcsFtlLxGMTpEIJQPoqFqMn5LmIpnoZvX Gy+9hmogANN4mkIjbjwaTMe8RWwy7JVWsJBs843XLOP5DaJtrS+jLf3FsI/TVbbUi5 ee1XQ5WI1t+0Q6P4//COxaV9bJXKTJItCt200dL65lvgHoiS5SfogrBOU0PD8lL4lS MxDnHFPhyUBMPqLuXdDGOqZTND25R41iA0KqqZn6/MYN4ce2/STj8Vx6xXxg5CeDG4 Iie7fMOKCK6aerRWEcmVLFz6A787X4/R3R85zVXMpIvQFI0ab81wZU+PF7D+bA8VJ/ EAl1noOaoVCug== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1riZlN-000000001rW-2J4a; Fri, 08 Mar 2024 13:55:50 +0100 Date: Fri, 8 Mar 2024 13:55:49 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Linux regressions mailing list , LKML , Vinod Koul , Abhinav Kumar Subject: Re: Lenovo ThinkPad X13s regerssions (was Re: Linux regressions report for mainline [2024-02-25]) Message-ID: References: <170886726066.1516351.14377022830495300698@leemhuis.info> <83c6019f-9c6f-4ad1-87d5-e4f1bdaca93c@leemhuis.info> <20240306041947.GG3213752@hu-bjorande-lv.qualcomm.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: <20240306041947.GG3213752@hu-bjorande-lv.qualcomm.com> On Tue, Mar 05, 2024 at 08:19:47PM -0800, Bjorn Andersson wrote: > On Tue, Mar 05, 2024 at 02:51:44PM +0100, Johan Hovold wrote: > > On Tue, Mar 05, 2024 at 10:33:39AM +0100, Linux regression tracking (Thorsten Leemhuis) wrote: > > > Any decision yet if they are going to be reverted for now? > > > > > > Am I right assuming those would fix > > > https://lore.kernel.org/lkml/Zd3kvD02Qvsh2Sid@hovoldconsulting.com/ > > > which did not get even a single reply? > > > > That was the hope, but I've managed to trigger a reset on disconnect > > once also with the runtime PM series reverted. I have not been able to reproduce the reset with the series reverted, and after reviewing the code in question it seems unlikely that I ever did so. > > One of the patches from that series has already been reverted (to fix > > the VT console hotplug regression) and there is some indication that > > that was sufficient to address the issue with hotplug not being detected > > in X/Wayland too. I'm waiting for confirmation from some users that have > > not been able to use their external displays at all since 6.8-rc1, but > > it does seem to fix the X/Wayland issues I could reproduce here. > I bumped my X13s to v6.8-rc7 earlier today and took it for a spin. > > I was successfully able to plug/unplug my main display both in fbcon and > Wayland (sway) a number of times, I was able to boot with external > display connected and have it show up in fbcon and then survive into > sway. I tried suspending (echo mem > /sys/power/state) and got back from > that state a few times without problems. > > Mixing connection/disconnection with being in suspended state was less > successful and I was able to crash the machine twice here - but I can't > say this worked before... (As previously we would not have eDP after > suspending with external display). > > So, things are looking much better with -rc7, but of course, my test > scope is limited. Thanks for confirming. The revert in rc7 seems to help with the hotplug detect issues I could reproduce too. And for some reason, I can no longer seem to reproduce the reset either, possibly due to unrelated changes in timing (e.g. as I don't see it after reapplying the reverted patch either). I just spent some more time on this driver and sent a follow-up report here: https://lore.kernel.org/lkml/ZesH21DcfOldRD9g@hovoldconsulting.com/ It seems quite clear to me that the reset-on-disconnect regression have been introduced by the runtime PM series and I don't currently see how the hotplug notification revert in rc7 could have fixed it. Johan