svn commit: r350740 - head/share/mk

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 04:29:46 2019 New Revision: 350740 URL: https://svnweb.freebsd.org/changeset/base/350740 Log: r350739 try #2 For some inexplicable reason, C++ compilers reject the -Wno- flag, and also (ab)use CWARNFLAGS. Reported by: imp Modified:

svn commit: r350739 - in head: share/mk sys/conf

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 03:27:46 2019 New Revision: 350739 URL: https://svnweb.freebsd.org/changeset/base/350739 Log: Disable useless -Wformat-zero-length It is part of -Wformat, which is enabled by -Wall. Empty format strings are well defined and it is perfectly reasonable to

svn commit: r350738 - head/sys/powerpc/booke

2019-08-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 03:18:35 2019 New Revision: 350738 URL: https://svnweb.freebsd.org/changeset/base/350738 Log: powerpc/pmap: Minor optimizations to 64-bit booke pmap Don't recalculate the VM page of the page table pages, just pass them down to free. Also, use the pmap's

svn commit: r350737 - head/usr.sbin/autofs

2019-08-07 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 03:16:32 2019 New Revision: 350737 URL: https://svnweb.freebsd.org/changeset/base/350737 Log: Change autounmountd(8) to use time_t for duration instead of double Summary: autounmountd(8) uses doubles to handle mount time durations. However, it must

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

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 03:01:35 2019 New Revision: 350736 URL: https://svnweb.freebsd.org/changeset/base/350736 Log: MFC r348376 (by rpokala): Add bits related to SANITIZE, SED, and form-factor to (struct ata_params) Based on ATA-ACS-4, recognize several bit-fields related to the

Re: svn commit: r350315 - in head/sys: kern sys

2019-08-07 Thread Conrad Meyer
Hi Rick, Coverity reports that the following portion of vn_generic_copy_file_range() is deadcode (CID 1403974), and it is: On Wed, Jul 24, 2019 at 10:46 PM Rick Macklem wrote: > > Author: rmacklem > Date: Thu Jul 25 05:46:16 2019 > New Revision: 350315 > URL:

svn commit: r350735 - in stable/12: sbin/camcontrol sys/cam/ata sys/cam/scsi sys/sys

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:29:42 2019 New Revision: 350735 URL: https://svnweb.freebsd.org/changeset/base/350735 Log: MFC r350331: Make `camcontrol sanitize` support also ATA devices. ATA sanitize is functionally identical to SCSI, just uses different initiation commands and status

svn commit: r350734 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:29:11 2019 New Revision: 350734 URL: https://svnweb.freebsd.org/changeset/base/350734 Log: MFC r350257: Make `camcontrol hpa` and `camcontrol ama` trigger reprobe. This makes OS automatically see the disk's new disk size. Modified:

svn commit: r350733 - stable/12/sys/cam/ata

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:28:32 2019 New Revision: 350733 URL: https://svnweb.freebsd.org/changeset/base/350733 Log: MFC r350233: Make CAM ATA stack handle disk resizes. While for ATA disks resize is even more rare situation than for SCSI, it may happen in case of HPA or AMA being

svn commit: r350732 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:26:12 2019 New Revision: 350732 URL: https://svnweb.freebsd.org/changeset/base/350732 Log: MFC r350214: Unify BTL parsing for `camcontrol debug` and `reset`. This makes `camcontrol debug` also allow peripheral device specification. While there, make BTL

svn commit: r350731 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:25:34 2019 New Revision: 350731 URL: https://svnweb.freebsd.org/changeset/base/350731 Log: MFC r350150: Properly report ACS revisions alike to kernel. Modified: stable/12/sbin/camcontrol/camcontrol.c Directory Properties: stable/12/ (props changed)

svn commit: r350730 - in stable/12: sbin/camcontrol sys/cam/ata sys/sys

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:24:57 2019 New Revision: 350730 URL: https://svnweb.freebsd.org/changeset/base/350730 Log: MFC r350149: Add Accessible Max Address Configuration support to camcontrol. AMA replaced HPA in ACS-3 specification. It allows to limit size of the disk alike to

svn commit: r350729 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:21:30 2019 New Revision: 350729 URL: https://svnweb.freebsd.org/changeset/base/350729 Log: MFC r350020 (by imp): Use a different approach to range check. gcc hates dt < CC_DT_NONE since it can never be true when dt is an unsigned type. Since that's a

