svn commit: r350972 - in head/sys: kern sys

2019-08-12 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 04:54:02 2019 New Revision: 350972 URL: https://svnweb.freebsd.org/changeset/base/350972 Log: Move scheduler state into the per-cpu area where it can be allocated on the correct NUMA domain. Reviewed by: markj, gallatin Sponsored by: Netflix

svn commit: r350971 - head/share/man/man4

2019-08-12 Thread Ian Lepore
Author: ian Date: Tue Aug 13 03:49:53 2019 New Revision: 350971 URL: https://svnweb.freebsd.org/changeset/base/350971 Log: Fix the driver name in ads111x.4, and hook the manpage up to the build. The driver was originally written with the name ads1115, but at the last minute it got

svn commit: r350969 - head/share/man/man4

2019-08-12 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 01:24:43 2019 New Revision: 350969 URL: https://svnweb.freebsd.org/changeset/base/350969 Log: Add deprecation notice to snd_ds1(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 We will be dropping the snd_ds1 driver. The driver is known

svn commit: r350970 - head/share/man/man4

2019-08-12 Thread Pedro F. Giffuni
Author: pfg Date: Tue Aug 13 01:25:07 2019 New Revision: 350970 URL: https://svnweb.freebsd.org/changeset/base/350970 Log: Add deprecation notice to snd_maestro(4). As suggested in: https://wiki.freebsd.org/WhatsGoing/FreeBSD13 this old driver is buggy and no one is working on it so

svn commit: r350968 - stable/12/sys/powerpc/conf

2019-08-12 Thread Piotr Kubaj
Author: pkubaj (ports committer) Date: Mon Aug 12 23:44:03 2019 New Revision: 350968 URL: https://svnweb.freebsd.org/changeset/base/350968 Log: MFC r348250: Add snd_hda(4) to GENERIC64 used by powerpc64. amd64 also has snd_hda(4) in GENERIC. Approved by: jhibbits (src committer),

svn commit: r350966 - in head/sys: arm64/conf conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 23:25:14 2019 New Revision: 350966 URL: https://svnweb.freebsd.org/changeset/base/350966 Log: ukbdmap.h rule was identical on all platforms, so move them into sys/conf/files. This allows us to remove 'nodevice ukbd' from the arm64 NOTES file. Modified:

svn commit: r350967 - in head/sys: conf powerpc/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 23:25:21 2019 New Revision: 350967 URL: https://svnweb.freebsd.org/changeset/base/350967 Log: Fix powerpc LINT build tcpratelimit isn't supported as there's now atomic_add_64, so add it to the exclusion list Add comment for why PPC_PROBE_CHIPSET is on the

svn commit: r350965 - head/sys/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:56 2019 New Revision: 350965 URL: https://svnweb.freebsd.org/changeset/base/350965 Log: Create files.x86 files.x86 is for the parts of the system that are common to both i386 and amd64 due too their nature. First up, to get the ball rolling, is fdc,

svn commit: r350964 - in head/sys: arm/conf arm64/conf conf powerpc/conf sparc64/conf x86/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:50 2019 New Revision: 350964 URL: https://svnweb.freebsd.org/changeset/base/350964 Log: Floppy driver really only works on x86 Move the floppy driver to the x86 specific notes file. Reviewed by: jhb, manu, jhibbits, emaste Differential Revision:

svn commit: r350963 - in head/sys: arm/conf arm64/conf conf powerpc/conf sparc64/conf x86/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:44 2019 New Revision: 350963 URL: https://svnweb.freebsd.org/changeset/base/350963 Log: Move sc out of the global file x86 needs sc, as does sparc64. powerpc doesn't use it by default, but some old powermac notebooks do not work with vt yet for reasons

svn commit: r350962 - in head/sys: amd64/conf conf i386/conf x86/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:13 2019 New Revision: 350962 URL: https://svnweb.freebsd.org/changeset/base/350962 Log: Start to split out the really x86 specific NOTES from the global notes file. Start with COMPAT_43, since it's really only relevant to x86. Reviewed by: jhb@

svn commit: r350961 - head/sys/dev/nvd

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 21:51:47 2019 New Revision: 350961 URL: https://svnweb.freebsd.org/changeset/base/350961 Log: Missed part of r350523. MFC after:3 days Modified: head/sys/dev/nvd/nvd.c Modified: head/sys/dev/nvd/nvd.c

