Message ID | 1360498641.346858866@f116.mail.ru (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Phileas Fogg <phileas-fogg@mail.ru> writes: > Please ignore the previous patch to fix the PACA issue on PS3 arch. > This is the correct one: > > --- a/arch/powerpc/kernel/setup_64.c 2013-02-10 13:56:12.803855673 +0100 > +++ b/arch/powerpc/kernel/setup_64.c 2013-02-10 14:07:22.870561322 +0100 > @@ -186,6 +186,9 @@ > initialise_paca(&boot_paca, 0); > setup_paca(&boot_paca); > > + /* Allow percpu accesses to "work" until we setup percpu data */ > + boot_paca.data_offset = 0; > + > /* Initialize lockdep early or else spinlocks will blow */ > lockdep_init(); > > commit 466921c5a4669f4315528a25f9afd66601ce2c04 is done to fix the lockdep related issue on ppc64. So this may need little bit more explanation. So if we explicitly use boot_paca, do we still need the changes in the above commit ? -aneesh
--- a/arch/powerpc/kernel/setup_64.c 2013-02-10 13:56:12.803855673 +0100 +++ b/arch/powerpc/kernel/setup_64.c 2013-02-10 14:07:22.870561322 +0100 @@ -186,6 +186,9 @@ initialise_paca(&boot_paca, 0); setup_paca(&boot_paca); + /* Allow percpu accesses to "work" until we setup percpu data */ + boot_paca.data_offset = 0; + /* Initialize lockdep early or else spinlocks will blow */ lockdep_init();