Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-11 Thread BALATON Zoltan
On Thu, 11 Aug 2022, Cédric Le Goater wrote: Don't drop Ppc4xxDcrDeviceState, that simplifies it a lot. If you don't want to make mote changes, let me take your series and make a version with my proposed changes. Patch 1-7 are already merged. You can grab the rest here : https://github.com/

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-11 Thread Cédric Le Goater
Don't drop Ppc4xxDcrDeviceState, that simplifies it a lot. If you don't want to make mote changes, let me take your series and make a version with my proposed changes. Patch 1-7 are already merged. You can grab the rest here : https://github.com/legoater/qemu/tree/ppc-ref405ep I have do

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-11 Thread BALATON Zoltan
On Thu, 11 Aug 2022, Cédric Le Goater wrote: On 8/10/22 16:48, BALATON Zoltan wrote: On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/10/22 15:28, BALATON Zoltan wrote: On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/9/22 19:21, BALATON Zoltan wrote: On Tue, 9 Aug 2022, Cédric Le Goater w

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-11 Thread Cédric Le Goater
On 8/10/22 16:48, BALATON Zoltan wrote: On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/10/22 15:28, BALATON Zoltan wrote: On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/9/22 19:21, BALATON Zoltan wrote: On Tue, 9 Aug 2022, Cédric Le Goater wrote: The Device Control Registers (DCR) of o

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-10 Thread BALATON Zoltan
On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/10/22 15:28, BALATON Zoltan wrote: On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/9/22 19:21, BALATON Zoltan wrote: On Tue, 9 Aug 2022, Cédric Le Goater wrote: The Device Control Registers (DCR) of on-SoC devices are accessed by software th

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-10 Thread Cédric Le Goater
On 8/10/22 15:28, BALATON Zoltan wrote: On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/9/22 19:21, BALATON Zoltan wrote: On Tue, 9 Aug 2022, Cédric Le Goater wrote: The Device Control Registers (DCR) of on-SoC devices are accessed by software through the use of the mtdcr and mfdcr instructi

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-10 Thread BALATON Zoltan
On Wed, 10 Aug 2022, Cédric Le Goater wrote: On 8/9/22 19:21, BALATON Zoltan wrote: On Tue, 9 Aug 2022, Cédric Le Goater wrote: The Device Control Registers (DCR) of on-SoC devices are accessed by software through the use of the mtdcr and mfdcr instructions. These are converted in transactions

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-10 Thread Cédric Le Goater
On 8/9/22 19:21, BALATON Zoltan wrote: On Tue, 9 Aug 2022, Cédric Le Goater wrote: The Device Control Registers (DCR) of on-SoC devices are accessed by software through the use of the mtdcr and mfdcr instructions. These are converted in transactions on a side band bus, the DCR bus, which connect

Re: [PATCH v4 08/24] ppc/ppc4xx: Introduce a DCR device model

2022-08-09 Thread BALATON Zoltan
On Tue, 9 Aug 2022, Cédric Le Goater wrote: The Device Control Registers (DCR) of on-SoC devices are accessed by software through the use of the mtdcr and mfdcr instructions. These are converted in transactions on a side band bus, the DCR bus, which connects the on-SoC devices to the CPU. Ideall