Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Warner Losh
On Mon, Sep 23, 2019, 10:28 PM Mark Johnston wrote: > On Mon, Sep 23, 2019 at 10:13:14PM +0200, Warner Losh wrote: > > On Mon, Sep 23, 2019, 9:06 PM Mark Johnston wrote: > > > > > On Mon, Sep 23, 2019 at 11:28:52AM -0700, Conrad Meyer wrote: > > > > Hi Mark,

Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Warner Losh
On Mon, Sep 23, 2019, 9:06 PM Mark Johnston wrote: > On Mon, Sep 23, 2019 at 11:28:52AM -0700, Conrad Meyer wrote: > > Hi Mark, > > > > On Mon, Sep 23, 2019 at 7:14 AM Mark Johnston wrote: > > > > > > Author: markj > > > Date: Mon Sep 23 14:14:43 2019 > > > New Revision: 352623 > > > URL:

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

2019-09-18 Thread Warner Losh
On Wed, Sep 18, 2019, 1:41 PM Kyle Evans wrote: > On Wed, Sep 18, 2019 at 7:34 AM Enji Cooper wrote: > > > > > > > On Sep 17, 2019, at 18:58, Kyle Evans wrote: > > > > > > Author: kevans > > > Date: Wed Sep 18 01:58:56 2019 > > > New Revision: 352465 > > > URL:

Re: svn commit: r352451 - head/stand/libsa

2019-09-18 Thread Warner Losh
On Wed, Sep 18, 2019, 9:44 AM Hans Petter Selasky wrote: > On 2019-09-18 10:37, Warner Losh wrote: > > On Wed, Sep 18, 2019, 12:18 AM Conrad Meyer wrote: > > > >> Well, hang on; it's also perfectly legal for a malloc implementation > >> to return NULL for reques

Re: svn commit: r352451 - head/stand/libsa

2019-09-18 Thread Warner Losh
On Wed, Sep 18, 2019, 12:18 AM Conrad Meyer wrote: > Well, hang on; it's also perfectly legal for a malloc implementation > to return NULL for requests of zero bytes. You can access exactly the > number of bytes requested in the allocation; and free(NULL) works as > expected. NULL (0) is also

Re: svn commit: r352275 - in head/lib/libedit: . TEST edit readline

2019-09-13 Thread Warner Losh
On Fri, Sep 13, 2019, 10:11 PM Peter Jeremy wrote: > On 2019-Sep-13 16:33:15 -0400, Charlie Li wrote: > >Baptiste Daroussin wrote: > >> Author: bapt > >> Date: Fri Sep 13 06:50:02 2019 > >> New Revision: 352275 > >> URL: https://svnweb.freebsd.org/changeset/base/352275 > >> > >> Log: > >>

svn commit: r352212 - head/sbin/nvmecontrol

2019-09-11 Thread Warner Losh
Author: imp Date: Wed Sep 11 13:34:19 2019 New Revision: 352212 URL: https://svnweb.freebsd.org/changeset/base/352212 Log: Assume all the short args have optional args so allocate space for the ':'. It's slightly wasteful, but much easier (and the savings in bytes at runtime would be tiny,

svn commit: r352171 - in head/contrib/llvm: include/llvm/TextAPI/MachO lib/Target/Nios2 lib/TextAPI/MachO tools/lldb/source/Plugins/ExpressionParser/Go tools/lldb/source/Plugins/Language/Go tools/l...

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:51:22 2019 New Revision: 352171 URL: https://svnweb.freebsd.org/changeset/base/352171 Log: Remove dirs (and their now-empty parents) empty since r344779 Deleted: head/contrib/llvm/include/llvm/TextAPI/MachO/ head/contrib/llvm/lib/Target/Nios2/

svn commit: r352170 - head/contrib/llvm/include/llvm/BinaryFormat/WasmRelocs

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:50:00 2019 New Revision: 352170 URL: https://svnweb.freebsd.org/changeset/base/352170 Log: Remove dir empty since r327952 Deleted: head/contrib/llvm/include/llvm/BinaryFormat/WasmRelocs/ ___ svn-src-head@freebsd.org

svn commit: r352169 - head/contrib/compiler-rt/lib/sancov

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:49:18 2019 New Revision: 352169 URL: https://svnweb.freebsd.org/changeset/base/352169 Log: Remove dir empty since r314564 Deleted: head/contrib/compiler-rt/lib/sancov/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352168 - in head/contrib/llvm: include/llvm/MC/MCAnalysis lib/ExecutionEngine/JIT lib/MC/MCAnalysis

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:47:38 2019 New Revision: 352168 URL: https://svnweb.freebsd.org/changeset/base/352168 Log: Remove dirs empty since r280031 Deleted: head/contrib/llvm/include/llvm/MC/MCAnalysis/ head/contrib/llvm/lib/ExecutionEngine/JIT/

svn commit: r352167 - head/contrib/compiler-rt/lib/builtins/armv6m

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:46:30 2019 New Revision: 352167 URL: https://svnweb.freebsd.org/changeset/base/352167 Log: Remove dir empty since r276851 Deleted: head/contrib/compiler-rt/lib/builtins/armv6m/ ___ svn-src-head@freebsd.org mailing

