From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 8366E3EEAEF for ; Tue, 19 May 2026 08:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779180506; cv=none; b=VM6n2S9ig7jRvphs4pO2L3vD0Kou2YNmrlcj//lh585nWTvaNn2dqMLVtLR7fSXQ5cW6RiYxMveWnXo1NeJZeYyVtkOjfQKlHhwXUhkLwV3NYlV/CRFuEHbcdfLeSNHUGgZ8RLabfKb5PkRmM2ZF1mjKvq/+78iHnfqtNN8TKzg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779180506; c=relaxed/simple; bh=Hyx9uiXztVttxLdo9VjcbHUiP6qvqHfhOZr9vbJAYdk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lMXGTadC4SR3CHIttANFrRQmQbg+xiHG7Ja5Xf99HQQwOL2pD57npxrps8wikpb0nUKv1JCYCtPtzfjGVrfFSN1SNmdqz8+x2AR/D5n4bhKxflDSDe2zKi9gNtQHjwyuOWPIiafJ2Iynr0u0ViG9KjvRS5Ot/CaL580SxkuHyqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eKm0WEKT; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eKm0WEKT" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4896c22fcbaso27588025e9.0 for ; Tue, 19 May 2026 01:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779180503; x=1779785303; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=8U8k5KUlWmxiDre3dDf6j/8PHyhhwOqohUrC9tjzC3Y=; b=eKm0WEKT3mVDrwy7IMshOn0GT2kwmWUNussjaxGEyv482mBKvskG0hs7pJ5k+AfXcN l7Rjpy9iZzrpocdayWNqfQdXtH/nwyhXHiZOuGC5I7B98fO16ELapo992aMvVW7NErxJ Dom6oCaQBG4n0rJrkSsLMhnHP63zTKUiw5KuKnT6p7IvYNK+2mRBlfzqpifVUT/esNd3 vlhe3vAPa4t8awQvJiHD5JpieSz9o9c/NHG55x2xnbEgyrkqQ4UwvMthmyx0XIjO0dD8 Ds9+nZuBWp3o5j4Qfh95443MbvDyxxMyRCOg8xUEL3EtMFxko1g7WSrXeeWqy5p4Vy/L m4TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779180503; x=1779785303; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=8U8k5KUlWmxiDre3dDf6j/8PHyhhwOqohUrC9tjzC3Y=; b=rdU2VTz/1VF6kMMQmtnWLeARRtyzjp4fvkF6IXlTJznUs1zGKEfV83/l1Z520sxjTp 5hZn+6lU6NXARm+eIoIyunBG7+7poxlQT7N/SX6mXmBe42PeLTKzifcqQUhaMaQHmAvQ AFu+R+5QrqWq7GgRlOeX9SaXpqra1qTHmro1cYahBp++kbxZZk72x/etKvlTZMVBRBIg +xpwFMwiXq0nmt6ICSII7x33ADKzqRndZkdAhXoA/kpawVkOFjtvu2go6OUN6ua3i5ud eICQXqIknleuu0Fbkrzi4whEVaFkSDkvv2YY9La+E4OTyU2PmLYlGeeejZkdbJGjOx0u icZA== X-Gm-Message-State: AOJu0YyLup/uW4AsAC1UzHI+W564sIzymtdDTSxuXLf9pUcvzU7220Ur 20+s9yZ4JHFrJWZU4gbADlDLvKRCX5WSqLNRVRWE4uVjNeIk+wdLRJaP X-Gm-Gg: Acq92OEpyHeHWY0mLUp7JQgsN8v4x+lrtd47AOhIypINvtFbjW5xEDlWUz2EeUzpRAT jS87TeA62oBiRSCqfp0xM2ir+RZIqIeDmD2IyAFAJxEdqvQ+iW3XbcNS1A5FFKFKAtlsn8bFzWz iHGcwtDYmSYP0GM6y49xtzg1X54z3VHv4+NXC2DBgKumW4HU2b3v/nRLU2mIyy0ZBa6P4zxAp7A 4bQ4Fu/knavmx6vVbL6fYp8ijxwtZf5mT21CjSkQ8F/jtbDn466NsZmtva6oYNpgaJg5XcbyeCW Ld2jfFFvmXjPXqr2AzkpOaHDhwldS4IlaOVpa8XjPZBWTcQDt1Q3/5sX9rJpELuwmHuDOCTl0bm BZKsP6rcFiSNIul0TeEYsBE1D2lyk716Rz/c98sgdGE6+UfjM8H5Tw1HajqxX0Bh85IfqCBmVJa Hm6dn39zxeEoRBW7hp1/S0aC2U4FIkU9kf9Vk2tZNaMQ30nTR4jB7na95kxnWWJp0j X-Received: by 2002:a05:600c:3e1b:b0:48a:8905:a500 with SMTP id 5b1f17b1804b1-48fe60da647mr311906705e9.12.1779180502860; Tue, 19 May 2026 01:48:22 -0700 (PDT) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fe4c8344asm530004325e9.1.2026.05.19.01.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2026 01:48:22 -0700 (PDT) Date: Tue, 19 May 2026 09:48:20 +0100 From: David Laight To: Ethan Nelson-Moore Cc: linux-doc@vger.kernel.org, devicetree@vger.kernel.org, workflows@vger.kernel.org, linux-arch@vger.kernel.org, dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, linux-iio@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-pwm@vger.kernel.org, linux-hardening@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-csky@vger.kernel.org, Jonathan Corbet , Shuah Khan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Thomas Gleixner , Alex Shi , Yanteng Si , Dongliang Mu , Hu Haowen <2023002089@link.tyut.edu.cn>, Dinh Nguyen , Kees Cook , Oleg Nesterov , Will Deacon , "Aneesh Kumar K.V" , Andrew Morton , Nick Piggin , Peter Zijlstra , Vinod Koul , Frank Li , Dave Penkler , Andi Shyti , Jonathan Cameron , David Lechner , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lorenzo Pieralisi , Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= Subject: Re: [PATCH] nios2: remove the architecture Message-ID: <20260519094820.1f05ab8e@pumpkin> In-Reply-To: <20260518042833.272221-1-enelsonmoore@gmail.com> References: <20260518042833.272221-1-enelsonmoore@gmail.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 17 May 2026 21:28:33 -0700 Ethan Nelson-Moore wrote: > The Nios II architecture is a soft-core architecture developed by > Altera (since acquired by Intel) and intended to run on their FPGAs. > > Licenses for the architecture have not been available for purchase > since 2024 [1], Except I think they got 'beaten up' by some telcos. The Nios II gets used inside fpga for small cpu doing things that it would be far to difficult to do in VHDL. (I believe some mobile base stations fgpa embed a lot of them.) These will have a small amount of code (maybe 4k - 64k) and a similarly small amount of data memory along with access to fpga peripheral registers and (optionally) host memory vie PCIe. No MMU, no cache (or rather the code/data is in the cache memory but it isn't backed by anything), no branch predictor (guaranteed cycle times), etc. Intel suggested that RISCV could be used instead, but it isn't the same beast. They didn't document the instruction timings nor how to add custom instructions. The company I used to work for used 4 NIOS II inside an fpga. The instruction timing for one is pretty critical, it has some code that has to complete in 122 clocks (worst case). Our solution was to spend a few man-weeks writing a compatible cpu! I think it came out with fewer pipeline stalls (in particular it 'lost' the one for a (predicted) taken branch). The maximum clock frequency might be lower; but it is ok at 62.5MHz and the higher 125MHz in just impossible for all sorts of reasons. OTOH I really wouldn't run Linux on it! -- David > and support for it has been removed from GCC 15 [2], > Buildroot [3], and QEMU [4]. > > Given all of these factors, it is time to remove Nios II support from > the kernel. The maintainer stated in 2024 that they were planning to do > so soon [5], but this did not come to pass. > > Remove Nios II support from the kernel and move the former maintainer > to CREDITS. Thank you, Dinh Nguyen, for maintaining Nios II support! > > References: > [1] https://docs.altera.com/v/u/docs/781327/is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip > [2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e876acab6cdd84bb2b32c98fc69fb0ba29c81153 > [3] https://github.com/buildroot/buildroot/commit/6775ccc5a199d574ad70b5f79ec58cce97a07c6f > [4] https://github.com/qemu/qemu/commit/6c3014858c4c0024dd0560f08a6eda0f92f658d6 > [5] https://sourceware.org/pipermail/newlib/2024/021083.html > > Signed-off-by: Ethan Nelson-Moore