* 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"
[not found] <202611121726.xboRqpix-lkp@intel.com>
@ 2026-11-12 16:30 ` Arnd Bergmann
2026-11-16 5:09 ` Philip Li
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2026-11-12 16:30 UTC (permalink / raw)
To: kernel test robot; +Cc: oe-kbuild-all, linuxppc-dev
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.
Arnd
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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"
2026-11-12 16:30 ` [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" Arnd Bergmann
@ 2026-11-16 5:09 ` Philip Li
0 siblings, 0 replies; 2+ messages in thread
From: Philip Li @ 2026-11-16 5:09 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kernel test robot, oe-kbuild-all, linuxppc-dev
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-16 5:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <202611121726.xboRqpix-lkp@intel.com>
2026-11-12 16:30 ` [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" Arnd Bergmann
2026-11-16 5:09 ` Philip Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox