HomeFreeBSD

LinuxKPI: PCI: add counter for linux_dma_map_phys_common() errors

Description

LinuxKPI: PCI: add counter for linux_dma_map_phys_common() errors

LinuxKPI is asking for single-segment mappings. Some (wireless) drivers
are using this to map multi-pages and our busdma framework is not very
friendly to that as single-segments [D31823]. Add a counter so we can
track when this happens to gather more information.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D34715

Details

Provenance
bzAuthored on Mar 30 2022, 5:38 PM
Reviewer
hselasky
Differential Revision
D34715: LinuxKPI: PCI: add counter for linux_dma_map_phys_common() errors
Parents
rG0a21252adf11: sys/contrib/zlib: Always define Z_U8 and Z_U4
Branches
Unknown
Tags
Unknown