Re: [BISECTED] kexec regression on PowerBook G4

2019-05-24 Thread Christophe Leroy
Le 24/05/2019 à 15:29, Aaro Koskinen a écrit : Hi, On Fri, May 24, 2019 at 09:40:30AM +0200, Christophe Leroy wrote: Le 24/05/2019 à 09:36, Aaro Koskinen a écrit : On Fri, May 24, 2019 at 08:08:36AM +0200, Christophe Leroy wrote: Le 24/05/2019 à 00:23, Aaro Koskinen a écrit :

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-24 Thread Aaro Koskinen
Hi, On Fri, May 24, 2019 at 09:40:30AM +0200, Christophe Leroy wrote: > Le 24/05/2019 à 09:36, Aaro Koskinen a écrit : > >On Fri, May 24, 2019 at 08:08:36AM +0200, Christophe Leroy wrote: > >>>Le 24/05/2019 à 00:23, Aaro Koskinen a écrit : > Unfortunately still no luck... The crash is pretty

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-24 Thread Christophe Leroy
Le 24/05/2019 à 09:36, Aaro Koskinen a écrit : Hi, On Fri, May 24, 2019 at 08:08:36AM +0200, Christophe Leroy wrote: Le 24/05/2019 à 00:23, Aaro Koskinen a écrit : Unfortunately still no luck... The crash is pretty much the same with both changes. Right. In fact change_page_attr() does

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-24 Thread Aaro Koskinen
Hi, On Fri, May 24, 2019 at 08:08:36AM +0200, Christophe Leroy wrote: > >Le 24/05/2019 à 00:23, Aaro Koskinen a écrit : > >>Unfortunately still no luck... The crash is pretty much the same with > >>both > >>changes. > > > >Right. In fact change_page_attr() does nothing because this part of RAM is

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-24 Thread Christophe Leroy
Le 24/05/2019 à 07:46, Christophe Leroy a écrit : Hi Le 24/05/2019 à 00:23, Aaro Koskinen a écrit : Hi, On Thu, May 23, 2019 at 08:58:11PM +0200, Christophe Leroy wrote: Le 23/05/2019 à 19:27, Aaro Koskinen a écrit : On Thu, May 23, 2019 at 07:33:38AM +0200, Christophe Leroy wrote: Ok,

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-23 Thread Christophe Leroy
Hi Le 24/05/2019 à 00:23, Aaro Koskinen a écrit : Hi, On Thu, May 23, 2019 at 08:58:11PM +0200, Christophe Leroy wrote: Le 23/05/2019 à 19:27, Aaro Koskinen a écrit : On Thu, May 23, 2019 at 07:33:38AM +0200, Christophe Leroy wrote: Ok, the Oops confirms that the error is due to executing

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-23 Thread Aaro Koskinen
Hi, On Thu, May 23, 2019 at 08:58:11PM +0200, Christophe Leroy wrote: > Le 23/05/2019 à 19:27, Aaro Koskinen a écrit : > >On Thu, May 23, 2019 at 07:33:38AM +0200, Christophe Leroy wrote: > >>Ok, the Oops confirms that the error is due to executing the kexec control > >>code which is located

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-23 Thread Christophe Leroy
Le 23/05/2019 à 19:27, Aaro Koskinen a écrit : Hi, On Thu, May 23, 2019 at 07:33:38AM +0200, Christophe Leroy wrote: Ok, the Oops confirms that the error is due to executing the kexec control code which is located outside the kernel text area. My yesterday's proposed change doesn't work

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-23 Thread Aaro Koskinen
Hi, On Thu, May 23, 2019 at 07:33:38AM +0200, Christophe Leroy wrote: > Ok, the Oops confirms that the error is due to executing the kexec control > code which is located outside the kernel text area. > > My yesterday's proposed change doesn't work because on book3S/32, NX > protection is based

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-22 Thread Christophe Leroy
Hi, Le 22/05/2019 à 23:17, Aaro Koskinen a écrit : Hi, On Wed, May 22, 2019 at 10:33:35PM +0200, LEROY Christophe wrote: Can you provide full details of the Oops you get ? And also your System.map ? System.map is below. The oops log is attached as jpeg (crappy camera shoot, apologies, I

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-22 Thread LEROY Christophe
Aaro Koskinen a écrit : Hi, On Wed, May 22, 2019 at 07:44:56AM +, Christophe Leroy wrote: On 05/22/2019 06:14 AM, Christophe Leroy wrote: >Le 22/05/2019 à 00:18, Aaro Koskinen a écrit : >>I was trying to upgrade from v5.0 -> v5.1 on PowerBook G4, but when >>trying >>to kexec a kernel the

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-22 Thread Aaro Koskinen
Hi, On Wed, May 22, 2019 at 07:44:56AM +, Christophe Leroy wrote: > On 05/22/2019 06:14 AM, Christophe Leroy wrote: > >Le 22/05/2019 à 00:18, Aaro Koskinen a écrit : > >>I was trying to upgrade from v5.0 -> v5.1 on PowerBook G4, but when > >>trying > >>to kexec a kernel the system gets stuck

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-22 Thread Aaro Koskinen
Hi, On Wed, May 22, 2019 at 08:14:23AM +0200, Christophe Leroy wrote: > Le 22/05/2019 à 00:18, Aaro Koskinen a écrit : > >I was trying to upgrade from v5.0 -> v5.1 on PowerBook G4, but when trying > >to kexec a kernel the system gets stuck (no errors seen on the console). > > Do you mean you are

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-22 Thread Christophe Leroy
Hi Again, On 05/22/2019 06:14 AM, Christophe Leroy wrote: Hi Aero, Le 22/05/2019 à 00:18, Aaro Koskinen a écrit : Hi, I was trying to upgrade from v5.0 -> v5.1 on PowerBook G4, but when trying to kexec a kernel the system gets stuck (no errors seen on the console). Do you mean you are

Re: [BISECTED] kexec regression on PowerBook G4

2019-05-22 Thread Christophe Leroy
Hi Aero, Le 22/05/2019 à 00:18, Aaro Koskinen a écrit : Hi, I was trying to upgrade from v5.0 -> v5.1 on PowerBook G4, but when trying to kexec a kernel the system gets stuck (no errors seen on the console). Do you mean you are trying to kexec a v5.1 kernel from a v5.0 kernel, or do you

[BISECTED] kexec regression on PowerBook G4

2019-05-21 Thread Aaro Koskinen
Hi, I was trying to upgrade from v5.0 -> v5.1 on PowerBook G4, but when trying to kexec a kernel the system gets stuck (no errors seen on the console). Bisected to: 93c4a162b014 ("powerpc/6xx: Store PGDIR physical address in a SPRG"). This commit doesn't revert cleanly anymore but I tested that