From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0145.outbound.protection.outlook.com [207.46.163.145]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 33F4B1A0019 for ; Wed, 20 Aug 2014 08:31:00 +1000 (EST) Message-ID: <1408487444.4058.40.camel@snotra.buserror.net> Subject: Re: [PATCH] powerpc: Make 256k pages depend on PPC32=n From: Scott Wood To: Pranith Kumar Date: Tue, 19 Aug 2014 17:30:44 -0500 In-Reply-To: References: <1408484166-20711-1-git-send-email-bobby.prani@gmail.com> <1408486751.4058.37.camel@snotra.buserror.net> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Cc: Paul Mackerras , "open list:LINUX FOR POWERPC..." , open list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2014-08-19 at 18:23 -0400, Pranith Kumar wrote: > On Tue, Aug 19, 2014 at 6:19 PM, Scott Wood wrote: > > >> config PPC_256K_PAGES > >> bool "256k page size" if 44x > >> - depends on !STDBINUTILS > >> + depends on !PPC32 && !STDBINUTILS > >> help > >> Make the page size 256k. > >> > > > > How will this ever be selected then? 44x is 32-bit only. > > Indeed. I am actually confused about the error which is being thrown > here. The operand (65536) is actually within the range. Any suggestions > on how to fix this? It's not within range of "li". I wonder if whatever non-"STD" binutils this is supposed to be used with is rewriting it into an lis instruction. This sort of external dependency is a poor fit for the randconfig concept (plus, shouldn't the symbol be indicating what binutils you're supposed to have rather than anything that isn't "standard"?). In any case, you could use something like LOAD_REG_IMMEDIATE(). -Scott