svn commit: r350960 - stable/11/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 20:34:56 2019 New Revision: 350960 URL: https://svnweb.freebsd.org/changeset/base/350960 Log: MFC r342358 (by imp): Try the first 256 units with nvmecontrol devlist. The nvmecontrol code that did the devlist assumed that we had a tightly-packed allocation of

svn commit: r350959 - stable/12/share/man/man9

2019-08-12 Thread Alan Somers
Author: asomers Date: Mon Aug 12 20:32:47 2019 New Revision: 350959 URL: https://svnweb.freebsd.org/changeset/base/350959 Log: MFC r350207: VOP_PATHCONF.9: correct the type of the retval argument It was changed from int to register_t in r22521 and from register_t to long in r328099,

svn commit: r350958 - in stable/12/sys: fs/fifofs kern sys

2019-08-12 Thread Alan Somers
Author: asomers Date: Mon Aug 12 20:31:12 2019 New Revision: 350958 URL: https://svnweb.freebsd.org/changeset/base/350958 Log: MFC r349248, r349391, r350088 r349248: fcntl: fix overflow when setting F_READAHEAD VOP_READ and VOP_WRITE take the seqcount in blocks in a 16-bit field.

svn commit: r350957 - in head: include/rpcsvc lib/libc/net lib/libc/rpc usr.sbin/rpc.yppasswdd usr.sbin/rpc.ypupdated usr.sbin/ypldap usr.sbin/yppush usr.sbin/ypserv

2019-08-12 Thread Konstantin Belousov
Author: kib Date: Mon Aug 12 20:27:33 2019 New Revision: 350957 URL: https://svnweb.freebsd.org/changeset/base/350957 Log: Increase YPMAXRECORD to 16M to be compatible with Linux. Since YP protocol definition uses the constant to declare variable-size opaque byte strings, the change

svn commit: r350956 - in stable/12/sys: kern sys ufs/ufs

2019-08-12 Thread Alan Somers
Author: asomers Date: Mon Aug 12 20:21:36 2019 New Revision: 350956 URL: https://svnweb.freebsd.org/changeset/base/350956 Log: MFC r349231, r349233, r349280, r349478 r349231: Add FIOBMAP2 ioctl This ioctl exposes VOP_BMAP information to userland. It can be used by programs like

svn commit: r350953 - head/sys/powerpc/include

2019-08-12 Thread Leandro Lupori
Author: luporl Date: Mon Aug 12 19:44:57 2019 New Revision: 350953 URL: https://svnweb.freebsd.org/changeset/base/350953 Log: Fix style and clarify comment Fix code style in proc.h and clarify comment about empty structs. Modified: head/sys/powerpc/include/proc.h Modified:

svn commit: r350954 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:44:57 2019 New Revision: 350954 URL: https://svnweb.freebsd.org/changeset/base/350954 Log: MFC r350652 (by imp): Fix mismerge. I merged passthru.c from the wrong branch (it was a branch that went further in a direction I wound up not taking). Fix the

svn commit: r350952 - in stable/12: sbin/nvmecontrol sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:44:28 2019 New Revision: 350952 URL: https://svnweb.freebsd.org/changeset/base/350952 Log: MFC r350599, r350609: Add `nvmecontrol resv` to handle NVMe reservations. NVMe reservations are quite alike to SCSI persistent reservations and can be used in

svn commit: r350951 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:43:25 2019 New Revision: 350951 URL: https://svnweb.freebsd.org/changeset/base/350951 Log: MFC r350563: Add `nvmecontrol sanitize` command. It allows to delete all user data from NVM subsystem in one of 3 methods. It is a close equivalent of SCSI SANITIZE

svn commit: r350950 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:42:43 2019 New Revision: 350950 URL: https://svnweb.freebsd.org/changeset/base/350950 Log: MFC r350555: Fix parameter check broken at r350057. Modified: stable/12/sbin/nvmecontrol/format.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350949 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:42:07 2019 New Revision: 350949 URL: https://svnweb.freebsd.org/changeset/base/350949 Log: MFC r350553: Add more random bits from NVMe 1.4. Modified: stable/12/sys/dev/nvme/nvme.h stable/12/sys/dev/nvme/nvme_ctrlr.c stable/12/sys/dev/nvme/nvme_qpair.c

