PCI memory transactions above 0xf000_0000 can access
to the whole PA space. Fix the one missing byte.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
 hw/pci-host/dino.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/pci-host/dino.c b/hw/pci-host/dino.c
index 924053499c1..34aca429c98 100644
--- a/hw/pci-host/dino.c
+++ b/hw/pci-host/dino.c
@@ -466,7 +466,7 @@ static void dino_pcihost_realize(DeviceState *dev, Error 
**errp)
                              30 * DINO_MEM_CHUNK_SIZE);
     memory_region_init_alias(&s->bm_cpu_alias, OBJECT(s),
                              "bm-cpu", s->memory_as, 0xfff00000,
-                             0xfffff);
+                             1 * MiB);
     memory_region_add_subregion(&s->bm, 0,
                                 &s->bm_ram_alias);
     memory_region_add_subregion(&s->bm,
-- 
2.51.0


Reply via email to