Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1321643imm; Thu, 6 Sep 2018 20:54:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaqR4AJs4LnM6fzn72C9/0zBx5fOHgCHeJrz7V2ipZ5RHP/q3pI0aUShP4rjY81/vXpQYvR X-Received: by 2002:a17:902:4e:: with SMTP id 72-v6mr5940575pla.318.1536292452582; Thu, 06 Sep 2018 20:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536292452; cv=none; d=google.com; s=arc-20160816; b=kCWlPNWWTnacWuGOq5ETCMOGgx659m/YIMmOFirTJtn7rnGakhjzMZnixNhQn466zi o0p2UvGWmG/+G0jpQL/rz+ySnPbFQBIGQ5FzM/81zS2pDkpqEGESsNoNsLi3YwpXhFe7 c5nrp6WxjeQdhggkIkzS/T3Oha+O5drsQQpGgVWZvRCvUFJHhBmhkPyClDimY9Ii9R6b 44Nj/DL58HVAm+ch53xBeoymlI4Po1Ak2KdA9hLIN2F+7mlXlsayyCMQNFtWPe3X6x5w 7L0be3xPhcEFJzisR7ajNdFjVaXDp15jVEXvj/7HzwvmywC6SgU5x/bLNiqhJrpVuXKH Lp+w== 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:dkim-signature; bh=hh1yjQTwttsny38NMyvRJOMTD1z7c5y+qebCDm0jLxw=; b=jrFpP3oHlF3z8/nIrgkSKs+R1jPlQXuhbeE60wv4AXeAJe8+c8c3+IgjrhAuschBQj sZIW3eyIde74aMVwuZMu7iZQjMd+ab0pAVip8C/ENWKeR7bTlGWEUs8frlEJILJuplZI VWS38jyI/5K2vjmiIknctvackKPr364t34KqsVGcEso05otSTQd6bjK8zfuW8bVTx93Y zCuY2uQ8lFjwgZ8B4pZnfdYDWYBl5qmc35mdCWFW6PawQHsOS0BQdNFAvLsBRXSMwK4J xEfVRlMnY813+LZJbqXskMK4nfnCb1lDjy4yRqThQ48+jXZoftQWqFBcaRZlneWLyXOh abpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Mzsnk3qf; 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 o6-v6si6408376plk.31.2018.09.06.20.53.57; Thu, 06 Sep 2018 20:54:12 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=Mzsnk3qf; 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 S1728853AbeIGGqq (ORCPT + 99 others); Fri, 7 Sep 2018 02:46:46 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45989 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbeIGGqq (ORCPT ); Fri, 7 Sep 2018 02:46:46 -0400 Received: by mail-pl1-f196.google.com with SMTP id j8-v6so5829091pll.12; Thu, 06 Sep 2018 19:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hh1yjQTwttsny38NMyvRJOMTD1z7c5y+qebCDm0jLxw=; b=Mzsnk3qfeKzPyhXBAOggPhfBXIOSaUBQsOqSThtpiyCc1hgETBY973ZxiuSbjtqHml MOdLH9QnUwW3X89ZmkC4tYf+UHyp5h0nj8SSKgNllzi1ZCSWTFlu0lKuTsqSCTm2CX4X FBbahIPcYUcgmmhbpdBuBvNiTeYR3QNc1ZYkNUSyTZZGMI/OC6NuQjV/pdoYkFZrK/Vg 1Td9ndi++txdseuWRr9ioNPOCJv14fYrYzLIFNMA2N0ZW5Moh+zsPiPuzWWtA/cdPP9f n1F1YGvtSi420z2VYlfoOqpvgm0Y7kvIyQwFGOK6YMfen1rarRe6cFfIsUdPoO2lBQZH SGgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=hh1yjQTwttsny38NMyvRJOMTD1z7c5y+qebCDm0jLxw=; b=Sv+YbBh3MIlDPFT+y5jY3CUiwtrkxSD+4H0KmE9avyOe4qzOaX6FNCbE8CcsmNGtag HiwmYapPOw1NlUoaouPOtrpXMgGLh2YQTn3kDkhh7WtUja8dz5ox8DveBgl4hkcpbyov FBBvRwr91AoGse3Z5PsmnjPx+sjSYiWaf0qWDsXcq42drF7GV3uMuRNDkpDQAG9NJM/j G2g4EeoM8zV/96p8gVY/1GU3TT8zZ3qRf4xaVZ/+3Q5HTjbMWsLaAvi0ZuIo2pjMOBoU pxAtuVVIHvKFSknLtpfTC3cplL2zciSDG4GFbD2Aj4f05KWwyOsmG9coCJ4qc3g9BHx9 1GPA== X-Gm-Message-State: APzg51DhA+Dw7t4RwOZNJb+UH6pzakc4OLBHorkFOURzw1Xfpzg+Mnnm ir+J05VVQaiqt9wWMHrc4nE= X-Received: by 2002:a17:902:bd4a:: with SMTP id b10-v6mr5675622plx.209.1536286100395; Thu, 06 Sep 2018 19:08:20 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id h190-v6sm12972625pge.18.2018.09.06.19.08.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 19:08:19 -0700 (PDT) Date: Thu, 6 Sep 2018 19:08:18 -0700 From: Guenter Roeck To: Guo Ren Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, daniel.lezcano@linaro.org, jason@lakedaemon.net, arnd@arndb.de, c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org, green.hu@gmail.com Subject: Re: [PATCH V3 00/26] C-SKY(csky) Linux Kernel Port Message-ID: <20180907020818.GA9110@roeck-us.net> References: 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 Hi, On Wed, Sep 05, 2018 at 08:07:39PM +0800, Guo Ren wrote: > This is the 3th version patchset to add the Linux kernel port for C-SKY(csky). > Thanks to everyone who provided feedback on the previous version. > > This patchset adds architecture support to Linux for C-SKY's 32-bit embedded > CPU cores and the patches are based on linux-4.18.4 > > There are two ABI versions with several CPU cores in this patchset: > ABIv1: ck610 (16-bit instruction, 32-bit data path, VIPT Cache ...) > ABIv2: ck807 ck810 ck860 (16/32-bit variable length instruction, PIPT Cache, > SMP ...) > My key question is about upstream toolchain support. The buildroot clone tells me $ git describe csky/master 2017.11-2111-ge9cc5a5 and $ git log --oneline origin/master..csky/master | wc 1180 7436 57104 with $ git remote -v csky https://gitlab.com/c-sky/buildroot.git origin git://git.buildroot.net/buildroot So it looks like there are more thasn a thousand patches on top of buildroot. Adding an architecture to buildroot should only take a single patch, or maybe a few, but not more than a thousand. This strongly suggests that a lot of changes are not upstream but only available in the buildroot clone. When are we going to see all those changes in upstream gcc, binutils, and qemu ? I don't really want to dig through more than a thousand patches in a buildroot clone to find out details about the status of upstream toolchain support. Thanks, Guenter