svn commit: r350728 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:20:42 2019 New Revision: 350728 URL: https://svnweb.freebsd.org/changeset/base/350728 Log: MFC r350018: Implement a devtype command. List the device's protocol. The returned value is one of the following: ata direct attach ATA or SATA device

svn commit: r350727 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:18:14 2019 New Revision: 350727 URL: https://svnweb.freebsd.org/changeset/base/350727 Log: MFC r350008 (by imp): Use the more proper term of SATL instead of ATA_BEHIND_SCSI. Most people know SAS attached SATA devices by the name SAT or SATL (with the

svn commit: r350726 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:17:24 2019 New Revision: 350726 URL: https://svnweb.freebsd.org/changeset/base/350726 Log: MFC r349964: Add device type NVME and device type MMCSD to get_device_type For completeness, add nvme and mmc/sd devices to the list of device types we know.

svn commit: r350724 - in stable/12/sys/cam: ata scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:11:42 2019 New Revision: 350724 URL: https://svnweb.freebsd.org/changeset/base/350724 Log: MFC r349340 (by imp): Create ata_param_fixup Create a common fixup routine to do the canonical fixup of the ata_param fixup. Call it from both the ATA and the ATA

svn commit: r350725 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:12:08 2019 New Revision: 350725 URL: https://svnweb.freebsd.org/changeset/base/350725 Log: MFC r349341: Use ata_param_fixup instead of a custom copy here Modified: stable/12/sbin/camcontrol/camcontrol.c Directory Properties: stable/12/ (props changed)

svn commit: r350723 - stable/12/sys/cam/ata

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:11:08 2019 New Revision: 350723 URL: https://svnweb.freebsd.org/changeset/base/350723 Log: MFC r349339 (by imp): Go ahead and completely fix the ata_params before calling the veto function. This breaks nothing that uses it in the tree since ata_params is

svn commit: r350722 - stable/12/sys/cam

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:08:09 2019 New Revision: 350722 URL: https://svnweb.freebsd.org/changeset/base/350722 Log: MFC r349283 (by scottl): Refactor xpt_getattr() to make it more readable. No outwardly visible functional changes, though code flow was modified a bit internally to

svn commit: r350721 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:07:05 2019 New Revision: 350721 URL: https://svnweb.freebsd.org/changeset/base/350721 Log: MFC r349010: Increase the timeout for READ NATIVE MAX READ NATIVE MAX can take longer than a second if the queued NCQ I/Os take longer than a second to drain.

svn commit: r350720 - stable/12/sys/cam/scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:06:23 2019 New Revision: 350720 URL: https://svnweb.freebsd.org/changeset/base/350720 Log: MFC r348963: Minor white space changes. Remove trailing white space that's crept into this file. Modified: stable/12/sys/cam/scsi/scsi_xpt.c Directory Properties:

svn commit: r350719 - in stable/12/sys: cam/nvme dev/nvme

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:04:29 2019 New Revision: 350719 URL: https://svnweb.freebsd.org/changeset/base/350719 Log: MFC r348786 (by chuck): Fix nda(4) PCIe link status output Differentiate between PCI Express Endpoint devices and Root Complex Integrated Endpoints in the nda

svn commit: r350718 - stable/12/sys/cam/nvme

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:02:01 2019 New Revision: 350718 URL: https://svnweb.freebsd.org/changeset/base/350718 Log: MFC r348110: Fix condition broken at r345815. Modified: stable/12/sys/cam/nvme/nvme_xpt.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r350717 - in stable/12: lib/libcam sys/cam sys/cam/nvme

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:01:01 2019 New Revision: 350717 URL: https://svnweb.freebsd.org/changeset/base/350717 Log: MFC r345815: Make cam_error_print() decode NVMe commands. Modified: stable/12/lib/libcam/Makefile stable/12/sys/cam/cam.c stable/12/sys/cam/nvme/nvme_all.c

svn commit: r350716 - in stable/12/sys: cam/nvme conf

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 02:00:11 2019 New Revision: 350716 URL: https://svnweb.freebsd.org/changeset/base/350716 Log: MFC r345817: Build NVMe CAM transport unrelated to NVMe SIM. Before this I suppose it was impossible load CAM-based NVMe as module. Plus this appeared to be needed

