Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp569050imm; Thu, 6 Sep 2018 07:00:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYvYPcJRr+THD5RcxPHR/buLNp7lDgPaFWxT9Tuu78oa+eHFGWIHxoYrmS5sHpeQVkk5IvO X-Received: by 2002:a17:902:6806:: with SMTP id h6-v6mr2826089plk.304.1536242435617; Thu, 06 Sep 2018 07:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536242435; cv=none; d=google.com; s=arc-20160816; b=Mz/BXc66kpmwRNBlnFJrUPgbMEWoQsi5DmdLfe1qslghQTskG+CqI+vQjYeErTSMxR JZTWd6TryhVg4DxRRvQ+YpevBdoEXq/lMAq7F6ngjU5J0LBHaZRPQdmpaIBjsSXysvhm /D6gN1TPH8exiyHyi0e0boQ3tQRT1+4dyrbGguZ/7Van91HeiaKgddRB20qdXAdeuqrM Uzak+NwYb20UOu3R3w1t9nX3Hl7DP52ko0DIbx/K9+uLSLr21f64QOsce8jlO8JB0nmX uxNmSA8cWgrFeiyMW/r5iHoPRg0BNnW8cYlT9xcFTfGBf0z7nqzCFmHHlysmmg4Vnffj jMRQ== 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=SCmfoEHF6tpswy7RJzvTM57796B+XTWiu04ipvfdkWM=; b=JXMJXIzzoTVvmSHV1bM8xJj77xtblnftfDgVJx9RVrJ/Axsp9OQCgPNILwgRu7mIDR zu7UNxWP6+S3znWKd2YbhllbDnm+b3b2gtagkY2+J0C5zJtujOKKEdkPNbCFmmQ9InZT ha46Fw36fCKV/Bch0ya4AM3JHAb4SPN2ePIuD+xP+TESNiQDYZ0sGb1DnuogMlNgCopJ itfXRsp3vzMtu3J+oowxLpT92KWGwccuQDDSi7lV05JY7kWATgfcM4pGAsBejwmNgwmg EWMJrYVN587Pk90uQ3eMP+76fu3DMhjq+FgLycLQ5w0rvYUkc6ck5VM2qNUR9V4HHQP6 tyWA== 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 s3-v6si5400473plb.270.2018.09.06.07.00.19; Thu, 06 Sep 2018 07:00:35 -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 S1729959AbeIFSeu (ORCPT + 99 others); Thu, 6 Sep 2018 14:34:50 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:46102 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726949AbeIFSeu (ORCPT ); Thu, 6 Sep 2018 14:34:50 -0400 Received: by mail-qt0-f196.google.com with SMTP id d4-v6so12277581qtn.13; Thu, 06 Sep 2018 06:59:08 -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=SCmfoEHF6tpswy7RJzvTM57796B+XTWiu04ipvfdkWM=; b=QZFA7YModPMGnTRDnef3wKaVHpKXNVRQsCC+3CZrggVJWva6sG3LZvwE6zhGHszlVd fI1ntU1ptc37WSLRQ4rKbl4ww5d1VyZB8SQjS7yE9uMIZDp/P54OTwOS/vpvAV05xQDm bJ56P9zaG6oV6Y2SdRYDlHFS1JlVTBip1hKwHKjMcAodNFJkVNaC/z8atwqi+ekUDqMp wfa6vQ8ziIbIk1szv4eTY49+nUTCmn92KBYEigKrR8BNUGlpN1fpbWCVmXHWIbU8/jNR 0zmh7i4eGsSq2FeWt4nMzQR4r10qHziaClZJoQ4puPIqfi0oWgQje27hjgFkeC38rZmK joTQ== X-Gm-Message-State: APzg51Bl5RgZo3L1+QukLibQLK4uCB+KUQh1/tLwf6CWB0QClHvgNa9O tbGoIml5kd87oZZ4wSmSNiE5Wl0+O4i5GG3DodI= X-Received: by 2002:ac8:c9:: with SMTP id d9-v6mr2170117qtg.213.1536242348011; Thu, 06 Sep 2018 06:59:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Thu, 6 Sep 2018 15:58:51 +0200 Message-ID: Subject: Re: [PATCH V3 02/26] csky: defconfig 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 , wbx@uclibc-ng.org, Greentime Hu 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 5, 2018 at 2:08 PM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > arch/csky/configs/defconfig | 76 +++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 76 insertions(+) > create mode 100644 arch/csky/configs/defconfig > > diff --git a/arch/csky/configs/defconfig b/arch/csky/configs/defconfig > new file mode 100644 > index 0000000..c6a5a40 > --- /dev/null > +++ b/arch/csky/configs/defconfig > @@ -0,0 +1,76 @@ > +# CONFIG_LOCALVERSION_AUTO is not set > +CONFIG_DEFAULT_HOSTNAME="csky" > +# CONFIG_SWAP is not set > +CONFIG_SYSVIPC=y > +CONFIG_POSIX_MQUEUE=y > +CONFIG_USELIB=y CONFIG_USELIB seems misplaced here, very few architectures can even call that, and it's not in the asm-generic/unistd.h file. > +CONFIG_RELAY=y relay is selected by drivers that need it, you should not need to turn it on here. > +CONFIG_SYSCTL_SYSCALL=y Also not in the asm-generic syscall table. We should probably hide the CONFIG_USELIB and CONFIG_SYSCTL_SYSCALL options so they only appear on architectures that can use them (patches welcome). > +CONFIG_KALLSYMS_ALL=y While useful for debugging, this is also something I would not expect in the defconfig file > +CONFIG_USERFAULTFD=y Probably not needed either, unless you have a specific use case. > +CONFIG_EMBEDDED=y This (and CONFIG_EXPERT) is mostly there to expose options that are otherwise hidden for good reasons. Is there any option you tweak that depends on this? If not, then remove this as well. > +CONFIG_PROFILING=y This is only for oprofile, which new architectures should generally no longer implement. Better implement PERF only. > +CONFIG_BLK_DEV_INTEGRITY=y This is also fairly unusual. > +CONFIG_EXT2_FS=y > +CONFIG_EXT2_FS_XATTR=y > +CONFIG_EXT2_FS_POSIX_ACL=y > +CONFIG_EXT2_FS_SECURITY=y > +CONFIG_EXT3_FS=y > +CONFIG_EXT3_FS_POSIX_ACL=y > +CONFIG_EXT3_FS_SECURITY=y Better enable only EXT4 and drop EXT2/EXT3. > +CONFIG_UNUSED_SYMBOLS=y You should only need this to work around bugs, so I'd turn it off. Arnd