Received: by 10.223.185.116 with SMTP id b49csp949930wrg; Fri, 23 Feb 2018 09:16:48 -0800 (PST) X-Google-Smtp-Source: AH8x224QcVv0VKS3GqBDluL4OEc4uJ5s7td6gV2Ll1g2z9OlihwNlGgApG17K2GtVuaTcWoY3cFI X-Received: by 2002:a17:902:8b85:: with SMTP id ay5-v6mr2393728plb.329.1519406208130; Fri, 23 Feb 2018 09:16:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519406208; cv=none; d=google.com; s=arc-20160816; b=cZZ8r5anJB2jyBTBhd2vcThqH1tKpiUTuWL6+y9ezKvo85G179UsHjgl6NagwRnNts Ji+vitwkers30veGEtW4xdSRafriBbMm+++s7kw+xOaECyh1pSA/7pW3VXfKEjhvfMnW WLlDbTFeoIuh4rW8+IPOx9R3N4vwr9YhAikmoNXL4KutrKkoJnRWJ08DYaN/PZ+m+6Er WP9D7uFiuJwS4O8bu4pC5CY4AflnACug2ZIe9mIpkveJvk+ggqbGzZgR0t7GV8y3vTzJ cfAKl0tIyMInUiZrZM+Z5IvwJajyuuMxhh1u+RI8B+WtgGl/MuIrkZwQz62PPXxdndqW KuXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=wdKxfmb85hCzRt+6D/2w299Gd/WRj5wZg5XxtchWOt4=; b=A0VuZpaknr1Lcs+vw0kc3XXzLWUQGH2bytC69f3qNc1/OMP9pRJERLu4PyFOCt9gwo agEHcpkOQxl8zcIOfTlbBvm47D4+PeUOnDNs5ZnfryhcP3gMN6aHU0xzH3o1uhfFd+Pk U9uwGdCqozvgAFB7RsCu2GyjrfHzaDao4Z10OJkjgMT5SXApqkDUDD8zuJjgLLhiK3K5 zJIAhiKYdxdrpT9xMxKwkSCY+nDkJGEfQKzRpA8OvMXil8H8IbbUuvyyHJCWKNZZKryK RmIo3RFKcF8n41zepdox2gWh/U47/Yz96oB0jI88Xexc8W9ZFWwmYBy6IfYSOSmGH9Wf 8kvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=LAnKsfT/; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y25/E2Th; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9-v6si1777227pls.787.2018.02.23.09.16.32; Fri, 23 Feb 2018 09:16:48 -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=@codeaurora.org header.s=default header.b=LAnKsfT/; dkim=pass header.i=@codeaurora.org header.s=default header.b=Y25/E2Th; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbeBWRPu (ORCPT + 99 others); Fri, 23 Feb 2018 12:15:50 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:33030 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351AbeBWRPs (ORCPT ); Fri, 23 Feb 2018 12:15:48 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E3A0A60F6C; Fri, 23 Feb 2018 17:15:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519406147; bh=1Io5i6Oyab5hqe+OCg3hZ/nvS5N3qN4JwAtUR9Ds9x8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LAnKsfT/0wO0xXXgD51b/9it+3jdjXdzpWe2JVz5SKO0b31wE2AVRJuhh9MMrsgI/ C8qlqn4lW8pg1zj00PMqB9049KWnA9Ts0kGZRtxjINvg1DTvfpyAlrO0xWgheoMbMV 2saNqwRZJCNV4JYJhNSERfgvVPL33zT87RxfI92s= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rkuo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 246D6606DC; Fri, 23 Feb 2018 17:15:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1519406146; bh=1Io5i6Oyab5hqe+OCg3hZ/nvS5N3qN4JwAtUR9Ds9x8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y25/E2ThfFvT9EPWjq51o7lpGD4/MhPZlvhU8nwApLaVOJq6ST8DqPdJ0l4wtZk27 cO77Nb8h6e8Oa3xiAabV/davDnloBqI8HX8pIQA1GSff+nQltt41I/3+h32uBuRRt0 2X8eOLTn5sPGUD20B336SGKZUS0CWDdB2Iq5PDmU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 246D6606DC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rkuo@codeaurora.org Date: Fri, 23 Feb 2018 11:15:43 -0600 From: Richard Kuo To: Arnd Bergmann Cc: linux-arch , Linux Kernel Mailing List , 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 Subject: Re: Removing architectures without upstream gcc support Message-ID: <20180223171543.GA3780@codeaurora.org> References: <20180222191758.GB5180@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 11:43:10PM +0100, Arnd Bergmann wrote: > On Thu, Feb 22, 2018 at 8:17 PM, Richard Kuo wrote: > > On Thu, Feb 22, 2018 at 04:45:06PM +0100, Arnd Bergmann wrote: > >> * 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. > > > > It's difficult for me to speak to the decisions as I can understand > > your point of view, but maybe I can speak to some of the status. > > > > We still use the port internally for kicking the tools around and other > > research projects. As you noticed we're not doing gcc anymore; we're > > using LLVM for both kernel and userspace. Yes there have been some > > caveats but it does work within confines. > > > > Time is unfortunately just limited for me to upstream some of my kernel > > fixes and cleanups, and there are some things that just haven't shown > > up externally yet. > > > > However, as James Hogan mentioned, having it in the tree really has been > > useful because it gets included in the various upstream changes and > > fixes, which we appreciate. > > > > So hopefully this will help inform the decision a little better. > > > > If you have any other questions please let me know. > > Thanks for the clarification! Since you are the maintainer and you > still consider the port useful, I don't see how anyone else would be > in a position to demand it to be removed, so we should keep it > around until you want it gone. > > I still have a few questions: > > - Any idea how we would find out of the status ever changes? E.g. if > you decide at some point that you don't find the latest Linux useful > any more for your internal work, would you send a patch for removal? Yes, we can definitely notify everyone if this happens. > - How do I build an llvm based toolchain for Hexagon? Do I need patches > on top of the llvm-6 release branch? Where can I find the corresponding > binutils-2.30 sources? The Hexagon LLVM tools available from Qualcomm should have an ABI switch that's supposed to work for this: -target hexagon-unknown-linux Admittedly I haven't tried that one. I'm unsure about the full upstream status; I'll check on that, but I think the sketchiest component out of that bunch is currently going to be the linker. Let me do some checking on all this the next couple of days and get a better answer. Thanks, Richard Kuo -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project