svn commit: r352162 - head/contrib/libxo/m4

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:31:06 2019 New Revision: 352162 URL: https://svnweb.freebsd.org/changeset/base/352162 Log: Remove empty directory after r297894 Deleted: head/contrib/libxo/m4/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352161 - head/contrib/ipfilter/ipsd

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:30:05 2019 New Revision: 352161 URL: https://svnweb.freebsd.org/changeset/base/352161 Log: Remove empty dir after r342815 (pt 2, oops) Deleted: head/contrib/ipfilter/ipsd/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352160 - head/contrib/ipfilter/net

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:26:46 2019 New Revision: 352160 URL: https://svnweb.freebsd.org/changeset/base/352160 Log: Remove empty dir after r288683 Deleted: head/contrib/ipfilter/net/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352159 - head/contrib/ipfilter/ipsd/Celler

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:26:20 2019 New Revision: 352159 URL: https://svnweb.freebsd.org/changeset/base/352159 Log: Remove empty dir after r342815 Deleted: head/contrib/ipfilter/ipsd/Celler/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352158 - head/contrib/wpa/src/hlr_auc_gw

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:20:24 2019 New Revision: 352158 URL: https://svnweb.freebsd.org/changeset/base/352158 Log: Remove dir empty since r214734 Deleted: head/contrib/wpa/src/hlr_auc_gw/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352157 - in head/contrib/wpa: patches wpa_supplicant/tests

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 17:19:43 2019 New Revision: 352157 URL: https://svnweb.freebsd.org/changeset/base/352157 Log: Remove dirs empty since r336203 Deleted: head/contrib/wpa/patches/ head/contrib/wpa/wpa_supplicant/tests/ ___

svn commit: r352156 - head/contrib/apr/include/private

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:58:19 2019 New Revision: 352156 URL: https://svnweb.freebsd.org/changeset/base/352156 Log: Remove directory empty after r266735 Deleted: head/contrib/apr/include/private/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352155 - head/contrib/traceroute/lbl

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:57:35 2019 New Revision: 352155 URL: https://svnweb.freebsd.org/changeset/base/352155 Log: Remove empty directory after r215937 Deleted: head/contrib/traceroute/lbl/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352154 - head/crypto/heimdal/lib/sqlite

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:56:43 2019 New Revision: 352154 URL: https://svnweb.freebsd.org/changeset/base/352154 Log: Remove empty directory after r342871 Deleted: head/crypto/heimdal/lib/sqlite/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352153 - head/sys/gnu/dts/include/dt-bindings/genpd

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:53:16 2019 New Revision: 352153 URL: https://svnweb.freebsd.org/changeset/base/352153 Log: Remove empty directory imported with r342935 Deleted: head/sys/gnu/dts/include/dt-bindings/genpd/ ___

svn commit: r352152 - head/usr.sbin/bsdconfig/fdisk

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:51:52 2019 New Revision: 352152 URL: https://svnweb.freebsd.org/changeset/base/352152 Log: Remove empty directory imported with r238438 Deleted: head/usr.sbin/bsdconfig/fdisk/ ___ svn-src-head@freebsd.org mailing

svn commit: r352151 - head/cddl/contrib/opensolaris/common/avl

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:50:38 2019 New Revision: 352151 URL: https://svnweb.freebsd.org/changeset/base/352151 Log: Remove now-empty directory after r288337 Deleted: head/cddl/contrib/opensolaris/common/avl/ ___ svn-src-head@freebsd.org

svn commit: r352150 - in head/contrib/netbsd-tests: crypto/libcrypto/bf crypto/libcrypto/bn crypto/libcrypto/cast crypto/libcrypto/des crypto/libcrypto/dh crypto/libcrypto/dsa crypto/libcrypto/ec c...

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:48:49 2019 New Revision: 352150 URL: https://svnweb.freebsd.org/changeset/base/352150 Log: Remove now-empty directories after r272458 Deleted: head/contrib/netbsd-tests/crypto/libcrypto/bf/ head/contrib/netbsd-tests/crypto/libcrypto/bn/

svn commit: r352149 - in head/tools/tools/nanobsd: gateworks rescue/Pkg

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:43:05 2019 New Revision: 352149 URL: https://svnweb.freebsd.org/changeset/base/352149 Log: Remove gateworks directories left over from r336136 Deleted: head/tools/tools/nanobsd/gateworks/ head/tools/tools/nanobsd/rescue/Pkg/

svn commit: r352148 - in head/sys/modules: if_tap if_tun

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:41:00 2019 New Revision: 352148 URL: https://svnweb.freebsd.org/changeset/base/352148 Log: Remove empty tap/tun modules directories after r347241 Deleted: head/sys/modules/if_tap/ head/sys/modules/if_tun/ ___

