svn commit: r350530 - head/sys/dev/nvme

2019-08-01 Thread Alexander Motin
Author: mav Date: Fri Aug 2 04:04:18 2019 New Revision: 350530 URL: https://svnweb.freebsd.org/changeset/base/350530 Log: Fix typo in r350529. MFC after:2 weeks Modified: head/sys/dev/nvme/nvme.h Modified: head/sys/dev/nvme/nvme.h

svn commit: r350529 - in head: sbin/nvmecontrol sys/dev/nvme

2019-08-01 Thread Alexander Motin
Author: mav Date: Fri Aug 2 03:43:24 2019 New Revision: 350529 URL: https://svnweb.freebsd.org/changeset/base/350529 Log: Add more new fields and values from NVMe 1.4. MFC after:2 weeks Modified: head/sbin/nvmecontrol/logpage.c head/sys/dev/nvme/nvme.h

svn commit: r350528 - stable/12/sys/ufs/ufs

2019-08-01 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 2 01:59:58 2019 New Revision: 350528 URL: https://svnweb.freebsd.org/changeset/base/350528 Log: MFC: r350367 Lock the vnode before calling ufs_bmap_seekdata(). r346932 replaced a call to vn_bmap_seekhole() with a call to ufs_bmap_seekdata(). Although

svn commit: r350527 - stable/12/usr.sbin/pciconf

2019-08-01 Thread Andrew Gallatin
Author: gallatin Date: Fri Aug 2 00:13:11 2019 New Revision: 350527 URL: https://svnweb.freebsd.org/changeset/base/350527 Log: MFC r350245 pciconf: report PCI Gen4 speeds PCIe gen4 runs at 16GT/s. Report this as the speed of Gen4 links. Reviewed by:imp Sponsored by:

svn commit: r350526 - stable/12/lib/libc/tests/string

2019-08-01 Thread Brooks Davis
Author: brooks Date: Thu Aug 1 23:28:54 2019 New Revision: 350526 URL: https://svnweb.freebsd.org/changeset/base/350526 Log: MFC r350160: Avoid copying too much from the input string. This avoids reading past the end of the static strings. On a system with bounds checking these

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ed Maste
On Thu, 1 Aug 2019 at 18:54, Enji Cooper wrote: > > Thought: could this be modified in an iterative manner, like “objdump” -> > “gobjdump” / “llvm-objdump” -> “objdump”, etc (assuming llvm and gnu objdump > are largely compatible)? It could, and we have done that sort of thing in the past. But

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Enji Cooper
> On Jul 31, 2019, at 19:58, Ed Maste wrote: > >> On Thu, 1 Aug 2019 at 12:35, Ian Lepore wrote: >> >> Why would we provide no objdump? I use it quite frequently; it seems >> like an essential part of the toolchain to me. > > I don't want us to provide no objdump, but providing GNU objdump

svn commit: r350525 - in head/sys/arm64: arm64 include

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 22:48:06 2019 New Revision: 350525 URL: https://svnweb.freebsd.org/changeset/base/350525 Log: Use ATTR_DBM even when hardware dirty bit management is not enabled. The ARMv8 reference manual only states that the bit is reserved in this case; following

svn commit: r350524 - head/sbin/nvmecontrol

2019-08-01 Thread Alexander Motin
Author: mav Date: Thu Aug 1 22:22:06 2019 New Revision: 350524 URL: https://svnweb.freebsd.org/changeset/base/350524 Log: Rename function added in r350523 to make gcc happy. MFC after:2 weeks Modified: head/sbin/nvmecontrol/nsid.c Modified: head/sbin/nvmecontrol/nsid.c

svn commit: r350523 - in head: sbin/nvmecontrol sys/dev/nvme

2019-08-01 Thread Alexander Motin
Author: mav Date: Thu Aug 1 21:44:07 2019 New Revision: 350523 URL: https://svnweb.freebsd.org/changeset/base/350523 Log: Add IOCTL to translate nvdX into nvmeY and NSID. While very useful by itself, it also makes `nvmecontrol` not depend on hardcoded device names parsing, that in its