svn commit: r350715 - head/sys/kern

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 01:37:41 2019 New Revision: 350715 URL: https://svnweb.freebsd.org/changeset/base/350715 Log: Fix !DDB kernel configurations after r350713 KDB is standard and the kdb_active variable is always available. So, de-conditionalize inclusion of sys/kdb.h in

Re: svn commit: r350714 - head/share/man/man9

2019-08-07 Thread Conrad Meyer
Thanks Li-Wen Hsu! On Wed, Aug 7, 2019 at 5:51 PM Li-Wen Hsu wrote: > > Author: lwhsu > Date: Thu Aug 8 00:51:17 2019 > New Revision: 350714 > URL: https://svnweb.freebsd.org/changeset/base/350714 > > Log: > Follow r350693 to add a link for sbuf_nl_terminate(9) > > Sponsored by: The FreeBSD

svn commit: r350714 - head/share/man/man9

2019-08-07 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Aug 8 00:51:17 2019 New Revision: 350714 URL: https://svnweb.freebsd.org/changeset/base/350714 Log: Follow r350693 to add a link for sbuf_nl_terminate(9) Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/Makefile Modified:

svn commit: r350713 - head/sys/kern

2019-08-07 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 00:42:29 2019 New Revision: 350713 URL: https://svnweb.freebsd.org/changeset/base/350713 Log: ddb(4): Add 'sysctl' command Implement `sysctl` in `ddb` by overriding `SYSCTL_OUT`. When handling the req, we install custom ddb in/out handlers. The out handler

svn commit: r350712 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:33:23 2019 New Revision: 350712 URL: https://svnweb.freebsd.org/changeset/base/350712 Log: MFC r345363 (by imp): Make WD and WDC aliases for HGST. HGST was bought by WDC. Over the years, it has sold different drives branded as HGST, WD or WDC. All of them

svn commit: r350711 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:32:22 2019 New Revision: 350711 URL: https://svnweb.freebsd.org/changeset/base/350711 Log: MFC r345060 (by 0mp): camcontrol.8: Bump date after r345051 Modified: stable/12/sbin/camcontrol/camcontrol.8 Directory Properties: stable/12/ (props changed)

svn commit: r350710 - stable/12/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:31:00 2019 New Revision: 350710 URL: https://svnweb.freebsd.org/changeset/base/350710 Log: MFC r345051 (by imp): Add -l to camcontrol readcap. The -l flag sends only the READ CAPACITY (16) sevice action. Normally we send the READ CAPACITY (10) command, and

svn commit: r350709 - stable/12/sys/cam

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:29:39 2019 New Revision: 350709 URL: https://svnweb.freebsd.org/changeset/base/350709 Log: MFC r344070 (by imp): Fix panic message. The panic message lead people to believe some userland CAM request had caused a problem when in reallity it was for a kernel

svn commit: r350708 - in stable/12/sys/cam: ata scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:27:26 2019 New Revision: 350708 URL: https://svnweb.freebsd.org/changeset/base/350708 Log: MFC r343814 (by imp): Add quirk for Sansisk X400 drives Certain versions of Sandisk x400 firmware can hang under extremely heavly load of large I/Os for prolonged

svn commit: r350707 - stable/12/sys/cam/scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:23:11 2019 New Revision: 350707 URL: https://svnweb.freebsd.org/changeset/base/350707 Log: MFC r342866 (by imp): Add NO_SYNC_CACHE quirk for PENTAX cameras PR: 93389 Modified: stable/12/sys/cam/scsi/scsi_da.c Directory Properties: stable/12/ (props

svn commit: r350706 - stable/12/sys/cam/scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:22:15 2019 New Revision: 350706 URL: https://svnweb.freebsd.org/changeset/base/350706 Log: MFC r341769 (by imp): Send a START UNIT command when a disk responds with an ASC of 04/1C. This will hopefully spin up a disk that's in low-power mode. Modified:

svn commit: r350705 - stable/12/sys/cam/scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:19:45 2019 New Revision: 350705 URL: https://svnweb.freebsd.org/changeset/base/350705 Log: MFC r340452 (by imp): Introduce scsi_ata_setfeatures() as a convenient way to make a passthru ATA SETFEATURES command. Modified: stable/12/sys/cam/scsi/scsi_all.c