svn commit: r350948 - in stable/12: sbin/nvmecontrol sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:41:35 2019 New Revision: 350948 URL: https://svnweb.freebsd.org/changeset/base/350948 Log: MFC r350541: Decode few more NVMe log pages. In particular: Changed Namespace List, Commands Supported and Effects, Reservation Notification, Sanitize Status.

svn commit: r350947 - in stable/12: sbin/nvmecontrol sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:40:40 2019 New Revision: 350947 URL: https://svnweb.freebsd.org/changeset/base/350947 Log: MFC r350529, r350530: Add more new fields and values from NVMe 1.4. Modified: stable/12/sbin/nvmecontrol/logpage.c stable/12/sys/dev/nvme/nvme.h

svn commit: r350946 - in stable/12: sbin/nvmecontrol sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:39:31 2019 New Revision: 350946 URL: https://svnweb.freebsd.org/changeset/base/350946 Log: MFC r350523, r350524: Add IOCTL to translate nvdX into nvmeY and NSID. While very useful by itself, it also makes `nvmecontrol` not depend on hardcoded device names

svn commit: r350945 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 19:38:10 2019 New Revision: 350945 URL: https://svnweb.freebsd.org/changeset/base/350945 Log: MFC r350477: Feature-complete NVMe Namespace Management. This adds several previously missed but important subcommands to list namespaces and controllers. It also

svn commit: r350943 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:59:20 2019 New Revision: 350943 URL: https://svnweb.freebsd.org/changeset/base/350943 Log: MFC r350462: Tune some commands desctiption. Modified: stable/12/sbin/nvmecontrol/devlist.c stable/12/sbin/nvmecontrol/firmware.c stable/12/sbin/nvmecontrol/format.c

svn commit: r350942 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:58:51 2019 New Revision: 350942 URL: https://svnweb.freebsd.org/changeset/base/350942 Log: MFC r350461: Fix usage printing for nested subcommands. Instead of `nvmecontrol create` should be `nvmecontrol ns create`, etc. Modified:

svn commit: r350941 - in stable/12: sbin/nvmecontrol sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:58:20 2019 New Revision: 350941 URL: https://svnweb.freebsd.org/changeset/base/350941 Log: MFC r350399: Add some new fields and bits from NVMe 1.4. Modified: stable/12/sbin/nvmecontrol/identify_ext.c stable/12/sys/dev/nvme/nvme.h Directory Properties:

svn commit: r350940 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:57:46 2019 New Revision: 350940 URL: https://svnweb.freebsd.org/changeset/base/350940 Log: MFC r350333 (by imp): Widen the type for to. The timeout field in the CAPS register is defined to be 8 bits, so its type was uint8_t. We recently started adding 1

svn commit: r350939 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:56:46 2019 New Revision: 350939 URL: https://svnweb.freebsd.org/changeset/base/350939 Log: MFC r350311 (by imp): Fix the fix to the logic bug. Upon further testing, the bug is that we shadoow opt.vendor with vendor. We shouldn't. Delete the latter and use the

svn commit: r350938 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:56:11 2019 New Revision: 350938 URL: https://svnweb.freebsd.org/changeset/base/350938 Log: MFC r350309 (by imp): Fix several related coverity issues: Make sure to always free shortopts and lopts when returning. Fix minor logic bug to guard against NULLs

svn commit: r350937 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:55:36 2019 New Revision: 350937 URL: https://svnweb.freebsd.org/changeset/base/350937 Log: MFC r350147 (by imp): Keep track of the number of commands that exhaust their retry limit. While we print failure messages on the console, sometimes logs are lost or

svn commit: r350936 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:54:58 2019 New Revision: 350936 URL: https://svnweb.freebsd.org/changeset/base/350936 Log: MFC r350146 (by imp): Keep track of the number of retried commands. Retried commands can indicate a performance degredation of an nvme drive. Keep track of the

svn commit: r350935 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:54:24 2019 New Revision: 350935 URL: https://svnweb.freebsd.org/changeset/base/350935 Log: MFC r350120 (by imp): Use sysctl + CTLRWTUN for hw.nvme.verbose_cmd_dump. Also convert it to a bool. While the rest of the driver isn't yet bool clean, this will

svn commit: r350934 - in stable/12: share/man/man4 sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:53:53 2019 New Revision: 350934 URL: https://svnweb.freebsd.org/changeset/base/350934 Log: MFC r350118 (by imp): Provide new tunable hw.nvme.verbose_cmd_dump The nvme drive dumps only the most relevant details about a command when it fails. However, there

