Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3482912lqp; Tue, 26 Mar 2024 10:13:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX/gi/sh/XPDiLu0w7+W6GhdKgyXEUh/84HPhYELJxDfblJNFNyvtaxHk80Ka7U/QoCotnANJR0WLnNk2+dFsO4NfFFZSt1Gsck7qWdyg== X-Google-Smtp-Source: AGHT+IHfAZ+Lp6MaSIejqjVfBiCr8OhQOGgviwawAh+gWohhGcnTZfeiC37xLVX8vkK0PsZZPcP9 X-Received: by 2002:a05:620a:471e:b0:78a:6642:bc0d with SMTP id bs30-20020a05620a471e00b0078a6642bc0dmr2837774qkb.34.1711473230728; Tue, 26 Mar 2024 10:13:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711473230; cv=pass; d=google.com; s=arc-20160816; b=COdzlgg5QeBGE4W7SXbEDkuyTdf5IM790m6MXxQTCWvvlLe46OKKVOg++83+qTYEX3 1f4s44qQNuw0AgpBBg9GSTzaiqfIp17MvuIwJ84gSURYp+jq0hQlC+q/HdIFEVV/TOQX 1MBpPCkuhCh639MqKnhHDl0Bi3qgz4k8qnUpSYbL1tiYv+MYIr8t3tssEhLwnvkVpLMT 4qyrt0LpsYipPk/yyCMo2WEAblEEu4KpBebGh3a0nZFxCUpjE4RDTziNkVSornbRVt/I U7p3L/flgFSJTdzuorpCarsfagXCLqRre8k9FB+umf+eQJabSj5DJ6hAUNPdmaf0En4m UR5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=B6nyrCo4U7y2oC+qQSJs5tRLzqyqQVEqeYmgKzXKskA=; fh=onDt6H7oZV1N5w76eVOeqCfyWiz5aloeJijLDnp8dEo=; b=iiI9l6zjQGJd+/xD/llh1BoFToCeZnUDKES4zC8PURyrNvcCMgLpjKO3gu6AOzMgod yFaM2ILgoGYgcKUhcs77YkBwsWmYVQYTOqMvKtQHpRuH0ZuELnRnY9o0APhbElxDaD0o 2NR+Ltz5rorTuwSK5+F61R4AKCiuA0+OFC+7JHt2jUMhc+3UGUo7jSAxPohsvllVRnsH K9gNIt7HJlK0jIB0kCapsRKBK6Q633SQtPtwCZSDZxQgnIhbHS5N1k43OnWQXof8S8N+ 70WOL7nK8fMzxMU3WxX3sAhMYtBWmqOtkqP963w7pCegB5dtBg63TSM6paLLZ6O6iDe1 9Fhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="slL/UXig"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-119564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119564-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id cf25-20020a05622a401900b004312544b16dsi7733801qtb.713.2024.03.26.10.13.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119564-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=@linuxfoundation.org header.s=korg header.b="slL/UXig"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-119564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119564-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 47FE51C660F6 for ; Tue, 26 Mar 2024 17:13:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAA5320B35; Tue, 26 Mar 2024 17:13:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="slL/UXig" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 06D9D14A82; Tue, 26 Mar 2024 17:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711473182; cv=none; b=HnzHSlbwYcdI9Udu7dao95utK/HHALmb464qgk+jOpIWvphIoyti10/2VS6+LVJfGGhlz6xbiXNg+R8Ha1Ac7pj6TY8UaqLJws3e0hEfDLLTl1cNua5LjNhWXJi5N1evKC9ntpscAOQb8Vor9EHHElnB7fi0e/fYN+d+LsIjDXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711473182; c=relaxed/simple; bh=HFpvbSEvZik1TZ1Ei0VX85c/AP4nPo+Q4x5D6BFOCPQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q6nqIO69+4dp50UrGJrcjMxBOA1DIAYZ/8P8C+PWNg8MIpdUT5zzdONTwQe85nFFvZK1vmmCyrviiUNdYstaiB4VXDJO1gTDBVLErQa5bZqU3y2lFrbTTUBIkTzRlmh9QCOLCl8j0FZNViUjgwofvPEOi03xnjNmQ7w92NKl7Qk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=slL/UXig; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E62BC433C7; Tue, 26 Mar 2024 17:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1711473181; bh=HFpvbSEvZik1TZ1Ei0VX85c/AP4nPo+Q4x5D6BFOCPQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=slL/UXig9Cn6vG9JqKTh9YGBnfdXWCdtIGlKJVbMQnUFTxb0n6PKdfzZew43J+ReY ZjaLJ2Ah74RluYQEyY+L1dunwFSoqd1hddhXhYyDqZdQTSMHlG8OM8F0TqAo7VwQ/X U5/XgihE3nrB5A+Gx2zNKY/natXo1gOJ8Fn7BcxI= Date: Tue, 26 Mar 2024 18:12:58 +0100 From: Greg Kroah-Hartman To: Andrew Davis Cc: Robert Nelson , Jason Kridner , Matthijs van Duin , Drew Fustini , Tony Lindgren , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] uio: pruss: Deprecate use of this driver Message-ID: <2024032658-chosen-salaried-4702@gregkh> References: <20240325210045.153827-1-afd@ti.com> <2024032631-excursion-opposing-be36@gregkh> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Mar 26, 2024 at 12:02:09PM -0500, Andrew Davis wrote: > On 3/26/24 11:19 AM, Robert Nelson wrote: > > On Tue, Mar 26, 2024 at 12:41 AM Greg Kroah-Hartman > > wrote: > > > > > > On Mon, Mar 25, 2024 at 04:00:45PM -0500, Andrew Davis wrote: > > > > This UIO driver was used to control the PRU processors found on various > > > > TI SoCs. It was created before the Remoteproc framework, but now with > > > > that we have a standard way to program and manage the PRU processors. > > > > The proper PRU Remoteproc driver should be used instead of this driver. > > > > Mark this driver deprecated. > > > > > > > > The userspace tools to use this are no longer available, so also remove > > > > those dead links from the Kconfig description. > > > > > > > > Signed-off-by: Andrew Davis > > > > --- > > > > drivers/uio/Kconfig | 10 ++-------- > > > > 1 file changed, 2 insertions(+), 8 deletions(-) > > > > > > > > diff --git a/drivers/uio/Kconfig b/drivers/uio/Kconfig > > > > index 2e16c5338e5b1..358dc2d19b885 100644 > > > > --- a/drivers/uio/Kconfig > > > > +++ b/drivers/uio/Kconfig > > > > @@ -126,19 +126,13 @@ config UIO_FSL_ELBC_GPCM_NETX5152 > > > > http://www.hilscher.com/netx > > > > > > > > config UIO_PRUSS > > > > - tristate "Texas Instruments PRUSS driver" > > > > + tristate "Texas Instruments PRUSS driver (DEPRECATED)" > > > > > > This isn't going to do much, why not just delete the driver entirely if > > > no one uses it? > > > > CC'ing Matthijs one of our BeagleBoard community members who utilizes > > and supports UIO on a number of community projects. > > > > We know TI and Mainline in general do not like this UIO driver as it's > > very open-ended. > > > > While the remoteproc_pruss driver is now mainline (it has taken a long > > time, since 3.14.x i I think TI first started this..) > > > > There is a large user base of UIO examples that have been running > > since 3.8.x and as a community we have made sure ( mostly Matthijs ) > > that these continue to operate on this driver in > > v5.x/v6.x/lts/mainline branches. > > > > These users rely on out-of-tree patches to make this driver usable[0]. > In its current state upstream, this driver is not used/usable. Since you > have to make update patches anyway, why not simply carry the whole driver > as an out-of-tree patch? > > That is why I was thinking of just marking it deprecated for a cycle > or two, just to give one last hint that it will be going away soon > (or you cancarry the driver out-of-tree for however long you want). No one notices "deprecated" stuff, they only notice if the code is removed. So removing it is the only way to pay attention. But why are out-of-tree changes needed? If they are needed, why are they not submitted for us to take so that it is usable by everyone? Or is the out-of-tree patches also not supposed to be used? thanks, greg k-h