svn commit: r350704 - in stable/12/sys/cam: ata scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:18:36 2019 New Revision: 350704 URL: https://svnweb.freebsd.org/changeset/base/350704 Log: MFC r340448 (by imp): Remove trailing white space in advance of other changes. Modified: stable/12/sys/cam/ata/ata_da.c stable/12/sys/cam/scsi/scsi_da.c Directory

svn commit: r350703 - in stable/12/sys/cam: . scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Thu Aug 8 00:17:16 2019 New Revision: 350703 URL: https://svnweb.freebsd.org/changeset/base/350703 Log: MFC r340024 (by imp): Add comments explaining what hold/unhold do They act as a simple one-deep semaphore to keep open/close/probe from running at the same time to

Re: svn commit: r350702 - head/share/man/man8

2019-08-07 Thread Ian Lepore
On Wed, 2019-08-07 at 21:20 +, Andriy Gapon wrote: > Author: avg > Date: Wed Aug 7 21:20:25 2019 > New Revision: 350702 > URL: https://svnweb.freebsd.org/changeset/base/350702 > > Log: > rc.8: fix a typo in r350701 > > I wronlgy expected that igor(1) checks spelling of all words. >

svn commit: r350702 - head/share/man/man8

2019-08-07 Thread Andriy Gapon
Author: avg Date: Wed Aug 7 21:20:25 2019 New Revision: 350702 URL: https://svnweb.freebsd.org/changeset/base/350702 Log: rc.8: fix a typo in r350701 I wronlgy expected that igor(1) checks spelling of all words. MFC after:1 week Modified: head/share/man/man8/rc.8 Modified:

svn commit: r350701 - head/share/man/man8

2019-08-07 Thread Andriy Gapon
Author: avg Date: Wed Aug 7 21:07:59 2019 New Revision: 350701 URL: https://svnweb.freebsd.org/changeset/base/350701 Log: rc.8: add a reference to service(8) While here: - use Xr macro for a reference to sysrc(8) - clarify that rc.shutdown invokes rc.d scripts with "faststop" argument

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

2019-08-07 Thread Li-Wen Hsu
On Thu, Aug 8, 2019 at 4:27 AM Mark Johnston wrote: > > On Thu, Aug 01, 2019 at 06:19:16PM +, 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

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

2019-08-07 Thread Li-Wen Hsu
Author: lwhsu Date: Wed Aug 7 21:02:23 2019 New Revision: 350700 URL: https://svnweb.freebsd.org/changeset/base/350700 Log: Get configuration variable with default value for not breaking default setting Reported by: markj Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Rodney W. Grimes
> On 07/08/2019 15:12, Rodney W. Grimes wrote: > >> On 07/08/2019 11:00, John Baldwin wrote: > >>> On 8/6/19 9:56 AM, Glen Barber wrote: > On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > > Author: jhb > > Date: Sat Aug 3 01:06:17 2019 > > New Revision: 350550 >

svn commit: r350699 - stable/12/tests/sys/vm

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 20:36:36 2019 New Revision: 350699 URL: https://svnweb.freebsd.org/changeset/base/350699 Log: MFC r346995: Add a few regression tests for mlock(2). Added: stable/12/tests/sys/vm/mlock_test.c - copied unchanged from r346995, head/tests/sys/vm/mlock_test.c

svn commit: r350698 - head/sys/modules/fusefs

2019-08-07 Thread Alan Somers
Author: asomers Date: Wed Aug 7 20:28:27 2019 New Revision: 350698 URL: https://svnweb.freebsd.org/changeset/base/350698 Log: Remove the fuse.ko -> fusefs.ko symlink On FreeBSD 13.0, the fuse driver will always be known as fusefs. The backwards compatibility symlink will still be used

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Pedro Giffuni
On 07/08/2019 15:12, Rodney W. Grimes wrote: On 07/08/2019 11:00, John Baldwin wrote: On 8/6/19 9:56 AM, Glen Barber wrote: On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: Author: jhb Date: Sat Aug 3 01:06:17 2019 New Revision: 350550 URL:

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

2019-08-07 Thread Mark Johnston
On Thu, Aug 01, 2019 at 06:19:16PM +, 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:

svn commit: r350697 - head/lib/libc/string

