Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1167694ima; Wed, 24 Oct 2018 15:54:32 -0700 (PDT) X-Google-Smtp-Source: AJdET5e+0RvDgq3W4sfssMSycNz2XUOXubmavjEbAB64OWCkd3V73ec9nSHXnQNDqU2oUMPrko5v X-Received: by 2002:a17:902:7e03:: with SMTP id b3-v6mr4170135plm.246.1540421672380; Wed, 24 Oct 2018 15:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540421672; cv=none; d=google.com; s=arc-20160816; b=HlZ9n2oLNTP8zd1g3CDM5EXs+0Hwib0SUCUQOkDbN/w7gPOar5YgFWrrzGSO9keao0 J+RZu00fPhPqWoXsKvagw78eTdqzdgJT6Awjdy2OXWnSMWeUCLpZVKMzv141XyNuNU4n AyhtZgUcbK11DeAhdR4ZmQsp7fHPaREXML5+q9gTpp2LnzKu8clNGz72loGhd3EhDBBt vy2Q+3YM+zU6JLUSsxIVCwSsJAFIHsDLAcfmPQw1iD5Of7EHvfFGfGmo8ixL2XTZPJvx UNfw2sDx0a1TC+kTdw5wnmx3QqdTJHeQv++puAm7fm9vGA/V4SFcyhr+TYe4KjNfz8x1 BwCg== 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=+U50XVBot4H7FGuOkQDmHUygidnKMymT4Rk77k+9HhE=; b=RTj0+imUdMxeeiwp6sUlhuwI4oVeBHYRm1TB9wpf+Fyj/Q+yuKqjInvKl5DDMF1Wlg mh0/tDuX7uf/9DJ6mywiL1t/TN/m3ypGcc/FiCAah4maAPJgBK6SqLxbsqfAhSoFWy66 vswjAGlWrMSFHvdJIUmUcmWVQwbrLuSceIm/ZXdyEhN0SLfmdYSvXsNAM5ZKBwVZ3G0/ 03jFC1WtlMCuF+CbbSrqNfr2OIY+pXUlzV3+YAry+Ff/u+cfH9Arq/UkuFniMXYeMWoU 9wiNvoCjXrcdstR+pxGuopEM2ih2kFXz7PUvMEq7H6aUsk7o9ZG9C3zgCylUzH6poUUJ L7LQ== 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 f59-v6si6100764plf.409.2018.10.24.15.54.17; Wed, 24 Oct 2018 15:54:32 -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 S1726850AbeJYHXX (ORCPT + 99 others); Thu, 25 Oct 2018 03:23:23 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:35279 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbeJYHXW (ORCPT ); Thu, 25 Oct 2018 03:23:22 -0400 Received: by mail-qk1-f196.google.com with SMTP id v68-v6so4530683qka.2; Wed, 24 Oct 2018 15:53:24 -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=+U50XVBot4H7FGuOkQDmHUygidnKMymT4Rk77k+9HhE=; b=RIPXXYTGXnhx0Vwx/Ac12JfcxKg5AinEl+R4pOYH7wREp1VSBs34VnJozxlfhOy6zu b+tF5GX2acSw2mN+RMs2lflfPpIaUAuMnIDnKiESdreJAYQ7t4w2WWmQUZVaWVjR7ypk pksemh2BHpVfTjPstkJWWIMrODQLRVUGCtKaL/T6ASespOCg51z7GwzMm+HEWqz588yy 7gFOYFTQshrXTzlJB55r+HPA3J88TencMEJK1wkpldJIrj+7nFEdRqC7zswyvC9H97Qy oqSYyQA12BCIh7fWKkzxmHUwNnp4TvMdxPNLiSMr/3elvyUz2m8uBL60S9+ygKdHwM/V GWEw== X-Gm-Message-State: AGRZ1gL1r8lYX+Jird/k8xlP4N5tZ5UYRgSiDx9JqZ1H6bXGg8NZWlpQ ZsnQM3KEF0YVXBGrFh6ssKxeTn+MwnQUaxHZ7OrnyZPW X-Received: by 2002:a37:9886:: with SMTP id a128-v6mr4041112qke.343.1540421603509; Wed, 24 Oct 2018 15:53:23 -0700 (PDT) MIME-Version: 1.0 References: <801add6d63256a3bf0802e2b03efb0f9c206dab0.1539655731.git.ren_guo@c-sky.com> <20181023000834.GA20335@guoren-Inspiron-7460> In-Reply-To: <20181023000834.GA20335@guoren-Inspiron-7460> From: Arnd Bergmann Date: Wed, 24 Oct 2018 23:53:05 +0100 Message-ID: Subject: Re: [PATCH V9 01/21] csky: Build infrastructure To: Guo Ren Cc: Linux Kernel Mailing List , linux-arch 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 Tue, Oct 23, 2018 at 1:08 AM Guo Ren wrote: > > Hi Arnd, > > Could you help me review the patch, seems the patch is skipped. > ref: https://lkml.org/lkml/2018/10/16/224 Ah right, I missed that. I think I originally had some thoughts on it but didn't immediately comment and then forgot about it. It's basically ok, so Acked-by: Arnd Bergmann but please have a look below for a follow-up patch: > > diff --git a/arch/csky/include/asm/Kbuild b/arch/csky/include/asm/Kbuild > > new file mode 100644 > > index 0000000..014eb57 > > --- /dev/null > > +++ b/arch/csky/include/asm/Kbuild > > @@ -0,0 +1,72 @@ > > +generic-y += asm-offsets.h > > +generic-y += bitsperlong.h > > +generic-y += bugs.h > > +generic-y += clkdev.h > > +generic-y += compat.h > > +generic-y += current.h > > +generic-y += delay.h > > +generic-y += device.h > > +generic-y += div64.h ... > > +generic-y += errno.h ... > > +generic-y += ioctl.h > > +generic-y += ioctls.h A number of the header files that are marked as generic-y in asm/Kbuild are also marked the same way in uapi/asm/Kbuild. I think this is a mistake, since we only need one of the two for each header. When both exist, we just take the one from asm/, but then we install the uapi/asm/ version in the 'make headers_install' stage, and they both have the same contents, so I think you only need the uapi/asm/ version here. > > diff --git a/arch/csky/include/uapi/asm/Kbuild b/arch/csky/include/uapi/asm/Kbuild > > new file mode 100644 > > index 0000000..b65252b > > --- /dev/null > > +++ b/arch/csky/include/uapi/asm/Kbuild > > @@ -0,0 +1,33 @@ > > +include include/uapi/asm-generic/Kbuild.asm > > + > > +header-y += cachectl.h > > +header-y += stat.h It also seems that the second statement here (for stat.h) is from an older version, since that header no longer exists, at least if I'm reading your patches correctly. Arnd