diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2024-09-03 16:35:23 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-09-16 17:44:08 +0200 |
commit | 3dbab141d5c51de97cf514f0b6187f5f54fd922c (patch) | |
tree | 99677d45f7772f559ed4b88b1aa7becb067ed457 /tests/functional/qemu_test/linuxkernel.py | |
parent | 1809ab6a67359e0876981cd05d2a50b2843eabad (diff) | |
download | qemu-3dbab141d5c51de97cf514f0b6187f5f54fd922c.zip qemu-3dbab141d5c51de97cf514f0b6187f5f54fd922c.tar.gz qemu-3dbab141d5c51de97cf514f0b6187f5f54fd922c.tar.bz2 |
hw/i2c/aspeed: Add support for Tx/Rx buffer 64 bit addresses
ASPEED AST2700 SOC is a 64 bits quad core CPUs (Cortex-a35)
and the base address of dram is "0x4 00000000" which
is 64bits address.
It has "Master DMA Mode Tx Buffer Base Address[39:32](0x60)"
and "Master DMA Mode Rx Buffer Base Address[39:32](0x64)"
registers to save the high part physical address of Tx/Rx
buffer address for master mode.
It has "Slave DMA Mode Tx Buffer Base Address[39:32](0x68)" and
"Slave DMA Mode Rx Buffer Base Address[39:32](0x6C)" registers
to save the high part physical address of Tx/Rx buffer address
for slave mode.
Ex: Tx buffer address for master mode [39:0]
The "Master DMA Mode Tx Buffer Base Address[39:32](0x60)"
bits [7:0] which corresponds the bits [39:32] of the 64 bits address of
the Tx buffer address.
The "Master DMA Mode Tx Buffer Base Address(0x30)" bits [31:0]
which corresponds the bits [31:0] of the 64 bits address
of the Tx buffer address.
Introduce a new has_dma64 class attribute and new registers for the
new mode to support DMA 64 bits dram address.
Update new mode register number to 28.
The aspeed_i2c_bus_vmstate is changed again and
version is not increased because it was done earlier in the same series.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions