Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp590587rdb; Thu, 22 Feb 2024 13:00:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVxjJKc4chHduLdSYLoIvsNbFmrV4TiUkzApgz236uYipFzkonCKhO2eGH9q70gBolyr98nCa1kN4AbuYaya/6kvX+tbqHb4CKPjDcrHg== X-Google-Smtp-Source: AGHT+IF4GNPtGnVP+bxbbIHIh+nJ1Fi3br977z6NwUV2o3EQAMZ4fXRwchj7FK9EVUgrAgtBeaOD X-Received: by 2002:a05:6102:244f:b0:470:4712:58c with SMTP id g15-20020a056102244f00b004704712058cmr103822vss.4.1708635647440; Thu, 22 Feb 2024 13:00:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708635647; cv=pass; d=google.com; s=arc-20160816; b=HuhhUFv/gwgtkW4wxJw9Fo/B/Xuz7eITt7ER7EYpTYFA2VItell80k3sSf18BaRbeq AummSTySk3Zb+bEHjmweeVV197Y2rz/E7w2+w48XHFRF+4bHqsvg7IEXZdSco2X6SZNd /PIxrzdlvFmTpn9mui/iWFfUXg7Eq3/hRhLtRxRNWgmxBnA/TW6f/h9y1RlUZwrBSJq0 pyY3Fxu/rlQXauo4ambKHJCQ1Aww1bILcnPr5/cidtFxi7JVj7z+1UWGxDlBquMUmnpb BS5lD69hTgj+EWEcyFX9A2QNA+ca2KJpDYhuZu45UyIRzE4BEXtunOyL9uni5gOLngWc 3V9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=dmvjj7fhOobzTivUlelD//oyOg39L8TaqEJkHM6CbjU=; fh=LBp05mHbGeUICLfeCUtqDuBuBFhjlTkIsEx3CdYCEEA=; b=um/en/r/T24+rHpaKpCvkuYhSOSWDDbcBF3FPFfd5UwEQg99Lmq1EkrwnBsWX8DsWx MQxKD53vjeQr2J/jMUgeBB+oiX/3C2FOlxewOoXVUpZH0B463D2iCHbGJsAk+tNsYWPE UqSf6EmKYkockIRsvIudwTrzQORWbCCdYN27CaVD9ytx4SIAf1gPg52TpXn65rxRDtE/ jRmraHMkyVYXALc5gZJjZc1fauNZnP8qHQ90TnYx0RdNBeqV2EmMspZ0/MbFMhex7mL8 WgfLNnJOFtWTa3AA5QGD+YqcUP96jzlt4VxOd9T7eZDn+2sbc7P7P3V8wXjzXa2RclaC 2lQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tyupwmMg; 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-77355-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77355-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 r6-20020ac87946000000b0042e583a16e6si1130224qtt.168.2024.02.22.13.00.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 13:00:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77355-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=tyupwmMg; 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-77355-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77355-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 44A6F1C25659 for ; Thu, 22 Feb 2024 21:00:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16F5573F05; Thu, 22 Feb 2024 21:00:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tyupwmMg" Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) (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 AAB286AFB7 for ; Thu, 22 Feb 2024 21:00:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708635622; cv=none; b=pfhlgvWqy3RSVUh1ZLB3wp3h2uJYFbuf7C7y2uL4dlNHgQmzDIBQOebZDShej7L6Fw/0A0A9HB6wt7AmvMeW5/f83C58HGejgLhsw7f/VmW1xU0MBj5ny4O23CiIUMN2h2UUS5eIq8tj24B1hZB95BgqVOn4YvVztKe1J6lWOlA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708635622; c=relaxed/simple; bh=HFx919FoBoatQ0QsWPsYN4OR0O/n414ORi4Ge3ph5Q4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=nM8tauyczieWg/9SPwvcBUEbJS226jcioGMHa1N4/wxQ6yHhcTtyIaADXsFLjYWT1U372fO8gmI4IzPh5HWoHJTaDHyVEwDudKyi7krkYyfnlNMmf6DZIhj7bGMAs//FiazLiHPoL5hNalkRRhyoxX8FsKbG+WHuJ7RCn/yhOLY= 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=tyupwmMg; arc=none smtp.client-ip=209.85.219.178 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-yb1-f178.google.com with SMTP id 3f1490d57ef6-dbed0710c74so140673276.1 for ; Thu, 22 Feb 2024 13:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708635619; x=1709240419; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dmvjj7fhOobzTivUlelD//oyOg39L8TaqEJkHM6CbjU=; b=tyupwmMgbdwGS1cp/Ek63vQhmqjDH9Ux5eZfR1JfKBmiID2zkGljsHX9TgPpJVqR3u E9ZsJ2eneLV5Lm+LJN06G3j2N/ZieEGXF6rs+hi9RrKewv6sORYoKhvYifFIfxEgacoI /p3b3ZJtJvRW2I68jvEDOJAc60zc6IcoqyX8tpgef3TFwlxvXMxHU7xkOZdPnEkyrHIo HIUCJbRBsJp8JFLGT8ANy8VUpK3Y5cHQCRE7L3jxlRbbm9u39Pb7bkbJf4b5iYzdeIJ8 Hkvwty/42rwICyhj0mVZs4KLm1PM9h0ET1Ed4/fX3LuamhOBAjY5Q+NZXEJtOeDa8NgE o67w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708635619; x=1709240419; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dmvjj7fhOobzTivUlelD//oyOg39L8TaqEJkHM6CbjU=; b=nf3eNG0pN7GYYqcr91d6zGvo009MvPEla7P4R2SRb4J1aqE9lixi1wXwyVLBioEglT Wf9Lw81WHT+dAu8oN9wWJOuMxZT9Ea3iJupuloizFABFMM61Kl568a2BuAEDa8PtHyKP ISAYET7c60pP+dO6tYoLUjcvJ75y0+rpilJoc80ysNNnOId7yBkqzWG4qE10AB2uygvQ WUCdjUczag0pDYEgU4YYgdBO0/bXEcrQv8aAzpOeJEseTtbrE8ojrKMnS7I2V6xQMueQ SzQusNgudK/B2/1dPb3n2QAvnM11UEREjb2u2RAp9/idJQidMa3Kv8uSnUhrhn+A6Vr9 BIgA== X-Forwarded-Encrypted: i=1; AJvYcCWIHkq2WvLKE/2o1BNb/gcgk6ritdV/z2uH72avjVbY186Q46MeSOxAJjlUNmPek4jmuxUPv4951X9++CW1DiCmyS+lYQx2MBsB4U8M X-Gm-Message-State: AOJu0YykX7XgzuJQdnlT6T0ZMzuxcFQCTcPX7QRmBu+rYnuokwvLYRYy DVLKAm/bAGoHR2DeUEHDV1iSC7wohLenfBqfi8qcqT0cTRdckJPZEL68p8VjER8Wr2ipAlo/ipl rs7Jwd6w0oyEXEMgRn/GrRZ98Ts88Tv4FKhEVmA== X-Received: by 2002:a5b:d05:0:b0:dcc:8aaa:3ed3 with SMTP id y5-20020a5b0d05000000b00dcc8aaa3ed3mr303376ybp.16.1708635619664; Thu, 22 Feb 2024 13:00:19 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240217150228.5788-1-johan+linaro@kernel.org> <20240217150228.5788-2-johan+linaro@kernel.org> In-Reply-To: <20240217150228.5788-2-johan+linaro@kernel.org> From: Dmitry Baryshkov Date: Thu, 22 Feb 2024 23:00:08 +0200 Message-ID: Subject: Re: [PATCH 1/6] drm/bridge: aux-hpd: fix OF node leaks To: Johan Hovold Cc: Bjorn Andersson , Andrzej Hajda , Neil Armstrong , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Vinod Koul , Jonas Karlman , Laurent Pinchart , Jernej Skrabec , Konrad Dybcio , Kishon Vijay Abraham I , 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 Content-Type: text/plain; charset="UTF-8" On Sat, 17 Feb 2024 at 17:03, Johan Hovold wrote: > > The two device node references taken during allocation need to be > dropped when the auxiliary device is freed. > > Fixes: 6914968a0b52 ("drm/bridge: properly refcount DT nodes in aux bridge drivers") > Cc: Dmitry Baryshkov > Cc: Neil Armstrong > Signed-off-by: Johan Hovold Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm/bridge/aux-hpd-bridge.c | 3 +++ > 1 file changed, 3 insertions(+) -- With best wishes Dmitry