svn commit: r350933 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:53:01 2019 New Revision: 350933 URL: https://svnweb.freebsd.org/changeset/base/350933 Log: MFC r350114 (by imp): Provide macros to extract the sub-fields of the CAP_LO and CAP_HI registers. These macros make places where we extract these easier to read.

svn commit: r350932 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:52:10 2019 New Revision: 350932 URL: https://svnweb.freebsd.org/changeset/base/350932 Log: MFC r350094 (by imp): Remove now-obsolete comment. Modified: stable/12/sys/dev/nvme/nvme.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350931 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:51:35 2019 New Revision: 350931 URL: https://svnweb.freebsd.org/changeset/base/350931 Log: MFC r350068 (by imp): Assume that the timeout value from the capacity is 1-based Neither the 1.3 or 1.4 standards say this number is 1's based, but adding 1 costs

svn commit: r350930 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:50:57 2019 New Revision: 350930 URL: https://svnweb.freebsd.org/changeset/base/350930 Log: MFC r350058 (by imp): Implement {io,admin}-passthru commands. These are mostly compatible with Linux, with three exceptions. 1. We don't do metadata segment stuff.

svn commit: r350929 - in stable/12/sbin/nvmecontrol: . modules/wdc

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:50:26 2019 New Revision: 350929 URL: https://svnweb.freebsd.org/changeset/base/350929 Log: MFC r350057 (by imp): Create generic command / arg parsing routines Create a set of routines and structures to hold the data for the args for a command. Use them to

svn commit: r350928 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:49:32 2019 New Revision: 350928 URL: https://svnweb.freebsd.org/changeset/base/350928 Log: MFC r348495 (by imp): Since a fatal trap can happen at aribtrary times, don't panic when the completions are not in a consistent state. Cope with the different places

svn commit: r350927 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:48:47 2019 New Revision: 350927 URL: https://svnweb.freebsd.org/changeset/base/350927 Log: MFC r347939 (by scottl): Better formatting for the logpage section Modified: stable/12/sbin/nvmecontrol/nvmecontrol.8 Directory Properties: stable/12/ (props

svn commit: r350926 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:48:17 2019 New Revision: 350926 URL: https://svnweb.freebsd.org/changeset/base/350926 Log: MFC r347369 (by imp): rename nvme_ctrlr_destroy_qpair to nvme_ctrlr_destroy_qpairs Maintain symmetry with nvme_ctrlr_create_qpairs, making it easier to match

svn commit: r350925 - stable/12/sys/dev/nvme

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 18:47:40 2019 New Revision: 350925 URL: https://svnweb.freebsd.org/changeset/base/350925 Log: MFC r344955 (by imp): Don't print all the I/O we abort on a reset, unless we're out of retries. When resetting the controller, we abort I/O. Prior to this fix, we

svn commit: r350924 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:56:16 2019 New Revision: 350924 URL: https://svnweb.freebsd.org/changeset/base/350924 Log: MFC r344469 (by imp): Rework logpage extensibility. Move from using a linker set to a constructor function that's called. This simplifies the code and is slightly

svn commit: r350923 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:55:25 2019 New Revision: 350923 URL: https://svnweb.freebsd.org/changeset/base/350923 Log: MFC r344191 (by imp): Remove write-only s_flag. Modified: stable/12/sbin/nvmecontrol/firmware.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350922 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:54:28 2019 New Revision: 350922 URL: https://svnweb.freebsd.org/changeset/base/350922 Log: MFC r342358 (by imp): Try the first 256 units with nvmecontrol devlist. The nvmecontrol code that did the devlist assumed that we had a tightly-packed allocation of

svn commit: r350921 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:53:23 2019 New Revision: 350921 URL: https://svnweb.freebsd.org/changeset/base/350921 Log: MFC r341664 (by imp): Update paths based on last-minute changes from libexec to lib. Modified: stable/12/sbin/nvmecontrol/nvmecontrol.8 Directory Properties:

svn commit: r350920 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:52:45 2019 New Revision: 350920 URL: https://svnweb.freebsd.org/changeset/base/350920 Log: MFC r341663 (by imp): Declare global function print_intel_add_smart in header Modified: stable/12/sbin/nvmecontrol/nvmecontrol.h Directory Properties: stable/12/

