opnsense-src/sys
Bjoern A. Zeeb 37b2cf4e6a LinuxKPI: implement dma_set_coherent_mask()
Coherent is lower 32bit only by default in Linux and our only default
dma mask is 64bit currently which violates expectations unless
dma_set_coherent_mask() was called explicitly with a different mask.

Implement coherent by creating a second tag, and storing the tags in the
objects and use the tag from the object wherever possible.
This currently does not update the scatterlist or pool (both could be
converted but S/G cannot be MFCed as easily).

There is a 2nd change embedded in the updated logic of
linux_dma_alloc_coherent() to always zero the allocation as
otherwise some drivers get cranky on uninialised garbage.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit c39eefe715)
(cherry picked from commit 1269873159)
2021-11-19 00:01:24 +00:00
..
amd64 amd64/ia32/ia32_signal.c: Use ANSI C functions definitions 2021-11-16 02:45:30 +02:00
arm arm: fix a typo in nvidia/drm2/tegra_bo.c 2021-11-09 08:46:01 -05:00
arm64 Use the vm_radix_init() helper when initializing pmaps 2021-11-03 13:42:21 -04:00
bsm
cam scsi_cd: Improve TOC access validation 2021-11-10 09:22:39 -05:00
cddl kern: drop remaining references to removed makesyscalls.sh 2021-09-14 20:53:03 -05:00
compat LinuxKPI: implement dma_set_coherent_mask() 2021-11-19 00:01:24 +00:00
conf kasan: Disable validation of function parameters passed by value 2021-11-17 09:27:16 -05:00
contrib Upgrade ENA to v2.4.1 2021-10-07 18:10:32 +02:00
crypto crypto: Support Chacha20-Poly1305 with a nonce size of 8 bytes. 2021-10-21 14:19:30 -07:00
ddb
dev snd_uaudio(4): Fix string index computations for iFeature. 2021-11-16 09:09:09 +01:00
dts arm: allwinner: dtb: Add overlays to disable SD/MMC node 2021-07-22 19:29:21 +02:00
fs nfscl: Fix forced dismount when "nconnect" is specified 2021-11-16 17:27:06 -08:00
gdb
geom gjournal(8): Fix a typo in a source code comment 2021-11-06 08:51:45 +01:00
gnu
i386 Use the vm_radix_init() helper when initializing pmaps 2021-11-03 13:42:21 -04:00
isa
kern start_init: use 'p' 2021-11-18 02:32:32 +02:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
modules driver for MAX44009 I2C illuminance sensor 2021-11-13 11:12:05 +02:00
net pf: remove unused field from pf_kanchor 2021-10-22 09:34:08 +02:00
net80211 net80211: add func/line information to IEEE80211_DISCARD* macros 2021-11-19 00:01:24 +00:00
netgraph ng_pptpgre(4): Fix a typo in a source code comment 2021-11-06 08:50:54 +01:00
netinet ip_divert: calculate delayed checksum for IPv6 adress family 2021-11-12 15:19:19 +03:00
netinet6 nd6: Make the DAD callout MPSAFE 2021-09-21 09:37:52 -04:00
netipsec ipsec: enter epoch before calling into ipsec_run_hhooks 2021-10-11 09:10:31 +00:00
netpfil pf: ensure we have the correct source/destination IP address in ICMP errors 2021-11-14 00:15:37 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed socket: Rename sb(un)lock() and interlock with listen(2) 2021-10-07 09:56:47 -04:00
opencrypto crypto: Support Chacha20-Poly1305 with a nonce size of 8 bytes. 2021-10-21 14:19:30 -07:00
powerpc powerpc64: fix OFWFB with Radix MMU 2021-11-05 11:08:27 -03:00
riscv Convert consumers to vm_page_alloc_noobj_contig() 2021-11-03 13:41:40 -04:00
rpc rpc: Convert an SOLISTENING check to an assertion 2021-09-24 09:01:07 -04:00
security
sys Factor out flags preserved during mbuf demote into a separate define. 2021-11-12 15:33:54 +01:00
teken
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools makesyscalls.lua: add a CAPENABLED flag 2021-10-20 00:19:56 +01:00
ufs ufs: remove write-only variables 2021-10-27 03:24:40 +03:00
vm uma: Fix handling of reserves in zone_import() 2021-11-15 09:07:10 -05:00
x86 Generalize bus_space(9) and atomic(9) sanitizer interceptors 2021-11-01 10:16:39 -04:00
xdr
xen
Makefile