opnsense-src/sys/dev/sdhci
Bartlomiej Grzesik 3ac5012e52 sdhci: Fix crash caused by M_WAITOK in sdhci dumps
In some contexts it is illegal to wait for memory allocation, causing
kernel panic. By default sbuf_new passes M_WAITOK to malloc,
which caused crashes when sdhci_dumpcaps or sdhci_dumpregs was callend in
non sutiable context.

Add SBUF_NOWAIT flag to sbuf_new to fix this.

Obtained from:		Semihalf
Differential revision:	https://reviews.freebsd.org/D32075
2021-10-05 06:22:32 +02:00
..
fsl_sdhci.c sdhci: clean up empty lines in .c and .h files 2020-09-01 21:54:16 +00:00
sdhci.c sdhci: Fix crash caused by M_WAITOK in sdhci dumps 2021-10-05 06:22:32 +02:00
sdhci.h Align struct sdhci_slot MMCCAM members. 2019-03-21 10:23:02 +00:00
sdhci_acpi.c o Don't allocate resources for SDMA in sdhci(4) if the controller or the 2018-12-30 23:08:06 +00:00
sdhci_fdt.c sdhci: clean up empty lines in .c and .h files 2020-09-01 21:54:16 +00:00
sdhci_fdt_gpio.c Release all previously allocated resources. 2017-03-08 14:52:03 +00:00
sdhci_fdt_gpio.h Add new helper routines for sdhci bridge drivers that use gpio pins for 2017-01-09 01:54:36 +00:00
sdhci_fsl_fdt.c mmc: switch mmc_helper to device_ api 2021-09-20 17:18:02 +02:00
sdhci_if.m Regularize my copyright notice 2019-12-04 16:56:11 +00:00
sdhci_pci.c sdhci(4): Recognize the Texas Instruments PCIxx12 card reader. 2020-08-25 18:32:43 +00:00
sdhci_xenon.c sdhci_xenon: split driver file into generic file and fdt parts 2021-09-29 16:19:28 +02:00
sdhci_xenon.h sdhci_xenon: split driver file into generic file and fdt parts 2021-09-29 16:19:28 +02:00
sdhci_xenon_acpi.c sdhci_xenon: add ACPI support 2021-09-29 16:19:28 +02:00
sdhci_xenon_fdt.c sdhci_xenon: split driver file into generic file and fdt parts 2021-09-29 16:19:28 +02:00