svn commit: r350919 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:52:03 2019 New Revision: 350919 URL: https://svnweb.freebsd.org/changeset/base/350919 Log: MFC r341662 (by imp): Use proper prototypes. Modified: stable/12/sbin/nvmecontrol/nvmecontrol.h Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350918 - stable/12/sbin/nvmecontrol/modules/intel

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:51:28 2019 New Revision: 350918 URL: https://svnweb.freebsd.org/changeset/base/350918 Log: MFC r341661 (by imp): It's useful to have this be a global function. Other vendors base their additional smart info pages on what Intel did plus some other bits. So

svn commit: r350917 - stable/12/sbin/nvmecontrol/modules/intel

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:50:18 2019 New Revision: 350917 URL: https://svnweb.freebsd.org/changeset/base/350917 Log: MFC r341660 (by imp): This is not a samsung standard, so remove that alias. This was never documented, and isn't needed, so it's best removed to avoid confusion.

svn commit: r350916 - in stable/12/sbin/nvmecontrol: . modules

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:49:44 2019 New Revision: 350916 URL: https://svnweb.freebsd.org/changeset/base/350916 Log: MFC r341659 (by imp): Move intel and wdc files to their own modules Move the intel and wdc vendor specific stuff to their own modules. Added:

svn commit: r350915 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:49:06 2019 New Revision: 350915 URL: https://svnweb.freebsd.org/changeset/base/350915 Log: MFC r341658 (by imp): Const poison the command interface Make the pointers we pass into the commands const, also make the linker set mirrors const. Modified:

svn commit: r350914 - in stable/12: etc/mtree sbin/nvmecontrol share/man/man7

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:48:14 2019 New Revision: 350914 URL: https://svnweb.freebsd.org/changeset/base/350914 Log: MFC r341657 (by imp): Dynamically load .so modules to expand functionality o Dynamically load all the .so files found in /libexec/nvmecontrol and

svn commit: r350913 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:42:44 2019 New Revision: 350913 URL: https://svnweb.freebsd.org/changeset/base/350913 Log: MFC r341416 (by imp): Fix typo in comment Modified: stable/12/sbin/nvmecontrol/logpage.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350912 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:41:57 2019 New Revision: 350912 URL: https://svnweb.freebsd.org/changeset/base/350912 Log: MFC r341415 (by imp): Delete the undocumented alias 'wds'. This was a typo for wdc. Eliminate it since it was in error. People should use either 'wdc' or 'hgst' for

svn commit: r350911 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:41:26 2019 New Revision: 350911 URL: https://svnweb.freebsd.org/changeset/base/350911 Log: MFC r341414 (by imp): Move Intel specific log pages to intel.c Move the Intel specific log pages (including the one that samsung implements) to intel.c. Add comment

svn commit: r350910 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:40:52 2019 New Revision: 350910 URL: https://svnweb.freebsd.org/changeset/base/350910 Log: MFC r341413 (by imp): Usage cleanup pt 2 Eliminage redundant spaces and nvmecontrol at start of all the usage strings. Update the usage printing code to add them

svn commit: r350909 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:40:22 2019 New Revision: 350909 URL: https://svnweb.freebsd.org/changeset/base/350909 Log: MFC r341412 (by imp): Usage cleanup pt 1 Provide a usage() function that takes a struct nvme_function pointer and produces a usage mssage. Eliminate all

svn commit: r350908 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:39:50 2019 New Revision: 350908 URL: https://svnweb.freebsd.org/changeset/base/350908 Log: MFC r341411 (by imp): Return after we find the dispatched function. If the dispatched function doesn't exit, then we get can get a spurious function not found

svn commit: r350907 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:39:16 2019 New Revision: 350907 URL: https://svnweb.freebsd.org/changeset/base/350907 Log: MFC r341410 (by imp): Move the hgst/wdc log page printing code into wdc.c These are all hgst/wdc specific, so move them into the wdc.c to live with the wdc command.

svn commit: r350906 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:38:48 2019 New Revision: 350906 URL: https://svnweb.freebsd.org/changeset/base/350906 Log: MFC r341409 (by imp): Move common logpage routines into nvmecontrol.h For the upcoming move of vendor specific code into vendor specific files, make the common

svn commit: r350905 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:38:08 2019 New Revision: 350905 URL: https://svnweb.freebsd.org/changeset/base/350905 Log: MFC r341408 (by imp): Make logpage functions a linker set. Move logpage function def to header. Convert all the logpage_function elements to elements of the linker

svn commit: r350904 - stable/12/sbin/nvmecontrol

