From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by sourceware.org (Postfix) with ESMTPS id 9D6563849AC0 for ; Fri, 19 Apr 2024 12:05:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9D6563849AC0 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9D6563849AC0 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=145.40.73.55 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713528322; cv=none; b=ARf2PLNfYVT02IZWV2+lGfu7pu9Lnd4rZANIQ3IuiDgTvrozChIKm3C8O/WRMvwbR68KjtD6aJjsM0gXsyAPxWDUDoiBoG/MnVsQIjjX0jGtStP+wPqaIWcYQeFYHXhzbkoqmUFBlQz3NSPztnH6mTmt1XdlqyIFTJc3fjzIYNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713528322; c=relaxed/simple; bh=JjhfgGKDvS+BVkDg6yV/bx1++/VQqZcxH99bfPJLXFA=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=FkBGvC5l4k4qdm8R2oMeyMkqRVqs91QwO//X9tyuoTAbzu55t9Ewhe51QkDsdXKcxCwLdfl4e2jJWhiitYa7MLDRZ5Eq/qIoWTAdyXy8HUexThD2yhKawJjKY+n3Tab766zjPgrD5XTGAz7i3PQKeHIAz2ay+HiV7DFF79G9y7Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 88757CE1A9C; Fri, 19 Apr 2024 12:05:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E45AC072AA; Fri, 19 Apr 2024 12:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713528307; bh=JjhfgGKDvS+BVkDg6yV/bx1++/VQqZcxH99bfPJLXFA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZRi/Twb2b25FmwmLZzpZoGNmcAmcD4Zwai1c+o6wgMdl6hlcBYFiGmTNh3GxgxkQl sH2Np8vgm99LX/UJMrhAReObqzK8Hruz3WxGRxlFBc3GVfhuMm+RXTFdRIzfF3jrcD 9aC27k87ZVh75j4BfLP1Y4jTfqH0WPIKnZwoJRuoMwd9udxr+2z/djqk4Z7dO4RNLp qgfUIcD0ybqIFBT7/DqYGVY8grI9QIDJR1I4uzKDvRua3EyPfg4oWxYWWcHmFsjHpj yHYKuRSWxZXFSp+91xML8nK2fu0FUqxtr2ypjnwPehOyasprDZxnBUl37C8yza8E12 5424pPP/9b6tQ== Message-ID: <975c8ed9-e0b0-4b5e-8a4c-0970c98fa3e6@kernel.org> Date: Fri, 19 Apr 2024 07:05:04 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Deprecation/removal of nios2 target support Content-Language: en-US To: Arnd Bergmann , Joseph Myers , Sandra Loosemore Cc: gcc@gcc.gnu.org, binutils@sourceware.org, gdb-patches@sourceware.org, Xi Ruoyao , Chung-Lin Tang , andrew@reenigne.org, Yao Qi , qemu-devel@nongnu.org, newlib@sourceware.org, Andreas Oetken , Bernd Weiberg , Marek Vasut References: <55a1bc52-b435-463e-8be1-4b23e44393a0@baylibre.com> <320677a6-1c3a-477c-95fc-b74cb5a4c5c6@app.fastmail.com> From: Dinh Nguyen In-Reply-To: <320677a6-1c3a-477c-95fc-b74cb5a4c5c6@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 4/18/24 13:41, Arnd Bergmann wrote: > On Thu, Apr 18, 2024, at 17:44, Joseph Myers wrote: >> On Wed, 17 Apr 2024, Sandra Loosemore wrote: >> >>> Therefore I'd like to mark Nios II as obsolete in GCC 14 now, and remove >>> support from all toolchain components after the release is made. I'm not sure >>> there is an established process for obsoleting/removing support in other >>> components; besides binutils, GDB, and GLIBC, there's QEMU, newlib/libgloss, >>> and the Linux kernel. But, we need to get the ball rolling somewhere. >> >> CC:ing Arnd Bergmann regarding the obsolescence in the Linux kernel. > > We have not yet marked nios2 as deprecated in the kernel, but that > is mostly because the implementation does not get in the way too > much and Dinh Nguyen is still around as a maintainer and merging > bugfixes. > > Almost all nios2 kernel changes I see in the past decade have been > done blindly without testing on hardware, either for treewide > changes, or by code inspection. The only notable exceptions I could > find are from Andreas Oetken and Bernd Weiberg at Siemens and > from Marek Vasut (all added to Cc in case they have something to add). > > We should probably remove nios2 from the kernel in the near future, > but even if we decide not to, I think deprecating it from gcc is the > right idea: If there are a few remaining users that still plan > to update their kernels, gcc-14 will still be able to build new > kernels for several years. > I'm planning to do this soon. Dinh