Received: by 10.223.185.116 with SMTP id b49csp1319076wrg; Fri, 23 Feb 2018 16:16:45 -0800 (PST) X-Google-Smtp-Source: AH8x225NS4xo6Q7lWszjVOMAF4Dx/yIQyIcvsMzYM6CzLmF3SfQThwcMdIC/Ae5iFfAv07GyQMDi X-Received: by 2002:a17:902:b7c1:: with SMTP id v1-v6mr3293531plz.315.1519431405532; Fri, 23 Feb 2018 16:16:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519431405; cv=none; d=google.com; s=arc-20160816; b=UvReJQSzRkhudkVYTFXSE4o6vfFPVxwHRjwX7FziZfP9zyztN/NVPze/k9P8Kpn/96 FINymBYt3r9nobV7369M7ZMsDK4lo6oX/cLLydSEhbTDZJEFCEl1vvSSw8ws2HgsH0F+ 1qTnOYZ84jNQYl+bi0++2CUqwaB9tP6SoHzeMGJtLNjN+VUnEBH5KpLpdm3hSOBMkxJw GFdomDvJduq2ifKuH7VDsgUMBHHYOKQgzMMxG36XBN0dohTG+D7uFtnTJYFS6q3vPNCU +q5NtpGopQs8ZnGOBSxKbgPJabpuz9rY00pZYUTuOeUIBS0kclkhoHdXujo3StnoDi9f 69dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7T2B1lW7NYoqoMGPhn4cWTNZhA1e1KxulRHPkxWPlsc=; b=DUylz1tAt6UenhQjzcGzx1rJhwhDhHFIFJKSTlRpZH+dc3wdLOd+CxQnpxXAk/O76P 4WH00T7mBkmhTzadpI90Te//+pr4EyAubZfr4mU5OjFnlA3DWd4sgQU08ws3PpxqeA3T B1Xzd5EJh5983bgWt7LS0vQ/W1/7otwiV6DnMO5xEu7HE023qVH4mZR0Vo9qUkjW1UzZ a/NA3McRU9a0baQV1qMZDgZ+S/vGti1KoR+GCQ5Chm0QHIWUK0kpC+J5jThJXwsEWe38 uLMSp5AnU6x4iPMxDwAPZhcvD6Mr7UhIAu4d1i9b4WTe4GPNgttxq6wUyPOdAN5cydHT zInw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=REqyNoie; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n61-v6si2561203plb.797.2018.02.23.16.16.31; Fri, 23 Feb 2018 16:16:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=REqyNoie; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752095AbeBXAPx (ORCPT + 99 others); Fri, 23 Feb 2018 19:15:53 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:44797 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455AbeBXAPt (ORCPT ); Fri, 23 Feb 2018 19:15:49 -0500 Received: by mail-qt0-f193.google.com with SMTP id g60so12617562qtd.11; Fri, 23 Feb 2018 16:15:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7T2B1lW7NYoqoMGPhn4cWTNZhA1e1KxulRHPkxWPlsc=; b=REqyNoie0ZdT9ZCUKIQ8bEWOKTMc5w//pR9ajOSP8JByD5E2eEomCKK8wzjeZuJ56E xJeXrmHWgqmSeRU8oVQ2KcqwCBEvaqW0WZ898c+clVUrMEB5OjJcdVXj82aef3hMOqHb EthOT1ocOVeRVK2kowyJz09Z3QA/9uAQfoWOYGi5wDnVNzZoa0Rq99nJGEU8jD+NsCEB onwYJtco0/wj1Q7KmbNmAsuuBUEFHR1/zIhG2pYq6/c+5JyRthFHTVSB/miJ/RqVz2ik V3t80eC5zFS2FnEpSiLsIcwHzQZ0Yz75Y5S9ed514ZYoZZpM8+I2jtp26t1TeV1NzRwg ACyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7T2B1lW7NYoqoMGPhn4cWTNZhA1e1KxulRHPkxWPlsc=; b=TIk/3C8TJ8bs0izAJpdxL+bxZOA0hDlLMhdAKm1S1cwhstKaAJrgAajvDmNVA3jPBs vmB1v9w9I45Plhc04ZSy2HNKFwBxZknAt1Dp/N/66nHqOuemiagURwrsAPzrRtD7Bpp0 gWmQLx/sGwAlLa+0yy+OWUPt8E8j9qcEZ+NX5Y5ViUQD8q11SRQV+1QScJBHyPGht0aO lrj+JbrEK8EtWF2Gq9N2i6RtaDFnYglBPufE4GJ62AwEM0Xg6ieLDQvov4b9eZCwNc/K Xjhl9dJU4W26ProXgArSEsQOtwhkYXc9oSeYjkTgqauVclbSJVXEQyKB/I/h3Kplas7y ySEw== X-Gm-Message-State: APf1xPAZj5kDXxKp4C/3F4cizhTIC1UXuiyUgot1bT6LNO7M5V5CRlpg 565DzVWUmTYAvMBbM7mPH4g= X-Received: by 10.237.59.59 with SMTP id p56mr5863851qte.84.1519431348723; Fri, 23 Feb 2018 16:15:48 -0800 (PST) Received: from [10.69.41.93] ([192.19.223.250]) by smtp.googlemail.com with ESMTPSA id l37sm2361653qtl.35.2018.02.23.16.15.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 16:15:47 -0800 (PST) Subject: Re: Removing architectures without upstream gcc support To: Arnd Bergmann , linux-arch , Linux Kernel Mailing List Cc: Richard Kuo , linux-hexagon@vger.kernel.org, Chen Liqin , Lennox Wu , Guan Xuetao , Guenter Roeck , Al Viro , James Hogan , linux-metag@vger.kernel.org, Jonas Bonn , Stefan Kristiansson , Stafford Horne , openrisc@lists.librecores.org, David Howells References: From: Florian Fainelli Message-ID: <2d12dc77-16b9-417d-72e3-2b1ffa38803d@gmail.com> Date: Fri, 23 Feb 2018 16:15:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/22/2018 07:45 AM, Arnd Bergmann wrote: > While building the cross-toolchains, I noticed that overall, we can build almost > all linux target architectures with upstream binutils and gcc these days, > however there are still some exceptions, and I'd like to find out if anyone > has objections to removing the ones that do not have upstream support. > This are the four architectures I found: > > * score (s+core, sunplus core) was a proprietary RISC architecture > made by sunplus. It is unclear if they still ship any products based on > this architecture, all they list is either ARM Cortex-A9 or an unspecified > RISC core that could be any of arm, mips, nds32, arc, xtensa or > something completely different. The two maintainers have both left the > company many years ago and have not contributed any patches in > at least five years. There was an upstream gcc port, which was marked > 'obsolete' in 2013 and got removed in gcc-5.0. > I conclude that this is dead in Linux and can be removed > > * unicore32 was a research project at Peking University with a SoC > based on the Intel PXA design. No gcc source code has ever been > published, the only toolchain available is a set of binaries that include > a gcc-4.4 compiler. The project page at > http://mprc.pku.edu.cn/~guanxuetao/linux/ has a TODO list that has > not been modified since 2011. The maintainer still Acks patches > and has last sent a pull request in 2014 and last sent a patch of > his own in 2012 when the project appears to have stalled. > I would suggest removing this one. > > * Hexagon is Qualcomm's DSP architecture. It is being actively used > in all Snapdragon ARM SoCs, but the kernel code appears to be > the result of a failed research project to make a standalone Hexagon > SoC without an ARM core. There is some information about the > project at https://wiki.codeaurora.org/xwiki/bin/Hexagon/ and > https://unix.stackexchange.com/questions/246243/what-is-was-the-qualcomm-hexagon-comet-board > There is a port to gcc-4.5 on the project page, which is evidently > abandoned, but there is an active upstream LLVM port that is > apparently used to build non-Linux programs. > I would consider this one a candidate for removal as well, given that > there were never any machines outside of Qualcomm that used this, > and they are no longer interested themselves. > > * Meta was ImgTec's own architecture and they upstreamed the kernel > port just before they acquired MIPS. Apparently Meta was abandoned > shortly afterwards and disappeared from imgtec's website in 2014. > The maintainer is still fixing bugs in the port, but I could not find > any toolchain more recent than > https://github.com/img-meta/metag-buildroot/tree/metag-core/toolchain/gcc/4.2.4 > Not sure about this one, I'd be interested in more background > from James Hogan, who probably has an opinion and might have > newer toolchain sources. > > * OpenRISC is a RISC architecture with a free license and an > active community. It seems to have lost a bit of steam after RISC-V > is rapidly taking over that niche, but there are chips out there and > the design isn't going away. Listing it here for completeness only > because there is no upstream gcc port yet, but this will hopefully > change in the future based on > https://lists.librecores.org/pipermail/openrisc/2018-January/000958.html > and I had no problems locating the gcc-7.x tree for building my > toolchains. The port is actively being maintained. > > There are also a couple of architectures that are more or less > unmaintained but do have working gcc support: FR-V and M32R > have been orphaned for a while and are not getting updated > MN10300 is still maintained officially by David Howells but doesn't > seem any more active than the other two, the last real updates were > in 2013. Add blackfin to that list, there have been no responses from the maintainers last time I posted patches to remove DSA header files, so we had to go these through the networking tree. Have not see a Blackfin pull request since forever, Aaron himself seems to agree this should be removed: http://lkml.iu.edu/hypermail/linux/kernel/1801.1/04345.html -- Florian