freebsd-src/sys/dev/nvme
Mark Johnston d9b7301bb7 nvme: Initialize HMB entries before loading them into the controller
struct nvme_hmb_desc contains a pad field which was not getting
initialized before being synced.  This doesn't have much consequence but
triggers a report from KMSAN, which verifies that host-filled DMA memory
is initialized before it is made visible to the device.  So, let's just
initialize it properly.

Reported by:	KMSAN
Reviewed by:	mav, imp
MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D43090
2023-12-18 17:45:24 -05:00
..
nvme.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
nvme_ahci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_ctrlr.c nvme: Initialize HMB entries before loading them into the controller 2023-12-18 17:45:24 -05:00
nvme_ctrlr_cmd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme_ns.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_ns_cmd.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
nvme_pci.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_private.h nvme: Introduce longer timeouts for admin queue 2023-11-06 11:05:48 -05:00
nvme_qpair.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_sim.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_sysctl.c nvme: Introduce longer timeouts for admin queue 2023-11-06 11:05:48 -05:00
nvme_test.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
nvme_util.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00