All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Li <philip.li@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kernel test robot <lkp@intel.com>,
	<oe-kbuild-all@lists.linux.dev>, <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [arnd-playground:highmem-7.4 5/6] arch/powerpc/mm/init_32.c:49:2: error: #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"
Date: Mon, 16 Nov 2026 13:09:30 +0800	[thread overview]
Message-ID: <avqQCvFeWPgNnnWo@rli9-mobl> (raw)
In-Reply-To: <ffac8517-468b-4dd6-b354-5e63ed2b40cc@app.fastmail.com>

On Thu, Nov 12, 2026 at 05:30:25PM +0100, Arnd Bergmann wrote:
> On Thu, Nov 12, 2026, at 17:13, kernel test robot wrote:
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new 
> > version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@intel.com>
> > | Closes: 
> > https://lore.kernel.org/oe-kbuild-all/202611121726.xboRqpix-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> >>> arch/powerpc/mm/init_32.c:49:2: error: #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"
> >     #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"
> >      ^~~~~
> 
> The randconfig file contains
> 
> # CONFIG_LOWMEM_SIZE_BOOL is not set
> CONFIG_LOWMEM_SIZE=0x80000000
> CONFIG_PAGE_OFFSET_BOOL=y
> CONFIG_PAGE_OFFSET=0xc0000000
> CONFIG_KERNEL_START_BOOL=y
> CONFIG_KERNEL_START=0xc0000000
> 
> which is an invalid configuration
> 
> My patch changed the defaults for both PAGE_OFFSET and LOWMEM_SIZE
> in a way that should still work:
> 
>  config LOWMEM_SIZE
>         hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
> -       default "0x30000000"
> +       default "0x80000000" if HIGHMEM
> +       default "0x40000000"
>  
>  config PAGE_OFFSET
>         hex "Virtual address of memory base" if PAGE_OFFSET_BOOL
> -       default "0xc0000000"
> +       default "0x70000000" if HIGHMEM
> +       default "0xb0000000"
> 
> What I'm guessing happened is that the .config file was generated
> with the old defaults by running 'make randconfig' on an unpatched
> tree, but then running 'make olddefconfig' changes the default
> for LOWMEM_SIZE without changing the others.

Sorry about this false report, you are right, the randconfig is not generated
correctly as you mentioned. I will follow up to fix the bot to avoid the wrong
reports.

> 
>      Arnd
> 

      reply	other threads:[~2026-11-16  5:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 16:13 [arnd-playground:highmem-7.4 5/6] arch/powerpc/mm/init_32.c:49:2: error: #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START" kernel test robot
2026-11-12 16:30 ` Arnd Bergmann
2026-11-16  5:09   ` Philip Li [this message]

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=avqQCvFeWPgNnnWo@rli9-mobl \
    --to=philip.li@intel.com \
    --cc=arnd@arndb.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.