opnsense-src/sys/dev/mlx5
Mark Johnston d87ebf35c8 mlx5: Zero DMA memory mlx5_alloc_cmd_msg() and alloc_cmd_page()
These functions may map more memory for DMA than is actually used, since
the allocator operates on multiples of a 4KB page size.  Thus,
bus_dmamap_sync() can trigger KMSAN reports when the unused portion of
a page is not zero-ed.

Reported by:	KMSAN
Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D43133

(cherry picked from commit 47a6fb9d5a2ebec12114a604053ffbd2929f0021)
2024-02-01 09:02:48 -05:00
..
mlx5_accel sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_core mlx5: Zero DMA memory mlx5_alloc_cmd_msg() and alloc_cmd_page() 2024-02-01 09:02:48 -05:00
mlx5_en mlx5: Use software enum in APIs instead of PRM 2023-11-22 03:40:28 +02:00
mlx5_fpga sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_fpga_tools sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_ib mlx5ib: adjust for the mlx5_create_auto_grouped_flow_table() interface change 2023-11-22 03:40:28 +02:00
mlx5_lib sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cmd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
device.h mlx5: Introduce new destination type TABLE_TYPE 2023-11-22 03:40:28 +02:00
diagnostics.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
doorbell.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
driver.h mlx5(4): only detach IOV children if iov was successfully initialized 2024-01-11 18:46:52 +02:00
fs.h mlx5core: add linux/bitops.h include for mlx5_ifc.h use of BIT() 2023-11-22 03:40:28 +02:00
mlx5_ifc.h mlx5: Introduce new destination type TABLE_TYPE 2023-11-22 03:40:28 +02:00
mlx5_rdma_if.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5io.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mpfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
port.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
qp.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
srq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tls.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
vport.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00