Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1442693imm; Thu, 6 Sep 2018 23:45:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYT1wP5D05tvyMHBPcbC4B4y9grEEf/BV2Nhto0Vsoz2IsIM1nmOZEEJqpndH5yNZU+Um1P X-Received: by 2002:a17:902:be08:: with SMTP id r8-v6mr6511267pls.265.1536302722227; Thu, 06 Sep 2018 23:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536302722; cv=none; d=google.com; s=arc-20160816; b=u8ZaWGFH7HnvaE2kKbocPHnZHVz+5T4ducCw6IR3b4TpMWWl9CEJ5SS+4hFoxefww5 YCbSYFICbLgXpCtzBEcPREonCgeZ4MoKpoMgGfiBUg7wu7KCWld2YWdK96A4q6OcKuUg 0V60HrjjIOLQ3m6l7OcPefMMeaJjjyBQQ4YAOrlL+TjTd4wkghVeEwivSLY4C0vuP5qd DpFx30/awDVhvSEuFWe6p0Mh9K9MnmfU2rR7yUGcxcdp9anZSjc9HoFSR2pR9PB0VEnv n4np3WPRxavhaWzVDVCAPALWqidxqIQza5+/Je/WrGRBvid/z2Y94N93SIfr3sGMFr+k fQSA== 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; bh=TtcI8fNtDFbrMs1IIM+oJ43Tyw0OPGqKd7mueYov0gY=; b=kVQht5RiV13GGFbZRsF/wozOMLraP/0dk64iITtkrYOeI1kXJKpAzD7mRNMBLxqFEG ylWXJae2nYcnxKPrOgWEzs30xBLXnZZ06w1COFE6YsAn1jomZkcqpfONl4xFy7tuQz/P zkM7ait3NVmnuxUWvES4YdAYI36QnWEMIC4R4/0KkOLSwm97aK4ALgGV1040lEDgs+AD kgERRUiaIma5EZDoXWqvogkIo4iNdjGKXoq3f44X3qqswv24JAzZqCPV7pgHx4kpRBrc u8DfzqR/lG2jizuvIqKat6JyTcts6K/K5fF/izf0KBnJAhYaZHokKTK1H5SlSH8QOGR8 uYMQ== ARC-Authentication-Results: i=1; mx.google.com; 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 z5-v6si6281956pgf.488.2018.09.06.23.45.07; Thu, 06 Sep 2018 23:45:22 -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; 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 S1727749AbeIGLUu (ORCPT + 99 others); Fri, 7 Sep 2018 07:20:50 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:55271 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbeIGLUs (ORCPT ); Fri, 7 Sep 2018 07:20:48 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07489126|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03295;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=12;RT=12;SR=0;TI=SMTPD_---.CnasMR7_1536302452; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CnasMR7_1536302452) by smtp.aliyun-inc.com(10.147.42.253); Fri, 07 Sep 2018 14:40:52 +0800 Date: Fri, 7 Sep 2018 14:40:52 +0800 From: Guo Ren To: Guenter Roeck 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: <20180907064050.GC16834@guoren> References: <20180907020818.GA9110@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180907020818.GA9110@roeck-us.net> 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, Sep 06, 2018 at 07:08:18PM -0700, Guenter Roeck wrote: > 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. csky https://gitlab.com/c-sky/buildroot.git is our CI environment based on buildroot and it's so miscellaneous. We won't upstream it directly and we'll prepare another patch set for buildroot.org update after kernel, glibc upstreamed. > 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. Ok, you want to use upstream gcc, binutils to build the kernel. I'll give the tips in next version patch. Best Regards Guo Ren