freebsd-skq/sys
royger 61a9e101c9 pci: fix write order when sizing BARs
According to the PCI Local Specification rev. 3.0 in case of a 64-bit
BAR both the low and the high parts of the register should be set to
~0 before attempting to read back the size.

So far I have found no single device that has problems with the
previous approach, but I think it's better to stay on the safe size.

This commit should not introduce any functional change.

MFC after:		3 weeks
Sponsored by:		Citrix Systems R&D
Reviewed by:		jhb
Differential revision:	https://reviews.freebsd.org/D11750
2017-08-01 10:47:44 +00:00
..
amd64 Batch updates to v_wire_count when freeing page table pages on x86. 2017-08-01 05:26:30 +00:00
arm Add the i2c RTC drivers found on various arm systems. 2017-07-30 00:25:29 +00:00
arm64 Pass the last exception trap frame to kdb_trap. This allows show registers 2017-07-26 17:39:10 +00:00
boot Standardize paths on SRCTOP instead of .CURDIR-relative paths 2017-08-01 05:39:40 +00:00
bsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
cam adaasync(): Set ADA_STATE_WCACHE based on ADA_FLAG_CAN_WCACHE 2017-07-27 07:28:29 +00:00
cddl spa_import_rootpool should be able to handle an imported root pool 2017-07-25 13:17:06 +00:00
compat Remove cycle_t type from the LinuxKPI similar to Linux upstream. 2017-07-31 09:17:54 +00:00
conf Add a driver for the Intersil ISL12xx family of i2c RTC chips. 2017-08-01 04:16:52 +00:00
contrib Merge ACPICA 20170728. 2017-07-28 22:23:29 +00:00
crypto Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ddb Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
dev pci: fix write order when sizing BARs 2017-08-01 10:47:44 +00:00
fs Implement proper Linux /dev/fd and /proc/self/fd behavior by adding 2017-08-01 03:40:19 +00:00
gdb
geom Add GEOM::descr attribute for symmetry with GEOM::ident. 2017-07-06 08:36:14 +00:00
gnu Update DTS files from Linux 4.12 2017-07-09 13:53:32 +00:00
i386 Batch updates to v_wire_count when freeing page table pages on x86. 2017-08-01 05:26:30 +00:00
isa Protect access to the AT realtime clock with its own mutex. 2017-07-12 02:42:57 +00:00
kern The blist_meta_* routines that process a subtree take arguments 'radix' and 2017-08-01 03:51:26 +00:00
kgssapi
libkern arm64: add ".arch armv8-a+crc" to allow use of crc instructions 2017-06-08 20:06:09 +00:00
mips [ar71xx] get rid of ath_pci - it's built as a module now. 2017-07-28 01:17:38 +00:00
modules Add a driver for the Intersil ISL12xx family of i2c RTC chips. 2017-08-01 04:16:52 +00:00
net Add inpcb pointer to struct ipsec_ctx_data and pass it to the pfil hook 2017-07-31 11:04:35 +00:00
net80211 sys/net8021: Add missing braces in setcurchan(). 2017-08-01 03:13:43 +00:00
netgraph Check return value from soaccept(). 2017-06-14 16:13:20 +00:00
netinet After inpcb route caching was put back in place there is no need for 2017-07-27 13:03:36 +00:00
netinet6 After inpcb route caching was put back in place there is no need for 2017-07-27 13:03:36 +00:00
netipsec Add inpcb pointer to struct ipsec_ctx_data and pass it to the pfil hook 2017-07-31 11:04:35 +00:00
netpfil Fix a couple of typos in a comment. 2017-07-21 03:04:55 +00:00
netsmb
nfs Improve FHA locality control for NFS read/write requests. 2017-07-31 15:23:19 +00:00
nfsclient Add an NFSv4.1 mount option for "use one openowner". 2017-04-13 21:54:19 +00:00
nfsserver
nlm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
ofed Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
opencrypto Use const with some read-only buffers in opencrypto APIs. 2017-05-09 18:28:42 +00:00
powerpc Add cpufreq support for P1022 and MPC8536 2017-07-21 03:40:05 +00:00
riscv Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
rpc Listening sockets improvements. 2017-06-08 21:30:34 +00:00
security Correct bitwise test in mac_bsdextended ugidfw_rule_valid() 2017-06-13 01:17:58 +00:00
sparc64 Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
sys The blist_meta_* routines that process a subtree take arguments 'radix' and 2017-08-01 03:51:26 +00:00
teken
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools make.conf: Add the possibility to use another DTC 2017-06-17 23:34:53 +00:00
ufs Avoid reading a snapshot block when it is already in the cache. 2017-07-31 20:41:45 +00:00
vm Mark pages after EOF as clean after pageout. 2017-07-26 20:07:05 +00:00
x86 Don't trace running threads that have interrupts disabled. 2017-07-31 17:57:54 +00:00
xdr * limit size of buffers to RPC_MAXDATASIZE 2017-06-01 06:12:25 +00:00
xen
Makefile Remove glimpse make target added in r181432 2017-05-22 15:53:30 +00:00