freebsd-nq/sys
Warner Losh 9f8ed7e40b Fix NVMe's use of XPT_GDEV_TYPE
This patch changes the way XPT_GDEV_TYPE works for NVMe. The current
ccb_getdev structure includes pointers to the NVMe Identify Controller
and Namespace structures, but these are kernel virtual addresses which
are not accessible from user space.

As an alternative, the patch changes the pointers into padding in
ccb_getdev and adds two new types to ccb_dev_advinfo to retrieve the
Identify Controller (CDAI_TYPE_NVME_CNTRL) and Namespace
(CDAI_TYPE_NVME_NS) data structures.

Reviewed By: rpokala, imp
Differential Revision: https://reviews.freebsd.org/D10466
Submitted by: Chuck Tuffli
2017-08-29 17:03:30 +00:00
..
amd64 Drop CACHE_LINE_SIZE to 64 bytes on x86 2017-08-28 22:28:41 +00:00
arm Use better hard-coded defaults for the cursor shape, and remove nearby 2017-08-19 19:33:16 +00:00
arm64 Remove an unneeded call to pmap_invalidate_all. This was never called as 2017-08-22 18:20:25 +00:00
boot Eliminate redunant device path matching. 2017-08-27 03:10:16 +00:00
bsm
cam Fix NVMe's use of XPT_GDEV_TYPE 2017-08-29 17:03:30 +00:00
cddl Add a guard around _ILP32 for mips. 2017-08-21 17:45:06 +00:00
compat Sync CloudABI compatibility against the latest upstream version (v0.13). 2017-08-25 11:01:39 +00:00
conf Add new compile-time option NVME_USE_NVD that sets the default value 2017-08-28 23:54:25 +00:00
contrib Sync CloudABI compatibility against the latest upstream version (v0.13). 2017-08-25 11:01:39 +00:00
crypto aesni: quiet -Wcast-qual 2017-08-16 22:54:35 +00:00
ddb Rename mkdumpheader() and group EKCD functions in kern_shutdown.c. 2017-08-18 04:04:09 +00:00
dev Fix a few overlooked spots where the coded uses 16-bit NSIDs. Chuck 2017-08-29 15:46:34 +00:00
fs Style. 2017-08-28 21:04:56 +00:00
gdb
geom Let g_access() log the actual error number. 2017-08-27 12:24:25 +00:00
gnu Update DTS files from Linux 4.12 2017-07-09 13:53:32 +00:00
i386 Drop CACHE_LINE_SIZE to 64 bytes on x86 2017-08-28 22:28:41 +00:00
isa Use better hard-coded defaults for the cursor shape, and remove nearby 2017-08-19 19:33:16 +00:00
kern Add CAM/NVMe support for CAM_DATA_SG 2017-08-29 15:29:57 +00:00
kgssapi
libkern x86/crc32_sse42.c: quiet unused function warning 2017-08-11 17:05:31 +00:00
mips Fix limits.h constants to have correct type on MIPS 2017-08-26 03:21:12 +00:00
modules Add nvme_sim.c since that's not runtime switchable. 2017-08-28 23:54:16 +00:00
net Garbage collect RT_NORTREF, which is no longer in use after FLOWTABLE removal. 2017-08-24 23:08:12 +00:00
net80211 net80211: fix a typo (premable -> preamble). 2017-08-27 22:13:03 +00:00
netgraph Check return value from soaccept(). 2017-06-14 16:13:20 +00:00
netinet Fix blackhole detection. 2017-08-28 11:41:18 +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 Remove stale comments. 2017-08-21 13:54:29 +00:00
netpfil pf_get_sport(): Prevent possible endless loop when searching for an unused nat port 2017-08-08 21:09:26 +00:00
netsmb
nfs Improve FHA locality control for NFS read/write requests. 2017-07-31 15:23:19 +00:00
nfsclient
nfsserver
nlm
ofed Change reject message type when destroying cm_id in ibore. 2017-08-03 09:31:10 +00:00
opencrypto
powerpc Use better hard-coded defaults for the cursor shape, and remove nearby 2017-08-19 19:33:16 +00:00
riscv Support for v1.10 (latest) of RISC-V privilege specification. 2017-08-10 14:18:09 +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 Rename mkdumpheader() and group EKCD functions in kern_shutdown.c. 2017-08-18 04:04:09 +00:00
sys Drop CACHE_LINE_SIZE to 64 bytes on x86 2017-08-28 22:28:41 +00:00
teken Fix syscons escape sequence for setting the local cursor type. This sequence 2017-08-18 15:40:40 +00:00
tests
tools make.conf: Add the possibility to use another DTC 2017-06-17 23:34:53 +00:00
ufs Protect v_rdev dereference with the vnode interlock instead of the 2017-08-25 09:51:22 +00:00
vm Synchronize page laundering with pmap_extract_and_hold(). 2017-08-28 22:10:15 +00:00
x86 Stop masking FSGSBASE and SMEP features under monitors. 2017-08-24 10:57:34 +00:00
xdr * limit size of buffers to RPC_MAXDATASIZE 2017-06-01 06:12:25 +00:00
xen
Makefile