Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-25 Thread Cédric Le Goater
On 1/19/22 12:05, Cédric Le Goater wrote: On 1/16/22 17:45, Peter Maydell wrote: On Fri, 7 Jan 2022 at 07:29, Alexey Kardashevskiy wrote: "PowerPC Processor binding to IEEE 1275" says in "8.2.1. Initial Register Values" that the initial state is defined as 32bit so do it for both SLOF and

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-19 Thread Frédéric Bonnard
Hi, I mainly focus on 'ppc64el' on which Debian 11 installs well. I'm pretty sure I've not tried Debian 11 on 'ppc64' (i.e. be) with qemu. Even less on 'powerpc' (i.e. 32b). Now I know that powerpc has a different bootloader installation process compared to ppc64* in Debian, but it's converging

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-19 Thread Cédric Le Goater
On 1/16/22 17:45, Peter Maydell wrote: On Fri, 7 Jan 2022 at 07:29, Alexey Kardashevskiy wrote: "PowerPC Processor binding to IEEE 1275" says in "8.2.1. Initial Register Values" that the initial state is defined as 32bit so do it for both SLOF and VOF. This should not cause behavioral change

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-19 Thread Peter Maydell
On Wed, 19 Jan 2022 at 04:03, Alexey Kardashevskiy wrote: > > > > On 1/17/22 03:45, Peter Maydell wrote: > > On Fri, 7 Jan 2022 at 07:29, Alexey Kardashevskiy wrote: > >> > >> "PowerPC Processor binding to IEEE 1275" says in > >> "8.2.1. Initial Register Values" that the initial state is defined

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-18 Thread Alexey Kardashevskiy
On 1/17/22 03:45, Peter Maydell wrote: On Fri, 7 Jan 2022 at 07:29, Alexey Kardashevskiy wrote: "PowerPC Processor binding to IEEE 1275" says in "8.2.1. Initial Register Values" that the initial state is defined as 32bit so do it for both SLOF and VOF. This should not cause behavioral

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-18 Thread Cédric Le Goater
[ Adding Fred ] On 1/18/22 09:30, Mark Cave-Ayland wrote: On 17/01/2022 14:52, Cédric Le Goater wrote: Initially, I installed a debian11 ppc64 on a QEMU mac99/970 machine. Something went wrong with the bootloader at installation and I was stuck with memory boot. I didn't manage to restore a

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-18 Thread Mark Cave-Ayland
On 17/01/2022 14:52, Cédric Le Goater wrote: Initially, I installed a debian11 ppc64 on a QEMU mac99/970 machine. Something went wrong with the bootloader at installation and I was stuck with memory boot. I didn't manage to restore a decent boot setup even after that. Interesting. I had a

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-17 Thread Cédric Le Goater
On 1/15/22 15:21, Mark Cave-Ayland wrote: On 14/01/2022 14:12, Cédric Le Goater wrote: Yes, more info here : https://patchwork.kernel.org/project/qemu-devel/patch/1458121432-2855-1-git-send-email-lviv...@redhat.com/ mac99+970 only boots with a 64bit kernel. 32bit are not supported because of

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-16 Thread Peter Maydell
On Fri, 7 Jan 2022 at 07:29, Alexey Kardashevskiy wrote: > > "PowerPC Processor binding to IEEE 1275" says in > "8.2.1. Initial Register Values" that the initial state is defined as > 32bit so do it for both SLOF and VOF. > > This should not cause behavioral change as SLOF switches to 64bit very

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-15 Thread BALATON Zoltan
On Fri, 14 Jan 2022, Cédric Le Goater wrote: On 1/10/22 03:52, Alexey Kardashevskiy wrote: On 08/01/2022 00:39, Greg Kurz wrote: On Fri, 7 Jan 2022 23:19:03 +1100 David Gibson wrote: On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: On Fri, 7 Jan 2022 18:24:23 +1100 Alexey

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-15 Thread Mark Cave-Ayland
On 14/01/2022 14:12, Cédric Le Goater wrote: Yes, more info here : https://patchwork.kernel.org/project/qemu-devel/patch/1458121432-2855-1-git-send-email-lviv...@redhat.com/ mac99+970 only boots with a 64bit kernel. 32bit are not supported because of the use of the rfi instruction which was

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-14 Thread Cédric Le Goater
On 1/10/22 03:52, Alexey Kardashevskiy wrote: On 08/01/2022 00:39, Greg Kurz wrote: On Fri, 7 Jan 2022 23:19:03 +1100 David Gibson wrote: On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: On Fri, 7 Jan 2022 18:24:23 +1100 Alexey Kardashevskiy wrote: "PowerPC Processor binding

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-14 Thread Cédric Le Goater
On 1/7/22 14:39, Greg Kurz wrote: On Fri, 7 Jan 2022 23:19:03 +1100 David Gibson wrote: On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: On Fri, 7 Jan 2022 18:24:23 +1100 Alexey Kardashevskiy wrote: "PowerPC Processor binding to IEEE 1275" says in "8.2.1. Initial Register

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-09 Thread David Gibson
On Mon, Jan 10, 2022 at 01:52:06PM +1100, Alexey Kardashevskiy wrote: > > > On 08/01/2022 00:39, Greg Kurz wrote: > > On Fri, 7 Jan 2022 23:19:03 +1100 > > David Gibson wrote: > > > > > On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: > > > > On Fri, 7 Jan 2022 18:24:23 +1100 > > > >

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-09 Thread Alexey Kardashevskiy
On 08/01/2022 00:39, Greg Kurz wrote: On Fri, 7 Jan 2022 23:19:03 +1100 David Gibson wrote: On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: On Fri, 7 Jan 2022 18:24:23 +1100 Alexey Kardashevskiy wrote: "PowerPC Processor binding to IEEE 1275" says in "8.2.1. Initial Register

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-07 Thread Greg Kurz
On Fri, 7 Jan 2022 23:19:03 +1100 David Gibson wrote: > On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: > > On Fri, 7 Jan 2022 18:24:23 +1100 > > Alexey Kardashevskiy wrote: > > > > > "PowerPC Processor binding to IEEE 1275" says in > > > "8.2.1. Initial Register Values" that the

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-07 Thread David Gibson
On Fri, Jan 07, 2022 at 12:57:47PM +0100, Greg Kurz wrote: > On Fri, 7 Jan 2022 18:24:23 +1100 > Alexey Kardashevskiy wrote: > > > "PowerPC Processor binding to IEEE 1275" says in > > "8.2.1. Initial Register Values" that the initial state is defined as > > 32bit so do it for both SLOF and VOF.

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-07 Thread Greg Kurz
On Fri, 7 Jan 2022 18:24:23 +1100 Alexey Kardashevskiy wrote: > "PowerPC Processor binding to IEEE 1275" says in > "8.2.1. Initial Register Values" that the initial state is defined as > 32bit so do it for both SLOF and VOF. > > This should not cause behavioral change as SLOF switches to 64bit

Re: [PATCH qemu] spapr: Force 32bit when resetting a core

2022-01-06 Thread Cédric Le Goater
On 1/7/22 08:24, Alexey Kardashevskiy wrote: "PowerPC Processor binding to IEEE 1275" says in "8.2.1. Initial Register Values" that the initial state is defined as 32bit so do it for both SLOF and VOF. This should not cause behavioral change as SLOF switches to 64bit very early anyway. As