Re: 92a0f81d89 ("x86/cpu_entry_area: Move it out of the fixmap"): BUG: kernel hang in boot stage

From: Thomas Gleixner
Date: Sat Dec 23 2017 - 13:41:18 EST


On Sun, 24 Dec 2017, kernel test robot wrote:

> Greetings,
>
> 0day kernel testing robot got the below dmesg and the first bad commit is
>
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti
>
> commit 92a0f81d89571e3e8759366e050ee05cc545ef99
> Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> AuthorDate: Wed Dec 20 18:51:31 2017 +0100
> Commit: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Fri Dec 22 20:13:05 2017 +0100
>
> x86/cpu_entry_area: Move it out of the fixmap

Yes, I'm an idiot.

for (; start < end; start += PMD_SIZE)

which works fine when start + PMD_SIZE does not wrap around to 0 ....

Fix is on the way to git.

Thanks,

tglx