NetBSD-Bugs archive

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

Re: kern/55067: bge(4) does not work on MIPS systems (it panics)



On 12/03/2020 22:40, Michael van Elst wrote:
The following reply was made to PR kern/55067; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/55067: bge(4) does not work on MIPS systems (it panics)
Date: Thu, 12 Mar 2020 22:36:51 -0000 (UTC)

  thorpej%me.com@localhost writes:

  >[  23.6599208] panic: _bus_dmamap_sync: bad length

  >0x83a29ab8: _bus_dmamap_sync+4bc (3,83edfc90,10998,0) ra 800726ec sz 72

  mips _bus_dmamap_sync erroneously traps len == 0. It should be gracefully
  allowing that value like other archs.

I said the same on source-changes-d, but here goes again.

The check for len !=0 in arm bus_dma.c has caught several bugs over the
years.

I plan on leaving it there.

Nick


Home | Main Index | Thread Index | Old Index