From b3bb496134028f6b7748bf709f3ec48f9a7e2a3a Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Tue, 2 May 2017 13:23:12 +1000 Subject: phb4: Increase 64bit MMIO BAR size from 128GB to 256GB Primarily for GPUs which may have large MMIO space for frame buffers. This shuffles the memory map around a bit and starts using the 2TB region. Signed-off-by: Michael Neuling Signed-off-by: Stewart Smith --- hw/phys-map.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'hw/phys-map.c') diff --git a/hw/phys-map.c b/hw/phys-map.c index d1f895ae..768f464f 100644 --- a/hw/phys-map.c +++ b/hw/phys-map.c @@ -48,12 +48,9 @@ static const struct phys_map_entry phys_map_table_nimbus[] = { { GPU_MEM, 0, 0x000003e000000000ull, 0x0000002000000000ull }, /* 0 TB offset @ MMIO 0x0006000000000000ull */ - { PHB4_64BIT_MMIO, 0, 0x0006000000000000ull, 0x0000002000000000ull }, - { PHB4_64BIT_MMIO, 1, 0x0006002000000000ull, 0x0000002000000000ull }, - { PHB4_64BIT_MMIO, 2, 0x0006004000000000ull, 0x0000002000000000ull }, - { PHB4_64BIT_MMIO, 3, 0x0006006000000000ull, 0x0000002000000000ull }, - { PHB4_64BIT_MMIO, 4, 0x0006008000000000ull, 0x0000002000000000ull }, - { PHB4_64BIT_MMIO, 5, 0x000600a000000000ull, 0x0000002000000000ull }, + { PHB4_64BIT_MMIO, 0, 0x0006000000000000ull, 0x0000004000000000ull }, + { PHB4_64BIT_MMIO, 1, 0x0006004000000000ull, 0x0000004000000000ull }, + { PHB4_64BIT_MMIO, 2, 0x0006008000000000ull, 0x0000004000000000ull }, { PHB4_32BIT_MMIO, 0, 0x000600c000000000ull, 0x0000000080000000ull }, { PHB4_32BIT_MMIO, 1, 0x000600c080000000ull, 0x0000000080000000ull }, { PHB4_32BIT_MMIO, 2, 0x000600c100000000ull, 0x0000000080000000ull }, @@ -90,7 +87,10 @@ static const struct phys_map_entry phys_map_table_nimbus[] = { { RESV , 3, 0x0006019140000000ull, 0x0000006ec0000000ull }, /* 2 TB offset @ MMIO 0x0006000000000000ull */ - { RESV , 4, 0x0006020000000000ull, 0x0000010000000000ull }, + { PHB4_64BIT_MMIO, 3, 0x0006020000000000ull, 0x0000004000000000ull }, + { PHB4_64BIT_MMIO, 4, 0x0006024000000000ull, 0x0000004000000000ull }, + { PHB4_64BIT_MMIO, 5, 0x0006028000000000ull, 0x0000004000000000ull }, + { RESV , 4, 0x000602c000000000ull, 0x0000004000000000ull }, /* 3 TB offset @ MMIO 0x0006000000000000ull */ { LPC_BUS , 0, 0x0006030000000000ull, 0x0000000100000000ull }, -- cgit v1.2.1