svn commit: r352147 - head/usr.bin/send-pr

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:40:00 2019 New Revision: 352147 URL: https://svnweb.freebsd.org/changeset/base/352147 Log: Remove leftover usr.bin/send-pr after r338042 Deleted: head/usr.bin/send-pr/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352146 - head/sys/mips/gxemul

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:38:52 2019 New Revision: 352146 URL: https://svnweb.freebsd.org/changeset/base/352146 Log: Remove empty directory after r342256 Deleted: head/sys/mips/gxemul/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352145 - head/stand/sparc64/zfsloader

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:37:32 2019 New Revision: 352145 URL: https://svnweb.freebsd.org/changeset/base/352145 Log: Remove empty directory aftre r336532 Deleted: head/stand/sparc64/zfsloader/ ___ svn-src-head@freebsd.org mailing list

svn commit: r352143 - in head/sys/modules: drm drm2

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:35:31 2019 New Revision: 352143 URL: https://svnweb.freebsd.org/changeset/base/352143 Log: Remove empty directories after drm removal Deleted: head/sys/modules/drm/ head/sys/modules/drm2/ ___

svn commit: r352144 - in head: lib/libnandfs sbin/nandfs sbin/newfs_nandfs sys/dev/nand sys/fs/nandfs usr.sbin/nandsim usr.sbin/nandtool

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:36:09 2019 New Revision: 352144 URL: https://svnweb.freebsd.org/changeset/base/352144 Log: Remove more directories left over from nand removal Deleted: head/lib/libnandfs/ head/sbin/nandfs/ head/sbin/newfs_nandfs/ head/sys/dev/nand/ head/sys/fs/nandfs/

svn commit: r352141 - in head/sys/modules: nand nandfs nandsim

2019-09-10 Thread Warner Losh
Author: imp Date: Tue Sep 10 16:30:06 2019 New Revision: 352141 URL: https://svnweb.freebsd.org/changeset/base/352141 Log: Remove empty directories left over from nand removal Deleted: head/sys/modules/nand/ head/sys/modules/nandfs/ head/sys/modules/nandsim/

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

2019-09-09 Thread Warner Losh
On Mon, Sep 9, 2019, 5:56 AM Brooks Davis wrote: > On Sat, Sep 07, 2019 at 12:23:03PM +0800, Philip Paeps wrote: > > On 2019-09-07 12:06:32 (+0800), Warner Losh wrote: > > > On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps > > > wrote: > > >> On 2019-0

svn commit: r352100 - in head/tools/tools/nanobsd: dhcpd embedded

2019-09-09 Thread Warner Losh
Author: imp Date: Mon Sep 9 18:46:28 2019 New Revision: 352100 URL: https://svnweb.freebsd.org/changeset/base/352100 Log: Remove obsolete WITHOUT names that are no longer in the system. Noticed by: swills@ Modified: head/tools/tools/nanobsd/dhcpd/common

svn commit: r352099 - head/tools/tools/nanobsd/embedded

2019-09-09 Thread Warner Losh
Author: imp Date: Mon Sep 9 18:45:52 2019 New Revision: 352099 URL: https://svnweb.freebsd.org/changeset/base/352099 Log: These should have been removed when we removed atmel port before 12. Deleted: head/tools/tools/nanobsd/embedded/sam9260ek.cfg

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

2019-09-06 Thread Warner Losh
On Fri, Sep 6, 2019 at 9:54 PM Philip Paeps wrote: > On 2019-09-06 22:18:36 (+0800), Ian Lepore wrote: > > On Fri, 2019-09-06 at 12:15 +0800, Philip Paeps wrote: > >> On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote: > >>> On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote: > Log: >

svn commit: r351967 - head/sys/dev/usb

2019-09-06 Thread Warner Losh
Author: imp Date: Sat Sep 7 03:51:26 2019 New Revision: 351967 URL: https://svnweb.freebsd.org/changeset/base/351967 Log: Some newer HID devices have descriptors that are larger than 1k. Bump this to 2k to prevent them from being truncated and ignored. It appears to be a sanity check only,

svn commit: r351950 - head/sys/netinet

2019-09-06 Thread Warner Losh
Author: imp Date: Fri Sep 6 18:25:42 2019 New Revision: 351950 URL: https://svnweb.freebsd.org/changeset/base/351950 Log: Initialize if_hw_tsomaxsegsize to 0 to appease gcc's flow analysis as a fail-safe. Modified: head/sys/netinet/tcp_output.c Modified: head/sys/netinet/tcp_output.c

svn commit: r351936 - head/sbin/ggate/shared

2019-09-06 Thread Warner Losh
Author: imp Date: Fri Sep 6 15:01:47 2019 New Revision: 351936 URL: https://svnweb.freebsd.org/changeset/base/351936 Log: Fix typo not -> nor and add 'the' because we are talking about specific flags and make the punctuation parallel between the three cases. Submitted by: Yoshihiro

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

2019-09-04 Thread Warner Losh
Author: imp Date: Wed Sep 4 20:08:36 2019 New Revision: 351828 URL: https://svnweb.freebsd.org/changeset/base/351828 Log: Support doorbell strides != 0. The NVMe standard (1.4) states >>> 8.6 Doorbell Stride for Software Emulation >>> The doorbell stride,...is useful in software