2019-08-07 Thread Dimitry Andric
Author: dim Date: Wed Aug 7 20:13:43 2019 New Revision: 350697 URL: https://svnweb.freebsd.org/changeset/base/350697 Log: Fix a possible segfault in wcsxfrm(3) and wcsxfrm_l(3). If the length of the source wide character string, passed in via the "size_t n" parameter, is set to zero,

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Rodney W. Grimes
> On 07/08/2019 11:00, John Baldwin wrote: > > On 8/6/19 9:56 AM, Glen Barber wrote: > >> On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > >>> Author: jhb > >>> Date: Sat Aug 3 01:06:17 2019 > >>> New Revision: 350550 > >>> URL: https://svnweb.freebsd.org/changeset/base/350550 >

svn commit: r350696 - in head/sys/amd64/vmm: amd intel

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 19:45:44 2019 New Revision: 350696 URL: https://svnweb.freebsd.org/changeset/base/350696 Log: Use designated initializers for vmm_ops. MFC after:3 days Modified: head/sys/amd64/vmm/amd/svm.c head/sys/amd64/vmm/intel/vmx.c Modified:

Re: svn commit: r350694 - in head: share/man/man9 sys/dev/fdc sys/geom sys/geom/cache sys/geom/concat sys/geom/eli sys/geom/gate sys/geom/journal sys/geom/label sys/geom/linux_lvm sys/geom/mirror sys/

2019-08-07 Thread Scott Long
Good work on this and on r347229 and the sbuf improvements! Scott > On Aug 7, 2019, at 1:28 PM, Conrad Meyer wrote: > > Author: cem > Date: Wed Aug 7 19:28:35 2019 > New Revision: 350694 > URL: https://svnweb.freebsd.org/changeset/base/350694 > > Log: > GEOM: Reduce unnecessary log

svn commit: r350695 - head/lib/libcasper/services/cap_fileargs

2019-08-07 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Aug 7 19:30:33 2019 New Revision: 350695 URL: https://svnweb.freebsd.org/changeset/base/350695 Log: cap_filergs: limit size of the file name The limit of the name in fileargs is twice the size of the MAXPATH. The nvlist will not add an element with the longer

svn commit: r350694 - in head: share/man/man9 sys/dev/fdc sys/geom sys/geom/cache sys/geom/concat sys/geom/eli sys/geom/gate sys/geom/journal sys/geom/label sys/geom/linux_lvm sys/geom/mirror sys/g...

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:28:35 2019 New Revision: 350694 URL: https://svnweb.freebsd.org/changeset/base/350694 Log: GEOM: Reduce unnecessary log interleaving with sbufs Similar to what was done for device_printfs in r347229. Convert g_print_bio() to a thin shim around

svn commit: r350693 - in head: share/man/man9 sys/kern sys/sys

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:27:14 2019 New Revision: 350693 URL: https://svnweb.freebsd.org/changeset/base/350693 Log: sbuf(9): Add sbuf_nl_terminate() API The API is used to gracefully terminate text line(s) with a single \n. If the formatted buffer was empty or already ended in

svn commit: r350692 - head/sys/kern

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:25:56 2019 New Revision: 350692 URL: https://svnweb.freebsd.org/changeset/base/350692 Log: sbuf(9): Refactor sbuf_newbuf into sbuf_new Code flow was somewhat difficult to read due to the combination of multiple return sites and the 4x possible dynamic

svn commit: r350691 - in head: share/man/man9 sys/kern sys/sys

2019-08-07 Thread Conrad Meyer
Author: cem Date: Wed Aug 7 19:23:07 2019 New Revision: 350691 URL: https://svnweb.freebsd.org/changeset/base/350691 Log: sbuf(9): Add NOWAIT dynamic buffer extension mode The goal is to avoid some kinds of low-memory deadlock when formatting heap-allocated buffers. Reviewed by:

svn commit: r350689 - in stable/12/sys: arm64/conf arm64/rockchip/clk modules/dtb/rockchip

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 18:35:59 2019 New Revision: 350689 URL: https://svnweb.freebsd.org/changeset/base/350689 Log: MFC r341404-r341405, r344699, r347024, r347442 r341404 by andreast: Add rule to build the dtb for the rock64 board. Reviewed by: manu@ r341405 by

svn commit: r350688 - head/usr.bin/procstat

2019-08-07 Thread Gleb Smirnoff
Author: glebius Date: Wed Aug 7 18:32:01 2019 New Revision: 350688 URL: https://svnweb.freebsd.org/changeset/base/350688 Log: resource.h is sufficient here, no need for resoursevar.h. Modified: head/usr.bin/procstat/procstat_rlimit.c Modified: head/usr.bin/procstat/procstat_rlimit.c

