svn commit: r350815 - head/sys/kern

2019-08-08 Thread Jonathan T. Looney
Author: jtl Date: Fri Aug 9 05:18:59 2019 New Revision: 350815 URL: https://svnweb.freebsd.org/changeset/base/350815 Log: In m_pulldown(), before trying to prepend bytes to the subsequent mbuf, ensure that the subsequent mbuf contains the remainder of the bytes the caller sought. If this

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

2019-08-08 Thread Jamie Landeg-Jones
Glen Barber wrote: > after stable/12 branched, I have seen no public complaints about > enabling REPRODUCIBLE_BUILD by default (and quite honestly, do not see > the benefit of disabling it by default -- why wouldn't we want > reproducibility?). I track stable. I had no need to complain because

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

2019-08-08 Thread Justin Hibbits
Author: jhibbits Date: Fri Aug 9 02:20:26 2019 New Revision: 350814 URL: https://svnweb.freebsd.org/changeset/base/350814 Log: autofs: Fix autounmountd's printing of mount time. time_t should be printed as intmax_t. Even though duration should be short, the correct way to print is

svn commit: r350813 - head/tools/tools/crypto

2019-08-08 Thread Conrad Meyer
Author: cem Date: Fri Aug 9 02:11:47 2019 New Revision: 350813 URL: https://svnweb.freebsd.org/changeset/base/350813 Log: tools/tools/crypto: cryptokeytest: Fix build with newer OpenSSL Also, drag into this decade. Modified: head/tools/tools/crypto/cryptokeytest.c Modified:

Re: svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Warner Losh
On Thu, Aug 8, 2019, 4:59 PM Gleb Smirnoff wrote: > Hi, > > why do we need COMPAT_43 for arm64 at all? I can't imagine an > application that would require this compatibility. > > A more general question is how far in the future are we going > to carry COMPAT_43 for i386/amd64? > COMPAT_43 is

svn commit: r350812 - stable/12/sys/cam/ctl

2019-08-08 Thread Alexander Motin
Author: mav Date: Fri Aug 9 00:50:02 2019 New Revision: 350812 URL: https://svnweb.freebsd.org/changeset/base/350812 Log: MFC r350383: Reenable UNMAP support on ramdisks by default. For some reason, I guess just mechanical editing, it was disable in r333446. Modified:

svn commit: r350811 - in stable/12/sys/cam: ctl scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Fri Aug 9 00:49:31 2019 New Revision: 350811 URL: https://svnweb.freebsd.org/changeset/base/350811 Log: MFC r350378: Allow WRITE SAME handle more then 2^^32 blocks. If not limited by write_same_max_lba option, split operation into several 2^^31 blocks chunks in a loop.

svn commit: r350810 - in stable/12/sys/cam: ctl scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Fri Aug 9 00:49:02 2019 New Revision: 350810 URL: https://svnweb.freebsd.org/changeset/base/350810 Log: MFC r350363: Add support for Long LBA mode parameter block descriptor. It is formally required for SBC Base 2016 feature set. Modified: stable/12/sys/cam/ctl/ctl.c

svn commit: r350809 - in stable/12: sys/cam/ctl sys/cam/scsi usr.sbin/ctladm

2019-08-08 Thread Alexander Motin
Author: mav Date: Fri Aug 9 00:48:31 2019 New Revision: 350809 URL: https://svnweb.freebsd.org/changeset/base/350809 Log: MFC r350346: Add device temperature reporting into CTL. The values to report can be set via LUN options. It can be useful for testing, and also required for Drive

svn commit: r350808 - in stable/12/sys/cam: ctl scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Fri Aug 9 00:47:27 2019 New Revision: 350808 URL: https://svnweb.freebsd.org/changeset/base/350808 Log: MFC r350343: Add reporting of SCSI Feature Sets VPD page from SPC-5. CTL implements all defined feature sets except Drive Maintenance 2016, which is not very

Re: svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Gleb Smirnoff
Hi, why do we need COMPAT_43 for arm64 at all? I can't imagine an application that would require this compatibility. A more general question is how far in the future are we going to carry COMPAT_43 for i386/amd64? On Thu, Aug 08, 2019 at 05:48:07PM +, Warner Losh wrote: W> Author: imp W>

svn commit: r350807 - in stable/11: sbin/camcontrol sys/cam/ata sys/cam/scsi sys/sys

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:20:15 2019 New Revision: 350807 URL: https://svnweb.freebsd.org/changeset/base/350807 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: r350806 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:19:43 2019 New Revision: 350806 URL: https://svnweb.freebsd.org/changeset/base/350806 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: r350805 - stable/11/sys/cam/ata

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:17:41 2019 New Revision: 350805 URL: https://svnweb.freebsd.org/changeset/base/350805 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: r350804 - in stable/11/sys: cam cam/ata cam/nvme cam/scsi dev/hyperv/storvsc

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:16:19 2019 New Revision: 350804 URL: https://svnweb.freebsd.org/changeset/base/350804 Log: MFC r326645 (by imp): Define xpt_path_inq. This provides a nice wrarpper around the XPT_PATH_INQ ccb creation and calling. Modified:

svn commit: r350803 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:11:01 2019 New Revision: 350803 URL: https://svnweb.freebsd.org/changeset/base/350803 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: r350802 - stable/11/sbin/camcontrol

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

svn commit: r350801 - in stable/11: sbin/camcontrol sys/cam/ata sys/sys

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:08:54 2019 New Revision: 350801 URL: https://svnweb.freebsd.org/changeset/base/350801 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: r350800 - stable/11/sys/sys

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:06:40 2019 New Revision: 350800 URL: https://svnweb.freebsd.org/changeset/base/350800 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

svn commit: r350799 - stable/11/sys/sys

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:05:39 2019 New Revision: 350799 URL: https://svnweb.freebsd.org/changeset/base/350799 Log: MFC r312212 (by cem): Fix a minor typo (Seiral) Modified: stable/11/sys/sys/ata.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/sys/ata.h

svn commit: r350798 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:03:36 2019 New Revision: 350798 URL: https://svnweb.freebsd.org/changeset/base/350798 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: r350797 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 22:03:01 2019 New Revision: 350797 URL: https://svnweb.freebsd.org/changeset/base/350797 Log: MFC r350018 (by imp): Implement a devtype command. List the device's protocol. The returned value is one of the following: ata direct attach ATA or SATA

svn commit: r350796 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:55:49 2019 New Revision: 350796 URL: https://svnweb.freebsd.org/changeset/base/350796 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: r350795 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:54:31 2019 New Revision: 350795 URL: https://svnweb.freebsd.org/changeset/base/350795 Log: MFC r349964 (by imp): 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

svn commit: r350794 - stable/11/sys/cam/ata

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:47:40 2019 New Revision: 350794 URL: https://svnweb.freebsd.org/changeset/base/350794 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: r350793 - in stable/11/sys: cam/scsi dev/ahci

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:46:36 2019 New Revision: 350793 URL: https://svnweb.freebsd.org/changeset/base/350793 Log: MFC r349321: Improve AHCI Enclosure Management and SES interoperation. Since SES specs do not define mechanism to map enclosure slots to SATA disks, AHCI EM code I

svn commit: r350792 - stable/11/sys/dev/ahci

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:44:37 2019 New Revision: 350792 URL: https://svnweb.freebsd.org/changeset/base/350792 Log: MFC r340092 (by imp): Implement ability to turn on/off PHYs for AHCI devices. As part of Chuck's work on fixing kernel crashes caused by disk I/O errors, it is

svn commit: r350791 - stable/11/sys/dev/ahci

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:43:00 2019 New Revision: 350791 URL: https://svnweb.freebsd.org/changeset/base/350791 Log: MFC r336760 (by luporl): Fixed endianess issue in AHCI driver There were some bits that were being set in cmd_flags (a field of AHCI's command list structure) after

svn commit: r350790 - stable/11/sys/cam/scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:38:53 2019 New Revision: 350790 URL: https://svnweb.freebsd.org/changeset/base/350790 Log: MFC r349292: Decouple enc/ses verbosity from bootverbose. I don't want to be regularly notified that my enclosure violates standards until there is some real problem

svn commit: r350789 - stable/11/sys/cam/scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:38:13 2019 New Revision: 350789 URL: https://svnweb.freebsd.org/changeset/base/350789 Log: MFC r349287: Remove ancient SCSI-2/3 mentioning. Modified: stable/11/sys/cam/scsi/scsi_enc.c stable/11/sys/cam/scsi/scsi_enc_internal.h Directory Properties:

svn commit: r350788 - stable/11/sys/cam/scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:37:26 2019 New Revision: 350788 URL: https://svnweb.freebsd.org/changeset/base/350788 Log: MFC r349284: Make ELEMENT INDEX validation more strict. SES specifications tell: "The Additional Element Status descriptors shall be in the same order as the status

svn commit: r350787 - stable/11/sys/cam/ctl

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:33:50 2019 New Revision: 350787 URL: https://svnweb.freebsd.org/changeset/base/350787 Log: MFC r349246: SPC-3 and up require some UAs to be returned as fixed. Modified: stable/11/sys/cam/ctl/ctl_error.c Directory Properties: stable/11/ (props changed)

svn commit: r350786 - stable/11/sys/cam

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:33:14 2019 New Revision: 350786 URL: https://svnweb.freebsd.org/changeset/base/350786 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: r350785 - stable/11/sys/cam

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:32:26 2019 New Revision: 350785 URL: https://svnweb.freebsd.org/changeset/base/350785 Log: MFC r349243: Optimize xpt_getattr(). Do not allocate temporary buffer for attributes we are going to return as-is, just make sure to NUL-terminate them. Do not zero

svn commit: r350784 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:31:23 2019 New Revision: 350784 URL: https://svnweb.freebsd.org/changeset/base/350784 Log: MFC r349010 (by imp): 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

svn commit: r350783 - stable/11/sys/cam/scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 21:30:44 2019 New Revision: 350783 URL: https://svnweb.freebsd.org/changeset/base/350783 Log: MFC r348963 (by imp): Minor white space changes. Remove trailing white space that's crept into this file. Modified: stable/11/sys/cam/scsi/scsi_xpt.c Directory

Re: svn commit: r350778 - head/sys/contrib/zstd/lib/common

2019-08-08 Thread Warner Losh
Thanks Conrad for upstreaming... Warner On Thu, Aug 8, 2019 at 3:29 PM Conrad Meyer wrote: > Thanks Warner for noticing and fixing this. > > I've sent the patch upstream to hopefully be addressed there as well: > > https://github.com/facebook/zstd/pull/1713 > > Best, > Conrad > > On Thu, Aug

Re: svn commit: r350778 - head/sys/contrib/zstd/lib/common

2019-08-08 Thread Conrad Meyer
Thanks Warner for noticing and fixing this. I've sent the patch upstream to hopefully be addressed there as well: https://github.com/facebook/zstd/pull/1713 Best, Conrad On Thu, Aug 8, 2019 at 1:09 PM Warner Losh wrote: > > Author: imp > Date: Thu Aug 8 20:09:36 2019 > New Revision: 350778 >

svn commit: r350782 - head/usr.bin/du

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:16:15 2019 New Revision: 350782 URL: https://svnweb.freebsd.org/changeset/base/350782 Log: Flesh out the STANDARDS and AUTHORS sections in the du(1) man page. PR: 239722 Submitted by: Gordon Bergling MFC after:3 days Modified:

svn commit: r350781 - head/usr.bin/whois

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:15:02 2019 New Revision: 350781 URL: https://svnweb.freebsd.org/changeset/base/350781 Log: Update RFC references in the whois(1) man page. PR: 239720 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr.bin/whois/whois.1

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

2019-08-08 Thread Warner Losh
On Thu, Aug 8, 2019 at 1:49 PM Ed Maste wrote: > On Wed, 7 Aug 2019 at 12:19, Warner Losh wrote: > > > > 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

svn commit: r350780 - head/usr.sbin/mountd

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 21:08:13 2019 New Revision: 350780 URL: https://svnweb.freebsd.org/changeset/base/350780 Log: Add a reference to the NFSv3 RFC. PR: 239721 Submitted by: Gordon Bergling MFC after:3 days Modified: head/usr.sbin/mountd/mountd.8 Modified:

svn commit: r350779 - head/sbin/iscontrol

2019-08-08 Thread Mark Johnston
Author: markj Date: Thu Aug 8 20:56:52 2019 New Revision: 350779 URL: https://svnweb.freebsd.org/changeset/base/350779 Log: Fix formatting. PR: 239726 Submitted by: Gordon Bergling MFC after:3 days Modified: head/sbin/iscontrol/iscontrol.8 Modified:

svn commit: r350778 - head/sys/contrib/zstd/lib/common

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 20:09:36 2019 New Revision: 350778 URL: https://svnweb.freebsd.org/changeset/base/350778 Log: Stopgap fix for gcc platforms. Our in-tree gcc doesn't have a no-tree-vectorize optimization knob, so we get a warning that it's unused. This causes the build to

svn commit: r350777 - head/sys/kern

2019-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 8 20:07:38 2019 New Revision: 350777 URL: https://svnweb.freebsd.org/changeset/base/350777 Log: Remove some harmless cruft from vn_generic_copy_file_range(). An earlier version of the patch had code that set "error" between line#s 2797-2799. When that code

svn commit: r350776 - head/sys/kern

2019-08-08 Thread Rick Macklem
Author: rmacklem Date: Thu Aug 8 19:53:07 2019 New Revision: 350776 URL: https://svnweb.freebsd.org/changeset/base/350776 Log: Fix copy_file_range(2) for an unlikely race during hole finding. Since the VOP_IOCTL(FIOSEEKDATA/FIOSEEKHOLE) calls are done with the vnode unlocked, it is

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

2019-08-08 Thread Ed Maste
On Wed, 7 Aug 2019 at 12:19, Warner Losh wrote: > > 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 >

svn commit: r350775 - stable/11/sys/cam/scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 18:52:53 2019 New Revision: 350775 URL: https://svnweb.freebsd.org/changeset/base/350775 Log: MFC r348111: Simplify math added in r310524. Should be no functional change. Modified: stable/11/sys/cam/scsi/scsi_all.c Directory Properties: stable/11/ (props

svn commit: r350774 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 18:48:48 2019 New Revision: 350774 URL: https://svnweb.freebsd.org/changeset/base/350774 Log: MFC r346594 (by smh): Add ATA power mode support to camcontrol Add the ability to report ATA device power mode with the cmmand 'powermode' to compliment the existing

svn commit: r350773 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 18:42:39 2019 New Revision: 350773 URL: https://svnweb.freebsd.org/changeset/base/350773 Log: MFC r320861 (by ngie): Fix whitespace bugs - Delete trailing whitespace. - Replace 8 single column spaces with hard tabs. - Delete lines with consisting purely of

svn commit: r350772 - in head: cddl/contrib/opensolaris/lib/libzfs/common stand/efi/boot1 stand/i386/gptzfsboot stand/i386/zfsboot stand/libsa/zfs sys/cddl/boot/zfs sys/cddl/contrib/opensolaris/uts...

2019-08-08 Thread Toomas Soome
Author: tsoome Date: Thu Aug 8 18:08:13 2019 New Revision: 350772 URL: https://svnweb.freebsd.org/changeset/base/350772 Log: loader: support com.delphix:removing We should support removing vdev from boot pool. Update loader zfs reader to support com.delphix:removing. Reviewed by:

svn commit: r350771 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 18:00:37 2019 New Revision: 350771 URL: https://svnweb.freebsd.org/changeset/base/350771 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: r350770 - stable/11/sbin/camcontrol

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

svn commit: r350769 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 17:59:03 2019 New Revision: 350769 URL: https://svnweb.freebsd.org/changeset/base/350769 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: r350768 - stable/11/sbin/camcontrol

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 17:58:14 2019 New Revision: 350768 URL: https://svnweb.freebsd.org/changeset/base/350768 Log: MFC r344701 (by smh): Fix incorrect / unused sector_count for identify requests Fix incorrect / unused sector_count for identify requests from camcontrol. Modified:

svn commit: r350767 - in stable/11/sys/cam: ata scsi

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 17:56:17 2019 New Revision: 350767 URL: https://svnweb.freebsd.org/changeset/base/350767 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: r350766 - head/sys/arm64/conf

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 17:55:19 2019 New Revision: 350766 URL: https://svnweb.freebsd.org/changeset/base/350766 Log: First pass at a LINT for arm64. Create a rough and ready NOTES file from GENERIC, remove the duplication from sys/conf/NOTES and add relevant no* directives to make

svn commit: r350765 - stable/11/sys/cam/ata

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 17:55:17 2019 New Revision: 350765 URL: https://svnweb.freebsd.org/changeset/base/350765 Log: MFC r343129 (by gonzo): [ata] Add workaround for KingDian S200 SSD crash on receiving TRIM command - Add ADA_Q_NO_TRIM quirk to be used with the device that falsely

svn commit: r350764 - head/sys/arm64/arm64

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 17:48:07 2019 New Revision: 350764 URL: https://svnweb.freebsd.org/changeset/base/350764 Log: Make arm64 32-bit mode compile with COMPAT_43 The COMPAT_43 option isn't quite like the other compat options, and arm64 makes attempts to support it in 64-bit mode.

svn commit: r350763 - stable/11/sys/cam/ata

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 17:30:51 2019 New Revision: 350763 URL: https://svnweb.freebsd.org/changeset/base/350763 Log: MFC r327577 (by eadler): cam/da: QUIRK: Add 4K quirks for WD Red and Black MHDDs PR: 188685 Modified: stable/11/sys/cam/ata/ata_da.c Directory

svn commit: r350762 - stable/11/sys/cam/ctl

2019-08-08 Thread Alexander Motin
Author: mav Date: Thu Aug 8 17:28:55 2019 New Revision: 350762 URL: https://svnweb.freebsd.org/changeset/base/350762 Log: MFC r327239 (by manu): ctl: Correct comment in ctl_worker_thread The incoming queue is handled before the RtR one. No functional change. Modified:

svn commit: r350761 - in head/stand: efi/loader i386/loader

2019-08-08 Thread Marcin Wojtas
Author: mw Date: Thu Aug 8 17:03:30 2019 New Revision: 350761 URL: https://svnweb.freebsd.org/changeset/base/350761 Log: Verify files loaded in chain command. The chain command can be used to chain load another binary. If veriexec is enabled we should verify it first. Note that on EFI

svn commit: r350760 - in head: lib/libzstd sys/conf sys/contrib/zstd sys/contrib/zstd/contrib/largeNbDicts sys/contrib/zstd/contrib/seekable_format sys/contrib/zstd/contrib/seekable_format/examples...

2019-08-08 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 16:54:22 2019 New Revision: 350760 URL: https://svnweb.freebsd.org/changeset/base/350760 Log: Update to Zstandard 1.4.2 The full release notes for 1.4.1 (skipped) and 1.4.2 can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.1

svn commit: r350759 - head/sys/security/mac_veriexec_parser

2019-08-08 Thread Marcin Wojtas
Author: mw Date: Thu Aug 8 16:51:49 2019 New Revision: 350759 URL: https://svnweb.freebsd.org/changeset/base/350759 Log: Fix mac_veriexec_parser build after r347938 In r347938 the definition of mac_veriexec_metadata_add_file so adjust the argument list accordingly. Submitted by:

svn commit: r350758 - head/sys/vm

2019-08-08 Thread Konstantin Belousov
Author: kib Date: Thu Aug 8 16:48:19 2019 New Revision: 350758 URL: https://svnweb.freebsd.org/changeset/base/350758 Log: Fix stack grow for init. During early stages of kern_exec(), including strings copyout, p_textvp for init is NULL. This prevented stack grow from working for init

svn commit: r350757 - head/sys/kern

2019-08-08 Thread Konstantin Belousov
Author: kib Date: Thu Aug 8 16:42:53 2019 New Revision: 350757 URL: https://svnweb.freebsd.org/changeset/base/350757 Log: Update comment explaining create_init(). Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/kern/init_main.c Modified:

Re: svn commit: r350756 - head/lib/libproc

2019-08-08 Thread Justin Hibbits
On Thu, 8 Aug 2019 16:37:32 + (UTC) Justin Hibbits wrote: > Author: jhibbits > Date: Thu Aug 8 16:37:32 2019 > New Revision: 350756 > URL: https://svnweb.freebsd.org/changeset/base/350756 > > Log: > mips: Fix register target for SP setting in libproc > > Copy-paste-o from r233042 >

svn commit: r350756 - head/lib/libproc

2019-08-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Aug 8 16:37:32 2019 New Revision: 350756 URL: https://svnweb.freebsd.org/changeset/base/350756 Log: mips: Fix register target for SP setting in libproc Copy-paste-o from r233042 Reviewed by: imp Differential Revision:

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

2019-08-08 Thread Justin Hibbits
On Thu, 08 Aug 2019 08:00:16 -0600 Ian Lepore wrote: > On Thu, 2019-08-08 at 03:16 +, Justin Hibbits wrote: > > 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

svn commit: r350755 - vendor/zstd/1.4.2

2019-08-08 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 15:38:57 2019 New Revision: 350755 URL: https://svnweb.freebsd.org/changeset/base/350755 Log: tag zstd 1.4.2 Added: vendor/zstd/1.4.2/ - copied from r350754, vendor/zstd/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r350754 - in vendor/zstd/dist: . contrib/largeNbDicts contrib/seekable_format contrib/seekable_format/examples doc lib lib/compress lib/decompress lib/legacy programs tests

2019-08-08 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 15:37:56 2019 New Revision: 350754 URL: https://svnweb.freebsd.org/changeset/base/350754 Log: import zstd 1.4.2 Added: vendor/zstd/dist/contrib/seekable_format/examples/seekable_decompression_mem.c (contents, props changed)

svn commit: r350753 - vendor/zstd/1.4.1

2019-08-08 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 15:32:53 2019 New Revision: 350753 URL: https://svnweb.freebsd.org/changeset/base/350753 Log: tag zstd 1.4.1 Added: vendor/zstd/1.4.1/ - copied from r350752, vendor/zstd/dist/ ___ svn-src-all@freebsd.org mailing

svn commit: r350752 - in vendor/zstd/dist: . doc examples lib lib/common lib/compress lib/decompress lib/dictBuilder lib/legacy programs tests tests/fuzz tests/regression zlibWrapper

2019-08-08 Thread Conrad Meyer
Author: cem Date: Thu Aug 8 15:30:49 2019 New Revision: 350752 URL: https://svnweb.freebsd.org/changeset/base/350752 Log: import zstd 1.4.1 Added: vendor/zstd/dist/tests/bigdict.c (contents, props changed) vendor/zstd/dist/tests/fuzz/simple_compress.c (contents, props changed)

svn commit: r350751 - head/sys/conf

2019-08-08 Thread Warner Losh
Author: imp Date: Thu Aug 8 15:11:37 2019 New Revision: 350751 URL: https://svnweb.freebsd.org/changeset/base/350751 Log: Add TCP_RFC7413 We should be linting this This isn't enabled on all platforms, but compiles on them all. Noticed by: jhb in another review Modified:

svn commit: r350750 - head/sys/crypto/armv8

2019-08-08 Thread Ed Maste
Author: emaste Date: Thu Aug 8 14:34:53 2019 New Revision: 350750 URL: https://svnweb.freebsd.org/changeset/base/350750 Log: armv8crypto: add missing unlock for session (after r336439) Attempts to use cryptodev (e.g. tests at /usr/src/tests/sys/opencrypto with armv8crypto added to the

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

2019-08-08 Thread Ian Lepore
On Thu, 2019-08-08 at 03:16 +, Justin Hibbits wrote: > 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: >

svn commit: r350749 - head/sys/netinet

2019-08-08 Thread Tom Jones
Author: thj Date: Thu Aug 8 11:43:09 2019 New Revision: 350749 URL: https://svnweb.freebsd.org/changeset/base/350749 Log: Rename IPPROTO 33 from SEP to DCCP IPPROTO 33 is DCCP in the IANA Registry: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml IPPROTO_SEP

svn commit: r350748 - head/sys/netinet6

2019-08-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 8 10:59:54 2019 New Revision: 350748 URL: https://svnweb.freebsd.org/changeset/base/350748 Log: frag6: move public structure into file local space. Move ip6asfrag and the accompanying IP6_REASS_MBUF macro from ip6_var.h into frag6.c as they are not used outside

Re: svn commit: r350713 - head/sys/kern

2019-08-08 Thread Bruce Evans
On Thu, 8 Aug 2019, Conrad Meyer wrote: 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 prints straight to the debugger, while the in handler ignores all input. This

svn commit: r350747 - head/sys/netinet6

2019-08-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 8 10:15:47 2019 New Revision: 350747 URL: https://svnweb.freebsd.org/changeset/base/350747 Log: frag6.c: cleanup varaibles and return statements. Consitently put () around return values. Do not assign variables at the time of variable declaration. Sort

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

2019-08-08 Thread Enji Cooper
> On Aug 7, 2019, at 2:04 PM, Li-Wen Hsu wrote: > > 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:

svn commit: r350746 - head/sys/netinet6

2019-08-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 8 09:42:57 2019 New Revision: 350746 URL: https://svnweb.freebsd.org/changeset/base/350746 Log: frag6.c: initial comment and whitespace cleanup. Cleanup some comments (start with upper case, ends in punctuation, use width and do not consume vertical space).

svn commit: r350745 - head/sys/netinet

2019-08-08 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 8 08:23:27 2019 New Revision: 350745 URL: https://svnweb.freebsd.org/changeset/base/350745 Log: Fix a typo. Submitted by: Thomas Dreibholz MFC after:1 week Modified: head/sys/netinet/sctp_asconf.c Modified:

svn commit: r350744 - head/sys/kern

2019-08-08 Thread Xin LI
Author: delphij Date: Thu Aug 8 07:27:49 2019 New Revision: 350744 URL: https://svnweb.freebsd.org/changeset/base/350744 Log: Convert DDB_CTF to use newer version of ZLIB. PR: 229763 Submitted by: Yoshihiro Ota Differential Revision:

svn commit: r350743 - head/sys/dev/bxe

2019-08-08 Thread Xin LI
Author: delphij Date: Thu Aug 8 06:30:12 2019 New Revision: 350743 URL: https://svnweb.freebsd.org/changeset/base/350743 Log: Update bxe(4) to use new zlib. PR: 229763 Submitted by: Yoshihiro Ota Differential Revision:https://reviews.freebsd.org/D21175 Modified:

svn commit: r350742 - in head/sys: geom/uzip modules/geom/geom_uzip

2019-08-08 Thread Xin LI
Author: delphij Date: Thu Aug 8 06:27:39 2019 New Revision: 350742 URL: https://svnweb.freebsd.org/changeset/base/350742 Log: Update geom_uzip to use new zlib: - Use new zlib headers; - Removed z_alloc and z_free to use the common sys/dev/zlib version. - Replace z_compressBound

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

2019-08-08 Thread Alan Cox
Author: alc Date: Thu Aug 8 06:26:34 2019 New Revision: 350741 URL: https://svnweb.freebsd.org/changeset/base/350741 Log: Ordinarily, during a superpage promotion or demotion within a pmap, the pmap's lock ensures that other operations on the pmap don't observe the old mapping being broken