Messages in this thread | | | Date | Thu, 12 Apr 2018 09:09:17 +0200 | From | Ingo Molnar <> | Subject | Re: x86-tip.today (4cdf573) early instaboot |
| |
* Mike Galbraith <efault@gmx.de> wrote:
> On Tue, 2018-04-10 at 09:06 -0500, Tom Lendacky wrote: > > > > Just out of curiosity, can you try the following patch and see if it > > fixes your reboot issue: > > Yup, all better. > > > diff --git a/arch/x86/boot/compressed/kaslr.c > > b/arch/x86/boot/compressed/kaslr.c > > index c5196d2..a0a50b9 100644 > > --- a/arch/x86/boot/compressed/kaslr.c > > +++ b/arch/x86/boot/compressed/kaslr.c > > @@ -55,7 +55,7 @@ > > extern unsigned long get_cmd_line_ptr(void); > > > > /* Used by PAGE_KERN* macros: */ > > -pteval_t __default_kernel_pte_mask __read_mostly; > > +pteval_t __default_kernel_pte_mask __read_mostly = ~0; > > > > /* Simplified build-specific string for starting entropy. */ > > static const char build_str[] = UTS_RELEASE " (" LINUX_COMPILE_BY "@"
Thanks guys!
I ended up back-merging this fix (and another fix) into:
fb43d6cb91ef: x86/mm: Do not auto-massage page protections
I added credits as:
- printk format warning fix from: Arnd Bergmann <arnd@arndb.de> - boot crash fix from: Tom Lendacky <thomas.lendacky@amd.com> - crash bisected by: Mike Galbraith <efault@gmx.de>
...
Reported-and-fixed-by: Arnd Bergmann <arnd@arndb.de> Fixed-by: Tom Lendacky <thomas.lendacky@amd.com> Bisected-by: Mike Galbraith <efault@gmx.de>
Thanks,
Ingo
| |