Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp886848rbd; Fri, 23 Feb 2024 06:42:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUWNmOxhf8oSswzMyTbor4kBxNfYFRC4CMEahFcInbXgzvPCPB3fWbo6v+WfgP6pYTk1V8WtbA551HVi4xax8aqbRkUIcfnD95X7GWBdQ== X-Google-Smtp-Source: AGHT+IH5mT0+EyP8wcJHNgLaX8fZqJ0B+4YIVgVGF0ptm87mcgVhJAkS8buqd8mElFV77k515R3n X-Received: by 2002:a05:6a20:9590:b0:1a0:df63:5571 with SMTP id iu16-20020a056a20959000b001a0df635571mr39700pzb.13.1708699363660; Fri, 23 Feb 2024 06:42:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708699363; cv=pass; d=google.com; s=arc-20160816; b=wsUrJ2JIkEY50lJiIhDMqr1fuosbwihGUOhhmELVIs7nin1Z3RCtiuanVIuD+MudZU zVwFjk9h2GsvK8cvH0Zl1d7r/b+uX8WF8yOWh+ZDSjwcFvIxApB2BY24F6QwRYkCyrko /R1VoPIizk0x3NyJ9HV779E05qZQfCBX9PvXA4Wg9MI2DasgGher+VHgBu+7SK7MnXbD spksMxL8Jw0TyHwAl6nh+1mga8yRQT9H4R+XI1F8lEwilT21cSFN1YCMiZ769I89AL/g 3q/iW6X4BkYEgrseDUZjzYBgOBA/MNDVgETuK92yvtAu9yXp66KJscqRQDhWCLRFdvGT lXIQ== 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=OijQr4Cr1wWVumHbsjNdZzaJgYfpd0n4qUPdqEIlqC8=; fh=abH5DLCZUKeDUhIxGqtd77leKMUs+VELg7/0LZ9D2rA=; b=S1tYhEI/oFjcNjmj4L589++1/jce7RZTfIIa26M/W+VrPD8LpiaEHpJ/+bLsZBguI6 PVurLOGxnpMuydPXVILoVepTZ7alY5auTPkbOKRvrCcnKOKr7tEVxqN3V2xJRKgwVVQI oSo54YqJmwKXxtJQUiZFVZcFJeT55yIRNlyZAP45/D04Qlq6avY+lddxveWeYyMiklHP n7tZQ2t52J+5lZjD4W6DqAIvorbtpexcpBYXCVVgk5r2hzkSXfR6EOpJMnWMj+CgZmuv tQdm10VO7Ku3Yylbcbo+9gcu+6zn2LoESxitzJefjG/RglceTcROZ4t9gTTPFCGW/wwJ jtEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kYYlDBUF; 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-78506-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t16-20020a63b250000000b005e42b5cb08bsi6333250pgo.110.2024.02.23.06.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 06:42:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78506-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kYYlDBUF; 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-78506-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78506-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A7F50B21394 for ; Fri, 23 Feb 2024 14:42:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 678F31272A9; Fri, 23 Feb 2024 14:38:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kYYlDBUF" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 A269E126F39 for ; Fri, 23 Feb 2024 14:38:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708699098; cv=none; b=STiCH7JBw8a9yNXbQOLey3D7cU3mYc5WIHfdY0lrTEv/1D7HD/I2MWRpt8wSa+yZZ/Loc4zDMmU5pR5mO9pZP6231XqMPZHSoaM71rWY3X8Gxe/JJeu3ESjI/tey5FgmUpvyVJZw5VF2ktXMEzgU8YHjrrUv3XdPp/Us6t/srF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708699098; c=relaxed/simple; bh=bYPW0B0WRHp4T/K5Sfi4ZFL111WJj0i4hsvjHUkHuXQ=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=hKDJO2jhSsjH4cfHIJW5y+z4uJX4HpaRtppinWSWo0KjmOwNfMEtjxt3bK9pOuDHwvyzMYXtgwmcl93cWeTMYdJnKf3cQN+HMZ7JWzBqqyEBorenBx8YbFp2kqpmtWL85BOQD9KOcrnwMmZqIcyh/d7ypNH8TCfp743GPvutM18= 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=kYYlDBUF; arc=none smtp.client-ip=209.85.128.46 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-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4125e435b38so3078325e9.0 for ; Fri, 23 Feb 2024 06:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708699095; x=1709303895; 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=OijQr4Cr1wWVumHbsjNdZzaJgYfpd0n4qUPdqEIlqC8=; b=kYYlDBUF4Ge3Pp9x3GP78SKxPEoh5HTLPyQWEn0PNwjZd8/RjsPKguqcHDjaiWkgeV q2alnWyJkIcHx/myfBa8fsA4Q+FLCVRBBP2gKmbMuVbPgSSgUe4O9bVNM023BKcgW75N a9Ibswisb4kTH7WmFeCICb4sOl7L1cV+l9Bo1xKeoCJ8Fqbk7oF2Zcl4wrkoEwrJhTOd j/9DszcFt8nzm+KoBQqJZ+UfrtCwlrDJCzglr7K3wAhPXKlu3rVzG3hW/+fFWOdS1jPL uTF5chTix+x58MkDVRV0EwIW45M3rsLVq5w441yO6XZ3nJ+jj/ajuc8E2uSlI/WsVZXd xPTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708699095; x=1709303895; 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=OijQr4Cr1wWVumHbsjNdZzaJgYfpd0n4qUPdqEIlqC8=; b=BHtNi0jGYTWsW74qGHUPiLrp7j17SCGBumJ87eqcLCJ3Q9CJRg/c4lvRu82o6G35RU a4IvxfsufzrPcX3E2TWf8z9eHYlmR559m03VrVzJE/HOMPV93V+Db07yKJStOsxMmUt0 aY/8DFVW1bYX8kYHygJqPG/rs81wyaqK/6jaKzeXPFdq63CqRUmaVhqXcW3rBu9C7bTR 4b/0Fc+jGKCMXmgIvC1hvSiknvpTwV0isRUnJYOhOu4PLyKyvtzSEawK+srhGSSC16Em Tw8dD3y1wGOY28ecoUEUOaGzslOFzxSUR/IrxqX//yulBwMnkY3cROj52acubGUlGNVk IbxA== X-Forwarded-Encrypted: i=1; AJvYcCVc8vYGVR0ocL/yFMqUR9/VHQnx3m17xxbZV82R4St8H5qEmemNfLrhetn8t0Ip2BQeEhTjXcqVsvKXoBmFyu+prIdVt9A+L55whID3 X-Gm-Message-State: AOJu0Ywe9kYQt1XPO9dpX4xC250u/Y6/cix5g3m844CBMa1RkHLrpuEY fBv/n3vuPlAr9AnOZoEJJrw5b+J4YItpPDgFkS1FtYKQ5Qc5O32kPaKqsxCafDY= X-Received: by 2002:a05:600c:3ca6:b0:412:78e1:5089 with SMTP id bg38-20020a05600c3ca600b0041278e15089mr18436wmb.13.1708699094868; Fri, 23 Feb 2024 06:38:14 -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 c14-20020adfe74e000000b0033b87c2725csm2922134wrn.104.2024.02.23.06.38.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 06:38:14 -0800 (PST) Message-ID: <77715ecd-ddb9-450c-98bf-4fcade0e81c0@linaro.org> Date: Fri, 23 Feb 2024 15:38:13 +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 AAHNKk5laWwgQXJ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F+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/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 15:21, Johan Hovold wrote: > On Fri, Feb 23, 2024 at 02:52:28PM +0100, Neil Armstrong wrote: >> 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: > >>>>> 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. > > But it is *not* standalone as I tried to explain above. > > So you have to drop it again as the later patches depend on it and > cannot be merged (through a different tree) without it. drm-misc branches cannot be rebased, it must be reverted, but it can still be applied on drm-misc-next and I'll send a revert patch for drm-misc-fixes if needed, not a big deal. > I thought you had all the acks you needed to take this through drm-misc, > but we can wait a bit more if necessary (and there's no rush to get the > first one in). If you want it to be in v6.9, it's too late since the last drm-misc-next PR has been sent yesterday (https://cgit.freedesktop.org/drm/drm-misc/tag/?h=drm-misc-next-2024-02-22) Please ping Thomas or Maxime, perhaps it's not too late since the drm-misc-next tree really closes on sunday. Neil > > Johan