linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org>
To: Michael Ellerman <michael@ellerman.id.au>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	Paul Mackerras <paulus@samba.org>,
	linux-next@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>,
	linuxppc-dev@ozlabs.org
Subject: Re: linux-next: kbuild tree build failure
Date: Tue, 8 Jul 2008 04:55:49 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0807080437550.6791@localhost.localdomain> (raw)
In-Reply-To: <1215473798.8138.4.camel@localhost>

Hi,

On Tue, 8 Jul 2008, Michael Ellerman wrote:

> I don't really see why it "doesn't make sense" for users to input 64-bit
> values, they're configuring addresses for a 64-bit kernel, so some of
> the values are going to be 64 bit.

Do you really expect users to insert random 64bit addresses without making 
a mistake?
Please make a realistic case, where the user input of a full 64bit value 
is required (i.e. where it's not easier to just offer the user a few 
choices).
Currently there is simply no need for this, as even powerpc only used them 
as constants here.

> > Index: linux-2.6/arch/powerpc/Kconfig
> > ===================================================================
> > --- linux-2.6.orig/arch/powerpc/Kconfig
> > +++ linux-2.6/arch/powerpc/Kconfig
> > @@ -714,8 +714,8 @@ config PHYSICAL_START_BOOL
> >  
> >  config PHYSICAL_START
> >  	hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
> > -	default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
> > -	default "0x00000000"
> > +	default "0x2000000" if PPC_STD_MMU && CRASH_DUMP
> > +	default "0"
> >  
> >  config PHYSICAL_ALIGN
> >  	hex
> > @@ -763,7 +763,7 @@ config CONSISTENT_SIZE_BOOL
> >  
> >  config CONSISTENT_SIZE
> >  	hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
> > -	default "0x00200000" if NOT_COHERENT_CACHE
> > +	default "0x200000" if NOT_COHERENT_CACHE
> >  
> >  config PIN_TLB
> >  	bool "Pinned Kernel TLBs (860 ONLY)"
> > @@ -773,15 +773,11 @@ endmenu
> >  if PPC64
> >  config PAGE_OFFSET
> >  	hex
> > -	default "0xc000000000000000"
> > -config KERNEL_START
> > -	hex
> > -	default "0xc000000002000000" if CRASH_DUMP
> > -	default "0xc000000000000000"
> > +	default "0xc0000000"
> 
> I don't see where you cope with the "if CRASH_DUMP" case, and in fact my
> config changes for the worse when I apply your patch and regenerate my
> config:
> 
> --- .config.orig	2008-07-08 09:30:00.000000000 +1000
> +++ .config	2008-07-08 09:30:43.000000000 +1000
> @@ -370,9 +370,8 @@
>  CONFIG_HOTPLUG_PCI_RPA=m
>  CONFIG_HOTPLUG_PCI_RPA_DLPAR=m
>  # CONFIG_HAS_RAPIDIO is not set
> -CONFIG_PAGE_OFFSET=0xc000000000000000
> -CONFIG_KERNEL_START=0xc000000002000000
> -CONFIG_PHYSICAL_START=0x02000000
> +CONFIG_PAGE_OFFSET=0xc0000000
> +CONFIG_PHYSICAL_START=0x2000000

Why is this worse? These are constants, you're not supposed to change them 
anyway.
The remaining values are generated in page.h and should be the same as 
before. If that isn't the case and this patch produces a nonworking 
kernel, I'd like to hear about it.

bye, Roman

  reply	other threads:[~2008-07-08  2:56 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07  8:40 linux-next: kbuild tree build failure Stephen Rothwell
2008-07-07 12:51 ` Sam Ravnborg
2008-07-07 13:08   ` Stephen Rothwell
2008-07-07 16:13 ` Roman Zippel
2008-07-07 21:01   ` Sam Ravnborg
2008-07-07 23:36   ` Michael Ellerman
2008-07-08  2:55     ` Roman Zippel [this message]
2008-07-10  0:51       ` Michael Ellerman
2008-07-10 14:59         ` Roman Zippel
2008-07-08 21:19   ` Sam Ravnborg
2008-07-10 14:52     ` Roman Zippel
2008-07-25  4:13 ` Stephen Rothwell
2008-07-26 10:06   ` Sam Ravnborg
2008-07-26 12:40     ` Stephen Rothwell
2008-11-25  4:47 Stephen Rothwell
2008-11-25  8:42 ` Sam Ravnborg
2008-11-25  8:58   ` Stephen Rothwell
2008-11-26  4:42 Stephen Rothwell
2008-11-26 21:06 ` Sam Ravnborg
2008-11-26 23:49   ` Stephen Rothwell
2008-12-03  0:36   ` Stephen Rothwell
2008-12-03  9:46     ` Sam Ravnborg
2009-05-05  1:17 Stephen Rothwell
2009-05-05  6:35 ` Jan Beulich
2009-05-05  6:43   ` Sam Ravnborg
2009-05-05  7:04     ` Jan Beulich
2009-06-09  1:48 Stephen Rothwell
2009-06-09 16:15 ` Sam Ravnborg
2009-06-09 16:19   ` Stephen Rothwell
2009-06-09 21:04     ` Sam Ravnborg
2009-06-09 23:27       ` Stephen Rothwell
2009-10-14  1:20 Stephen Rothwell
2009-10-14  7:43 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0807080437550.6791@localhost.localdomain \
    --to=zippel@linux-m68k.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=michael@ellerman.id.au \
    --cc=paulus@samba.org \
    --cc=sam@ravnborg.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).