Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp856182rbd; Fri, 23 Feb 2024 05:53:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUN2Rcu7sfo0g+fGFAAdheDSWr4CkWUjv3368OgD/QHINm1kOt4g7piidzoC+XdAvwfYSRZ7fSW6vmr66dh7P2WwJj+jpiW9YpRQvrFqw== X-Google-Smtp-Source: AGHT+IGwQVTpSanxFhGa0Fv5IK4hdrTEH4YEfkQxxpTyNgRZtKtaVsCHSMTnuEr/keItwv9zEOFr X-Received: by 2002:a1f:e682:0:b0:4c9:d0ee:bd65 with SMTP id d124-20020a1fe682000000b004c9d0eebd65mr1851170vkh.9.1708696383722; Fri, 23 Feb 2024 05:53:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708696383; cv=pass; d=google.com; s=arc-20160816; b=Ha0/GBUc196KDKScm8u3RYp4tMazVhleyY2wZcK33IdP0qI9UxSqFInQ5SqRYPS1t6 nZ+7Lr1jUrdRvKxgFJaL7aiE/QTTQQPVzM1ntlcx+FYoM95VhRBILmoZL9KA70ROCPME DgLVz12ta2dEdkDByWNgJo1h81Cex3NASJ6xr5+ihWyZabB4xrlxNmAu5Bf6G0SXXS24 g3VIGXG0jaa+vHm1sDAQJ1W+FHTPRI7nWGHZUExVYvb4fa1c8rkLdtYyPdR5BxZd5jfA pkg+rbJjEy8i+uGMTFP9d8U4x2o2ho2KYLEI+HLMkuOA3/4eEmFb3tNzOFgZAulp0kQD wXNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=w1CCwIgy2o0ymKg9g36BhlVJ3/o2uKolikgKrUSItNU=; fh=v4d1Osv+uh7KxAGOOImwDtoOwSZmlSeTamt9B76xxws=; b=zfDY9jye7MjtXdIDhgidaOD6+rKPIwb9ezECHh+3jY7JYA1sgp5e3g2jeWg1RBD00J UloRp1Anr7yGB4EtalyXlCHdgXVNh9pKp6gpYjxz97kC3IpsvsYQsXzcztMpTGzJ49QH u+Ax66w4N37fO30z4FymnbXH8eaXZUHaOziaGDEfMmaHour9u/95Jfdzcc8ok1aCzL9a pZI2WmWdPz0r0LXZCX8GqYn4ToPXHKywfsPin3Gnph34SEFlUdL9tYS5JjPibdKz25ZQ NpUKxiwgKY+UFovm5JGKYcFm1WKeWd+J8udsbb4PYM7vAjKE5GvSWjHiy7qQiuyUzvxj WnOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tkv3VesT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-78430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j2-20020a05621419c200b0068fa742692asi5560447qvc.577.2024.02.23.05.53.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 05:53:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tkv3VesT; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-78430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78430-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 532CD1C219DF for ; Fri, 23 Feb 2024 13:53:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC9247F46E; Fri, 23 Feb 2024 13:52:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Tkv3VesT" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD53280C19 for ; Fri, 23 Feb 2024 13:52:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708696353; cv=none; b=f+TcnLY3VqxUEiglcx4Sybl831kZbKxC3213nss1kHqiYVIA83YSgd3sESzPeBAzskHzmYqfVymbcKmMMK4jSsHwBZDqmyIruZnw7eDrKP2HR5kHrgSTpbT6Ey4JkgJlsjUrYKHegpQDxlF+G99n895lU70czufQJAHoFQ0jexA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708696353; c=relaxed/simple; bh=NzFRH/hD+LHAn7VgPtmLztnUE0rHvW9QplrqkiMWXgk=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=JOp0+KJFBU+A/FlKsgeDP3l5/mMSQSMEQBAnnOJSQOVrhmZXg/PXvkDyFm7m4N9Rks4FTbuUGkubEKsTxZFux4CUnChizHA5lHZBkXfCleDzbkRHJo4GK6y/B4viYCGLYoLQZfoY+nCFGODT6uHjiDqbU3cEUa3oDc9m07fIESY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Tkv3VesT; arc=none smtp.client-ip=209.85.208.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2d23114b19dso11500771fa.3 for ; Fri, 23 Feb 2024 05:52:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708696350; x=1709301150; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=w1CCwIgy2o0ymKg9g36BhlVJ3/o2uKolikgKrUSItNU=; b=Tkv3VesTeC4Pg0H5lbnPrHWmR0ZMsgFnMPZEL2q8MjwrvA6yec3OyYDiZBq2N211uV 06dvFn+CLXiGL1YvB8RWXI3XE0TW4QS71QW3KKiMzNzhMM4ewXbObgBa/zelP99nAWZ4 t155u0gdXOkXROqfW0bqsGjuYYyR7f+SVDAxqPbWPfwkNQlGGJxcuKh/8rxsdBcrzakU s5elG6eHNi3EF0JtT/E1GTFed+b7+IrMD+jpnXb2sOg7ddrIPMqKjkkhnylMzH9t6EZ8 E4UJtidntQAOumnsEc8WuJrfVLL9Bm++qm7HEaKa5eDThj2I/yzdVCjHsYKE8NDvQstP ZBVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708696350; x=1709301150; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=w1CCwIgy2o0ymKg9g36BhlVJ3/o2uKolikgKrUSItNU=; b=TSNHRf3GaIz4sNEUhjTdJZ7L9KkZVXh4t1hJ/xGKxzdynuYb8FVJz5kFa3BHGpxCC7 d7sqJceKbyaO8PlRFmtAouiHWdErhkDguV7D3zuGZhHHwMDaVdmfT/V877EyHVqBOVhj Dypv51KjnAgMseNnBGXJILgwXRhXQKjNtDSyT2hNsvXEcEApKFdel5P5NtH7vT9dyP08 1dtx0U1NhmIhmIGoGsVODT4zmM2ihEsD0eduu8I4dGC/+rOkNbmue7fvX1RqjoIGtRjz 1Yt23gBX5CR4f73zej6l0Ypxs9crB6htDj0Zl8zEK7DNjwArARigWebvKqQpDSKjJR8d ydwg== X-Forwarded-Encrypted: i=1; AJvYcCXzUs1uZSLtqyXnE5aTt6hWbOAbCN6XKvy/O1lr+rsM5cdjHQbtL3MfSC9lZrwsFaaayzdRZryX/LnPCFJbnihogzCiEvEwvSZGd12h X-Gm-Message-State: AOJu0Yzpd39wq+ytdM3pNE6iwOFyUEvOsz40/BIPVYlyW+cZ++oPPQEy Ou+NvVp2EtZSyUg+IfElknm5CdW4M2GfBm+g9PinJ1j2jF2WAdt4mzvkQwCp0HU= X-Received: by 2002:a2e:7411:0:b0:2d2:3661:487a with SMTP id p17-20020a2e7411000000b002d23661487amr1474672ljc.9.1708696349892; Fri, 23 Feb 2024 05:52:29 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:58e3:6b80:c446:11f4? ([2a01:e0a:982:cbb0:58e3:6b80:c446:11f4]) by smtp.gmail.com with ESMTPSA id t6-20020a05600c198600b004129228da2dsm2444760wmq.31.2024.02.23.05.52.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 05:52:29 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2024 14:52:28 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 0/6] soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free Content-Language: en-US, fr To: Johan Hovold Cc: Bjorn Andersson , Andrzej Hajda , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Vinod Koul , Johan Hovold , Jonas Karlman , Laurent Pinchart , Jernej Skrabec , Konrad Dybcio , Kishon Vijay Abraham I , Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Kuogee Hsieh , freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org References: <20240217150228.5788-1-johan+linaro@kernel.org> <170868613914.4029284.5549880672870201262.b4-ty@linaro.org> <3c4246b6-431a-442e-8ace-3b0d0e67743f@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5h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fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 23/02/2024 13:51, Johan Hovold wrote: > On Fri, Feb 23, 2024 at 12:03:10PM +0100, Neil Armstrong wrote: >> On 23/02/2024 12:02, Neil Armstrong wrote: >>> Hi, >>> >>> On Sat, 17 Feb 2024 16:02:22 +0100, Johan Hovold wrote: >>>> Starting with 6.8-rc1 the internal display sometimes fails to come up on >>>> machines like the Lenovo ThinkPad X13s and the logs indicate that this >>>> is due to a regression in the DRM subsystem [1]. >>>> >>>> This series fixes a race in the pmic_glink_altmode driver which was >>>> exposed / triggered by the transparent DRM bridges rework that went into >>>> 6.8-rc1 and that manifested itself as a bridge failing to attach and >>>> sometimes triggering a NULL-pointer dereference. >>>> >>>> [...] >>> >>> Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-fixes) >>> >>> [1/6] drm/bridge: aux-hpd: fix OF node leaks >>> https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9ee485bdda68d6d3f5728cbe3150eb9013d7d22b >>> [2/6] drm/bridge: aux-hpd: separate allocation and registration >>> (no commit info) >>> [3/6] soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free >>> (no commit info) >>> [4/6] soc: qcom: pmic_glink: Fix boot when QRTR=m >>> (no commit info) >>> [5/6] phy: qcom-qmp-combo: fix drm bridge registration >>> (no commit info) >>> [6/6] phy: qcom-qmp-combo: fix type-c switch registration >>> (no commit info) >>> >> >> To clarify, I only applied patch 1 to drm-misc-fixes > > Ok, but can you please not do that? :) > > These patches should go in through the same tree to avoid conflicts. > > I discussed this with Bjorn and Dmitry the other day and the conclusion > was that it was easiest to take all of these through DRM. I only applied patch 1, which is a standalone fix and goes into a separate tree, for the next patches it would be indeed simpler for them to go via drm-misc when they are properly acked. Neil > > With Vinod acking the PHY patches, I believe you have what you need to > merge the whole series now? > > Johan