opnsense-src/sys
Jessica Clarke 982d709cdc pci_dw: Support multiple memory windows
Currently we assume there is only one memory and one prefetch memory
window, and ignore the latter. However, the SiFive FU740 has two normal
memory windows.

As part of this, the viewports are rearranged. Previously the viewports
were memory, config then optionally I/O. Both to simplify the config
index calculation and to ensure it can always be mapped even if we have
too many memory windows for the number of viewports, config is moved to
being the first viewport.

This generalisation now also naturally supports mapping prefetch memory
windows.

Reviewed by:	mmel
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31028

(cherry picked from commit f8c1701f23)
2021-09-07 13:06:47 +01:00
..
amd64 Correct "Fondation" typo (missing "u") 2021-09-04 01:26:23 +08:00
arm Revert "arm: Bump KSTACK_PAGES default to match i386/amd64" 2021-09-02 07:56:25 -07:00
arm64 pmap: Micro-optimize pmap_remove_pages() on amd64 and arm64 2021-09-01 09:29:01 -04:00
bsm
cam cam(4): Fix quick unplug/replug for SCSI. 2021-09-03 23:25:24 -04:00
cddl fbt: Remove some handling for multiple CTF containers 2021-04-15 21:27:24 -04:00
compat linuxkpi: remove global atomic counter of the task allocations 2021-08-03 12:56:02 +03:00
conf Don't error out on unused but set variables with clang 13 2021-09-02 23:53:18 +02:00
contrib Fix acpica macros that subtract null pointers 2021-09-02 23:53:18 +02:00
crypto crypto(4): Fix a few typos in camellia.c 2021-09-07 09:23:33 +02:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev pci_dw: Support multiple memory windows 2021-09-07 13:06:47 +01:00
dts arm: allwinner: dtb: Add overlays to disable SD/MMC node 2021-07-22 19:29:21 +02:00
fs tmpfs: Move partial page invalidation to a separate helper 2021-09-04 01:21:10 +08:00
gdb gdb: report specific stop reason for watchpoints 2021-04-21 10:20:33 -03:00
geom Fix some common typos in source code comments 2021-08-31 08:13:15 +02:00
gnu
i386 Style 2021-09-02 03:52:24 +03:00
isa Remove more remnants of sio(4) 2021-04-14 09:19:49 -04:00
kern connect: Use soconnectat() unconditionally in kern_connect() 2021-09-05 13:26:08 -04:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
modules MFC 517904de5c: igc(4): Introduce new driver for the Intel I225 Ethernet controller. 2021-08-15 20:33:54 +10:00
net pf: Introduce nvlist variant of DIOCGETSTATUS 2021-09-06 10:06:23 +02:00
net80211 net80211/LinuxKPI: add more radiotap definitions 2021-07-18 00:35:03 +00:00
netgraph ng_bridge: Use M_NOWAIT when allocating memory in the newhook routine 2021-08-20 08:42:43 -04:00
netinet Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
netinet6 inet6(4): Fix a few common typos in source code comments 2021-08-31 08:11:24 +02:00
netipsec netipsec/key.c: Use ANSI C definition for key_random() 2021-08-13 12:34:42 +03:00
netpfil pf: Introduce nvlist variant of DIOCGETSTATUS 2021-09-06 10:06:23 +02:00
netsmb netsmb: Avoid a read-after-free in smb_t2_request_int() 2021-06-02 09:34:47 -04:00
nfs
nfsclient
nfsserver
nlm
ofed Fix mismerge in OFED update 2021-07-26 18:12:35 +02:00
opencrypto cryptodev: Fix some input validation bugs 2021-05-14 09:58:54 -04:00
powerpc Add pmap_vm_page_alloc_check() 2021-08-24 02:21:13 +03:00
riscv riscv: Fix pindex level confusion 2021-09-07 13:06:46 +01:00
rpc Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
security mac: cheaper check for ifnet_create_mbuf and ifnet_check_transmit 2021-07-05 11:32:14 +00:00
sys pci: Add an ioctl to perform I/O to BARs 2021-08-29 12:39:42 -04:00
teken
tests tests: Revise FIB lookups per second benchmarking routines 2021-06-20 13:27:17 +02:00
tools makesyscalls.lua: improve generated file style(9) compliance 2021-05-19 20:31:54 -04:00
ufs ffs_update(): Do not assume that EBUSY can only come LK_NOWAIT trylock 2021-09-07 03:39:32 +03:00
vm Add pmap_vm_page_alloc_check() 2021-08-24 02:21:13 +03:00
x86 xen: Fix warning by adding KERNBASE to modlist_paddr before casting 2021-09-02 23:53:18 +02:00
xdr
xen
Makefile