svn commit: r350522 - head/usr.bin/netstat

2019-08-01 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 1 20:36:25 2019 New Revision: 350522 URL: https://svnweb.freebsd.org/changeset/base/350522 Log: IPv6 cleanup: netstat Rename the variable for the in6_addr from in6p to ia6 to follow the convention generally used in FreeBSD. No functional changes. MFC

svn commit: r350521 - head/sys/netinet

2019-08-01 Thread Randall Stewart
Author: rrs Date: Thu Aug 1 20:26:27 2019 New Revision: 350521 URL: https://svnweb.freebsd.org/changeset/base/350521 Log: Opps use fetchadd_u64 not long to keep old 32 bit platforms happy. Modified: head/sys/netinet/tcp_ratelimit.c Modified: head/sys/netinet/tcp_ratelimit.c

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Rodney W. Grimes
> On Thu, 2019-08-01 at 10:39 -0700, John Baldwin wrote: > > On 7/31/19 8:13 PM, Ed Maste wrote: > > > On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes < > > > free...@gndrsh.dnsmgr.net> wrote: > > > > > > > > That would be fine, the important thing is that the > > > > r350505 gets listed in the

svn commit: r350520 - head/sys/netinet

2019-08-01 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 1 19:45:34 2019 New Revision: 350520 URL: https://svnweb.freebsd.org/changeset/base/350520 Log: Fix the reporting of multiple unknown parameters in an received INIT chunk. This also plugs an potential mbuf leak. Thanks to Felix Weinrank for reporting this issue

svn commit: r350519 - head/tools/build

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 19:26:16 2019 New Revision: 350519 URL: https://svnweb.freebsd.org/changeset/base/350519 Log: Include caph_rights_limit() in libegacy if need be. Reported by: jenkins Sponsored by: The FreeBSD Foundation Modified: head/tools/build/Makefile Modified:

svn commit: r350518 - in head: contrib/binutils/gas/doc gnu/usr.bin/binutils/as

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 19:01:27 2019 New Revision: 350518 URL: https://svnweb.freebsd.org/changeset/base/350518 Log: as: add deprecation notice to the man page In the future FreeBSD will ship without GNU binutils 2.17.50. Add a note advising users who require GNU as to install

svn commit: r350517 - in head: contrib/elftoolchain/size usr.bin/size

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 18:57:37 2019 New Revision: 350517 URL: https://svnweb.freebsd.org/changeset/base/350517 Log: Capsicumize size(1). Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D21105 Modified:

svn commit: r350516 - in head: contrib/elftoolchain/readelf usr.bin/readelf

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 18:57:08 2019 New Revision: 350516 URL: https://svnweb.freebsd.org/changeset/base/350516 Log: Capsicumize readelf(1). Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D21108 Modified:

svn commit: r350515 - head/contrib/elftoolchain/addr2line

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 18:56:32 2019 New Revision: 350515 URL: https://svnweb.freebsd.org/changeset/base/350515 Log: Capsicumize addr2line(1). Reviewed by: oshogbo Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D21104 Modified:

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread John Baldwin
On 8/1/19 11:09 AM, Ian Lepore wrote: > On Thu, 2019-08-01 at 10:39 -0700, John Baldwin wrote: >> On 7/31/19 8:13 PM, Ed Maste wrote: >>> On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes < >>> free...@gndrsh.dnsmgr.net> wrote: That would be fine, the important thing is that the r350505

svn commit: r350514 - head/lib/libc/gen

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 18:51:18 2019 New Revision: 350514 URL: https://svnweb.freebsd.org/changeset/base/350514 Log: Add an MLINK for daemonfd(3). MFC after:3 days Modified: head/lib/libc/gen/Makefile.inc Modified: head/lib/libc/gen/Makefile.inc

Re: svn commit: r350512 - head/tests/sys/kern

2019-08-01 Thread John Baldwin
On 8/1/19 11:19 AM, Li-Wen Hsu wrote: > Author: lwhsu > Date: Thu Aug 1 18:19:16 2019 > New Revision: 350512 > URL: https://svnweb.freebsd.org/changeset/base/350512 > > Log: > Only skip test cases sometimes failing in CI when they are running in CI > > Suggested by: jhb >

svn commit: r350513 - head/lib/libc/gen

2019-08-01 Thread Mark Johnston
Author: markj Date: Thu Aug 1 18:51:06 2019 New Revision: 350513 URL: https://svnweb.freebsd.org/changeset/base/350513 Log: Fix formatting. MFC after:3 days Modified: head/lib/libc/gen/daemon.3 Modified: head/lib/libc/gen/daemon.3

svn commit: r350512 - head/tests/sys/kern

2019-08-01 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Aug 1 18:19:16 2019 New Revision: 350512 URL: https://svnweb.freebsd.org/changeset/base/350512 Log: Only skip test cases sometimes failing in CI when they are running in CI Suggested by: jhb Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ian Lepore
On Thu, 2019-08-01 at 10:39 -0700, John Baldwin wrote: > On 7/31/19 8:13 PM, Ed Maste wrote: > > On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes < > > free...@gndrsh.dnsmgr.net> wrote: > > > > > > That would be fine, the important thing is that the > > > r350505 gets listed in the file, > > > > I

svn commit: r350511 - head/contrib/elftoolchain/readelf

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 17:59:56 2019 New Revision: 350511 URL: https://svnweb.freebsd.org/changeset/base/350511 Log: readelf: decode NT_GNU_PROPERTY_TYPE_0 / GNU_PROPERTY_X86_FEATURE_1_AND These bits are used for Intel CET IBT/Shadow Stack. MFC after:2 weeks Sponsored

Re: svn commit: r350510 - in head/sys/contrib/dev/acpica: . compiler components/dispatcher components/events components/executer components/namespace components/tables components/utilities include

2019-08-01 Thread Scott Long
Thanks. I’m working on the root cause right now, hopefully will have more information soon. Scott > On Aug 1, 2019, at 11:45 AM, Jung-uk Kim wrote: > > Author: jkim > Date: Thu Aug 1 17:45:43 2019 > New Revision: 350510 > URL: https://svnweb.freebsd.org/changeset/base/350510 > > Log: >

svn commit: r350510 - in head/sys/contrib/dev/acpica: . compiler components/dispatcher components/events components/executer components/namespace components/tables components/utilities include

2019-08-01 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 1 17:45:43 2019 New Revision: 350510 URL: https://svnweb.freebsd.org/changeset/base/350510 Log: Revert r349863 (ACPICA 20190703). This commit caused boot failures on some systems. Requested by: scottl Modified: head/sys/contrib/dev/acpica/changes.txt

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread John Baldwin
On 7/31/19 8:13 PM, Ed Maste wrote: > On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes > wrote: >> >> That would be fine, the important thing is that the >> r350505 gets listed in the file, > > I don't see any reason that r350505 specifically should be in a > release note - this is a minor

svn commit: r350509 - head/sys/net

2019-08-01 Thread Eric Joyner
Author: erj Date: Thu Aug 1 17:37:25 2019 New Revision: 350509 URL: https://svnweb.freebsd.org/changeset/base/350509 Log: iflib: Prevent kernel panic caused by loading driver with a specific interrupt configuration If a device has only 1 MSI-X interrupt available and does not support

svn commit: r350508 - head/sys/netinet

2019-08-01 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 1 17:36:15 2019 New Revision: 350508 URL: https://svnweb.freebsd.org/changeset/base/350508 Log: When responding with an ABORT to an INIT chunk containing a HOSTNAME parameter or a parameter with an illegal length, only include an error cause indicating why the

svn commit: r350507 - head/sys/net

2019-08-01 Thread Eric Joyner
Author: erj Date: Thu Aug 1 17:28:36 2019 New Revision: 350507 URL: https://svnweb.freebsd.org/changeset/base/350507 Log: iflib: remove kobject class reference increment Commit message from Jake: In iflib_register, the context is initialized as a kobject using the device driver's

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Mark Johnston
On Thu, Aug 01, 2019 at 11:22:46AM -0500, Warner Losh wrote: > On Thu, Aug 1, 2019, 11:00 AM Rodney W. Grimes > wrote: > > > > Author: emaste > > > Date: Thu Aug 1 14:42:41 2019 > > > New Revision: 350505 > > > URL: https://svnweb.freebsd.org/changeset/base/350505 > > > > > > Log: > > >

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ed Maste
On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes wrote: > > That would be fine, the important thing is that the > r350505 gets listed in the file, I don't see any reason that r350505 specifically should be in a release note - this is a minor clarification of an existing deprecation notice. It seems

svn commit: r350506 - head/tools/debugscripts

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 17:02:58 2019 New Revision: 350506 URL: https://svnweb.freebsd.org/changeset/base/350506 Log: remove obsolete kernel debugging script For quite some time kgdb has been internally handling FreeBSD kernel module state; add-on scripts and tools are not

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ed Maste
On Thu, 1 Aug 2019 at 12:35, Ian Lepore wrote: > > Why would we provide no objdump? I use it quite frequently; it seems > like an essential part of the toolchain to me. I don't want us to provide no objdump, but providing GNU objdump 2.17.50 indefinitely is not a viable option; see PR 218387[1]

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Rodney W. Grimes
> On Thu, 1 Aug 2019 at 12:00, Rodney W. Grimes > wrote: > > > > > Author: emaste > > > Date: Thu Aug 1 14:42:41 2019 > > > New Revision: 350505 > > > URL: https://svnweb.freebsd.org/changeset/base/350505 > > > > > > Log: > > > objdump: be explicit that GNU objdump that will be removed > > >

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ed Maste
On Thu, 1 Aug 2019 at 12:00, Rodney W. Grimes wrote: > > > Author: emaste > > Date: Thu Aug 1 14:42:41 2019 > > New Revision: 350505 > > URL: https://svnweb.freebsd.org/changeset/base/350505 > > > > Log: > > objdump: be explicit that GNU objdump that will be removed > > > > We may install

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ian Lepore
On Thu, 2019-08-01 at 14:42 +, Ed Maste wrote: > Author: emaste > Date: Thu Aug 1 14:42:41 2019 > New Revision: 350505 > URL: https://svnweb.freebsd.org/changeset/base/350505 > > Log: > objdump: be explicit that GNU objdump that will be removed > > We may install llvm-objdump as

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Warner Losh
On Thu, Aug 1, 2019, 11:00 AM Rodney W. Grimes wrote: > > Author: emaste > > Date: Thu Aug 1 14:42:41 2019 > > New Revision: 350505 > > URL: https://svnweb.freebsd.org/changeset/base/350505 > > > > Log: > > objdump: be explicit that GNU objdump that will be removed > > > > We may install

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Rodney W. Grimes
> Author: emaste > Date: Thu Aug 1 14:42:41 2019 > New Revision: 350505 > URL: https://svnweb.freebsd.org/changeset/base/350505 > > Log: > objdump: be explicit that GNU objdump that will be removed > > We may install llvm-objdump as objdump (see review D18307) or just > provide no

svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 14:42:41 2019 New Revision: 350505 URL: https://svnweb.freebsd.org/changeset/base/350505 Log: objdump: be explicit that GNU objdump that will be removed We may install llvm-objdump as objdump (see review D18307) or just provide no /usr/bin/objdump, but

svn commit: r350504 - head/sys/fs/unionfs

