Re: [PATCH v2] mm: access to uninitialized struct page

2018-05-08 Thread Pavel Tatashin
> Gulp. Let's hope that nothing in mm_init() requires that trap_init() > has been run. What happens if something goes wrong during mm_init() > and the architecture attempts to raise a software exception, hits a bus > error, div-by-zero, etc, etc? Might there be hard-to-discover > dependencies in

Re: [PATCH v2] mm: access to uninitialized struct page

2018-04-30 Thread Andrew Morton
On Mon, 30 Apr 2018 19:58:58 -0400 Steven Rostedt wrote: > On Mon, 30 Apr 2018 16:26:58 -0700 > Andrew Morton wrote: > > > On Thu, 26 Apr 2018 16:26:19 -0400 Pavel Tatashin > > wrote: > > > > > The following two bugs were reported by Fengguang Wu: > > > > > > kernel reboot-without-warning i

Re: [PATCH v2] mm: access to uninitialized struct page

2018-04-30 Thread Steven Rostedt
On Mon, 30 Apr 2018 16:26:58 -0700 Andrew Morton wrote: > On Thu, 26 Apr 2018 16:26:19 -0400 Pavel Tatashin > wrote: > > > The following two bugs were reported by Fengguang Wu: > > > > kernel reboot-without-warning in early-boot stage, last printk: > > early console in setup code > > > > htt

Re: [PATCH v2] mm: access to uninitialized struct page

2018-04-30 Thread Andrew Morton
On Thu, 26 Apr 2018 16:26:19 -0400 Pavel Tatashin wrote: > The following two bugs were reported by Fengguang Wu: > > kernel reboot-without-warning in early-boot stage, last printk: > early console in setup code > > http://lkml.kernel.org/r/20180418135300.inazvpxjxowog...@wfg-t540p.sh.intel.com

[PATCH v2] mm: access to uninitialized struct page

2018-04-26 Thread Pavel Tatashin
The following two bugs were reported by Fengguang Wu: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code http://lkml.kernel.org/r/20180418135300.inazvpxjxowog...@wfg-t540p.sh.intel.com And, also: [per_cpu_ptr_to_phys] PANIC: early exception 0x0d IP 10:fff