Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5543974imm; Wed, 12 Sep 2018 07:32:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaCeyVg5oIoGg0YhfdVIdYfr3Cx9nEwaoSNzslUnnuzCi5EidMVy5aVpo6HxmAPinZlD5CA X-Received: by 2002:a63:5a4e:: with SMTP id k14-v6mr2684197pgm.297.1536762774458; Wed, 12 Sep 2018 07:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536762774; cv=none; d=google.com; s=arc-20160816; b=I5E9Zku+VTrZcJrYTkUkAUTuvS7EeFVD+IyQZObIc6oNWS5zMQ4Y3HMLQLE7dhjK7h 8puS2yP+tkgb5WT2RrsrkGM04mM7v9whudhuSDCjM7nL8UZm7ZQXVvnCA9tYwBEivg5N TDfckozaS7WI6FMPBf6tHAH+cY7MR7FSfuleCy3f15armFGnbaWcnYbSurDApcHRGOQ7 xZXHEiQLfGR8edD+sJdAIoI75YcWBGBRZZuXmyFs4UpHn5DK2NoqGU2qnV4RqNp4/3td 7URanjo+Fu5dUiVZ4Pi/XrRaKSq8VkA9b/csQylJ8BsZ6t/2QNyrp+OuvuagxRiYGlWj 8nnw== 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 :in-reply-to:references:mime-version; bh=T/+dPIEt74HcBlx2GEDXTl7JxUicngKHm966JcGSLaY=; b=KWvxOPIcUScNxHGNOHBUaaw82Y0jFlFLeHT7W4/JrWzAJEt/nA0t8I03WqXO5HtsKk G+EPpMlBwEJ6LsEQXBVdvxx4nkcBV9b6kem2g3x28wBP41hZOLrwTQQeILLkbdxvEcc0 jiWZRXK/Va4zVO2In+W2sK/oJsvh8q11nTjG4fgwGg2sgqs0vIt6m+3A4eTprVr7HoN6 BzuWApnXDRhiB2zX7fRKeX71gNBJgRGzDl352IDapSRQrxFcPly/uhbbqeZ2id3lmwSW GMK0yF2hlwlkNZ6sqY+ywrr+K4EkVcMp0ow7OC5j9QStrVtfVIDYprsP2WPqkmma1o1W hAgg== 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 n10-v6si1321499pgf.415.2018.09.12.07.32.28; Wed, 12 Sep 2018 07:32:54 -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 S1727786AbeILTfk (ORCPT + 99 others); Wed, 12 Sep 2018 15:35:40 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:39113 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbeILTfk (ORCPT ); Wed, 12 Sep 2018 15:35:40 -0400 Received: by mail-qt0-f196.google.com with SMTP id o15-v6so2035082qtk.6; Wed, 12 Sep 2018 07:30:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T/+dPIEt74HcBlx2GEDXTl7JxUicngKHm966JcGSLaY=; b=EPOHc0vLFh6wJ0mKc92CMNap2w9uXGgmcz6Xmx9p7JYxW2uunAtIeq60xXzZE0LATE xHtsBmHq2xysNM+JXkHPutv9mkQ9mKUy9ldW2F1p0gu+9991zTvZv59Jw496sabsaJgz 89lg8kTLgJXzuFFbQteJF+ufxNe6c7tLVAKXVa93PBhi92d6CsNTOuyRJElXGrMiooYb c3p6ytQnM3osNQzZzWkV8U5dycTBcvzhg+ZTgivioTL1BL094MvBadk8USQQQD2Ux2AM YQBBwB/IBbFvZseanypjvV/eWLpOqgCDfvaECteFd349pnUTpI0srBriHqkd+ermfl6Z /wjg== X-Gm-Message-State: APzg51AL7D5C0+fgtY3n5bIxZhkxRwCeYZfKZj6Sem7iQLZVv27oelMX 8C1Lv3zuMJRgRAQmDvsKBiIWtwA5h2cDuemo694= X-Received: by 2002:a0c:fb08:: with SMTP id c8-v6mr1637313qvp.149.1536762653356; Wed, 12 Sep 2018 07:30:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Wed, 12 Sep 2018 16:30:36 +0200 Message-ID: Subject: Re: [PATCH V4 00/27] C-SKY(csky) Linux Kernel Port To: Guo Ren Cc: 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 , Stephen Rothwell 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 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