Re: [PATCH] ARM: add BUILD_BUG_ON to check if fixmap range spans multiple pmds

From: Quanyang Wang
Date: Mon Oct 25 2021 - 02:38:40 EST



On 10/25/21 5:44 AM, Linus Walleij wrote:
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.
Done.
https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=9149/1
Thanks for the review.


Yours,
Linus Walleij