svn commit: r350687 - in stable/12/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf dev/mmc/host

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 18:26:32 2019 New Revision: 350687 URL: https://svnweb.freebsd.org/changeset/base/350687 Log: MFC r341381-r341383, r341385, r343950, r344527, r344576-r344580, r344585, r344589-r344590, r344623, r344626-r344627 r341381: arm64: rockchip: Add RK3399_CLK_PLL

svn commit: r350686 - in stable/12/sys: arm64/conf arm64/rockchip arm64/rockchip/clk conf modules/rockchip modules/rockchip/rk805

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 18:16:28 2019 New Revision: 350686 URL: https://svnweb.freebsd.org/changeset/base/350686 Log: MFC r341141-r341143, r341255 r341141: rk_clk_composite: Fix set_mux Pointy Hat: manu r341142: Add RK805 PMIC Support RK805 is the companion

svn commit: r350685 - in head: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/net sys/dev/usb/template sys/modules/usb sys/modules/usb/cdceem sys/modules/usb/template

2019-08-07 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 7 18:14:45 2019 New Revision: 350685 URL: https://svnweb.freebsd.org/changeset/base/350685 Log: Add cdceem(4) driver, for virtual ethernet devices compliant with Communication Device Class Ethernet Emulation Model (CDC EEM). The driver supports both the device,

svn commit: r350684 - head/share/man/man3

2019-08-07 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 17:51:40 2019 New Revision: 350684 URL: https://svnweb.freebsd.org/changeset/base/350684 Log: More places to clarify the robustness guarantees. Wording submitted by: Martin Simmons MFC after:3 days Modified: head/share/man/man3/pthread_cond_wait.3

svn commit: r350683 - head/share/man/man3

2019-08-07 Thread Konstantin Belousov
Author: kib Date: Wed Aug 7 17:46:07 2019 New Revision: 350683 URL: https://svnweb.freebsd.org/changeset/base/350683 Log: Clarify the robustness guarantees. Wording submitted by: Martin Simmons MFC after:3 days Modified: head/share/man/man3/pthread_mutex_lock.3

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Pedro Giffuni
On 07/08/2019 11:00, John Baldwin wrote: On 8/6/19 9:56 AM, Glen Barber wrote: On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: Author: jhb Date: Sat Aug 3 01:06:17 2019 New Revision: 350550 URL: https://svnweb.freebsd.org/changeset/base/350550 Log: Flip REPRODUCIBLE_BUILD

svn commit: r350682 - in head/sbin: fsck_ffs newfs

2019-08-07 Thread Kirk McKusick
Author: mckusick Date: Wed Aug 7 16:56:00 2019 New Revision: 350682 URL: https://svnweb.freebsd.org/changeset/base/350682 Log: Correct the location of the first backup superblock in fsck_ffs.8. Make a note in the newfs.8 manual page to update the first backup superblock location when

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Cy Schubert
In message , Scott Long writes : > > > > On Aug 7, 2019, at 10:00 AM, John Baldwin wrote: > > > > On 8/6/19 9:56 AM, Glen Barber wrote: > >> On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > >>> Author: jhb > >>> Date: Sat Aug 3 01:06:17 2019 > >>> New Revision: 350550 > >>>

svn commit: r350681 - head

2019-08-07 Thread Alan Somers
Author: asomers Date: Wed Aug 7 16:42:34 2019 New Revision: 350681 URL: https://svnweb.freebsd.org/changeset/base/350681 Log: Update RELNOTES for the fusefs rewrite MFC after:Never Sponsored by: The FreeBSD Foundation Modified: head/RELNOTES Modified: head/RELNOTES

svn commit: r350680 - head

2019-08-07 Thread Alan Somers
Author: asomers Date: Wed Aug 7 16:24:08 2019 New Revision: 350680 URL: https://svnweb.freebsd.org/changeset/base/350680 Log: RELNOTES: fix formatting from r350482 MFC after:Never Sponsored by: The FreeBSD Foundation Modified: head/RELNOTES Modified: head/RELNOTES

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Warner Losh
On Wed, Aug 7, 2019 at 10:01 AM John Baldwin wrote: > On 8/6/19 9:56 AM, Glen Barber wrote: > > On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: > >> Author: jhb > >> Date: Sat Aug 3 01:06:17 2019 > >> New Revision: 350550 > >> URL: https://svnweb.freebsd.org/changeset/base/350550

