freebsd-dev/sys
Warner Losh 3740a8db13 nvme: Further refinements in Host Memory Buffer Sizing
Host Memory Buffer units are a mix. For those in the identify structure,
the size is in 4kiB chunks. For specifying the buffer description,
though, they are in terms of the drive's MPS. Add comments to this
effect and change PAGE_SIZE to ctrlr->page_size where needed, as well as
correct a mistaken use of NVME_HPS_UNITS in 214df80a9c as pointed out
by rpokala@ after the commit. No functional change is intended, as
page_size is still 4k which matches all current hosts' PAGE_SIZE, but to
support 16k pages on arm, we need to differentiate these two cases.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D34871
2022-04-15 14:46:19 -06:00
..
amd64 Remove checks for <sys/cdefs.h> being included. 2022-04-12 10:06:18 -07:00
arm arm freescale: Remove unused variables. 2022-04-13 16:08:22 -07:00
arm64 genet: fix problems with interface down/up 2022-04-14 14:10:13 -05:00
bsm
cam cam(4): Remove a double word in a source code comment 2022-04-09 10:13:59 +02:00
cddl zfs: merge openzfs/zfs@a86e08941 (master) into main 2022-03-08 18:53:02 +01:00
compat LinuxKPI: 802.11: improve hw_scan 2022-04-15 15:54:03 +00:00
conf zfs: Disable -Wunused-but-set-variable for dnode.c. 2022-04-13 16:08:20 -07:00
contrib acpica: Drop a local patch in favor of an upstream patch 2022-04-15 16:29:09 -04:00
crypto Remove checks for __GNUCLIKE_ASM assuming it is always true. 2022-04-12 10:05:45 -07:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev nvme: Further refinements in Host Memory Buffer Sizing 2022-04-15 14:46:19 -06:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs fusefs: validate servers' error values 2022-04-15 13:57:32 -06:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom Remove 12.x ABI compat for kernel dump ioctls 2022-04-15 12:06:05 -03:00
gnu
i386 i386 getmemsize: Use __diagused for a variable only used in KASSERT(). 2022-04-13 16:08:23 -07:00
isa sys/isa: Use C99 fixed-width integer types. 2021-12-28 09:41:57 -08:00
kern Revert rest of a5970a529c: use vrefact() when working on fp->f_vnode 2022-04-15 16:56:20 +03:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix two typos in source code comments 2022-04-09 09:36:34 +02:00
modules zfs: Disable -Wunused-but-set-variable for dnode.c. 2022-04-13 16:08:20 -07:00
net infiniband_resolve_addr: ih is only used for INET or INET6. 2022-04-13 16:08:21 -07:00
net80211 net80211(4): Fix a typo in a source code comment 2022-04-09 09:13:53 +02:00
netgraph ng_netflow: Move various variables under INET || INET6. 2022-04-13 16:08:21 -07:00
netinet Remove 12.x ABI compat for kernel dump ioctls 2022-04-15 12:06:05 -03:00
netinet6 netinet6: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:19 -07:00
netipsec ipsec_encap: setdf is only used for INET. 2022-04-13 16:08:21 -07:00
netpfil ipfw: icmp6_type is only used for INET6. 2022-04-13 16:08:21 -07:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: do not panic on bootpc_init when no interfaces are found 2022-04-07 19:33:26 -03:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed ofed: Fix a typo in a source code comment 2022-04-09 14:39:36 +02:00
opencrypto crypto: hide crypto_destroyreq behind a tunable 2022-02-16 07:45:12 +00:00
powerpc powerpc mpc85xx: Remove unused variables. 2022-04-13 16:08:24 -07:00
riscv riscv: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:23 -07:00
rpc svc_vc_rendezvous_stat: eliminiate write only variable stat 2022-04-04 22:31:04 -06:00
security audit: Initialize vattr fields before calling VOP_GETATTR 2022-03-28 11:23:45 -04:00
sys Remove 12.x ABI compat for kernel dump ioctls 2022-04-15 12:06:05 -03:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
tests
tools syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
ufs ufs/acl.h: forward-declare struct inode 2022-04-10 00:43:53 +03:00
vm vm: Initialize the transient buffer mapping arena with M_WAITOK 2022-04-14 15:46:14 -04:00
x86 Remove checks for <sys/cdefs.h> being included. 2022-04-12 10:06:18 -07:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen xen: Use __diagused for a variable only used in KASSERT(). 2022-04-13 16:08:20 -07:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00