HomeFreeBSD

mips busdma: bzero map on alloc

Description

mips busdma: bzero map on alloc

Maps from the mips busdma dmamap_zone were not completely initialized.
In particular, pagesneeded and pagesreserved were not initialized. This
could cause a crash.

Remove some dead fields from mips struct bus_dmamap while here.

Reported by: brooks
Reviewed by: ian
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22638

Details

Provenance
rlibbyAuthored on
Reviewer
ian
Differential Revision
D22638: mips busdma: bzero map on alloc
Parents
rS355342: MFC r354986: Add variant of root_mount_hold() without allocation.
Branches
Unknown
Tags
Unknown