[PATCH] target/ppc: 603: fix restore of GPRs 0-3 on rfi

2022-01-20 Thread Christophe Leroy
, but TGPR bit is not part of SRR1 and that bit is used for something else and is sometimes set to 1, leading to hreg_store_msr() not restoring GPRs. So, do the same way as for POW bit, force clearing it. Signed-off-by: Christophe Leroy Cc: Cedric Le Goater Cc: Fabiano Rosas --- target/ppc

Re: [PATCH 00/15] ppc/ppc405: decade cleanup

2021-12-17 Thread Christophe Leroy
Le 15/12/2021 à 17:49, Cédric Le Goater a écrit : > On 12/6/21 11:36, Cédric Le Goater wrote: >> Hello, >> >> The goal of these changes is to refresh the QEMU ref405ep machine and >> enable boot from a Linux kernel without relying on a U-Boot firmware. >> The reason for doing so is that we are

Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms)

2021-10-28 Thread Christophe Leroy
14.20, BALATON Zoltan wrote: On Tue, 5 Oct 2021, Cédric Le Goater wrote: On 10/5/21 08:18, Alexey Kardashevskiy wrote: On 05/10/2021 15:44, Christophe Leroy wrote: Le 05/10/2021 à 02:48, David Gibson a écrit : On Fri, Oct 01, 2021 at 04:18:49PM +0200, Thomas Huth wrote: On 01/10/2021 15.04

Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms)

2021-10-27 Thread Christophe Leroy
Hi Cédric, Le 27/10/2021 à 10:40, Cédric Le Goater a écrit : I am raising this because the nanoMIPS support is in deprecated state since more than 2 releases, but it is still in-tree and I try to keep it functional. However, since no toolchain reached mainstream GCC/LLVM it is not easy to

Re: Deprecate the ppc405 boards in QEMU?

2021-10-21 Thread Christophe Leroy
Le 21/10/2021 à 09:25, Thomas Huth a écrit : On 21/10/2021 08.48, Christophe Leroy wrote: Le 20/10/2021 à 15:16, Christophe Leroy a écrit : Le 20/10/2021 à 14:43, Cédric Le Goater a écrit : On 10/20/21 13:42, BALATON Zoltan wrote: On Wed, 20 Oct 2021, Philippe Mathieu-Daudé wrote

Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms)

2021-10-21 Thread Christophe Leroy
Le 20/10/2021 à 15:16, Christophe Leroy a écrit : Le 20/10/2021 à 14:43, Cédric Le Goater a écrit : On 10/20/21 13:42, BALATON Zoltan wrote: On Wed, 20 Oct 2021, Philippe Mathieu-Daudé wrote: On 10/5/21 14:29, Thomas Huth wrote: On 05/10/2021 14.20, BALATON Zoltan wrote: On Tue, 5 Oct

Re: Deprecate the ppc405 boards in QEMU?

2021-10-20 Thread Christophe Leroy
Le 19/10/2021 à 23:30, Cédric Le Goater a écrit : On 10/19/21 18:12, Christophe Leroy wrote: Le 19/10/2021 à 16:56, BALATON Zoltan a écrit : On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10/2021 à 15:44, Christophe Leroy a écrit : There is something: => bootm 0 Wrong Image For

Re: Deprecate the ppc405 boards in QEMU?

2021-10-19 Thread Christophe Leroy
Le 19/10/2021 à 16:56, BALATON Zoltan a écrit : On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10/2021 à 15:44, Christophe Leroy a écrit : There is something: => bootm 0 Wrong Image Format for bootm command ERROR: can't get kernel image! => md 0 : b497aae1 61

Re: Deprecate the ppc405 boards in QEMU?

2021-10-19 Thread Christophe Leroy
Le 19/10/2021 à 15:44, Christophe Leroy a écrit : Le 19/10/2021 à 14:38, BALATON Zoltan a écrit : On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10/2021 à 13:11, Thomas Huth a écrit : On 19/10/2021 12.07, BALATON Zoltan wrote: On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10

Re: Deprecate the ppc405 boards in QEMU?

