Re: lockdep warning while booting POWER9 PowerNV

2019-11-25 Thread Daniel Axtens
powerpc: define arch_is_kernel_initmem_freed() for lockdep Under certain circumstances, we hit a warning in lockdep_register_key: if (WARN_ON_ONCE(static_obj(key))) return; This occurs when the key falls into initmem that has since been freed and can now be reused. This

Re: lockdep warning while booting POWER9 PowerNV

2019-11-24 Thread Michael Ellerman
On 25 November 2019 12:12:01 pm AEDT, Daniel Axtens wrote: >Hi Michael, > Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) >would generate a warning in lockdep_register_key() at, if (WARN_ON_ONCE(static_obj(key))) because key =

Re: lockdep warning while booting POWER9 PowerNV

2019-11-24 Thread Daniel Axtens
Hi Michael, >>> Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would >>> generate >>> a warning in lockdep_register_key() at, >>> >>> if (WARN_ON_ONCE(static_obj(key))) >>> >>> because >>> >>> key = 0xc19ad118 >>> &_stext = 0xc000 >>> &_end =

Re: lockdep warning while booting POWER9 PowerNV

2019-11-21 Thread Qian Cai
> On Sep 4, 2019, at 11:55 PM, Michael Ellerman wrote: > > Bart Van Assche writes: >> On 8/30/19 2:13 PM, Qian Cai wrote: >>> https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config >>> >>> Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would >>> generate

Re: lockdep warning while booting POWER9 PowerNV

2019-09-05 Thread Qian Cai
On Thu, 2019-09-05 at 13:55 +1000, Michael Ellerman wrote: > Bart Van Assche writes: > > On 8/30/19 2:13 PM, Qian Cai wrote: > > > https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config > > > > > > Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would > > >

Re: lockdep warning while booting POWER9 PowerNV

2019-09-04 Thread Michael Ellerman
Bart Van Assche writes: > On 8/30/19 2:13 PM, Qian Cai wrote: >> https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config >> >> Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would >> generate >> a warning in lockdep_register_key() at, >> >> if

Re: lockdep warning while booting POWER9 PowerNV

2019-09-04 Thread Bart Van Assche
On 8/30/19 2:13 PM, Qian Cai wrote: https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would generate a warning in lockdep_register_key() at, if (WARN_ON_ONCE(static_obj(key))) because key =

lockdep warning while booting POWER9 PowerNV

2019-08-30 Thread Qian Cai
https://raw.githubusercontent.com/cailca/linux-mm/master/powerpc.config Once in a while, booting an IBM POWER9 PowerNV system (8335-GTH) would generate a warning in lockdep_register_key() at, if (WARN_ON_ONCE(static_obj(key))) because key = 0xc19ad118 &_stext = 0xc000 &_end