Re: [Qemu-devel] [PATCH 1/4] lsi53c895a: hide 53c895a registers in 53c810

2019-04-15 Thread Paolo Bonzini
On 14/04/19 20:36, Artyom Tarasenko wrote: >> You can probably remove this change, and replace it by >> uint16_t type = PCI_DEVICE_GET_CLASS(dev)->device_id; > Brilliant! Will do in V2, thainks. Either that, or you could keep the current structure and make mmio_size the last parameter of lsi_scsi_

Re: [Qemu-devel] [PATCH 1/4] lsi53c895a: hide 53c895a registers in 53c810

2019-04-14 Thread Artyom Tarasenko
On Sun, Apr 14, 2019 at 5:43 PM Hervé Poussineau wrote: > > Le 12/04/2019 à 23:06, Artyom Tarasenko a écrit : > > AIX/PReP does access to the aliased IO registers of 53810. > > Implement aliasing to make the AIX driver work. > > > > Signed-off-by: Artyom Tarasenko > > --- > > hw/scsi/lsi53c895a

Re: [Qemu-devel] [PATCH 1/4] lsi53c895a: hide 53c895a registers in 53c810

2019-04-14 Thread Hervé Poussineau
Le 12/04/2019 à 23:06, Artyom Tarasenko a écrit : AIX/PReP does access to the aliased IO registers of 53810. Implement aliasing to make the AIX driver work. Signed-off-by: Artyom Tarasenko --- hw/scsi/lsi53c895a.c | 31 ++- 1 file changed, 26 insertions(+), 5 dele

[Qemu-devel] [PATCH 1/4] lsi53c895a: hide 53c895a registers in 53c810

2019-04-12 Thread Artyom Tarasenko
AIX/PReP does access to the aliased IO registers of 53810. Implement aliasing to make the AIX driver work. Signed-off-by: Artyom Tarasenko --- hw/scsi/lsi53c895a.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/