mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-26 00:10:18 +00:00
m1n1.fw.asc.{crashlog,syslog}: Do not ack prealloced bufs
This is wrong and causes IOP crashes due to unacked crashlog msgs. Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
bacb19b301
commit
e468e08603
2 changed files with 0 additions and 2 deletions
|
@ -126,7 +126,6 @@ class ASCCrashLogEndpoint(ASCBaseEndpoint):
|
|||
if msg.DVA:
|
||||
self.iobuffer_dva = msg.DVA
|
||||
self.log(f"buf prealloc at dva {self.iobuffer_dva:#x}")
|
||||
self.send(CrashLogMessage(TYPE=1, SIZE=msg.SIZE))
|
||||
else:
|
||||
self.iobuffer, self.iobuffer_dva = self.asc.ioalloc(size)
|
||||
self.log(f"buf {self.iobuffer:#x} / {self.iobuffer_dva:#x}")
|
||||
|
|
|
@ -52,7 +52,6 @@ class ASCSysLogEndpoint(ASCBaseEndpoint):
|
|||
if msg.DVA:
|
||||
self.iobuffer_dva = msg.DVA
|
||||
self.log(f"buf prealloc at dva {self.iobuffer_dva:#x}")
|
||||
self.send(Syslog_GetBuf(SIZE=msg.SIZE))
|
||||
else:
|
||||
self.iobuffer, self.iobuffer_dva = self.asc.ioalloc(size)
|
||||
self.log(f"buf {self.iobuffer:#x} / {self.iobuffer_dva:#x}")
|
||||
|
|
Loading…
Reference in a new issue