svn commit: r350679 - head/contrib/elftoolchain/elfcopy

2019-08-07 Thread Mark Johnston
Author: markj Date: Wed Aug 7 16:22:25 2019 New Revision: 350679 URL: https://svnweb.freebsd.org/changeset/base/350679 Log: Merge r3780 from elftoolchain. Adjust argc and argv by optind before using them. This slightly simplifies the code. No functional change intended. MFC

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread Scott Long
> On Aug 7, 2019, at 10:00 AM, John Baldwin wrote: > > On 8/6/19 9:56 AM, Glen Barber wrote: >> On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: >>> Author: jhb >>> Date: Sat Aug 3 01:06:17 2019 >>> New Revision: 350550 >>> URL: https://svnweb.freebsd.org/changeset/base/350550

svn commit: r350678 - head/share/mk

2019-08-07 Thread Warner Losh
Author: imp Date: Wed Aug 7 16:19:06 2019 New Revision: 350678 URL: https://svnweb.freebsd.org/changeset/base/350678 Log: Enable nvme on aarch64 Don't mark nvme as broken on aarch64. It compiles, at least, and people are testing it out. This only enables the userland parts of the nvme

Re: svn commit: r350550 - head/share/mk

2019-08-07 Thread John Baldwin
On 8/6/19 9:56 AM, Glen Barber wrote: > On Sat, Aug 03, 2019 at 01:06:18AM +, John Baldwin wrote: >> Author: jhb >> Date: Sat Aug 3 01:06:17 2019 >> New Revision: 350550 >> URL: https://svnweb.freebsd.org/changeset/base/350550 >> >> Log: >> Flip REPRODUCIBLE_BUILD back to off by default in

Re: svn commit: r350665 - in head: . etc/mtree sbin/mount_fusefs share/man/man5 sys/fs/fuse sys/sys tests/sys/fs tests/sys/fs/fusefs

2019-08-07 Thread Pedro Giffuni
Awesome work. Thanks! On 06/08/2019 19:38, Alan Somers wrote: Author: asomers Date: Wed Aug 7 00:38:26 2019 New Revision: 350665 URL: https://svnweb.freebsd.org/changeset/base/350665 Log: fusefs: merge from projects/fuse2 This commit imports the new fusefs driver. It raises the

svn commit: r350677 - head/sbin/camcontrol

2019-08-07 Thread Alexander Motin
Author: mav Date: Wed Aug 7 15:05:08 2019 New Revision: 350677 URL: https://svnweb.freebsd.org/changeset/base/350677 Log: Make GCC happy about math in r350676. MFC after:1 week Modified: head/sbin/camcontrol/modeedit.c Modified: head/sbin/camcontrol/modeedit.c

svn commit: r350676 - in head: sbin/camcontrol sys/cam/scsi

2019-08-07 Thread Alexander Motin
Author: mav Date: Wed Aug 7 14:45:10 2019 New Revision: 350676 URL: https://svnweb.freebsd.org/changeset/base/350676 Log: Make `camcontrol modepage` support block descriptors. It allows to read and write block descriptors alike to mode page parameters. It allows to change block size or

svn commit: r350675 - head/sys/dev/usb/controller

2019-08-07 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 7 13:35:13 2019 New Revision: 350675 URL: https://svnweb.freebsd.org/changeset/base/350675 Log: Correct PCI device ID for XHCI USB controller. Submitted by: Dmitry Luhtionov MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r350674 - head/sys/dev/ofw

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 13:13:16 2019 New Revision: 350674 URL: https://svnweb.freebsd.org/changeset/base/350674 Log: ofw: ofw_reg_to_paddr: Use a 256 static array for the cell Some hardware needs more than 32, bump this value. We cannot use the _alloc for of getencprop as this

svn commit: r350673 - head/sys/gnu/dts/arm

2019-08-07 Thread Emmanuel Vadot
Author: manu Date: Wed Aug 7 13:11:53 2019 New Revision: 350673 URL: https://svnweb.freebsd.org/changeset/base/350673 Log: arm: dts: am33xx: Fix the region for uart0 The region for uart0 is declared to be 0x2000 in size but the parent node only declare 0x1000. As the parent only