gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Question About Cluster DMA address alignment in Ruby

赵岩
Mon, Dec 25, 2023 5:33 AM

Hi,
I encountered a problem with Cluster DMA. A 32byte aligned address(not 64byte aligned, the memory is 64 bit aligned) Cluster DMA write request, the result is wrong.
When I check the code in Directory_Wakeup.cc, it shows LineAddress is used instead of PhysicalAddress. 

And there is assertion for the address check in TBETable.hh

Does it mean, we should always use 64-byte aligned address for Cluster DMA ?

Thank you.

B.R.
Ethan Zhao

Hi, I encountered a problem with Cluster DMA. A 32byte aligned address(not 64byte aligned, the memory is 64 bit aligned) Cluster DMA write request, the result is wrong. When I check the code in Directory_Wakeup.cc, it shows LineAddress is used instead of PhysicalAddress.  And there is assertion for the address check in TBETable.hh Does it mean, we should always use 64-byte aligned address for Cluster DMA ? Thank you. B.R. Ethan Zhao