hw/arm/virt: fix pl031 addr typo
PATCH v2 1/1 hw/arm/virt: fix pl031 addr typo
pl031's base address should be 0x9010000, not 0x90010000, otherwise it sits in ram when configuring a guest with greater than 1G.
---
v2:
- pl031 needs 64K alignment
- don't change the formatting, will send another patch, which may get ignored :-)
--- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +1 -1
@@ -104,7 +104,7 @@ static const MemMapEntry a15memmap[] = { [VIRT_GIC_DIST] = { 0x8000000, 0x10000 }, [VIRT_GIC_CPU] = { 0x8010000, 0x10000 }, [VIRT_UART] = { 0x9000000, 0x1000 }, - [VIRT_RTC] = { 0x90010000, 0x1000 }, + [VIRT_RTC] = { 0x9010000, 0x1000 }, [VIRT_MMIO] = { 0xa000000, 0x200 },/* ...repeating for a total of NUM_VIRTIO_TRANSPORTS, each of that size */ /* 0x10000000 .. 0x40000000 reserved for PCI */
Signature · 1 line
1.9.3
Quoted 10 lines · Andrew Jones
pl031's base address should be
0x9010000, not0x90010000, otherwise it sits in ram when configuring a guest with greater than 1G.Signed-off-by Andrew Jones <[email protected]>---
v2:
- pl031 needs 64K alignment
- don't change the formatting, will send another patch, which may get ignored :-)
---
I decided we really do need to fix this for 2.1, so my plan is to commit this today and tag an -rc5. The -rc4 tarball hasn't been done yet so this just means there'll be an odd hiccup in the rc numbering from most peoples' perspective.
-- PMM