2019-08-12 Thread Alexander Motin
Author: mav Date: Mon Aug 12 17:37:35 2019 New Revision: 350904 URL: https://svnweb.freebsd.org/changeset/base/350904 Log: MFC r341407 (by imp): Move nvmecontrol to using linker sets for commands More commands will be added to nvmecontrol. Also, there will be a few more vendor commands

svn commit: r350903 - stable/12/sys/fs/nandfs

2019-08-12 Thread Ed Maste
Author: emaste Date: Mon Aug 12 17:25:32 2019 New Revision: 350903 URL: https://svnweb.freebsd.org/changeset/base/350903 Log: nandfs: avoid integer overflow in nandfs_get_dat_bdescs_ioctl nandfs was removed in head in r349352 and in any case was not built by default, but address the

svn commit: r350902 - head/sys/powerpc/include

2019-08-12 Thread Leandro Lupori
Author: luporl Date: Mon Aug 12 17:18:20 2019 New Revision: 350902 URL: https://svnweb.freebsd.org/changeset/base/350902 Log: [ppc] avoid empty mdproc struct Avoid empty structs, that have undefined behavior in C99 and make compilers complain about it (empty struct has size 0 in C,

svn commit: r350901 - stable/11/contrib/telnet/telnet

2019-08-12 Thread Ed Maste
Author: emaste Date: Mon Aug 12 15:54:30 2019 New Revision: 350901 URL: https://svnweb.freebsd.org/changeset/base/350901 Log: MFC r350498: telnet: use asprintf for r350140 [MFC of r349890] change Sponsored by: The FreeBSD Foundation Modified: stable/11/contrib/telnet/telnet/commands.c

svn commit: r350900 - stable/12/contrib/telnet/telnet

2019-08-12 Thread Ed Maste
Author: emaste Date: Mon Aug 12 15:52:21 2019 New Revision: 350900 URL: https://svnweb.freebsd.org/changeset/base/350900 Log: MFC r350498: telnet: use asprintf for r350139 [MFC of r349890] change Sponsored by: The FreeBSD Foundation Modified: stable/12/contrib/telnet/telnet/commands.c

Re: svn commit: r350843 - head

2019-08-12 Thread Enji Cooper
> On Aug 10, 2019, at 11:22 AM, Conrad Meyer wrote: > > Author: cem > Date: Sat Aug 10 18:22:22 2019 > New Revision: 350843 > URL: https://svnweb.freebsd.org/changeset/base/350843 > > Log: > .gitignore: Add LINT kernel configurations generated into SRCDIR Thank you for doing this Conrad :).

svn commit: r350899 - head/sys/powerpc/powerpc

2019-08-12 Thread Leandro Lupori
Author: luporl Date: Mon Aug 12 12:51:47 2019 New Revision: 350899 URL: https://svnweb.freebsd.org/changeset/base/350899 Log: [PPC64] Save FPU registers before enabling VSX Fixed trap handler logic, in order to make it save FPU registers, if FPU is enabled, before enabling VSX. Without

svn commit: r350898 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor-sys/illumos/dist/uts/common/sys/fs vendor/ill...

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 12:05:40 2019 New Revision: 350898 URL: https://svnweb.freebsd.org/changeset/base/350898 Log: 8423 8199 7432 Implement large_dnode pool feature 8423 Implement large_dnode pool feature 8199 multi-threaded dmu_object_alloc() 7432 Large dnode pool feature

svn commit: r350898 - vendor-sys/illumos/dist/common/zfs vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor-sys/illumos/dist/uts/common/sys/fs vendor/ill...

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 12:05:40 2019 New Revision: 350898 URL: https://svnweb.freebsd.org/changeset/base/350898 Log: 8423 8199 7432 Implement large_dnode pool feature 8423 Implement large_dnode pool feature 8199 multi-threaded dmu_object_alloc() 7432 Large dnode pool feature

svn commit: r350897 - in head: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/common/zfs

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 11:42:16 2019 New Revision: 350897 URL: https://svnweb.freebsd.org/changeset/base/350897 Log: MFV r350896: 6585 sha512, skein, and edonr have an unenforced dependency on extensible dataset illumos/illumos-gate@892586e8a147c02d7f4053cc405229a13e796928

