Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6733702rwi; Mon, 24 Oct 2022 05:34:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6vQDBxDKMUUvTwliZC4r3mi/WOnJA3fhUZjg5o0rjQ0IiTO9NV0hpB8TDsAAAIHavK7M1r X-Received: by 2002:a17:906:58c9:b0:7a7:dcba:a987 with SMTP id e9-20020a17090658c900b007a7dcbaa987mr4295867ejs.88.1666614848329; Mon, 24 Oct 2022 05:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666614848; cv=none; d=google.com; s=arc-20160816; b=tka65vbKC3NDHBHxubjlwnAUiCgfpCuvrNuow4U77wSFW2l40cxR2zaI4a4TZIUL95 wg+gXfdvvujhrb/i7yKQj5Qwm0sTffuqfLp+CQkih7VJoju/FJ5d1l/XWAoxwiY3D5Y/ fR6zZtjXweizDIPHHSSou+6QJ/tXS2ZMGrRJCldHYA8Sk5mjrkPQ4289u4J4LsguPrME bLn+U91mQrhfIWcPuJSM8G1WSfxofwUTGY9/cbt4zaTC7Du9Ud+xPFsZBEFgaxzIGr7z D8AM0hjYh2hhr3cyDjTF16kjMLBm9/23x+ULKSNc5wLik2RTOk6T/+cnze/R0ZfwFZlM fw7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UREhj6gQ5yr/qK+3kliqRUfi3XvEPMXTVtyiY9e+JIw=; b=erou7yPI71kA3QD7UMvluKy3vfLZOF9O22k6TPMk+vT+J8XnHpVlPaHG8bwQAJwkBF K2eRrVPHKGnWU3kxZ9yB2IgaZGzv54+5dD4LwytDt+lpUeeclGcZCncUf6vcEsPDiynN /x3v44gmwvj2fS+j8kfPp+/kh4XwVd8gat9zv5NKNexvJ41BVAh5GTZXnNLCoPzv4qyB hXbtdd++HPUbxnZb29eSESsLd0Sr4KlNijqcE/k7TSLSjJYq/MpwA3zFP1EJ8gyFKTOO pdZ0J0ai9BgBs/Zfmo2YQQUXDey59B1TieK5i3bV6835LbxhjU9nAdqj87O1utTcyHIk JLVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sAQ8DdUT; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ev5-20020a056402540500b00461bde34a12si2948929edb.627.2022.10.24.05.33.43; Mon, 24 Oct 2022 05:34:08 -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=@kernel.org header.s=k20201202 header.b=sAQ8DdUT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230470AbiJXLfn (ORCPT + 99 others); Mon, 24 Oct 2022 07:35:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbiJXLfJ (ORCPT ); Mon, 24 Oct 2022 07:35:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13A06659A; Mon, 24 Oct 2022 04:34:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D38826125E; Mon, 24 Oct 2022 11:34:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 319D0C433C1; Mon, 24 Oct 2022 11:34:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666611247; bh=XONUYrrBTIpNDIVeQuanVcQ94OVXm/q30QmP4QTO20M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sAQ8DdUTn4cA4kXBumIiWfgCwZj8r++TXQs31zZ9q2+/MniKi1/s9M+kJykih7j0A BqF0YmiSmJB6PuGkssIdCnKPxV5B/gTla9yErlk0SoVDIeZlZQE2J2YU9dSlM1hJHU OhMBypH7gjMmdD0xcPXyT/X59MRJRufxXiKMCu2eWqm0hu353yVHeJHmuQVFsYUMIW LH/cB0bDDcRc1pGLgxQpuYhs7ZMW6yCvvMxuOGnZP//S+Owfjx+QZDbNLtwPQi5nMz o80e4z2fIZgkn5jOIm7wQSEvg6P22nA9KGNllj2gEjIPXKTfraSyfbII3HaJaBSk8T 7+l0vbOwjVBYA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1omviI-0006Ky-GC; Mon, 24 Oct 2022 13:33:50 +0200 Date: Mon, 24 Oct 2022 13:33:50 +0200 From: Johan Hovold To: Abhinav Kumar Cc: Douglas Anderson , Dmitry Baryshkov , Rob Clark , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Daniel Vetter , Sean Paul , Stephen Boyd , Bjorn Andersson , Manivannan Sadhasivam , Kuogee Hsieh , Steev Klimaszewski , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 00/10] drm/msm: probe deferral fixes Message-ID: References: <20220913085320.8577-1-johan+linaro@kernel.org> <139426b9-0e5b-e4c3-27c6-584ab48517c2@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <139426b9-0e5b-e4c3-27c6-584ab48517c2@quicinc.com> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Fri, Oct 21, 2022 at 09:05:52AM -0700, Abhinav Kumar wrote: > Hi Johan > > On 10/20/2022 11:27 PM, Johan Hovold wrote: > > On Tue, Sep 20, 2022 at 11:06:30AM +0200, Johan Hovold wrote: > >> On Tue, Sep 13, 2022 at 10:53:10AM +0200, Johan Hovold wrote: > >>> The MSM DRM driver is currently broken in multiple ways with respect to > >>> probe deferral. Not only does the driver currently fail to probe again > >>> after a late deferral, but due to a related use-after-free bug this also > >>> triggers NULL-pointer dereferences. > >>> > >>> These bugs are not new but have become critical with the release of > >>> 5.19 where probe is deferred in case the aux-bus EP panel driver has not > >>> yet been loaded. > >>> > >>> The underlying problem is lifetime issues due to careless use of > >>> device-managed resources. > >> > >> Any chance of getting this merged for 6.1? > > > > Is anyone picking these up as fixes for 6.1-rc as we discussed? > > > > Johan > > All of these except the last two ( as discussed ) have landed in the > -fixes tree > > https://gitlab.freedesktop.org/drm/msm/-/commit/6808abdb33bf90330e70a687d29f038507e06ebb Ah, perfect, thanks. When do you expect to send these on so that they end up in linux-next and eventually Linus's tree? Note that it looks like something happened with the commit messages when you applied these. Specifically, the Fixes tags appears to now have a line break in them and there's also some random whitespace before your SoB: Fixes: c3bf8e21 ("drm/msm/dp: Add eDP support via aux_bus") Cc: stable@vger.kernel.org # 5.19 Reviewed-by: Dmitry Baryshkov Signed-off-by: Johan Hovold Tested-by: Kuogee Hsieh Reviewed-by: Kuogee Hsieh Patchwork: https://patchwork.freedesktop.org/patch/502667/ Link: https://lore.kernel.org/r/20220913085320.8577-8-johan+linaro@kernel.org Signed-off-by: Abhinav Kumar's avatarAbhinav Kumar It's possible just the gitlab UI that's messed up, but perhaps you can double check before they hit linux-next, which should complain about this otherwise. Johan