From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (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 DEC3814C5B3 for ; Mon, 8 Apr 2024 23:17:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712618278; cv=none; b=ZdBGsOaJgNvmMChErpldFUHotIAitbNyg2NLshrVq8P38ZMTcRm2cGloIySAG3bgAu/yu13oC8PxtTvp+TzoLpxkeYZWLIxNNoRRkHo0Z52b9Po1QsXsSxv1kuxj1/AGA/qp8lp5Xrb/GgjpAEgcf71FXG6wRwv8Ktan/UrLRUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712618278; c=relaxed/simple; bh=mtWNzTX8JC05NtIfESIPbCi1nt0AgwSam4TBmjq+4EU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=mZkRTRLqWDt1eMplOT8HIMo3lEcQmKECgJkofqBWkRuSM/haa+lQuB36GNJlO9dz0zaMMN4QDgYiypbcImCVeWdScVDFZ3+BfIpzZOvzNI2i+fLcRxURoNxksD1yhtm1ZCppv9mykBl6AlZslKh616edF10z2IMqObpQJI8nn50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Z3Oz7TZg; arc=none smtp.client-ip=209.85.160.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Z3Oz7TZg" Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-43477091797so53161cf.1 for ; Mon, 08 Apr 2024 16:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712618276; x=1713223076; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mtWNzTX8JC05NtIfESIPbCi1nt0AgwSam4TBmjq+4EU=; b=Z3Oz7TZgxpYC8iELsZdhYl/NjuApKV06wqQQqzCJ1gF6yZcVBx4lpzPrmHRmlA9HWf UScU0Y+iwJGhEE7ksBg5w1B1f3brLUuyGN/0xin08wL9hbaRR1WzDQHqGcO+mn5dTL1z UtUq7De16C/N6vNh+xxCEZiateQTiE6RtHfc9TywFIEIs8aRfIFC0BbpPRAG+fZmP9PA weWmdR3HEj74WWInWHHvxPrgA2QYs5HL/83D63NIlB3jVuYIrJNwOWA2bBCzCNVhiIMb Lm7CnepHN0TRlwQXvYPqtYvPZPaDs8PsJdUBFdlfcPYAF0WLD4jPH3YKx9AGbBE9VvpP EATw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712618276; x=1713223076; h=content-transfer-encoding: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=mtWNzTX8JC05NtIfESIPbCi1nt0AgwSam4TBmjq+4EU=; b=j5JlHpvMVIlVWRSZepqimifMpeHDpPKO/HQwEhTLpp4Jr+zQQWyR+TYF9BK/fH7QOZ SoNU0Jwo0Cwvo1VwaAl86fBIldGqjd37g1NTna1dRh93kCm+2e51+rKTGWmvtwsXlCI6 pmUzl56jf+zw4CkJE/VsZuHGo4WCv3ElXiMfZhdjLGXLKvf0MIsb5FGUZRAs1lh+rrr2 HV9h+VKJaBMDdg9r4Llh7lz2GG9HIEMd983XE8Z36EdnMPQZmX6fWcAueLWgbunNAijz M4s6MUdqgQU2L//mVOJu3O9L9CvMUvLx2Bbf43YZ0GaEqYvL5w9y9G0pB2SF6bXPDRyd uKvw== X-Forwarded-Encrypted: i=1; AJvYcCV8NCU7K87TRACWuaNg4evE4JweXXzI1jO4mN5jhdEXNTZHmiUF30LC6VvmC97IgqQz4Ix9aW2NkM4frusDIapNKvOIVCCzmaWMcQ== X-Gm-Message-State: AOJu0Yx+0NaWSHfUKDwueLzyfgO3TfFwzM4asPEJOnI7wLq3c9d+zFNK 5bjUq54ZWBRSgMQPqbId2gVQQmGvwPXRdOxERNZGq/BLtE0FCotuLiOH71GK2x94xrN6VZ7m+8q Fa03MzBJL0tuu2T+uzbA1GjHwppymNRpuTKHE X-Google-Smtp-Source: AGHT+IHeKvaMXc+mckFW4oy6yakcfNZsNKxWqCqjei+Bv6D20mcyMc+btA/+lz9WX79mr7qsbWUULg5iyVQ2vvvzm38= X-Received: by 2002:a05:622a:428d:b0:434:bab1:3df8 with SMTP id cr13-20020a05622a428d00b00434bab13df8mr74017qtb.20.1712618275692; Mon, 08 Apr 2024 16:17:55 -0700 (PDT) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240220111044.133776-1-herve.codina@bootlin.com> <20240220111044.133776-3-herve.codina@bootlin.com> <20240221095137.616d2aaa@bootlin.com> <20240321125904.3ed99eb5@bootlin.com> <20240408164021.6f13bf66@bootlin.com> In-Reply-To: <20240408164021.6f13bf66@bootlin.com> From: Saravana Kannan Date: Mon, 8 Apr 2024 16:17:16 -0700 Message-ID: Subject: Re: [PATCH 2/2] of: property: fw_devlink: Fix links to supplier when created from phandles To: Herve Codina Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Frank Rowand , Shawn Guo , Wolfram Sang , Mark Brown , Geert Uytterhoeven , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Luca Ceresoli , Thomas Petazzoni , stable@vger.kernel.org, Android Kernel Team Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 8, 2024 at 7:40=E2=80=AFAM Herve Codina wrote: > > Hi Sarava, > > On Fri, 22 Mar 2024 19:00:03 -0700 > Saravana Kannan wrote: > > > On Thu, Mar 21, 2024 at 4:59=E2=80=AFAM Herve Codina wrote: > > > > > > Hi Saravana, > > > > > > On Mon, 4 Mar 2024 23:14:13 -0800 > > > Saravana Kannan wrote: > > > > > > ... > > > > > > > > Thanks for the example. Let me think about this a bit on how we cou= ld > > > > fix this and get back to you. > > > > > > > > Please do ping me if I don't get back in a week or two. > > > > > > > > > > This is my ping. > > > Do you move forward ? > > > > Thanks for the ping. I thought about it a bit. I think the right fix > > it to undo the overlay fix I had suggested to Geert and then make the > > overlay code call __fw_devlink_pickup_dangling_consumers() on the > > parent device of the top level overlay nodes that get added that don't > > have a device created for them. > > > > I'll try to wrap up a patch for this on Monday. But if you want to > > take a shot at this, that's ok too. > > > > I didn't see anything on this topic. Maybe I missed the related modificat= ions. > Did you move forward on that patch ? Give this a shot and let me know please. https://lore.kernel.org/lkml/20240408231310.325451-1-saravanak@google.com/T= /#m40e641cb2b1c0cf5ad1af1021f2daca63faeb427 -Saravana