m1n1.fw.asc: Invalidate DART after making new mappings

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-01-16 18:57:31 +09:00
parent fb9cdcb1e9
commit deb728adb9

View file

@ -47,7 +47,10 @@ class StandardASC(ASC):
def iomap(self, addr, size):
if self.dart is None:
return addr
return self.DVA_OFFSET | self.dart.iomap(0, addr, size)
dva = self.DVA_OFFSET | self.dart.iomap(0, addr, size)
self.dart.invalidate_streams(1)
return dva
def ioalloc(self, size):
paddr = self.u.memalign(0x4000, size)