Received: by 2002:ab2:78c:0:b0:1ec:b906:25e5 with SMTP id h12csp252897lqe; Fri, 23 Feb 2024 03:30:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWQS5VHvE4so5wnrd4qqbqeW3heABmYKfdn2tQhAtxE91TDvi3JwiGrHZm6Mn61vsHevyr6pL03KsiFUNgMCvziCHML2RQersAE15At/w== X-Google-Smtp-Source: AGHT+IH3Ree8UMUZgsjRIOSvkMNqAuf/7PjfGtZJKjshuQsI59RmXtOPTfOtKDSgGNQkFvGFlKgT X-Received: by 2002:a50:fa90:0:b0:565:f51:3b26 with SMTP id w16-20020a50fa90000000b005650f513b26mr925206edr.30.1708686203169; Fri, 23 Feb 2024 03:03:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708686203; cv=pass; d=google.com; s=arc-20160816; b=lejivE0YNpiRrTLM8KGpW/05liS2rss34Uzwm6lBSbqxybNy2CD7gju9gqQPsaZBNz Qu8G9TmAmYOpeGnA6mgDGVvB0CoWXLGcxPNMmpMtPlPrSHFMt2am/pwKjK0ey2hQIX9r baIx1K4eApajXS7crKdQwIPcobKAsT6WewqoyZY+kHkvKg66gokztdogL3ULNBVg0yKS dcqbbD6ql/D8nfgsVfh5jLtqxEWwa98i+tgEUQyKTnv7xGrmrivm+bvnbwVTO9vnzpO1 Zgj6zA6yIcwpQPy8N0Pf291YATCkmy8LhTJ4eo3EyTKGCw0EP4Pi5yLLUb1CTjjESODZ 4sGQ== 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:from:content-language:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=/RpTYiyFTL0cV1HIXamxy5oNLm7jD4YHf0G0C+wgOA8=; fh=rck31EwmQ63UC3thXzsGrxMtdBeWGJUsqErgbR4yYKo=; b=MQOY2xPpEdvkKIE7gNq/eOFusa5j/y53zyEO6nkf6rBg7zNU6GGMdBRe751z5kmiGb /ypdMNP76770HRMWQFkXqfyblWMlfNG1lXBqrdezy1zehNzFj0oNelSzREfe2rZyxs+Q iEA9eO5rp5Jl9vbJZjLIsoW1xqowfkWCp6HLakfuOe+C0qGok27kJAg16Tfz6RovpDr8 zIEBgQA/DhxYHuD/b/ZLVFjUEPJ0yROnDMJs1+p+LpEbJHu1dDDo2XLhXtYBlWAbbc/B 8fJ8j3g/B+4lrUBNUziIcjEGAW28eoPPH0cBnUj6S4B7VDZWp8chRdaixKjp/QIaMviF RL2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VpPkKoar; 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-78196-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r28-20020a50d69c000000b0056442886fe3si5241665edi.284.2024.02.23.03.03.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 03:03:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78196-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=@linaro.org header.s=google header.b=VpPkKoar; 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-78196-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78196-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 868F41F2415F for ; Fri, 23 Feb 2024 11:03:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C9D4F657A3; Fri, 23 Feb 2024 11:03:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VpPkKoar" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 287FF63121 for ; Fri, 23 Feb 2024 11:03:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708686196; cv=none; b=bCV9iopcS6qkZnSbE2B6VuH7QwK9ZjSCQPOmJUvuccSIjK6JfRFct/a7vcEMiMzwQQwGY99+v8O8zztxjViMYjSuZhymk8DIeTNmoLWekST6LfobFCwsLRK7h4/PJjlijn8o4TA6QuGka+4cdaKwQtJOg2N7T6KJCA48qvdVyqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708686196; c=relaxed/simple; bh=NXn82Khoe0kdoBKsso1dYFaPYt/mK7noyyEqxw0nGfc=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=lGfhc3JfVcg5tzpSc/uLbZu3YAgdr4SwNJ1XVeoJwktMCHYg6lFubDdKMAS5g69wPozx7a8LQXJEM0uXAeOcP92H1Jur7tTeu20dnPcdmeryRHVj2C34a8+gORX7MX7vr/8PaGI5MqY7Z8rYnQ0HmlZimK21/8cIxoymWBX/fJU= 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=VpPkKoar; arc=none smtp.client-ip=209.85.167.50 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-lf1-f50.google.com with SMTP id 2adb3069b0e04-512bde3d197so161112e87.0 for ; Fri, 23 Feb 2024 03:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708686192; x=1709290992; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:from:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=/RpTYiyFTL0cV1HIXamxy5oNLm7jD4YHf0G0C+wgOA8=; b=VpPkKoarV2fa1CQttXbrGMYgHOL0nusHziH0zf6EEJ+26Kvml0THqze2MaWT/63ddE UjpG+x0VHjKRxy1jBU4oV+t13ZBihlus0vAoRvS62oqycaAbSZdokDwBbXEQwndxvbGX mBrCXNBGvGGQZBs/M5kO4VQO3eFcCMpStm79Hb3mJTt5gIx9/P1pX7hSllhtDNgDBPSw BQXx3pLfgN1KZOe7+h0k4sYMlp+o85Yhg/ZTPtwuwrZyxNvNJblrZABJj+i3fPKqsgQw 4BIA67CwqcX91zFjgBAh/BNURd9qasVXeYbKZVvNm7Ah2CgRPjHoexyRx+YjaDE2ZxjQ QjSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708686192; x=1709290992; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:from:content-language:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=/RpTYiyFTL0cV1HIXamxy5oNLm7jD4YHf0G0C+wgOA8=; b=SxZIlTmcNDtqtgfxzhOuytQdxpU0EUU2STRZK2em0qUOihcEgXhMgEo/T/f4xciap5 HwChOFFnDezbYg0FSlCTQ7MfP5wJxpt6qc9cRjLNamDGmjb0eT5UmNcyEcC16unhowXZ NfxPfKP2cuwPH8ewt9sospJ/mT8bANR40vfFAz7Pqt8F1hqtEmCYwbIhzgMmyBKjZOuU skuamo8O37WWq7vWg25AcnZS9sr4LlUIYdjHjjs8PQbWqm22RvPmlrhVLe6MWzrgxi/a ZAA6Q9IDSwxcmr8VluohGWx5zOifoBAHTyAtZRAM0TiY7rANxRkboyFcuqUigsJQFxmK +iVw== X-Forwarded-Encrypted: i=1; AJvYcCU3hM468G0w8kqMcPbJNXtZCKFBRskUlgYKMjgDGJzgGwWK6rm9tY29gX1FsBJzx2WJXZnnsb4vzS0RjBT8VDiHZtqwc3B9jiBTwqin X-Gm-Message-State: AOJu0YzFN/AGH4aWwSaz9kW/Caon3tSPahaFnv5p87GO7enCfx1Y45UR RFcDWkf8fHxOFL8a7uWd4lOMRU3lKDiKAfIrqwFmW5XCb7FA1hLc3DLvIc0yf20= X-Received: by 2002:a05:6512:3f5:b0:512:ab9e:3521 with SMTP id n21-20020a05651203f500b00512ab9e3521mr952191lfq.11.1708686192169; Fri, 23 Feb 2024 03:03:12 -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 jj26-20020a05600c6a1a00b0041294a6fc03sm1541476wmb.9.2024.02.23.03.03.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 03:03:11 -0800 (PST) Message-ID: <3c4246b6-431a-442e-8ace-3b0d0e67743f@linaro.org> Date: Fri, 23 Feb 2024 12:03:10 +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 Subject: Re: [PATCH 0/6] soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free Content-Language: en-US, fr From: Neil Armstrong To: Bjorn Andersson , Andrzej Hajda , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Vinod Koul , Johan Hovold Cc: 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> 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 AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsP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vGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <170868613914.4029284.5549880672870201262.b4-ty@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Thanks, Neil