Re: [PATCH] resource, kunit: add dependency on SPARSEMEM

From: Guenter Roeck
Date: Mon Sep 23 2024 - 10:23:53 EST


On 9/23/24 06:47, Geert Uytterhoeven wrote:
Hi Günter,

On Mon, Sep 23, 2024 at 3:39 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
Interesting that you get that to boot. The q800 machine crashes for me
when trying to boot it in qemu with the latest upstream kernel, in function
__pte_offset_map_lock(). It bisects to commit 394290cba966 ("mm: turn
USE_SPLIT_PTE_PTLOCKS / USE_SPLIT_PTE_PTLOCKS into Kconfig options").
Reverting that patch fixes the crash for me. I guess you are not seeing that ?

I never used qemu -M q800.
I have just verified that -M virt boots fine?


m68k doesn't define a NR_CPUs configuration option. The new "config
SPLIT_PTE_PTLOCKS" depends on "NR_CPUS >= 4" but for some reason that
evaluates to true if there is no NR_CPUS configuration option.

It is interesting that this does not affect the 'virt' machine.

Guenter