2019-08-01 Thread Konstantin Belousov
Author: kib Date: Thu Aug 1 14:40:37 2019 New Revision: 350504 URL: https://svnweb.freebsd.org/changeset/base/350504 Log: Try to decrease the number of bugs in unionfs after the VV_TEXT flag removal. - Provide unionfs_add_writecount() which passes the writecount to the lower or upper

svn commit: r350503 - head/gnu/usr.bin/binutils/objdump

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 14:39:26 2019 New Revision: 350503 URL: https://svnweb.freebsd.org/changeset/base/350503 Log: objdump: move deprecation notice to indended spot in the man page r335217 added a deprecation notice to the source file for the objdump man page, and r335219

svn commit: r350502 - head/sys/kern

2019-08-01 Thread Konstantin Belousov
Author: kib Date: Thu Aug 1 14:34:27 2019 New Revision: 350502 URL: https://svnweb.freebsd.org/changeset/base/350502 Log: Make umtxq_check_susp() to correctly handle thread exit requests. The check for P_SINGLE_EXIT was shadowed by the (P_SHOULDSTOP || traced) check. Reported by:

svn commit: r350501 - in head/sys: conf dev/cxgbe dev/mlx5/mlx5_en net netinet

2019-08-01 Thread Randall Stewart
Author: rrs Date: Thu Aug 1 14:17:31 2019 New Revision: 350501 URL: https://svnweb.freebsd.org/changeset/base/350501 Log: This adds the third step in getting BBR into the tree. BBR and an updated rack depend on having access to the new ratelimit api in this commit. Sponsored by:

svn commit: r350500 - head/sys/conf

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 14:13:04 2019 New Revision: 350500 URL: https://svnweb.freebsd.org/changeset/base/350500 Log: newvers: append commit count to uname version string In a git world this provides a facsimile of a monotonically increasing version number. This might be refined

Re: svn commit: r349863 - in head/sys/contrib/dev/acpica: . compiler components/dispatcher components/events components/executer components/namespace components/tables components/utilities include

2019-08-01 Thread Alexander Motin
I was just got the same outcome, investigating my X11DPI-NT board boot issue, same as reported on current@ thread "Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133)". Revert of this commit solves the issue, otherwise boot stops and I see the same backtraces and

svn commit: r350499 - head/sys/dev/acpica

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 14:02:59 2019 New Revision: 350499 URL: https://svnweb.freebsd.org/changeset/base/350499 Log: acpi_resource.c: mention ThunderX2 firmware revision with issue Presumably this will be fixed in the next version, and the workaround could eventually be removed.

Re: svn commit: r349863 - in head/sys/contrib/dev/acpica: . compiler components/dispatcher components/events components/executer components/namespace components/tables components/utilities include

2019-08-01 Thread Scott Long
Hi, I need to ask that this be backed out. I have two systems that are failing to boot when this revision is present. One I can’t debug because it causes USB to fail to probe, leaving me without a working console (and no network access for other reasons). The other fails in a different way and

svn commit: r350498 - head/contrib/telnet/telnet

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 13:46:04 2019 New Revision: 350498 URL: https://svnweb.freebsd.org/changeset/base/350498 Log: telnet: use asprintf for r349890 change Suggested by: imp MFC after:3 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r350497 - head/sys/net

2019-08-01 Thread Ed Maste
Author: emaste Date: Thu Aug 1 13:42:58 2019 New Revision: 350497 URL: https://svnweb.freebsd.org/changeset/base/350497 Log: ppp: correct echo-req magic number on big endian archs The magic number is a 32-bit quantity; use uint32_t to match hton's return type and avoid sending zeros

svn commit: r350496 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/zmod conf contrib/zlib dev/zlib libkern modules/crypto modules/zfs modules/zlib ope...

2019-08-01 Thread Xin LI
Author: delphij Date: Thu Aug 1 06:35:33 2019 New Revision: 350496 URL: https://svnweb.freebsd.org/changeset/base/350496 Log: Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib, with an eventual goal to convert all legacl zlib callers to the new zlib version: *