Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1647995imm; Thu, 18 Oct 2018 01:39:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV606m+Qb5wgCMVvb2FQc1jr/V1LvKc/Ua58ZjkIqFcCVgWQ9fVnhq5er9EtleAoiAOhb/4Ps X-Received: by 2002:aa7:8598:: with SMTP id w24-v6mr30283649pfn.77.1539851943024; Thu, 18 Oct 2018 01:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539851942; cv=none; d=google.com; s=arc-20160816; b=V/k2Z1LJKdT/0aJFW31T1y7Pg0XoljupR2b5WGgqvHI6d58nnQhPvEt4OLzrAu69dn VqqD26IK3Z0MJsBih1wXGGKJMJUZXzKxEg1XJ3PlytkVWH4FdOnNaXbAli5wrSgfHtBo 7kXlCTPBdZWkrfoX3GhYTd3dcbQVnrNLQRMY5wmW7RXxjI7O9BSF7ESOd8Y8fLEdi+VL QmCbgN+0EWN1vshlyMoi+b2+jCJtxs7lazjzOq8SxSMATbys8EY39m5nUWu2lYOcs3kR VejbRS7P3j3o3Z8GHkhYtYMO+ZoODZszBWP1wVsIXeHcw9dV11IKnA/Z5e+GlbMYKTCo ybZg== 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=TEp5QxBVO7sQiQ59x6yjReEpENZO73u6yBkTFnVrSdI=; b=C3U+4WPYcXULxsEYL/h6EnbKsqLcYIYYBkT1cAkzMjSZ9XFARgvFu/tZMf97z+kNq6 Mok9dGdrmOJuDNNhtO2CKWQoPXTrfrUsfhb6ZMIvYO9mtU9RojF/9jCqL8ql7oyugU+v yQ4KOdDVGfjHZTleceVd6m++aNppOOk0rnoT19Tj6aIhkeoAHcLnMmA63zGDhUS6iBwX CR3VaZV4kPqx9HQjV4hef1uPsXNwT4pz0ZK/kmxOwkWXqO3iTKzDqdj8blwKaMX/GvVD iQhlaXOBC1UZow9GECZZzLWJfk596i3RVboYf6PVkHcugaTxQ4lJo9kjoB5R2I4FbaB7 Fzbg== 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 y7-v6si20349693pgi.256.2018.10.18.01.38.47; Thu, 18 Oct 2018 01:39:02 -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 S1727719AbeJRQg6 (ORCPT + 99 others); Thu, 18 Oct 2018 12:36:58 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:43640 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726131AbeJRQg5 (ORCPT ); Thu, 18 Oct 2018 12:36:57 -0400 Received: by mail-qt1-f195.google.com with SMTP id q41-v6so33282201qtq.10; Thu, 18 Oct 2018 01:37:02 -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=TEp5QxBVO7sQiQ59x6yjReEpENZO73u6yBkTFnVrSdI=; b=Yqr6TrHru7qRylVBC3FLSEfzQZMi3kbepp5Vm4joeYP8OJE2x1DY4FbB2U3Z1spqlS L44v+TI0CEAzdv0Udq9zF6hZrUKc01QJ+7X7EWSMUm0lduSJr2eioLx2ew0CDGP7AgeR 7j9cXn03KeBHXmEkbWfLCJD7NnTkRzaBXO1rV2CeoKNN7DtkOGCKKpnCaHy9yF2oqt9T wSh9p6bIPNriru4ebTJy/42uhkDLtHZ7kawpOyrG2ctdYZ9H0c1zP9etUwQGHHMBiVwx 2M7WfbxNt7QHWwTH33XsiktpiLaJ2lwJyIKr2aV1uRJ9vBlccmT8OHtyWDENLZghP3kX hkWQ== X-Gm-Message-State: ABuFfoi/VLmsXAgq1IqS8O8NLGHbIT5zTGgx68cSCke6GY/cV3kPvcnh TnWNt7liMhykOcYh9PyIc5vYzLt+xQ7bsHktki0= X-Received: by 2002:aed:2aa1:: with SMTP id t30-v6mr27535463qtd.319.1539851822252; Thu, 18 Oct 2018 01:37:02 -0700 (PDT) MIME-Version: 1.0 References: <20181018041038.GB17276@guoren-Inspiron-7460> In-Reply-To: <20181018041038.GB17276@guoren-Inspiron-7460> From: Arnd Bergmann Date: Thu, 18 Oct 2018 10:36:45 +0200 Message-ID: Subject: Re: [PATCH V9 00/21] C-SKY(csky) Linux Kernel Port To: Guo Ren Cc: Andrew Morton , Daniel Lezcano , David Miller , gregkh , Christoph Hellwig , Marc Zyngier , Mark Rutland , Peter Zijlstra , Rob Herring , Thomas Gleixner , Linux Kernel Mailing List , linux-arch , DTML , Rob Herring , c-sky_gcc_upstream@c-sky.com 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 Thu, Oct 18, 2018 at 6:11 AM Guo Ren wrote: > > On Wed, Oct 17, 2018 at 05:58:46PM +0200, Arnd Bergmann wrote: > > On Tue, Oct 16, 2018 at 4:58 AM Guo Ren wrote: > > > > > > This is the 9th version patchset to add the Linux kernel port for > > > C-SKY(csky) based on linux-4.19-rc3. > > > > > > There are only a few changes between V8 patchset. Hope it could be > > > merged into linux-4.20 and I'm very grateful for any help. > > > > I've gone through the entire series once more and saw no show-stoppers. > > The last patch looked like it introduced a bug, but with that one dropped, > > I'm happy for the architecture to get merged, unless anyone else > > has any last-minute concerns. (Alternatively, explain why I'm wrong > > and the code works correctly, of course). > Ok and thx for the job of csky subsystem. > > > > > I'd appreciate having someone else take another look at the signal > > handling code, the atomics, and the DT bindings and provide another > > Ack for those. > > > > The remaining open question is about the 32-bit time_t interfaces. > > With 4.20, I did not manage to get the required system calls in place > > for using 64-bit time_t in a new architecture, so you will at least > > start out using 32-bit time_t and likely have to keep supporting > > that going forward, unless we decide to break the ABI here later > > on .This is something we normally don't do, but we might make > > an exception here, under the assumption that there are no > > existing users with the ABI. We can debate that once we get there. > We support uclibc-ng and glibc. > > 1. For uclibc-ng, linux-4.20 could run with it. > > 2. For glibc, Maybe we could support 32-bit + 64-bit time_t with > KERNEL_VERSION, or just only 64-bit then linux-4.20 couldn't work with > the csky first glibc release. Yes, it is always an option to make glibc more restrictive than the kernel. We could also just make it a configuration option in the kernel whether the system calls are provided, so they don't use memory for the implementation. You will probably want musl support at some point. musl-1.x always uses 32-bit time_t today, but musl-2.x will use the 64-bit interfaces, so just waiting a bit will probably make it work out for you. Arnd