qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] aspeed/smc: Reintroduce "dram-base" property for AST2700


From: Cédric Le Goater
Subject: Re: [PATCH] aspeed/smc: Reintroduce "dram-base" property for AST2700
Date: Mon, 10 Jun 2024 11:23:59 +0200
User-agent: Mozilla Thunderbird

On 5/27/24 2:43 PM, Cédric Le Goater wrote:
The Aspeed SMC device model use to have a 'sdram_base' property. It
was removed by commit d177892d4a48 ("aspeed/smc: Remove unused
"sdram-base" property") because previous changes simplified the DMA
transaction model to use an offset in RAM and not the physical
address.

The AST2700 SoC has larger address space (64-bit) and a new register
DMA DRAM Side Address High Part (0x7C) is introduced to deal with the
high bits of the DMA address. To be able to compute the offset of the
DMA transaction, as done on the other SoCs, we will need to know where
the DRAM is mapped in the address space. Re-introduce a "dram-base"
property to hold this value.

Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
  include/hw/ssi/aspeed_smc.h | 1 +
  hw/ssi/aspeed_smc.c         | 1 +
  2 files changed, 2 insertions(+)


Applied to aspeed-next.

Thanks,

C.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]