opnsense-src/sys
Bjoern A. Zeeb c39eefe715 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
MFC after:	7 days
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D32164
2021-09-29 12:41:28 +00:00
..
amd64 Bring the tags and links entries for amd64 up to date. 2021-09-27 20:04:51 -07:00
arm Use mtx_lock_spin in the gic driver 2021-09-28 12:42:06 +01:00
arm64 qoriq_therm.c: avoid a segfault on the error exit path. 2021-09-28 12:19:44 -06:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam cam: Avoiding waking up doneq threads if we're dumping 2021-09-25 10:15:03 -04:00
cddl kern: drop remaining references to removed makesyscalls.sh 2021-09-09 19:40:54 -05:00
compat LinuxKPI: implement dma_set_coherent_mask() 2021-09-29 12:41:28 +00:00
conf cxgbe(4): Update firmwares to 1.26.2.0. 2021-09-27 23:52:51 -07:00
contrib ipfilter: Correct a comment 2021-09-27 11:13:50 -07:00
crypto crypto(4): Fix a few typos in camellia.c 2021-09-04 13:02:11 +02:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev neta: cleanup warning 2021-09-29 12:37:16 +00:00
dts Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
fs fusefs: implement FUSE_NO_OPEN_SUPPORT and FUSE_NO_OPENDIR_SUPPORT 2021-09-26 21:57:29 -06:00
gdb
geom Fix memory deadlock when GELI partition is used for swap. 2021-09-28 11:23:52 -07:00
gnu
i386 Drop cloudabi 2021-09-22 00:18:44 +03:00
isa
kern boot(9): update to match reality 2021-09-28 11:36:09 -03:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips Fix a common typo in source code comments 2021-09-04 12:56:57 +02:00
modules mgb: Connect if_mgb module to the build 2021-09-28 21:16:40 -04:00
net pf: support dummynet 2021-09-24 11:41:25 +02:00
net80211 net80211(4): Fix a few common typos in source code comments 2021-09-25 13:57:41 +02:00
netgraph ng_ether: Create netgraph nodes for bridge interfaces. 2021-09-26 01:24:33 +09:00
netinet sctp: provide a specific stream scheduler function for FCFS 2021-09-29 02:08:37 +02:00
netinet6 sctp: Tighten up locking around sctp_aloc_assoc() 2021-09-11 10:15:21 -04:00
netipsec ipsec: fix typo part2 2021-09-27 07:46:56 +02:00
netpfil pf: support dummynet 2021-09-24 11:41:25 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto opencrypto: Disallow requests which pass VERIFY_DIGEST without a MAC 2021-09-24 15:04:45 -04:00
powerpc powerpc64: fix radix on pseries TLB invalidation 2021-09-08 08:37:11 -03:00
riscv sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-08-30 23:38:02 +01:00
rpc rpc: Convert an SOLISTENING check to an assertion 2021-09-17 14:19:05 -04:00
security Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
sys Add flag BIO_SWAP to mark IOs that are associated with swap. 2021-09-28 11:23:51 -07:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools makesyscalls: sprinkle some assert() on standard function calls 2021-09-24 20:55:56 -05:00
ufs Avoid "consumer not attached in g_io_request" panic when disk lost 2021-09-27 20:04:51 -07:00
vm Externalize nsw_cluster_max and initialize it early. 2021-09-28 11:23:52 -07:00
x86 x86 bounce_bus_dmamem_alloc(): use malloc_aligned() only when possible 2021-09-25 15:58:12 +03:00
xdr
xen xen: introduce xen_pv_disks_disabled() 2021-07-28 17:27:04 +02:00
Makefile