Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2825930lqo; Tue, 14 May 2024 10:11:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqPEjpwmLMX0FHP5MI1rCNOPGGwdCl8u5JjeG94Uvb0kAcqBC22Q48Rup0AejqGdqX9787hIFDGRhc7SnXzwCVDcrj0APHvwYsA5nCaA== X-Google-Smtp-Source: AGHT+IGwa+hXPG2qtPA36kA1yAd+6GEg0D2euWZevJrwT7jqt4chWyLEu+bdXGPEB66m40DtOA3/ X-Received: by 2002:a17:906:ae87:b0:a59:d44c:9bc with SMTP id a640c23a62f3a-a5a2d6bbffemr997229766b.66.1715706694694; Tue, 14 May 2024 10:11:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715706694; cv=pass; d=google.com; s=arc-20160816; b=iV4u08oXl6P1P9ztHOuEvWIsGknD4GFUE6CKif+40ZLkqqKlns+FS1Q0/amdpUq6qw YD6QYrqJ4Kqv7E+c7exyCMtqwIg8DwF2j2gXfvEV2iGlXQMjxnCtuKYSOk5WiGLaPjks yZCxKG87NbP/5f8VLeheIk2Fmxdoc62ybLtTa1FI+oUdLF65WNKQbdUVgOk+ugt65+Sx Fj85VJ2NChKfQQaUeOz4H43mXK4vT3EYEO2+RO153C0wYl4p24h//1ljS1McZzeeRuuD MRwwPoD5nQa/SHfesXv/7V2tYfGiW+q137fG/OLhzCCDGXPk5QM+mpptb3zF5KhJ+B/H YiiQ== 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=P8Cv6K+hNAOMTSxkND2VnO0L0L1inZAjtqwoyrqFY7A=; fh=r4/nZHbnLbxBSfGJZgOVbZ0F+yoYXjj9FYuTq8E72r0=; b=yPiNWSxZCtTNtih6OUxfOpM8+0V8JRQcCyTs3lfLkSZlQCfGjt4BgJuj8k86NVTZ0h rYnM86y1VvvwG02GuhuVolrl7vJOr92Rs3EmfX8ZftrEw1yZugwOB6pXcaUSX6TWP5Uu ZmIonTeUqTbNh1Psnq2ip8fmuuBhtY33JaKnhIP/4Rfo9C8pADxLzRHC2OBrObLoGqV8 8trYJ9UG1OzuUH1oMx5wuNbxC1hPS41hwjJowWBoFYXhLv4pA1n/p9kRcAmZudK5W8bJ czV+yeew8RaKGVtt0Sh4Uv2pBUdUAfvgiDC9iKgh6E08U2PvzZGIxqZVihdBNkdleOfR LWGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=h9DaJlGC; 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-178989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6ae8si650722066b.779.2024.05.14.10.11.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 10:11:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=h9DaJlGC; 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-178989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178989-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6BA231F2285C for ; Tue, 14 May 2024 17:11:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0909017F39E; Tue, 14 May 2024 17:11:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="h9DaJlGC" 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 F27A76FC5; Tue, 14 May 2024 17:11:23 +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=1715706686; cv=none; b=Imt3va4qW1G/mtHfuMJGqlYJHXVv4xDOMaVuY+uEssa0ETwa5yeTBlDFxQAkmYTF6oSADuP0yX5byZbYZpwuDXWG2LdvOjh6ApSnE/Iiyf8RnCPGp0O3lD2qwuD8oZx3Pk4kl8l2EjCft3uGiT1qZlFgMES1GgbF3T28LTDTCHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715706686; c=relaxed/simple; bh=JOFWO9OkUaqiqQCHDYJAVIjKoCtVTHFpaPviaW6ZoVE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EDvqTO6cTARFDjZYs+fbF81VoREKXzv7eh2eeDLbMbbYdpFJp6ybnHyuDatMPkBPvG1y4Bls5h/JZVhuRMEMHNZEJ4TKTszkuhkrX+DaD0dohwSK492AmO9dq6UjV32wDvRuuiy1gkIfyQHaH3XFiKW45beQX6sUopwr1AJpqgE= 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=h9DaJlGC; 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 D2226C000A; Tue, 14 May 2024 17:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715706681; 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=P8Cv6K+hNAOMTSxkND2VnO0L0L1inZAjtqwoyrqFY7A=; b=h9DaJlGC+6C/mDVfK/AsaTg4yxGmOU9QB/6NcMOZzP5nn7EA0QcvVPRb2l73nChCwUWulE 2Q0E3g4kgu71qAAISfkFW983lJZA+9EQmY20pATxXQORSqPihC4fr01C1TyG4zADlhDKUB iekUFtnGyMmRXb5W+MkapjZ4jfmTeO6tST2vwHIm3sVSpUsCzg8CEIp+v/td8+PuDKf4J7 OTie7bIPOgYzbgcEbq2NTUMmaUTI7TQ5ca2byxWD+O5MUzgCO75moKdmluRb5zjLJvfqlc e6WxoGuE3WdXLAEp7KLwCWbDc2yP7A0KbRtjJNH6CdoxnGQgwrg1jZcCHv1USQ== Date: Tue, 14 May 2024 19:11:17 +0200 From: Luca Ceresoli To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Greg Kroah-Hartman , Saravana Kannan , Paul Kocialkowski , =?UTF-8?Q?Herv=C3=A9?= Codina , Thomas Petazzoni , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Paul Kocialkowski Subject: Re: [PATCH v2 0/5] Add support for GE SUNH hot-pluggable connector (was: "drm: add support for hot-pluggable bridges") Message-ID: <20240514191117.519b274c@booty> In-Reply-To: <20240510164449.GB336987-robh@kernel.org> References: <20240510-hotplug-drm-bridge-v2-0-ec32f2c66d56@bootlin.com> <20240510164449.GB336987-robh@kernel.org> 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=US-ASCII Content-Transfer-Encoding: 7bit X-GND-Sasl: luca.ceresoli@bootlin.com Hello Rob, On Fri, 10 May 2024 11:44:49 -0500 Rob Herring wrote: > On Fri, May 10, 2024 at 09:10:36AM +0200, Luca Ceresoli wrote: [...] > > Overall approach > > ================ > > > > Device tree overlays appear as the most natural solution to support the > > addition and removal of devices from a running system. > > > > Several features are missing from the mainline Linux kernel in order to > > support this use case: > > > > 1. runtime (un)loading of device tree overlays is not supported > > Not true. Device specific applying of overlays has been supported > since we merged DT overlay support. What's not supported is a general > purpose interface to userspace to change any part of the DT at any point > in time. I think I should replace "supported" with "exposed [to user space]". In other words, there is no user of of_overlay_fdt_apply() / of_overlay_remove*() in mainline Linux, except in unittest. Would it be a correct rewording? > > 2. if enabled, overlay (un)loading exposes several bugs > > Hence why there is no general purpose interface. Absolutely. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com