2021-10-19 Thread Christophe Leroy
Le 19/10/2021 à 14:38, BALATON Zoltan a écrit : On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10/2021 à 13:11, Thomas Huth a écrit : On 19/10/2021 12.07, BALATON Zoltan wrote: On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10/2021 à 11:39, Thomas Huth a écrit : On 19/10/2021

Re: Deprecate the ppc405 boards in QEMU?

2021-10-19 Thread Christophe Leroy
Le 19/10/2021 à 13:11, Thomas Huth a écrit : On 19/10/2021 12.07, BALATON Zoltan wrote: On Tue, 19 Oct 2021, Christophe Leroy wrote: Le 19/10/2021 à 11:39, Thomas Huth a écrit : On 19/10/2021 11.31, Christophe Leroy wrote: Le 11/10/2021 à 15:24, Thomas Huth a écrit : On 11/10/2021 11.20

Re: Deprecate the ppc405 boards in QEMU?

2021-10-19 Thread Christophe Leroy
Le 19/10/2021 à 11:39, Thomas Huth a écrit : On 19/10/2021 11.31, Christophe Leroy wrote: Le 11/10/2021 à 15:24, Thomas Huth a écrit : On 11/10/2021 11.20, David Gibson wrote: On Mon, Oct 11, 2021 at 10:10:36AM +0200, Thomas Huth wrote: On 06/10/2021 09.25, Thomas Huth wrote: On 05/10

Re: Deprecate the ppc405 boards in QEMU?

2021-10-19 Thread Christophe Leroy
Le 11/10/2021 à 15:24, Thomas Huth a écrit : On 11/10/2021 11.20, David Gibson wrote: On Mon, Oct 11, 2021 at 10:10:36AM +0200, Thomas Huth wrote: On 06/10/2021 09.25, Thomas Huth wrote: On 05/10/2021 23.53, BALATON Zoltan wrote: [...] Maybe these 405 boards in QEMU ran with modified

Re: Is the ppc440 "bamboo" board in QEMU still of any use?

2021-10-14 Thread Christophe Leroy
Le 14/10/2021 à 12:34, Christophe Leroy a écrit : Le 14/10/2021 à 11:31, Thomas Huth a écrit :   Hi, I tried to build a current Linux kernel for the "bamboo" board and use it in QEMU, but QEMU then quickly aborts with:   pci.c:262: pci_bus_change_irq_level: Assertion `ir

Re: Is the ppc440 "bamboo" board in QEMU still of any use?

2021-10-14 Thread Christophe Leroy
Le 14/10/2021 à 11:31, Thomas Huth a écrit :  Hi, I tried to build a current Linux kernel for the "bamboo" board and use it in QEMU, but QEMU then quickly aborts with:  pci.c:262: pci_bus_change_irq_level: Assertion `irq_num >= 0' failed. (or with a "DCR write error" if I try to use

Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms)

2021-10-04 Thread Christophe Leroy
Le 05/10/2021 à 02:48, David Gibson a écrit : On Fri, Oct 01, 2021 at 04:18:49PM +0200, Thomas Huth wrote: On 01/10/2021 15.04, Christophe Leroy wrote: Le 01/10/2021 à 14:04, Thomas Huth a écrit : On 01/10/2021 13.12, Peter Maydell wrote: On Fri, 1 Oct 2021 at 10:43, Thomas Huth wrote

Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms)

2021-10-01 Thread Christophe Leroy
Le 01/10/2021 à 10:35, Thomas Huth a écrit : On 27/09/2021 06.48, David Gibson wrote: There are a nunber of old embedded ppc machine types which have been little changed and in "Odd Fixes" state for a long time.  With both myself and Greg Kurz moving toward other areas, we no longer have

Re: Deprecate the ppc405 boards in QEMU? (was: [PATCH v3 4/7] MAINTAINERS: Orphan obscure ppc platforms)

2021-10-01 Thread Christophe Leroy
Le 01/10/2021 à 14:04, Thomas Huth a écrit : On 01/10/2021 13.12, Peter Maydell wrote: On Fri, 1 Oct 2021 at 10:43, Thomas Huth wrote: Nevertheless, as long as nobody has a hint where to find that ppc405_rom.bin, I think both boards are pretty useless in QEMU (as far as I can see, they do