Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2571737imm; Sat, 15 Sep 2018 21:54:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZT/ZiCiD1XIDm/P6wnijUJcTay22RzIyM8seCe1AaMkFLhNeuFjEsQCHH2xjoiQ6lE5ZAe X-Received: by 2002:a63:4044:: with SMTP id n65-v6mr17772139pga.90.1537073679564; Sat, 15 Sep 2018 21:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537073679; cv=none; d=google.com; s=arc-20160816; b=VJCWzb2lFFY+Cscd13mRaCh9YMdi5rebZKdLhFobhUVR/TcVyMdd8lpY8+spOC3g0Z ZXy8X9zYV0Fn5KrM2HD2woTVUwWgWZdasghGYEh3B2dtRV2dktqW2G7gqe6d3/9aeFKe jf26ffGmQKTzks32nHwtNeq8+M+8Cy0D4rZtpVTKhrDNWwnMUAZMm2y/Z9INF+is7F9Q 8vuAk2LiDlokiOEcy/N0qb27737c3sdIU5n0fHuV31hRC/gi6Zdq9/KERfzhw0BNQB1/ dVqtjcWs/Mw7Y4ACgS1C9L7K1rP6sKuorJ+njvsH62bvEYgwfU9R+EKfcjRYPX9NoRF6 G+Wg== 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:references:cc:to:subject:from; bh=pKn07a0gR9zZ3/+u2RVpzFfJwjnErH9pLecSvIytk0k=; b=VIcm8zthHr5yQ5ox8rDJJgYgdynHfOTc1gBtIC7Jx3/2uwKutMtI8xYMzoiSzcYE4R Sr28j4uLovIqtLS1ADU6atQHR7sjBq/TE0PgOM+SsyF9ATshZmd1W5G7nxNNhWHK5Nri lIZ2bYmswgE6csR3CEEiXN1GRCX6cFZlv+/oFejpSsQkd4DPlnnJazX9/HnL21Og/R+V S6rvFN2Kng8GMHAhLU90khetlvt7HVaZdzIK8xpupwE5UvjMwEoVwyFh2VGLgrsz8XE1 w4se5UcBgUXA9dacgwkD+BlJ1Yiei8AV0VrBmv8Z9SdwCKkGokrGTAFoOXgvaw9iejX7 BMkA== 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 n1-v6si12303919pfe.66.2018.09.15.21.54.10; Sat, 15 Sep 2018 21:54:39 -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 S1726995AbeIPKPn (ORCPT + 99 others); Sun, 16 Sep 2018 06:15:43 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:46170 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbeIPKPn (ORCPT ); Sun, 16 Sep 2018 06:15:43 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07462683|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03271;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=15;RT=15;SR=0;TI=SMTPD_---.CrPd0Gu_1537073606; Received: from 10.0.0.45(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.CrPd0Gu_1537073606) by smtp.aliyun-inc.com(10.147.41.231); Sun, 16 Sep 2018 12:53:27 +0800 From: Guo Ren Subject: Re: [PATCH V4 00/27] C-SKY(csky) Linux Kernel Port To: Stephen Rothwell Cc: Arnd Bergmann , linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , DTML , andrea.parri@amarulasolutions.com, Peter Zijlstra , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, Thomas Petazzoni , wbx@uclibc-ng.org, Greentime Hu References: Message-ID: Date: Sun, 16 Sep 2018 12:53:26 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Stephen, I'm Guo Ren from C-SKY and I'm working on csky linux port upstream. I've prepared my git-tree based on linux-4.19-rc3: git clone -b linux-next https://github.com/c-sky/csky-linux.git Here is the pre-built cross compiler for fast test from our CI: https://gitlab.com/c-sky/buildroot/-/jobs/97941896/artifacts/file/output/images/csky_toolchain_csky_ck860_platform_defconfig_72371bf75a51f27ea59fc34eeaf236e06b75bf69.tar.xz You can also build newest gcc, binutils and they are upstreamed but not released on gnu.org. Glibc is uptreaming now. Please have a look and any feed back is welcome. Best Regards Guo Ren On Wed, Sep 12, 2018 at 04:30:36PM +0200, Arnd Bergmann wrote: > On Wed, Sep 12, 2018 at 3:25 PM 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 ...) > > > > More information: http://en.c-sky.com > > This looks good to me overall. I think a good next step would be to get the port > included in linux-next, by preparing a git tree with all the patches and asking > Stephen Rothwell to include it there. Further comments on the architecture > port itself can be done on top of the existing patches. I would suggest you > base the git tree on an -rc release (either 4.19-rc1 or 4.19-rc3) and then never > rebase again. > > You have included a couple of drivers in the submission: two timer and > two irqchip drivers. Please leave those out for the moment, and either have > them merged through the respective subsystem trees, or get an Ack > from the maintainers to merge them through your tree. > > I notice that a lot of the patches have no changeset comments on them. > You should fix that and make a habit of describing every single patch > with a few sentences, even if it seems obvious to you. Have a look at > the changeset descriptions for the nds32 and riscv architectures when > they got merged. > > One big question for me is what to do about time_t. Deepa and I are > in the process of finalizing the system call ABI for 32-bit architectures > with 64-bit time_t, but we are not done yet and it won't be complete > for 4.20. If you target 4.21, that could be a chance to make csky the > first architecture to only need the 64-bit time_t interface, with the > corresponding user space changes. > > Arnd