svn commit: r351824 - head/sbin/nvmecontrol

2019-09-04 Thread Warner Losh
Author: imp Date: Wed Sep 4 19:19:23 2019 New Revision: 351824 URL: https://svnweb.freebsd.org/changeset/base/351824 Log: Report the Host Buffer Memory minimum and preferred sizes. The Host Buffer feature (NVMe 1.4 section 89) allows for the NVMe card request the host provide it buffer

Re: svn commit: r351747 - head/sys/dev/nvme

2019-09-03 Thread Warner Losh
On Tue, Sep 3, 2019 at 7:19 PM Warner Losh wrote: > > > On Tue, Sep 3, 2019 at 2:38 PM Ravi Pokala wrote: > >> Hi Warner, >> >> + /* >> +* Per Section 7.6.2 of NVMe spec 1.4, to properly suspend, we >> need to >> +* d

Re: svn commit: r351747 - head/sys/dev/nvme

2019-09-03 Thread Warner Losh
On Tue, Sep 3, 2019 at 2:38 PM Ravi Pokala wrote: > Hi Warner, > > + /* > +* Per Section 7.6.2 of NVMe spec 1.4, to properly suspend, we > need to > +* delete the hardware I/O queues, and then shutdown. This properly > +* flushes any metadata the drive may have

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

2019-09-03 Thread Warner Losh
Author: imp Date: Tue Sep 3 15:26:11 2019 New Revision: 351747 URL: https://svnweb.freebsd.org/changeset/base/351747 Log: Implement nvme suspend / resume for pci attachment When we suspend, we need to properly shutdown the NVME controller. The controller may go into D3 state (or may

svn commit: r346624 - head/bin/date

2019-09-03 Thread Warner Losh
Author: imp Date: Wed Apr 24 05:24:10 2019 New Revision: 346624 URL: https://svnweb.freebsd.org/changeset/base/346624 Log: Restore the -n flag parsing, but ignore it. Since D19668 was done, new users of the -n flag have surfaced. Parse and ignore it on the command line until they can be

svn commit: r346575 - in head/stand/efi: include libefi loader

2019-09-03 Thread Warner Losh
Author: imp Date: Mon Apr 22 18:40:24 2019 New Revision: 346575 URL: https://svnweb.freebsd.org/changeset/base/346575 Log: Create boot_img as a global variable Get the information from the image that we're booting and store it in a global variable. Prefer using this to passing it around.

svn commit: r346573 - head/stand/efi/loader

2019-09-03 Thread Warner Losh
Author: imp Date: Mon Apr 22 18:33:32 2019 New Revision: 346573 URL: https://svnweb.freebsd.org/changeset/base/346573 Log: Move setting of console earlier in boot. There's no reason we can't setup the console first thing after the arch flags are setup. We set it undconditionally to efi.

Re: svn commit: r346441 - in head/sys/modules: em fusefs iavf

2019-09-03 Thread Warner Losh
On Sat, Apr 20, 2019, 10:44 AM John Baldwin wrote: > On 4/20/19 6:23 AM, Justin Hibbits wrote: > > On Sat, Apr 20, 2019, 08:21 Alan Somers wrote: > > > >> On Sat, Apr 20, 2019 at 6:58 AM Justin Hibbits > >> wrote: > >>> > >>> > >>> > >>> On Sat, Apr 20, 2019, 07:51 Alan Somers wrote: > >

svn commit: r346430 - in head/stand/efi: include libefi loader

2019-09-03 Thread Warner Losh
Author: imp Date: Sat Apr 20 05:31:56 2019 New Revision: 346430 URL: https://svnweb.freebsd.org/changeset/base/346430 Log: Start to reduce the number of #ifdef EFI_ZFS_BOOT There's a number of EFI_ZFS_BOOT #ifdefs that aren't needed, or can be eliminated with some trivial #defines.

Re: svn commit: r346441 - in head/sys/modules: em fusefs iavf

2019-09-03 Thread Warner Losh
On Sat, Apr 20, 2019 at 2:03 PM John Baldwin wrote: > On 4/20/19 10:21 AM, Warner Losh wrote: > > On Sat, Apr 20, 2019, 10:44 AM John Baldwin wrote: > > > >> On 4/20/19 6:23 AM, Justin Hibbits wrote: > >>> On Sat, Apr 20, 2019, 08:21 Alan Somers wrote: >

svn commit: r346407 - head/stand/efi/include

2019-09-03 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:44:59 2019 New Revision: 346407 URL: https://svnweb.freebsd.org/changeset/base/346407 Log: Add define for CONST. Newer interfaces take CONST parameters, so define CONST to minimize differences between our headers and the standards docs. Differential

svn commit: r346359 - head/sys/kern

2019-09-03 Thread Warner Losh
Author: imp Date: Thu Apr 18 22:52:12 2019 New Revision: 346359 URL: https://svnweb.freebsd.org/changeset/base/346359 Log: When parsing command line stuff, treat tabs and spaces the same. When creating complex config files, people like to use tabs to offset sections. Treat them the same

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Warner Losh
On Thu, Apr 18, 2019 at 8:44 AM Cy Schubert wrote: > On April 18, 2019 7:22:53 AM PDT, "Rodney W. Grimes" < > free...@gndrsh.dnsmgr.net> wrote: > >> On Thu, Apr 18, 2019 at 8:46 AM Rodney W. Grimes > >> wrote: > >> > > >> > > In message <201904180107.x3i17qdc002...@gndrsh.dnsmgr.net>, >

Re: svn commit: r346441 - in head/sys/modules: em fusefs iavf

2019-09-03 Thread Warner Losh
On Sat, Apr 20, 2019, 10:46 AM Enji Cooper wrote: > > > > On Apr 20, 2019, at 9:44 AM, John Baldwin wrote: > > > > On 4/20/19 6:23 AM, Justin Hibbits wrote: > >> On Sat, Apr 20, 2019, 08:21 Alan Somers wrote: > >> > >>> On Sat, Apr 20, 2019 at 6:58 AM Justin Hibbits > >>> wrote: > >

svn commit: r346408 - head/stand/efi/include

2019-09-03 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:45:15 2019 New Revision: 346408 URL: https://svnweb.freebsd.org/changeset/base/346408 Log: Add UEFI definitions related to converting string to DEVICE_PATH Add definitions from UEFI 2.7 Errata B standards doc for converting a text string to a device path.

svn commit: r346409 - in head/stand/efi: include libefi

2019-09-03 Thread Warner Losh
Author: imp Date: Fri Apr 19 19:45:19 2019 New Revision: 346409 URL: https://svnweb.freebsd.org/changeset/base/346409 Log: Add wrapper functions to convert strings to EFI_DEVICE_PATH In anticipation of new functionality, create routines to convert char * and a CHAR16 * to a

Re: svn commit: r346441 - in head/sys/modules: em fusefs iavf

2019-09-03 Thread Warner Losh
On Sat, Apr 20, 2019, 7:47 AM Alan Somers wrote: > On Sat, Apr 20, 2019 at 7:23 AM Justin Hibbits > wrote: > > > > > > > > On Sat, Apr 20, 2019, 08:21 Alan Somers wrote: > >> > >> On Sat, Apr 20, 2019 at 6:58 AM Justin Hibbits > wrote: > >> > > >> > > >> > > >> > On Sat, Apr 20, 2019, 07:51

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Warner Losh
On Thu, Apr 18, 2019 at 12:03 PM Ed Maste wrote: > On Thu, 18 Apr 2019 at 10:03, Kyle Evans wrote: > > > > Keep in mind that this is bootstrap; it's being built for the host > > system, but it will link against a version of libcasper that's been > > built in an earlier stage with the proper

svn commit: r346354 - head

2019-09-03 Thread Warner Losh
Author: imp Date: Thu Apr 18 15:19:28 2019 New Revision: 346354 URL: https://svnweb.freebsd.org/changeset/base/346354 Log: Add note that I'm the defacto maintainer of libegacy, our compat shims for building bootstrap tools that use new features on systems too old to have those new features.

svn commit: r346346 - in head/stand/efi: include libefi

2019-09-03 Thread Warner Losh
Author: imp Date: Thu Apr 18 05:40:50 2019 New Revision: 346346 URL: https://svnweb.freebsd.org/changeset/base/346346 Log: Add efi_delenv Add an interface to remove / delete UEFI variables. Modified: head/stand/efi/include/efilib.h head/stand/efi/libefi/efienv.c Modified:

svn commit: r346353 - head/stand/efi/boot1

2019-09-03 Thread Warner Losh
Author: imp Date: Thu Apr 18 15:19:19 2019 New Revision: 346353 URL: https://svnweb.freebsd.org/changeset/base/346353 Log: Minor tweak to the debug Make it clear we're loading from UFS. Modified: head/stand/efi/boot1/ufs_module.c Modified: head/stand/efi/boot1/ufs_module.c

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread Warner Losh
On Thu, Apr 18, 2019 at 10:26 AM Cy Schubert wrote: > On April 18, 2019 8:11:49 AM PDT, Warner Losh wrote: >> >> >> >> On Thu, Apr 18, 2019 at 8:44 AM Cy Schubert >> wrote: >> >>> On April 18, 2019 7:22:53 AM PDT, "Rodney W. Grimes" <

svn commit: r346345 - in head/stand/efi: include libefi

2019-09-03 Thread Warner Losh
Author: imp Date: Thu Apr 18 05:37:18 2019 New Revision: 346345 URL: https://svnweb.freebsd.org/changeset/base/346345 Log: Add a more generic efi_setenv function. efi_setenv allows any UEFI variable to be set. Modified: head/stand/efi/include/efilib.h head/stand/efi/libefi/efienv.c

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Warner Losh
On Wed, Apr 17, 2019 at 10:06 AM John Baldwin wrote: > On 4/16/19 4:48 PM, Conrad Meyer wrote: > > On Tue, Apr 16, 2019 at 4:31 PM John Baldwin wrote: > >> bhyveload is effectively the loader in this case. It runs the normal > loader > >> scripts and logic and so would load the guests's

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Apr 16, 2019, 4:51 PM Rodney W. Grimes wrote: > > On 4/15/19 11:40 AM, Conrad Meyer wrote: > > > Author: cem > > > Date: Mon Apr 15 18:40:36 2019 > > > New Revision: 346250 > > > URL: https://svnweb.freebsd.org/changeset/base/346250 > > > > > > Log: > > > random(4): Block

Re: svn commit: r346295 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/mv arm/nvidia/tegra124

2019-09-03 Thread Warner Losh
On Wed, Apr 17, 2019 at 12:06 PM Andrew Turner wrote: > > > On 17 Apr 2019, at 17:52, Ian Lepore wrote: > > On Wed, 2019-04-17 at 11:23 +0200, Andrew Turner wrote: > > On 16 Apr 2019, at 22:04, Emmanuel Vadot wrote: > > Author: manu > Date: Tue Apr 16 20:04:22 2019 > New Revision: 346295 >

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Apr 16, 2019 at 9:51 AM Conrad Meyer wrote: > Hi Warner, > > On Tue, Apr 16, 2019 at 8:47 AM Warner Losh wrote: > > On Tue, Apr 16, 2019 at 9:16 AM Ian Lepore wrote: > >> Isn't a file full of data which is distributed in identical form to > >> every

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Apr 16, 2019 at 9:27 AM Conrad Meyer wrote: > On Tue, Apr 16, 2019 at 7:24 AM Justin Hibbits > wrote: > > > > Hi Conrad, > > ... > > [Power] does use bsdinstall to install. How is entropy loaded at > startup, > > which causes the problem noted in github? > > There are a couple very

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Apr 16, 2019 at 9:16 AM Ian Lepore wrote: > On Tue, 2019-04-16 at 07:18 -0600, Warner Losh wrote: > > On Tue, Apr 16, 2019, 7:04 AM Emmanuel Vadot > > wrote: > > > > > On Mon, 15 Apr 2019 17:54:56 -0700 > > > Conrad Meyer wrote: > > >

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Apr 16, 2019, 7:04 AM Emmanuel Vadot wrote: > On Mon, 15 Apr 2019 17:54:56 -0700 > Conrad Meyer wrote: > > > On Mon, Apr 15, 2019 at 5:53 PM Conrad Meyer wrote: > > > E.g., the CI infrastructure for > > > Riscv/Arm is/was generating minimal filesystem images and not > > > populating

svn commit: r346177 - in head/sys: amd64/conf arm/conf conf i386/conf powerpc/conf sparc64/conf

2019-09-03 Thread Warner Losh
Author: imp Date: Sat Apr 13 06:30:45 2019 New Revision: 346177 URL: https://svnweb.freebsd.org/changeset/base/346177 Log: Move mpr/mps drivers from per-arch NOTES files into the MI notes file. They are in more arches they they aren't. Add appropriate nodevice directives in powerpc and arm.

svn commit: r346176 - head/sys/sys

2019-09-03 Thread Warner Losh
Author: imp Date: Sat Apr 13 04:46:35 2019 New Revision: 346176 URL: https://svnweb.freebsd.org/changeset/base/346176 Log: Fix sbttons for values > 2s Add test against negative times. Add code to cope with larger values properly. Discussed with: bde@ (quite some time ago, for an

Re: svn commit: r346039 - head/sys/conf

2019-09-03 Thread Warner Losh
On Tue, Apr 9, 2019 at 11:40 AM Ian Lepore wrote: > On Tue, 2019-04-09 at 11:19 -0600, Rebecca Cran wrote: > > On 2019-04-08 12:25, Warner Losh wrote: > > > Author: imp > > > Date: Mon Apr 8 18:25:14 2019 > > > New Revision: 346039 > > > URL: htt

Re: svn commit: r346039 - head/sys/conf

2019-09-03 Thread Warner Losh
On Tue, Apr 9, 2019 at 11:19 AM Rebecca Cran wrote: > On 2019-04-08 12:25, Warner Losh wrote: > > Author: imp > > Date: Mon Apr 8 18:25:14 2019 > > New Revision: 346039 > > URL: https://svnweb.freebsd.org/changeset/base/346039 > > > >

svn commit: r346039 - head/sys/conf

2019-09-03 Thread Warner Losh
Author: imp Date: Mon Apr 8 18:25:14 2019 New Revision: 346039 URL: https://svnweb.freebsd.org/changeset/base/346039 Log: Style only change: Prefer $() to `` $() is more modern and also nests. Convert the mix of styles to using only the former (although the latter was more common). It's

Re: svn commit: r346018 - head/sys/conf

2019-09-03 Thread Warner Losh
uld break that. The code is identical logically and produces the same result. Warner On Sunday, April 7, 2019, Warner Losh wrote: > >> Author: imp >> Date: Sun Apr 7 18:39:55 2019 >> New Revision: 346018 >> URL: https://svnweb.freebsd.org/changeset/base/346018 >> >&g

Re: svn commit: r346012 - head/sys/sys

2019-09-03 Thread Warner Losh
On Sun, Apr 7, 2019, 1:32 PM O. Hartmann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Am Sun, 7 Apr 2019 16:07:41 + (UTC) > Mariusz Zaborski schrieb: > > > Author: oshogbo > > Date: Sun Apr 7 16:07:41 2019 > > New Revision: 346012 > > URL:

svn commit: r346018 - head/sys/conf

2019-09-03 Thread Warner Losh
Author: imp Date: Sun Apr 7 18:39:55 2019 New Revision: 346018 URL: https://svnweb.freebsd.org/changeset/base/346018 Log: Use default shell assignment rather more complicated if then construct. Discussed with: emaste@, allanjude@ (changes (or not) based on their feedback) Differential

svn commit: r346022 - head/sys/conf

2019-09-03 Thread Warner Losh
Author: imp Date: Sun Apr 7 21:01:02 2019 New Revision: 346022 URL: https://svnweb.freebsd.org/changeset/base/346022 Log: Make RELDATE be on a single line. All variable assignments that start in column 1 have to be on a single line for amd to build due to as weird dependency there (most

Re: svn commit: r345982 - in head: include lib/libc/sys sys/cddl/compat/opensolaris/sys sys/compat/cloudabi sys/compat/freebsd32 sys/compat/linux sys/kern sys/sys sys/ufs/ffs

2019-09-03 Thread Warner Losh
On Sun, Apr 7, 2019 at 9:35 AM Cy Schubert wrote: > In message <201904071510.x37fa7tm050...@gndrsh.dnsmgr.net>, "Rodney W. > Grimes" > writes: > > > On April 7, 2019 7:11:52 AM PDT, Shawn Webb < > shawn.w...@hardenedbsd.org> wr > > ote: > > > >On Sat, Apr 06, 2019 at 09:34:26AM +, Mariusz

Re: svn commit: r346018 - head/sys/conf

2019-09-03 Thread Warner Losh
On Mon, Apr 8, 2019, 2:35 AM Chris Rees wrote: > On 2019-04-08 08:57, Oliver Pinter wrote: > > On Monday, April 8, 2019, Warner Losh wrote: > > > >> > >> > >> On Sun, Apr 7, 2019, 3:16 PM Oliver Pinter > >> > >> wrote: > >&

svn commit: r345947 - head/sys/conf

2019-09-03 Thread Warner Losh
Author: imp Date: Fri Apr 5 14:27:48 2019 New Revision: 345947 URL: https://svnweb.freebsd.org/changeset/base/345947 Log: Remove another instance of All Rights Reserved. Remove the phrase from boilerplate copyright we stick on vers.c when we can't find the template file. In practice,

svn commit: r345902 - in head/sys: amd64/conf i386/conf sparc64/conf

2019-09-03 Thread Warner Losh
Author: imp Date: Fri Apr 5 02:54:02 2019 New Revision: 345902 URL: https://svnweb.freebsd.org/changeset/base/345902 Log: Add mpr, mps, mpt to NOTES file Add these to all the architectures that these are in the GENERIC kernel. Modified: head/sys/amd64/conf/NOTES

Re: svn commit: r345902 - in head/sys: amd64/conf i386/conf sparc64/conf

2019-09-03 Thread Warner Losh
On Thu, Apr 4, 2019 at 8:54 PM Warner Losh wrote: > Author: imp > Date: Fri Apr 5 02:54:02 2019 > New Revision: 345902 > URL: https://svnweb.freebsd.org/changeset/base/345902 > > Log: > Add mpr, mps, mpt to NOTES file > > Add these to all the architectures th

Re: svn commit: r345707 - in head: lib/clang lib/libc++ lib/libc++experimental lib/libc++fs lib/libc/tests/stdlib lib/libclang_rt lib/libcxxrt lib/libgcc_eh lib/libomp lib/ofed/libibnetdisc share/mk u

2019-09-03 Thread Warner Losh
On Fri, Mar 29, 2019, 9:15 PM Enji Cooper wrote: > > > On Mar 29, 2019, at 8:09 PM, Rodney W. Grimes > wrote: > > > >> Author: ngie > >> Date: Fri Mar 29 18:43:46 2019 > >> New Revision: 345707 > >> URL: https://svnweb.freebsd.org/changeset/base/345707 > >> > >> Log: > >> Revert r345706: the

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Sep 3, 2019, 7:02 AM Mateusz Guzik wrote: > On 9/3/19, Warner Losh wrote: > > On Tue, Sep 3, 2019, 5:45 AM Brooks Davis wrote: > > > >> On Tue, Sep 03, 2019 at 07:35:05AM -0400, Shawn Webb wrote: > >> > Hey Mateusz, > >> > > >>

Re: svn commit: r351729 - in head: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2019-09-03 Thread Warner Losh
On Tue, Sep 3, 2019, 5:45 AM Brooks Davis wrote: > On Tue, Sep 03, 2019 at 07:35:05AM -0400, Shawn Webb wrote: > > Hey Mateusz, > > > > On Tue, Sep 03, 2019 at 04:16:31AM +, Mateusz Guzik wrote: > > > Author: mjg > > > Date: Tue Sep 3 04:16:30 2019 > > > New Revision: 351729 > > > URL:

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

2019-09-02 Thread Warner Losh
Author: imp Date: Mon Sep 2 17:10:46 2019 New Revision: 351704 URL: https://svnweb.freebsd.org/changeset/base/351704 Log: Add a brief comment explaining why we can return ETIMEDOUT from the call to the polled interface. Normally this would have the potential to corrupt stack memory

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

2019-09-02 Thread Warner Losh
Author: imp Date: Mon Sep 2 17:11:27 2019 New Revision: 351705 URL: https://svnweb.freebsd.org/changeset/base/351705 Log: In all the places that we use the polled for completion interface, except crash dump support code, move the while loop into an inline function. These aren't done in

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

2019-09-02 Thread Warner Losh
Author: imp Date: Mon Sep 2 17:11:32 2019 New Revision: 351706 URL: https://svnweb.freebsd.org/changeset/base/351706 Log: In nvme_completion_poll, add a sanity check to make sure that we complete the polling within a second. Panic if we don't. All the commands that use this interface

Re: svn commit: r351643 - in head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common: dtraceUtil speculation

2019-08-31 Thread Warner Losh
On Sat, Aug 31, 2019 at 5:29 PM Conrad Meyer wrote: > Thanks Li-Wen! Might it be less fragile to have the test fixture > create a file, if the test(s) will expect one to be present to read? > Or just use the realpath $0, which you know has to exist :) Warner > On Sat, Aug 31, 2019 at 7:42

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-25 Thread Warner Losh
On Sun, Aug 25, 2019, 10:35 PM Jan Sucan wrote: > Hello, > > I can implement it. I suppose that ping6's manual page should be kept it > this case. > The differences are small enough you may be able to combine man pages. I was also thinking about printing a warning for each option renamed to >

svn commit: r351497 - in head/sys/modules: linux linux64

2019-08-25 Thread Warner Losh
Author: imp Date: Sun Aug 25 22:06:17 2019 New Revision: 351497 URL: https://svnweb.freebsd.org/changeset/base/351497 Log: Replace -Werror with ${WERROR} in module builds Modified: head/sys/modules/linux/Makefile head/sys/modules/linux64/Makefile Modified: head/sys/modules/linux/Makefile

svn commit: r351498 - head/usr.sbin/pmcstudy

2019-08-25 Thread Warner Losh
Author: imp Date: Sun Aug 25 22:06:26 2019 New Revision: 351498 URL: https://svnweb.freebsd.org/changeset/base/351498 Log: Replace -Werror with ${WERROR} in pmcstudy Modified: head/usr.sbin/pmcstudy/Makefile Modified: head/usr.sbin/pmcstudy/Makefile

svn commit: r351485 - in head/sys: arm/conf conf powerpc/conf powerpc/conf/dpaa

2019-08-25 Thread Warner Losh
Author: imp Date: Sun Aug 25 19:39:31 2019 New Revision: 351485 URL: https://svnweb.freebsd.org/changeset/base/351485 Log: Fix bogusly declared WERRORs in kernel build Many arm kernel configs bogusly specified WERROR=-Werror. There's no reason for this because the default is that and

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

2019-08-23 Thread Warner Losh
Author: imp Date: Fri Aug 23 22:52:58 2019 New Revision: 351447 URL: https://svnweb.freebsd.org/changeset/base/351447 Log: It turns out the duplication is only mostly harmless. While it worked with the kenrel, it wasn't working with the loader. It failed to handle dependencies correctly.

Re: svn commit: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto

2019-08-23 Thread Warner Losh
g this correctly). > > Maybe one more reason to excise des from the tree. Ha! No comment :) Warner > Best, > Conrad > > > On Fri, Aug 23, 2019 at 9:59 AM Bjoern A. Zeeb wrote: > > > > On 23 Aug 2019, at 16:48, Warner Losh wrote: > > > There's a lot of -Wn

Re: svn commit: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto

2019-08-23 Thread Warner Losh
On Fri, Aug 23, 2019 at 10:10 AM Bjoern A. Zeeb wrote: > On 23 Aug 2019, at 15:53, Warner Losh wrote: > > > Sorry for top posting... > > > > I had planned this for next week, but I think give this insanity of > > this > > patch, we should do it now: turn off

svn commit: r351430 - head/share/mk

2019-08-23 Thread Warner Losh
Author: imp Date: Fri Aug 23 16:42:39 2019 New Revision: 351430 URL: https://svnweb.freebsd.org/changeset/base/351430 Log: Turn off -Werror for gcc 4.2.1 for userland As discussed on arch@, gcc 4.2.1 is on its way out. Turn off Werror on gcc versions < 5.0 permantly. This will allow

<    2   3   4   5   6   7   8   9   10   11   >