Re: [powerpc] init nvram_pstore_info's buf_lock

2014-11-17 Thread Li Zhong
On 二, 2014-11-18 at 15:33 +1100, Michael Ellerman wrote: > On Mon, 2014-17-11 at 02:52:30 UTC, Li Zhong wrote: > > It seems nvram_pstore_info's buf_lock is not initialized before > > registering, which causes some strange behavior when trying to obtain > > the lock during kdump process. > > What k

Re: [powerpc] init nvram_pstore_info's buf_lock

2014-11-17 Thread Michael Ellerman
On Mon, 2014-17-11 at 02:52:30 UTC, Li Zhong wrote: > It seems nvram_pstore_info's buf_lock is not initialized before > registering, which causes some strange behavior when trying to obtain > the lock during kdump process. What kind of strange behaviour? Does it still work and just print a warning

[PATCH powerpc] init nvram_pstore_info's buf_lock

2014-11-16 Thread Li Zhong
It seems nvram_pstore_info's buf_lock is not initialized before registering, which causes some strange behavior when trying to obtain the lock during kdump process. Signed-off-by: Li Zhong --- arch/powerpc/platforms/pseries/nvram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/power