Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-24 Thread David Gibson
On Thu, Aug 24, 2017 at 10:28:15PM +0200, BALATON Zoltan wrote: > On Thu, 24 Aug 2017, David Gibson wrote: > > On Wed, Aug 23, 2017 at 12:16:24PM +0200, BALATON Zoltan wrote: > > > On Wed, 23 Aug 2017, David Gibson wrote: > > > > On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote: > >

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-24 Thread BALATON Zoltan
On Thu, 24 Aug 2017, David Gibson wrote: On Wed, Aug 23, 2017 at 12:16:24PM +0200, BALATON Zoltan wrote: On Wed, 23 Aug 2017, David Gibson wrote: On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote: These registers are present in 440 SoCs (and maybe in others too) and U-Boot

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-23 Thread David Gibson
On Wed, Aug 23, 2017 at 12:16:24PM +0200, BALATON Zoltan wrote: > On Wed, 23 Aug 2017, David Gibson wrote: > > On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote: > > > These registers are present in 440 SoCs (and maybe in others too) and > > > U-Boot accesses them when printing

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-23 Thread BALATON Zoltan
On Wed, 23 Aug 2017, David Gibson wrote: On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote: These registers are present in 440 SoCs (and maybe in others too) and U-Boot accesses them when printing register info. We don't emulate these but add them to avoid crashing when they are

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-22 Thread David Gibson
On Sun, Aug 20, 2017 at 06:58:52PM -0300, Philippe Mathieu-Daudé wrote: > Hi Zoltan, > > On 08/20/2017 02:23 PM, BALATON Zoltan wrote: > > These registers are present in 440 SoCs (and maybe in others too) and > > U-Boot accesses them when printing register info. We don't emulate > > these but add

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-22 Thread David Gibson
On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote: > These registers are present in 440 SoCs (and maybe in others too) and > U-Boot accesses them when printing register info. We don't emulate > these but add them to avoid crashing when they are read or written. > > Signed-off-by:

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-20 Thread BALATON Zoltan
On Sun, 20 Aug 2017, Philippe Mathieu-Daudé wrote: On 08/20/2017 02:23 PM, BALATON Zoltan wrote: These registers are present in 440 SoCs (and maybe in others too) and U-Boot accesses them when printing register info. We don't emulate these but add them to avoid crashing when they are read or

Re: [Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-20 Thread Philippe Mathieu-Daudé
Hi Zoltan, On 08/20/2017 02:23 PM, BALATON Zoltan wrote: These registers are present in 440 SoCs (and maybe in others too) and U-Boot accesses them when printing register info. We don't emulate these but add them to avoid crashing when they are read or written. Your code isn't incorrect but

[Qemu-devel] [PATCH 13/15] ppc4xx: Add more PLB registers

2017-08-20 Thread BALATON Zoltan
These registers are present in 440 SoCs (and maybe in others too) and U-Boot accesses them when printing register info. We don't emulate these but add them to avoid crashing when they are read or written. Signed-off-by: BALATON Zoltan --- hw/ppc/ppc405_uc.c | 12 +---