svn commit: r350896 - vendor-sys/illumos/dist/common/zfs vendor/illumos/dist/man/man5

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 11:27:17 2019 New Revision: 350896 URL: https://svnweb.freebsd.org/changeset/base/350896 Log: 6585 sha512, skein, and edonr have an unenforced dependency on extensible dataset illumos/illumos-gate@892586e8a147c02d7f4053cc405229a13e796928

svn commit: r350896 - vendor-sys/illumos/dist/common/zfs vendor/illumos/dist/man/man5

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 11:27:17 2019 New Revision: 350896 URL: https://svnweb.freebsd.org/changeset/base/350896 Log: 6585 sha512, skein, and edonr have an unenforced dependency on extensible dataset illumos/illumos-gate@892586e8a147c02d7f4053cc405229a13e796928

svn commit: r350895 - head/usr.bin/xinstall

2019-08-12 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Mon Aug 12 10:57:56 2019 New Revision: 350895 URL: https://svnweb.freebsd.org/changeset/base/350895 Log: install.1: Add missing arguments to option descriptions While here: - Remove deprecated Tn macros. - Do not use macros with the -width option.

svn commit: r350894 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 10:30:00 2019 New Revision: 350894 URL: https://svnweb.freebsd.org/changeset/base/350894 Log: a stop gap fix for a race between dnode_hold and dnode_sync_free The race was introduced in r337669, the large dnode feature import from ZoL. The problem was

svn commit: r350893 - head/cddl/contrib/opensolaris/cmd/zfs

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 10:00:32 2019 New Revision: 350893 URL: https://svnweb.freebsd.org/changeset/base/350893 Log: Allow ZVOL bookmarks to be listed recursively Many thanks to cryx-free...@h3q.com for reporting the problem and submitting a fix. I have chosen to take an

svn commit: r350892 - stable/12/sys/sys

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 09:20:02 2019 New Revision: 350892 URL: https://svnweb.freebsd.org/changeset/base/350892 Log: MFC r349571: upgrade the warning printf-s in bus accessors to KASSERT-s, take 2 After this change sys/bus.h includes sys/systm.h when _KERNEL is defined. Modified:

svn commit: r350891 - stable/11/sys/dev/bge

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 08:45:26 2019 New Revision: 350891 URL: https://svnweb.freebsd.org/changeset/base/350891 Log: MFC r350025: bge: check that the bus is a pci bus before using it as such Modified: stable/11/sys/dev/bge/if_bge.c Directory Properties: stable/11/ (props changed)

svn commit: r350890 - stable/12/sys/dev/bge

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 08:43:00 2019 New Revision: 350890 URL: https://svnweb.freebsd.org/changeset/base/350890 Log: MFC r350025: bge: check that the bus is a pci bus before using it as such Modified: stable/12/sys/dev/bge/if_bge.c Directory Properties: stable/12/ (props changed)

svn commit: r350889 - stable/11/sys/compat/linux

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 08:37:59 2019 New Revision: 350889 URL: https://svnweb.freebsd.org/changeset/base/350889 Log: MFC r349886: linuxcommon: add module version Modified: stable/11/sys/compat/linux/linux_common.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r350888 - stable/12/sys/compat/linux

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 08:36:16 2019 New Revision: 350888 URL: https://svnweb.freebsd.org/changeset/base/350888 Log: MFC r349886: linuxcommon: add module version Modified: stable/12/sys/compat/linux/linux_common.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350887 - stable/11/sys/dev/ow

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 08:32:45 2019 New Revision: 350887 URL: https://svnweb.freebsd.org/changeset/base/350887 Log: MFC r349883: owc_gpiobus: small formatting cleanup Modified: stable/11/sys/dev/ow/owc_gpiobus.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r350886 - stable/12/sys/dev/ow

2019-08-12 Thread Andriy Gapon
Author: avg Date: Mon Aug 12 08:28:26 2019 New Revision: 350886 URL: https://svnweb.freebsd.org/changeset/base/350886 Log: MFC r349883: owc_gpiobus: small formatting cleanup Modified: stable/12/sys/dev/ow/owc_gpiobus.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350885 - head/sys/dev/rtwn/pci

2019-08-12 Thread Andriy Voskoboinyk
Author: avos Date: Mon Aug 12 08:01:21 2019 New Revision: 350885 URL: https://svnweb.freebsd.org/changeset/base/350885 Log: rtwn_pci: add device ID for RTL8192CE. PR: 239795 Submitted by: James Parsons MFC after:1 week Relnotes: yes Modified: