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:
Hector Martin 2022-01-19 03:18:18 +09:00
parent bacb19b301
commit e468e08603
2 changed files with 0 additions and 2 deletions

View file

@ -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}")

View file

@ -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}")