freebsd-dev/sys
Warner Losh a70b5660f3 nvme: MPS is a power of two, not a size / 8k
Setting MPS in the CC should be a power of 2 number (it specifies the
page size of the host is 2^(12+MPS)), so adjust the calcuation. There is
no functional change because we do not support any architecutres != 4k
pages (yet). Other changes are needed for architectures with 16k or 64k
pages, especially when the underlying NVMe drive doesn't support that
page size (Most drives support a range that's small, and many only
support 4k), but let's at least do this calculation correctly. 12 - 12
is just as much 0 as 4096 >> 13 is :)

Sponsored by:		Netflix
Reviewed by:		mav
Differential Revision:	https://reviews.freebsd.org/D34707
2022-03-31 21:12:38 -06:00
..
amd64 linux(4): Add compat.linux32.emulate_i386 knob. 2022-03-31 21:01:09 +03:00
arm syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
arm64 sysent: regen for syscallarg_t 2022-03-28 19:43:03 +01:00
bsm
cam vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd) 2022-03-24 10:20:51 +00:00
cddl zfs: merge openzfs/zfs@a86e08941 (master) into main 2022-03-08 18:53:02 +01:00
compat linsysfs: plug set-but-not-used vars. 2022-03-31 23:49:26 +03:00
conf zfs: merge openzfs/zfs@bc3f12bfa (master) into main 2022-03-29 12:07:34 +02:00
contrib acpica: Import ACPICA 20220331 2022-03-31 21:59:23 -04:00
crypto armv8crypto: Remove leftover debug printfs 2022-02-17 14:25:45 -05:00
ddb
dev nvme: MPS is a power of two, not a size / 8k 2022-03-31 21:12:38 -06:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs nfscl: Fix IO_APPEND writes from kernel space 2022-03-28 15:11:52 -07:00
gdb
geom gpart(8): Fix two typos in source code comments 2022-03-28 19:36:48 +02:00
gnu
i386 sysent: regen for syscallarg_t 2022-03-28 19:43:03 +01:00
isa
kern syscalls.master: remove obsolete comment about compatibility tables 2022-03-30 11:07:00 -04:00
kgssapi
libkern
modules rtw88: add man pages and hook up to build 2022-04-01 00:07:24 +00:00
net pf: support listing ethernet anchors 2022-03-30 10:28:19 +02:00
net80211 net80211: introduce (*iv_update_bss)() 2022-03-22 18:51:43 +00:00
netgraph netgraph(3): Fix a typo in a source code comment 2022-03-28 19:31:50 +02:00
netinet Address issue pointed out in CVE-2020-25705 2022-03-31 16:45:50 +02:00
netinet6 netinet6: Fix a typo in a source code comment 2022-03-28 19:32:10 +02:00
netipsec ipsec: sprinkle CURVNET_ASSERT_SET 2022-02-19 13:10:41 +00:00
netpfil pf: Initialize the table entry zone limit at initialization time 2022-03-30 15:41:44 -04:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: Fix multiple includes of same header file. 2022-03-03 12:51:20 +01:00
opencrypto crypto: hide crypto_destroyreq behind a tunable 2022-02-16 07:45:12 +00:00
powerpc powerpcspe: fix PCI enumeration on ppce500 2022-03-21 16:11:33 -03:00
riscv syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
rpc
security audit: Initialize vattr fields before calling VOP_GETATTR 2022-03-28 11:23:45 -04:00
sys Bump __FreeBSD_version for zlib upgrade. 2022-03-31 07:30:42 -07: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 ffs(3): Fix a common typo in source code comments 2022-03-28 19:37:03 +02:00
vm vm_phys: check small blocks to finish allocation 2022-03-31 16:19:55 -05:00
x86 xen(4): Fix a few typos in source code comments 2022-03-28 19:37:20 +02:00
xdr
xen xen(3): Fix a typo in a source code comment 2022-03-28 19:32:53 +02:00
Makefile