On Sun, Oct 24, 2021 at 11:44:31PM +0200, Linus Walleij wrote:This patch is intended to trigger build error when it check the value of
On Wed, Oct 20, 2021 at 7:50 AM <quanyang.wang@xxxxxxxxxxxxx> wrote:
From: Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx>
Not only the early fixmap range, but also the fixmap range should be
checked if it spans multiple pmds. When enabling CONFIG_DEBUG_HIGHMEM,
some systems which contain up to 16 CPUs will crash.
Signed-off-by: Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx>
Looks reasonable to me.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Please submit this patch into Russell's patch tracker.
... and has totally broken what looks like _all_ ARM kernel builds.
can not have been tested.I tested this patch with allyesconfig instead of some configs in arch/arm/configs/. In allyesconfig, NR_CPUS is 4, so it not trigger build error. Then I changed it to 8 to verify my patch.
problem,Yes, at my side, axm5516 with CONFIG_DEBUG_HIGHMEM always falls into crash. Other ARM platform which contains more than 8 CPUs may encounter
I'm going to revert this commit.