freebsd-skq/sys/x86
Konstantin Belousov f3ea417f96 x86 busdma_bounce: use malloc_domainset_aligned(9).
This stops busdma bounce making assumptions about alignment of malloc(9)
results, which are no longer true.

Also add assert that the result of malloc_aligned() fits into single
page, which is the assumption of the code.

Reported by:	dim
Reviewed by:	andrew, jah, markj
Tested by:	pho
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D28147
2021-01-17 19:29:05 +02:00
..
acpica x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00
bios Explicit CTLFLAG_DYN not needed 2020-10-04 19:37:15 +00:00
conf Use envvar rather than nonstandard hint. lines 2020-09-23 19:18:53 +00:00
cpufreq hwpstate_intel: don't unconditionally print the error message 2020-11-29 01:43:04 +00:00
include Add VT driver for VBE framebuffer device 2020-11-30 08:22:40 +00:00
iommu dmar: reserve memory windows of PCIe root port 2020-12-09 18:43:58 +00:00
isa timer_restore is now unused, remove it 2020-10-08 20:56:11 +00:00
linux linux(4): Deduplicate unimpl/dummy syscall handlers 2020-11-05 19:30:31 +00:00
pci x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00
x86 x86 busdma_bounce: use malloc_domainset_aligned(9). 2021-01-17 19:29:05 +02:00
xen x86: clean up empty lines in .c and .h files 2020-09-01 21:23:59 +00:00