From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 686C82905 for ; Fri, 10 Jan 2025 07:55:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736495752; cv=none; b=YPLyP5sfivqL9c/Bn37PbAPeTHNpVs61wq8vcMtSCI2gdviP4F5HF09Y4xl46eJe68XzWmrn+SCZgLWQvgCNzSeI+Nl14GBogIOmLSyVPdgiIb17yC2b9JtfKK0Xk0W+Q3B0iJTIsjmAh1JXpimHPrCebzSg6Z6onYaFEAM/rHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736495752; c=relaxed/simple; bh=oXkHpfxrDbmAcwlWpW2vNSatMSdp/GKzH9CGxMY+ccY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oLlqEuDUuKg8AenAq3MpVoFaW4bdnuRYj8yEXHGtTsoXLDMomsHEj6NAt6eVSkDyIQmoGp4IIesWHDzmNc6gD21v76xnKqEY1ER8yC49KrJKpGUSf9HMekT54Jf8YGjI57sU1YhivIkBMXYW28VxeIxaqaGeiCV4N2Hxwbwztso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=beagleboard.org; spf=fail smtp.mailfrom=beagleboard.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20230601.gappssmtp.com header.i=@beagleboard-org.20230601.gappssmtp.com header.b=B4UitDM1; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=beagleboard.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=beagleboard.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20230601.gappssmtp.com header.i=@beagleboard-org.20230601.gappssmtp.com header.b="B4UitDM1" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-219f8263ae0so29300685ad.0 for ; Thu, 09 Jan 2025 23:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1736495751; x=1737100551; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ViKcm7klDU29SRtUvGm1mWOj/+CiM+LAsXHQlMsYjow=; b=B4UitDM1PibhI9BWwcsGaS3VkIDuPXIpYZ3t2sc+/ucosKsUpZW7tjFrZ1gtZsxYE/ 4FMWZ3Q1YEzINVjExNx3lLhRnXVtZ9FVhnzfa1mBR566z2CMYaBlG+ebkyklWyETRPHj Uc9ef5jC9clukyf4DWpavLT13IrGdbFaTxXewbwTIV6FGBIJLDEetPYpqP4Q/StuQV1Q ROG7xBEW/EaSEDVIG+qO8t1rLigP0C4qy+MrdihdYtZihRSF/olvSwKPhV+wm9ENpDP1 +J86XDI4qAcqI9HvE4mTvHDG0xhPnbpprrBP3rjyrUiJpJP0leDyU7JoTh0znsvV7lwd iCRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736495751; x=1737100551; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ViKcm7klDU29SRtUvGm1mWOj/+CiM+LAsXHQlMsYjow=; b=nKk6u20v0AHF570z4biCfwO32Y9rMKmKBlgiDDZsg0pHQjFrwApd3Ynqd+uDmlkr+M l5DlrtNbvsaSzQFDm8IOL6RP5ItBonN63ATftboXOfW+VKfhJs4tPrBitV+eP0sGG61e 5l1NTlfwkID4Lg4teewhLqxOk+11XecT0RP1RYo6+vuxL4fRs0NIvDFDUIrcRKHAht6B m/q6IQBLd9kJCN3ccH7b4ONN4Oy3isS6HXrpidG92+HZ/UhBUJ/nJakdrY8MTP2VQoCu 4bgBIEoVlrjQi0OLegIKPVLwL39RFY8hjmS1wab7rfoifVl0kkdWqJuhI4jRWNoVa+cG /0Og== X-Forwarded-Encrypted: i=1; AJvYcCXWQHmdovradXLk8o7Nv8O/esM24UXOPXjE26CJzp6CWzkhSbUpGlVrogfzavOrJa/AbZrMHlHt30r8o6I=@vger.kernel.org X-Gm-Message-State: AOJu0YxJr6TwqFqSfdWtOL4Yd76Yfxt6zjStGVNIflumNOQa+xcSurvL RipgssWuoKvpLTowHF3vY02DesetFeDXlW+OIap1x7UJqhVCBGXNYJVSMYvPudydJUTsYEiUx0E = X-Gm-Gg: ASbGncurgI6TThMc9mlrybK39AfWaQjWENE88K0SvZ9Dr/khEat2tsuSp8lyBWOVbQt mPuhAC/CT+E+6QV/1lp+PwDuxLAkTLn4Vzz0x7FB5OKNPrgXreP0BgxOfVIBLc715pYhQdSl57y 6/ToDW9kL8mc4xH8Wl9o9LYJgm9t6bdcY8YR8/3SnXqNzR91SxFTCtp01YZbMRnRpsSTJhwQkkt pd3JbZZSHVHZ9OD8aFxnaiVIdQvoVBZhrJw9ONhVqM9g1KpXD5pW9p0RBXmSBs= X-Google-Smtp-Source: AGHT+IEBb5JDvt5y/BJe/C6WBaYMBpXupD+m0SHtw4qNmHiKhGmQppua4fpdJ+52+7b6iF9LvO5dkg== X-Received: by 2002:a05:6a21:3997:b0:1e0:ca1c:8581 with SMTP id adf61e73a8af0-1e88d108843mr15549858637.21.1736495750719; Thu, 09 Jan 2025 23:55:50 -0800 (PST) Received: from [172.16.116.58] ([103.15.228.94]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72d406a5299sm1006482b3a.162.2025.01.09.23.55.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jan 2025 23:55:49 -0800 (PST) Message-ID: Date: Fri, 10 Jan 2025 13:25:43 +0530 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/7] of: overlay: Add support for export-symbols node feature To: David Gibson , Herve Codina Cc: Andrew Davis , Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Arnd Bergmann , Greg Kroah-Hartman , Saravana Kannan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli , Thomas Petazzoni References: <20241209151830.95723-1-herve.codina@bootlin.com> <33c61b28-c0b8-478d-8107-c6ed1ff9e466@beagleboard.org> <20241210104141.39acffb1@bootlin.com> <20241210115515.1886f73f@bootlin.com> <6d48095d-59b1-4439-8e2a-927aa1aa1b55@beagleboard.org> <20250108090750.45685a50@bootlin.com> <20250108104719.0412ad94@bootlin.com> Content-Language: en-US From: Ayush Singh In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/01/25 09:56, David Gibson wrote: > On Wed, Jan 08, 2025 at 10:47:19AM +0100, Herve Codina wrote: >> Hi Ayush, >> >> On Wed, 8 Jan 2025 13:58:04 +0530 >> Ayush Singh wrote: >> >> ... >>> >>> I will experiment with adding support to dtc and see how things look. >>> Hopefully, 2025 is the year of addon board support. >>> >> >> Also one point different between fdtoverlay an runtime loading is >> that runtime loading allows to set the target node of the overlay >> at runtime. > > I'm not really sure what you mean by "runtime loading". Do you mean > the kernel's implementation of loading dtbo overlays? > > While that is a different implementation from the one in fdtoverlay > (AIUI), they're both working from the same dtb format. As we > discovered attempting Ayush's proposal, it turns out that the dtbo > simply doesn't have the information we need to correctly path > substitutions; and it's not at all easy to add it. Ahh, I think there is a misunderstanding. `export-symbols` only seems to support phandles, not paths. So no resizing involved. It's closer to the phandle support in `__symbols__`, just local in scope. > > So, the problem of the encoding format needs to be solved regardless > of which implementation is actually processing the overlays. > So there is no problem with the encoding format. The questions I have are more regarding weather `export-symbols` or something close to it can be made part of spec instead of the custom linux thing. Ayush Singh