[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH v2 10/27] imx_fec: Reserve full 4K page for the regist
From: |
Andrey Smirnov |
Subject: |
[Qemu-arm] [PATCH v2 10/27] imx_fec: Reserve full 4K page for the register file |
Date: |
Mon, 23 Oct 2017 13:10:38 -0700 |
Some i.MX SoCs (e.g. i.MX7) have FEC registers going as far as offset
0x614, so to avoid getting aborts when accessing those on QEMU, extend
the register file to cover 4KB of address space instead of just 1K.
Cc: Peter Maydell <address@hidden>
Cc: Jason Wang <address@hidden>
Cc: Philippe Mathieu-Daudé <address@hidden>
Cc: address@hidden
Cc: address@hidden
Cc: address@hidden
Signed-off-by: Andrey Smirnov <address@hidden>
---
hw/net/imx_fec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c
index 48d012cad6..e236bc933c 100644
--- a/hw/net/imx_fec.c
+++ b/hw/net/imx_fec.c
@@ -1252,7 +1252,7 @@ static void imx_eth_realize(DeviceState *dev, Error
**errp)
SysBusDevice *sbd = SYS_BUS_DEVICE(dev);
memory_region_init_io(&s->iomem, OBJECT(dev), &imx_eth_ops, s,
- TYPE_IMX_FEC, 0x400);
+ TYPE_IMX_FEC, 0x1000);
sysbus_init_mmio(sbd, &s->iomem);
sysbus_init_irq(sbd, &s->irq[0]);
sysbus_init_irq(sbd, &s->irq[1]);
--
2.13.5
- [Qemu-arm] [PATCH v2 00/27] Initial i.MX7 support, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 01/27] imx_fec: Do not link to netdev, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 02/27] imx_fec: Refactor imx_eth_enable_rx(), Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 04/27] imx_fec: Use ENET_FTRL to determine truncation length, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 05/27] imx_fec: Use MIN instead of explicit ternary operator, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 03/27] imx_fec: Change queue flushing heuristics, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 06/27] imx_fec: Emulate SHIFT16 in ENETx_RACC, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 07/27] imx_fec: Add support for multiple Tx DMA rings, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 08/27] imx_fec: Use correct length for packet size, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 09/27] imx_fec: Fix a typo in imx_enet_receive(), Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 10/27] imx_fec: Reserve full 4K page for the register file,
Andrey Smirnov <=
- [Qemu-arm] [PATCH v2 14/27] i.MX: Add code to emulate i.MX2 watchdog IP block, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 11/27] sdhci: Add i.MX specific subtype of SDHCI, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 12/27] sdhci: Implement write method of ACMD12ERRSTS register, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 15/27] i.MX: Add code to emulate i.MX7 SNVS IP-block, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 13/27] i.MX: Add code to emulate i.MX7 CCM, PMU and ANALOG IP blocks, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 16/27] i.MX: Add code to emulate GPCv2 IP block, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 19/27] i.MX: Add code to emulate SDMA IP block, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 21/27] i.MX: Add implementation of i.MX7 GPR IP block, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 24/27] i.MX: Add code to emulate i.MX7 ADC IP block, Andrey Smirnov, 2017/10/23
- [Qemu-arm] [PATCH v2 20/27] i.MX: Add code to emulate FlexCAN IP block, Andrey Smirnov, 2017/10/23