Received: by 10.213.65.68 with SMTP id h4csp1381853imn; Mon, 26 Mar 2018 06:33:04 -0700 (PDT) X-Google-Smtp-Source: AG47ELtp+9FHmtkMtCb5yDnHuSpHlo8FeKsbNclidrn60++RREgn2mnSAVfNxWmXyy85spU5CLtY X-Received: by 10.99.125.78 with SMTP id m14mr28753742pgn.190.1522071184905; Mon, 26 Mar 2018 06:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522071184; cv=none; d=google.com; s=arc-20160816; b=0tmlV/tBWPU7n8V+yGnuQgNtYHoud8FGm+pAeXVjMq+DOPeZd0Rl65yArOK5s2qDY0 U2cZ9SSlS/bA86XrToQMyrHJheLoElIz53Q7/Hh/noq9FE7ZKB51qfs+QU3swWspdIT2 0XLkYD059eNN5eRMTLuWdxHgDBY9z4dQgoG+vEvbGerxlG9BS0QD6I9vQok0Mg+dEM2l 6fyHZjwUc/EJqbQvfqG/HI5DnsueLo8relPUIdkxWu9bxY6/I08ZCc/yPasjj0GoNa+S yq+I265g6loei0tBcZgan6lvcUOYD8s3JYkmwLHdeLLm4NMUPN9qcSjDOspkw/rA4cqa kk+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=jBCqyHj9iVhlgRHXTfzRNBhyYZdnh4B7nLbISdS8azc=; b=NSCb4J+RGQ47AV2YFhkJgSphmt9S/asxDJWsRLvqaN1kLRNDtBcw16JgLwK5Wa2v/Z 7ay9kadJqiOVoEh8L4vMV5PNyTyTq1epd7tvlDFkCPWnNNpJy1IYmuMxuB7H7TwTOotZ CrEwLq+d3ps/kNjLbbKtp8IPJE3oK9As5ny/CNJsfmANJvULQIhFibczdVcjUDu5xAmG +7CtKKrQZUrMAXsiLIyn23FAgF3x7T+xJiOGSDaKf9eOLXPWt5WPyBh6xUN2errsOZ2x aY08RfFjn5pciUGbKkoJES8aF1J2DQ1+UUb9kMBf8j1a61tbl0ZyBtSk2dEreKqj7UDt tBsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UEg0ppSU; 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 j3-v6si13643041pld.137.2018.03.26.06.32.50; Mon, 26 Mar 2018 06:33:04 -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=UEg0ppSU; 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 S1751868AbeCZNah (ORCPT + 99 others); Mon, 26 Mar 2018 09:30:37 -0400 Received: from mail-qk0-f170.google.com ([209.85.220.170]:44346 "EHLO mail-qk0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751109AbeCZNag (ORCPT ); Mon, 26 Mar 2018 09:30:36 -0400 Received: by mail-qk0-f170.google.com with SMTP id o5so1644754qki.11; Mon, 26 Mar 2018 06:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=jBCqyHj9iVhlgRHXTfzRNBhyYZdnh4B7nLbISdS8azc=; b=UEg0ppSULvLGPAsrtVDkQfouXEfJWMQHyDTMt7qVwHF7Nu83g60yuN3QbZSEOM//th P2kwg10us5xYMA01dXE/M02OIQLGC8bvrJySAghm9dYY3yoNHAwXhorKSkVDgPLhbFMa 47kcQRmXHtexH8hGyjDLuul4okBmp4QxcPk8CcNXmRJH6RJue+VCC5egxpVMhh2A7nOo D32VzgWscNVp6ZWmSISwr5Bn3ZtoxO8PI4gM5WWz0BztMI8GY5bw+s+Vx0gmIsi5itj9 pT4bJdOuu4wQYeSC/xNmAULeW1JCseE6s/pN83vgP2XwOj24q44w2+ySFArKs/rAbXPR KvtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=jBCqyHj9iVhlgRHXTfzRNBhyYZdnh4B7nLbISdS8azc=; b=o9/YwPx3Nw3Dkz5EqsUNHRUM3U5AYueWOAToROp3WM6HpYIvX66LGpfH1kglVwUNQC 2D86YxkrmhwsI92/cT+adaC6KPoSpS0PUKkjxHgrOghZHu1nGHZtYUEduJKLg31RJ6nX wzcSfJyRpfQCj/Vfzh2PmSpKS9D5juwg/x2g5XVXeNkfVGJ3XOrb6G0jAX4ToEU7Ex5/ v7MB0vDKAu6yQw30PzgHo3sibGnuQtXoDpSjaz3Ggh9CJq89HPi4Fxa2CXz4gpJECHiU OoUnmhpWasjwujYYdlWgXIVLRRlGx63GGvEdv/4tzHxAkOw+j+YYXymkT1SY4p8y2+4Z C3iA== X-Gm-Message-State: AElRT7FlWz+N73OfEIo+ybpJQDAydt4EeQgDd/z1wJIzCm+aDg8uHVC9 BDiCzwPeX412pdMUChvtHkX7m9bDNhHuS0xJDSg= X-Received: by 10.55.195.148 with SMTP id r20mr55184216qkl.173.1522071035200; Mon, 26 Mar 2018 06:30:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.25 with HTTP; Mon, 26 Mar 2018 06:30:34 -0700 (PDT) In-Reply-To: References: From: Arnd Bergmann Date: Mon, 26 Mar 2018 15:30:34 +0200 X-Google-Sender-Auth: 7auwH5d5khGqB23Ssh3zXSXCn64 Message-ID: Subject: Re: [PATCH 00/19] C-SKY(csky) Linux Kernel Port To: Guo Ren Cc: linux-arch , Linux Kernel Mailing List , Thomas Gleixner , Daniel Lezcano , Jason Cooper , c-sky_gcc_upstream@c-sky.com, gnu-csky@mentor.com, thomas.petazzoni@bootlin.com, wbx@uclibc-ng.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 18, 2018 at 8:51 PM, Guo Ren wrote: > This patchset adds architecture support to Linux for C-SKY's 32-bit embedded > CPU cores and the patches are based on linux-4.16-rc5. > > 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 (16/32-bit variable length instruction, PIPT Cache ...) > > More information: http://en.c-sky.com > > I'm from Hangzhou,China C-SKY Microsystems and responsible for C-SKY Linux > port. My development repo is github.com/c-sky/csky-linux and use buildroot > as our CI-test enviornment. "LTP, Lmbench, uclibc-ng-test ..." will be tested > for every commit. See here for more details: > https://gitlab.com/c-sky/buildroot/pipelines > > You can try C-SKY linux in a few steps: > $ git clone https://github.com/c-sky/buildroot.git > $ cd buildroot > $ make qemu_csky_ck807_uclibc_bt_defconfig > $ make > It will download "linux uclibc-ng gcc binutils qemu busybox" source code and build > them into one image. How to run, See: > https://github.com/c-sky/buildroot/blob/master/board/qemu/csky/readme.txt > > I've finished uClibc-ng.org upstream and "gcc glibc binutils qemu ..." upstream is > on going and the source code is here: > https://github.com/c-sky > > It's my first patchset to linux and any feedback is welcome :) Thanks for your submission. I had started reviewing it over a week ago, but never completed since I was travelling in the meantime. I've completed my first pass now and will wait for a new version before I take a more detailed look. Overall, it looks nice, but changing the rest of the system call interface will take a while, this includes several points I've mentioned already, but to clarify, every file in arch/csky/include/uapi/asm/ needs to be carefully reviewed to contain only the minimum required additions to the asm-generic version. Changing the ABI will obviously get in the way of testing, but this should be over as soon as the port is merged. Another interesting question is the status of your toolchain support. I see your github account contains binutils and gcc repositories, but they are not upstream yet. Are you working on getting those included in the respective upstream projects already? Arnd