Received: by 10.192.165.156 with SMTP id m28csp1035358imm; Thu, 19 Apr 2018 11:40:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx49F398y2jY29W9pINEpCCaOMbMTilvoiPV16RizGfFDzx6lF4gzzgOybNUPkL3by+df8KVd X-Received: by 10.99.126.71 with SMTP id o7mr5928409pgn.366.1524163225469; Thu, 19 Apr 2018 11:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524163225; cv=none; d=google.com; s=arc-20160816; b=eY3ARBaJP55v1Juz3smHXrW/MUEE6TSY6lFe+yjASuTU5K/JyAdQbquswTO5wFd7al tJ+lZQfO+IWLPZ57njm570qtCsZ7EfiFDZjHh0W+ZuAXIY8ZDFnoNQIGz39ra/6DBJCT OuMPCRkoPPH1r0y8nKdq11vIrPchoFYzdznnG8beT/Hugzma7J+0o32RojNjgvYhwopz w10eriZvDACGVb7DTaCj1p+FKGZVWy2st7WQhX2IHTDIxDSp5YfcFKJ0W4Dp1t1hJdJu Rt+CpMl2tyYaf2RsttfYp3txXWBGSN2tfB0pHR9cTrZu2JTGp4QProDK5JNWLtoGdg2B +TAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=umW+rr7iE3asp+2EtvYVvEEd729wfTdnaWHM+8iVx/Q=; b=K99rc8Lc6UjmXVVe50s8AsRcUW5IHZKLpO5rX+JspvFwWYF4UD52ECYHVdv4FbkEzC Ah80noWk8li6phZF2l3DQvrUNJiLhC6071rfzSwSWAyWyrlK8jym7JvABt6QXxoCM7Lh l0EWb+9YyebGHVYPVxSR1q/wAOHsaPGuxPjX2yhQR9CyqAC9ZUEoZcGsYpJXPtxyVqaL gZAnHvsNrW2X2MdnD4wv94B9zZyYbef1j1frq42jkMyFr3IZViaQ4gwZCh41l1ig2l9x +woWWeyYsOQ0YZZdMygg+rGt8mktjRtegls0NlHXwyfNzrfpuOiNkcHGTxf421/QnRvd KCVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=jeHZQD7G; 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 t16si3839065pfj.10.2018.04.19.11.40.10; Thu, 19 Apr 2018 11:40:25 -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=@roeck-us.net header.s=default header.b=jeHZQD7G; 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 S1753299AbeDSSio (ORCPT + 99 others); Thu, 19 Apr 2018 14:38:44 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:57313 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751092AbeDSSin (ORCPT ); Thu, 19 Apr 2018 14:38:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=umW+rr7iE3asp+2EtvYVvEEd729wfTdnaWHM+8iVx/Q=; b=jeHZQD7GklhV6wZYkH+dBKCyEX dGUaKj0sxrpT7W2SUlfsuGusV2BOoHNt9hXUqQ1Qnk9DjtSRWI7krX/kA7492yehhD5J01v8QU8nX QS2OyQ/aOM2iPsMgQGFGVuQfS360lDcUkp3mmhdKGpdof5/+WaYUL4uiiEayIEL4/ICQcW+RZLOxM suS9asygB9LcXC5mo04atCZx+ekcK1ByALgjE24HZyENa/hrONcja3pSVyDQ0ezWsHQMTVulUJcI4 rePLYMss95WLH2BjppDi4XE9M7CiarHqvVa0HfI6SkoQmrEXbEztWobjF4TeU7e2JYQmdvSCMXNSu UXAcdzkw==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:58282 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.89) (envelope-from ) id 1f9ES9-0035Z8-3P; Thu, 19 Apr 2018 18:38:41 +0000 Date: Thu, 19 Apr 2018 11:38:40 -0700 From: Guenter Roeck To: Greentime Hu Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, greentime@andestech.com, private@roeck-us.net Subject: Re: [9/9] nds32: Fix the allmodconfig build. To make sure CONFIG_CPU_LITTLE_ENDIAN is default y Message-ID: <20180419183840.GA500@roeck-us.net> References: <21ef6561299cdbbe0f3571c5048a2eaf5eb43bc7.1524143428.git.greentime@andestech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21ef6561299cdbbe0f3571c5048a2eaf5eb43bc7.1524143428.git.greentime@andestech.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2018 at 09:18:15PM +0800, Greentime Hu wrote: > This way we can build kernel with CONFIG_CPU_LITTLE_ENDIAN=y and allmodconfig > will be available. > > Signed-off-by: Greentime Hu As Arnd suspected, this causes allnoconfig to fail. The failure is due to endianness mismatches in vdso code. Not sure if that is really an improvement. Guenter > --- > arch/nds32/Kconfig.cpu | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/nds32/Kconfig.cpu b/arch/nds32/Kconfig.cpu > index ba44cc539da9..b8c8984d1456 100644 > --- a/arch/nds32/Kconfig.cpu > +++ b/arch/nds32/Kconfig.cpu > @@ -1,10 +1,11 @@ > comment "Processor Features" > > config CPU_BIG_ENDIAN > - bool "Big endian" > + def_bool !CPU_LITTLE_ENDIAN > > config CPU_LITTLE_ENDIAN > - def_bool !CPU_BIG_ENDIAN > + bool "Little endian" > + default y > > config HWZOL > bool "hardware zero overhead loop support"