Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp186341lqg; Fri, 1 Mar 2024 01:59:32 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWvjdmnIDTqeFGmZ6eGPKaQv+N+SnrGXBgBXVCPIFdPKNB8T7CVXXnHcGUROgNouep/pBvDn4dh8dX/t20a7z7n4sCQITBzndmgSHQcYg== X-Google-Smtp-Source: AGHT+IFff7IKVUChZ7mQRF0voJfyGiiV+Ba+/XyPjPL3Uz+fSBzciF0s09I7bFjVvDzAfVOI0CxI X-Received: by 2002:a05:620a:1a28:b0:787:4e73:1240 with SMTP id bk40-20020a05620a1a2800b007874e731240mr1450178qkb.51.1709287172394; Fri, 01 Mar 2024 01:59:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709287172; cv=pass; d=google.com; s=arc-20160816; b=P7I2yPE5QqbvMBs0rBUG9Vzm8qdQ6+X0HRXO+4WdhxClaEGUxEM5ZeWIpWsX6uazNH 28jD9fx9escxBrtAHusdpTz9eSodRqz1Zu2VV2eGzzhY5nGScPxf/nDD9iAH10+mpRO2 N4T6LFFF+EJSIX7/fs73BSGjuTongxKS6Ty5a7fny6+ckd8NvUyma0xDhKc8KqGCDEJm kuSSSjRDhHpM5JTltbxA+5YOB07NF9GoAVV4c42Ao4xhaCavWYiIdgpv3/6yBYq11wH8 V9RgEKzpAMgMfWAWwNU+6cbmMTNYMg6UTI5e1yKuUrdf8kIWimYH9szqLnpS1nmDAz67 9hpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=DM9FrFMvYTmMuDMxk7ODvfya/c8UKO1eBc5L44gAAcQ=; fh=IgbjD6hOb/ZzhAJjwYmMp8EZdrnD3Nx0GAEk7YOyoYo=; b=L/L70IAHwPbnVfGI7P6qGVRK8Z+9C32KVIvJpzn2aMrDST/JqPlLxhkSUB+hylnegx 878W0Tuh1l1oJWVz1SKd3R7L0mubFYDJQ29BWEyqkrHAgjnciXWRHhZ+cL7sl6zuA75K WaKW3yIAuaKVS7GJRhzZdWoFnDTttwB5PLEHFkm2jeePH28a2g1BTkImzR20kii7xFlm vYEyKQuZ7fJuI68kJdxYVdnT0LAJAzQiE16iAHi2HBtlbEfVKWGx30twb3fay4MyC2qn Xy0rreeqc8ahLJ8yvcTxRwYffHQ7IAU1QQxhudPhfHh1YwUkmJiLtM90BD4XPPMj9wNh V7cQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="Qfh/gl+5"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-88212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a25-20020a05620a439900b00785d8901d7esi3616544qkp.246.2024.03.01.01.59.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 01:59:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="Qfh/gl+5"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-88212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 248851C21BB9 for ; Fri, 1 Mar 2024 09:59:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E14E66A8D1; Fri, 1 Mar 2024 09:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Qfh/gl+5" Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48C7469D09; Fri, 1 Mar 2024 09:59:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709287164; cv=none; b=gHDudZUbQx04sXLzfD5DoKqC7pVHZuqeIIWm4Ni/H6B16DF3xt1ihUp+S7RBoSoXTJm4RgzFV9ID/jz9h6SGzk7t2Q2qppgZiAJ7EPWgbtOVWe0ghusKcNeqqFLLlmUuWzXLHD1kV29Vy+6bGxnge0E35N6v5BPecajzuN9Ya8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709287164; c=relaxed/simple; bh=DM9FrFMvYTmMuDMxk7ODvfya/c8UKO1eBc5L44gAAcQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=elk6y90/M3souQa3MaRJ4MG/Pq5PcfUwX6Vvn+UlosyKweHXXzMVbop7NVBofhMMpKHe91W0Ic+Mmka0Z5R6QOSjtvHSF8jHht6qi2u97X0VdFpl81xnKacDmEjaXczzFOZDPhxJUdRan86vKeb7zXgvEbPZF0nVEI5+b0yFbXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Qfh/gl+5; arc=none smtp.client-ip=217.70.183.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id C5422C0009; Fri, 1 Mar 2024 09:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709287159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DM9FrFMvYTmMuDMxk7ODvfya/c8UKO1eBc5L44gAAcQ=; b=Qfh/gl+5SPMgENwA3uyhB/TdKCc0EczKLO34Vn64FnY78fcdfc0V3ZPnC0EFbOALpYOBzc pSb7TFngnh5DOJNJp5HbbrKkg5+xEUlwJWkQ1cg0BBiFneK708IXy+xtjXqT/8yZvtAlQj WirqEY0t0+O8iMj8wtWlj4VS1sljbNLGYMbm56xpL+WTtQdZqeTvod8XYuX5dgI+EVOQtY WZtM4EV229cxddFzneY8CW/eY2WgNPrq5/K7gAvJqxVgAqy1HHvv8lqDSwP/mJJQhStOs7 ugjgdVxsEy1EkKjDAHjBn6/P0bFhlTGT9UAn482HmJCDlwbx7HTR+dSvH1caDg== Date: Fri, 1 Mar 2024 10:59:17 +0100 From: Luca Ceresoli To: Rob Herring Cc: Saravana Kannan , Frank Rowand , Greg Kroah-Hartman , Xu Yang , kernel-team@android.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Herv?= =?UTF-8?Q?=C3=A9?= Codina , Geert Uytterhoeven Subject: Re: [REGRESSION] Re: [PATCH v2 2/3] of: property: Improve finding the supplier of a remote-endpoint property Message-ID: <20240301105917.746e626b@booty> In-Reply-To: References: <20240207011803.2637531-1-saravanak@google.com> <20240207011803.2637531-3-saravanak@google.com> <20240223171849.10f9901d@booty> <20240226125226.705efef3@booty> <20240229103423.1244de38@booty> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: luca.ceresoli@bootlin.com Hello Rob, On Thu, 29 Feb 2024 16:10:38 -0600 Rob Herring wrote: [...] > > > > > It's just this one of the 3 patches that needs reverting? =20 > > > > Just this patch. I reverted only this and the issue disappeared. > > =20 > > > > I sent a fix. With the fix, it's just exposing a bug elsewhere. =20 > > > > Exactly, this patch has two issues and only the easy one has a fix [0] > > currently as far as I know. > > =20 > > > You say apply the fix. Luca says revert. I say I wish I made this 6.9 > > > material. Which is it? > > > > > > If the overlay applying depends on out of tree code (likely as there > > > are limited ways to apply an overlay in mainline), then I don't really > > > care if there is still a regression. =20 > > > > Obviously, to load and unload the overlays I'm using code not yet > > in mainline. It is using of_overlay_fdt_apply() and of_overlay_remove() > > via a driver underdevelopment that is similar to the one Herv=C3=A9 and > > Lizhi Hou are working on [1][2]. > > > > I see the point that "we are not breaking existing use cases as no code > > is (un)loading overlays except unittest", sure. > > > > As I see it, we have a feature in the kernel that is not used, but it > > will be, eventually: there are use cases, development is progressing and > > patches are being sent actively. My opinion is that we should not > > put additional known obstacles that will make it even harder than it > > already is. =20 >=20 > Well, I don't care to do extra work of applying things and then have > to turn right around fix or revert them. It happens enough as-is with > just mainline. And no one wants to step up and fix the problems with > overlays, but are fine just carrying their out of tree patches. What's > one more. This is the 2nd case of overlay problems with out of tree > users *today*! Some days I'm tempted to just remove overlay support > altogether given the only way to apply them is unittest. Thanks for taking time to understand the situation. Just to clarify my position: together with Herv=C3=A9 we are not just carrying out of tree code, we are actively developing code that uses overlay load/unload at runtime and we will send it to mainline as soon as it is ready. As part of this process, Herv=C3=A9 has already sent patches to fix various problems that happen when overlays are loaded and especially unloaded: https://lore.kernel.org/all/20240229105204.720717-1-herve.codina@bootlin.co= m/ https://lore.kernel.org/all/20240227113426.253232-1-herve.codina@bootlin.co= m/ https://lore.kernel.org/all/20240220133950.138452-1-herve.codina@bootlin.co= m/ https://lore.kernel.org/all/20240220111044.133776-1-herve.codina@bootlin.co= m/ Best regards, Luca --=20 Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com