aspeed/smc: support 64 bits dma dram address
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 4 Jun 2024 05:44:29 +0000 (13:44 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 16 Jun 2024 19:08:54 +0000 (21:08 +0200)
commit6330be8da44cf11e429197187e814299eff881cd
tree9c49eb08821cd6b17dc6c53b1ac086ef45b7de0f
parent3a6c0f0e9d71e9a5f5bf4d5d31693a2f0cdd71c1
aspeed/smc: support 64 bits dma dram address

AST2700 support the maximum dram size is 8GiB
and has a "DMA DRAM Side Address High Part(0x7C)"
register to support 64 bits dma dram address.
Add helper routines functions to compute the dma dram
address, new features and update trace-event
to support 64 bits dram address.

Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
hw/ssi/aspeed_smc.c
hw/ssi/trace-events