hw/arm: versal: Setup the ADMA with 128bit bus-width
cover hw/arm: versal: Setup the ADMA with 128bit bus-width
From: "Edgar E. Iglesias" <[email protected]>
Running more testcases on the upstream models I noticed that the ADMA was not setup for 128bit bus-width causing some tests to fail. This fixes that.
Cheers,
Edgar
Edgar E. Iglesias (1):
hw/arm: versal: Setup the ADMA with 128bit bus-width
hw/arm/xlnx-versal.c | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.20.1
PATCH 1/1 hw/arm: versal: Setup the ADMA with 128bit bus-width
From: "Edgar E. Iglesias" <[email protected]>
Setup the ADMA with 128bit bus-width. This matters when FIXED BURST mode is used.
--- hw/arm/xlnx-versal.c | 2 ++ 1 file changed, 2 insertions(+)
hw/arm/xlnx-versal.c +2 -0
@@ -205,6 +205,8 @@ static void versal_create_admas(Versal *s, qemu_irq *pic) dev =qdev_create (NULL ,"xlnx.zdma" ); s->lpd.iou.adma[i] =SYS_BUS_DEVICE (dev); +object_property_set_int (OBJECT (s->lpd.iou.adma[i]),128 ,"bus-width" , + &error_abort);object_property_add_child (OBJECT (s), name,OBJECT (dev), &error_fatal);qdev_init_nofail (dev);
Signature · 1 line
2.20.1
Quoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Setup the ADMA with 128bit bus-width. This matters when FIXED BURST mode is used.
Signed-off-by Edgar E. Iglesias <[email protected]>
Alistair
Quoted 21 lines
--- hw/arm/xlnx-versal.c | 2 ++ 1 file changed, 2 insertions(+)hw/arm/xlnx-versal.c +2
-1@@ -205,6 +205,8 @@ static void versal_create_admas(Versal *s, qemu_irq *pic) dev =qdev_create (NULL ,"xlnx.zdma" ); s->lpd.iou.adma[i] =SYS_BUS_DEVICE (dev); +object_property_set_int (OBJECT (s->lpd.iou.adma[i]),128 ,"bus-width" , + &error_abort);object_property_add_child (OBJECT (s), name,OBJECT (dev), &error_fatal);qdev_init_nofail (dev); --2.20.1
Quoted 6 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Setup the ADMA with 128bit bus-width. This matters when FIXED BURST mode is used.
Signed-off-by Edgar E. Iglesias <[email protected]>
Quoted 18 lines
--- hw/arm/xlnx-versal.c | 2 ++ 1 file changed, 2 insertions(+)hw/arm/xlnx-versal.c +2
-0@@ -205,6 +205,8 @@ static void versal_create_admas(Versal *s, qemu_irq *pic) dev =qdev_create (NULL ,"xlnx.zdma" ); s->lpd.iou.adma[i] =SYS_BUS_DEVICE (dev); +object_property_set_int (OBJECT (s->lpd.iou.adma[i]),128 ,"bus-width" , + &error_abort);object_property_add_child (OBJECT (s), name,OBJECT (dev), &error_fatal);qdev_init_nofail (dev);
Peter Maydell
AppliedQuoted 7 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Running more testcases on the upstream models I noticed that the ADMA was not setup for 128bit bus-width causing some tests to fail. This fixes that.
Quoted 5 lines
Cheers,
EdgarEdgar E. Iglesias (1):
hw/arm: versal: Setup the ADMA with 128bit bus-width
Applied to target-arm.next for 5.1, thanks.
-- PMM