]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/net:ftgmac100: update ring base address to 64 bits
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 4 Jul 2024 08:29:16 +0000 (16:29 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 9 Jul 2024 06:05:44 +0000 (08:05 +0200)
commit0b51fd0f99f09df4560c267922cabdbc67198ae8
tree1bdbca793314cb6b1840f8815dcd1d0a9e5eb67e
parenteec2f9cc69ba68c09dfba6812f58e550c1e83d68
hw/net:ftgmac100: update ring base address to 64 bits

Update TX and RX ring base address data type to uint64_t for
64 bits dram address DMA support.

Both "Normal Priority Transmit Ring Base Address Register(0x20)" and
"Receive Ring Base Address Register (0x24)" are used for saving the
low part physical address of descriptor manager.

Therefore, changes to set TX and RX descriptor manager address bits [31:0]
in ftgmac100_read and ftgmac100_write functions.

Incrementing the version of vmstate to 2.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
hw/net/ftgmac100.c
include/hw/net/ftgmac100.h