svn commit: r344057 - head/usr.sbin/bhyve

2019-02-12 Thread Warner Losh
Author: imp Date: Tue Feb 12 19:05:09 2019 New Revision: 344057 URL: https://svnweb.freebsd.org/changeset/base/344057 Log: Revert r343077 until the license issues surrounding it can be resolved. Approved by: core@ Modified: head/usr.sbin/bhyve/uart_emul.c Modified: head/usr.sbin/bhyve/

svn commit: r343814 - in head/sys/cam: ata scsi

2019-02-05 Thread Warner Losh
Author: imp Date: Tue Feb 5 22:53:36 2019 New Revision: 343814 URL: https://svnweb.freebsd.org/changeset/base/343814 Log: Add quirk for Sansisk X400 drives Certain versions of Sandisk x400 firmware can hang under extremely heavly load of large I/Os for prolonged periods of time. Newer /

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

2019-02-05 Thread Warner Losh
Author: imp Date: Tue Feb 5 21:37:45 2019 New Revision: 343812 URL: https://svnweb.freebsd.org/changeset/base/343812 Log: Remove obsolete controller We removed support for the super-old samsung s3 parts, but this is a straggler. Remove it too. Deleted: head/sys/dev/usb/controller/

svn commit: r343811 - in head: libexec/talkd share/man/man9 sys/dev/flash sys/dev/mmc sys/dev/pccbb sys/dev/puc sys/dev/sio sys/dev/uart sys/dev/usb/controller sys/dev/wi usr.sbin/dumpcis

2019-02-05 Thread Warner Losh
. Warner Losh. All rights reserved. + * Copyright (c) 2002 M. Warner Losh. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions Modified: head/share/man/man9/config_intrhook.9

svn commit: r343810 - in head: . share/man/man9 sys/dev/cardbus sys/mips/include

2019-02-05 Thread Warner Losh
6,7 @@ to fetch an UPDATING file from an older FreeBSD releas Copyright information: -Copyright 1998-2009 M. Warner Losh. All Rights Reserved. +Copyright 1998-2009 M. Warner Losh. Redistribution, publication, translation and use, with or without modification, in full or in part, in any fo

svn commit: r343755 - in head: lib/libefivar sbin/devmatch sbin/nvmecontrol sbin/nvmecontrol/modules/wdc share/man/man4 share/man/man9 stand/efi/libefi stand/efi/loader stand/forth stand/i386/libi3...

2019-02-04 Thread Warner Losh
Author: imp Date: Mon Feb 4 21:28:25 2019 New Revision: 343755 URL: https://svnweb.freebsd.org/changeset/base/343755 Log: Regularize the Netflix copyright Use recent best practices for Copyright form at the top of the license: 1. Remove all the All Rights Reserved clauses on our stuff.

Re: svn commit: r343634 - head/usr.sbin/bhyve

2019-01-31 Thread Warner Losh
On Thu, Jan 31, 2019, 4:46 PM Konstantin Belousov On Thu, Jan 31, 2019 at 11:32:19PM +, Marcelo Araujo wrote: > > Author: araujo > > Date: Thu Jan 31 23:32:19 2019 > > New Revision: 343634 > > URL: https://svnweb.freebsd.org/changeset/base/343634 > > > > Log: > > Mostly a cosmetic change to

Re: svn commit: r343480 - head/lib/libfigpar

2019-01-27 Thread Warner Losh
On Sun, Jan 27, 2019 at 7:09 AM Devin Teske wrote: > > > > On Jan 26, 2019, at 9:31 PM, Bruce Evans wrote: > > > > On Sat, 26 Jan 2019, Stefan Esser wrote: > > > >> Am 26.01.19 um 22:59 schrieb Colin Percival: > >>> ... > >>> The length of the string was already being recalculated, by strcpy. >

Re: svn commit: r343118 - in head/usr.sbin: . trim

2019-01-18 Thread Warner Losh
On Fri, Jan 18, 2019 at 2:06 AM Eugene Grosbein wrote: > 18.01.2019 7:39, Warner Losh wrote: > > > You hijacked that review. Don't you dare use it as evidence of consent > to the sh*t you just pulled. > > > > Back it out, do a proper review. This one was not prop

Re: svn commit: r343118 - in head/usr.sbin: . trim

2019-01-17 Thread Warner Losh
On Thu, Jan 17, 2019 at 5:48 PM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Thu, Jan 17, 2019 at 3:43 PM Conrad Meyer wrote: > > > > > On Thu, Jan 17, 2019 at 1:16 PM Eugene Grosbein > wrote: > > > > > > > > 18.01.2019 3:23, Conrad Meyer ?: > > > > > > > > > Please back

Re: svn commit: r343118 - in head/usr.sbin: . trim

2019-01-17 Thread Warner Losh
On Thu, Jan 17, 2019 at 3:43 PM Conrad Meyer wrote: > On Thu, Jan 17, 2019 at 1:16 PM Eugene Grosbein wrote: > > > > 18.01.2019 3:23, Conrad Meyer пишет: > > > > > Please back it out; stop attributing code review to "hackers@," which > > > can not (it's a list, not individuals) and did not revie

Re: svn commit: r343118 - in head/usr.sbin: . trim

2019-01-17 Thread Warner Losh
On Thu, Jan 17, 2019 at 2:16 PM Eugene Grosbein wrote: > 18.01.2019 3:23, Conrad Meyer пишет: > > > Please back it out; stop attributing code review to "hackers@," which > > can not (it's a list, not individuals) and did not review this > > changeset; and put it on phabricator for actual review.

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

2019-01-12 Thread Warner Losh
On Sat, Jan 12, 2019 at 12:10 PM Enji Cooper wrote: > > > > On Jan 12, 2019, at 3:50 AM, Andrew Turner wrote: > > > > Author: andrew > > Date: Sat Jan 12 11:50:39 2019 > > New Revision: 342963 > > URL: https://svnweb.freebsd.org/changeset/base/342963 > > > > Log: > > Temporarily disable the kco

Re: svn commit: r342962 - in head: sys/amd64/conf sys/arm64/conf sys/conf sys/kern sys/sys tests/sys/kern

2019-01-12 Thread Warner Losh
On Sat, Jan 12, 2019 at 1:14 PM Cy Schubert wrote: > In message <201901121121.x0cblsiv058...@repo.freebsd.org>, Andrew > Turner writes > : > > Author: andrew > > Date: Sat Jan 12 11:21:28 2019 > > New Revision: 342962 > > URL: https://svnweb.freebsd.org/changeset/base/342962 > > > > Log: > > Ad

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

2019-01-12 Thread Warner Losh
On Sat, Jan 12, 2019 at 10:15 AM Dimitry Andric wrote: > On 12 Jan 2019, at 18:09, Warner Losh wrote: > > > > On Sat, Jan 12, 2019, 4:50 AM Andrew Turner > Author: andrew > > Date: Sat Jan 12 11:50:39 2019 > > New Revision: 342963 > > URL: https://svnw

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

2019-01-12 Thread Warner Losh
On Sat, Jan 12, 2019, 4:50 AM Andrew Turner Author: andrew > Date: Sat Jan 12 11:50:39 2019 > New Revision: 342963 > URL: https://svnweb.freebsd.org/changeset/base/342963 > > Log: > Temporarily disable the kcov tests. Not all architectures have > atomic_store_64 and atomic_store_64. > What is

Re: svn commit: r342945 - in head: tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/bluetooth-config

2019-01-11 Thread Warner Losh
On Fri, Jan 11, 2019, 1:12 PM Devin Teske > > > On Jan 11, 2019, at 11:16 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > >>> On Jan 11, 2019, at 10:36 AM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > >>> > On Fri, Jan 11, 2019 at 10:10 AM Rodney W. Grim

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

2019-01-11 Thread Warner Losh
Author: imp Date: Fri Jan 11 19:05:40 2019 New Revision: 342948 URL: https://svnweb.freebsd.org/changeset/base/342948 Log: Add man page for device_delete_children. Submitted by: Jeroen Ruigrok van der Werven Differential Revision: https://reviews.freebsd.org/D18452 Added: head/share/ma

Re: svn commit: r342945 - in head: tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/bluetooth-config

2019-01-11 Thread Warner Losh
On Fri, Jan 11, 2019 at 10:10 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Fri, Jan 11, 2019 at 08:04:33AM -0800, Rodney W. Grimes wrote: > > > The style of this .sh does not match the normal style of > > > such things in base, especially with respect to long lines > > > and

svn commit: r342878 - head/sys/dev/usb/quirk

2019-01-08 Thread Warner Losh
Author: imp Date: Wed Jan 9 06:21:49 2019 New Revision: 342878 URL: https://svnweb.freebsd.org/changeset/base/342878 Log: Add quirk for 128MB Creative Nomad. PR: 78984 Submitted by: Mark Kirkwood Modified: head/sys/dev/usb/quirk/usb_quirk.c Modified: head/sys/dev/usb/quirk/usb_quirk.

svn commit: r342866 - head/sys/cam/scsi

2019-01-08 Thread Warner Losh
Author: imp Date: Tue Jan 8 20:55:02 2019 New Revision: 342866 URL: https://svnweb.freebsd.org/changeset/base/342866 Log: Add NO_SYNC_CACHE quirk for PENTAX cameras PR: 93389 Submitted by: Demin Alexander Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c ===

svn commit: r342865 - head/stand/i386/libfirewire

2019-01-08 Thread Warner Losh
Author: imp Date: Tue Jan 8 20:01:56 2019 New Revision: 342865 URL: https://svnweb.freebsd.org/changeset/base/342865 Log: biospci_write_config args were backwards biospci_write_config args swapped length and value to write. Some hardware coped just fine, while other hardware had issues.

svn commit: r342843 - head/sys/dev/pccard

2019-01-06 Thread Warner Losh
Author: imp Date: Mon Jan 7 06:19:51 2019 New Revision: 342843 URL: https://svnweb.freebsd.org/changeset/base/342843 Log: Fix a race between setting up the interrupt handler and it firing by setting the data prior to setting up the interrupt. Now we only set the cookie afterwards, and that

svn commit: r342842 - head/sys/dev/pccbb

2019-01-06 Thread Warner Losh
Author: imp Date: Mon Jan 7 05:59:58 2019 New Revision: 342842 URL: https://svnweb.freebsd.org/changeset/base/342842 Log: Fix TI PCI1520 PCI Cardbus bridge, but others affected. On system with Celeron 1.5GHz CPU, sometimes when a PCMCIA to Compact Flash adapter containing a Compact Flash

svn commit: r342840 - in head: share/mk stand tools/build/options

2019-01-06 Thread Warner Losh
Author: imp Date: Mon Jan 7 05:49:27 2019 New Revision: 342840 URL: https://svnweb.freebsd.org/changeset/base/342840 Log: Create MK_LOADER_VERBOSE and connect it to ELF_VERBOSE in the loader code. PR: 18498 Submitted by: mellon at pobox dot com Added: head/tools/build/options/WITH_L

svn commit: r342657 - head/sys/cam/scsi

2018-12-31 Thread Warner Losh
Author: imp Date: Mon Dec 31 22:20:30 2018 New Revision: 342657 URL: https://svnweb.freebsd.org/changeset/base/342657 Log: Add NO_RC16 quirk for Chipfancier 16GB USB stick... Submitted by: osef@gmail.com PR: 234503 Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/

svn commit: r342358 - head/sbin/nvmecontrol

2018-12-21 Thread Warner Losh
Author: imp Date: Fri Dec 21 23:22:37 2018 New Revision: 342358 URL: https://svnweb.freebsd.org/changeset/base/342358 Log: Try the first 256 units with nvmecontrol devlist. The nvmecontrol code that did the devlist assumed that we had a tightly-packed allocation of units. Since pci writin

svn commit: r342275 - head/sys/dev/ow

2018-12-19 Thread Warner Losh
Author: imp Date: Thu Dec 20 05:46:56 2018 New Revision: 342275 URL: https://svnweb.freebsd.org/changeset/base/342275 Log: Fix panic message when we can't create thread for one wire temperature reading. Modified: head/sys/dev/ow/ow_temp.c Modified: head/sys/dev/ow/ow_temp.c ===

svn commit: r342263 - head/sys/mips/conf

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 23:22:14 2018 New Revision: 342263 URL: https://svnweb.freebsd.org/changeset/base/342263 Log: Add note to 32-bit mips smp config files documenting the status Modified: head/sys/mips/conf/CI20 head/sys/mips/conf/JZ4780 Modified: head/sys/mips/conf/CI20 =

svn commit: r342261 - head/sys/mips/ingenic

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 23:15:49 2018 New Revision: 342261 URL: https://svnweb.freebsd.org/changeset/base/342261 Log: 32-bit mips SMP is unsupported Per discussions on mips@, 32-bit mips SMP is now unsupported. The files in the tree will compile for a while longer, but when the ato

svn commit: r342255 - in head: . sys/mips/conf sys/mips/mips sys/mips/sibyte

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:03 2018 New Revision: 342255 URL: https://svnweb.freebsd.org/changeset/base/342255 Log: Remove support for the now very old SiByte MIPS platform. It's not relevant and is unused. It's also getting in the way of progress in some admittedly minor ways. Better

svn commit: r342259 - head

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:56:31 2018 New Revision: 342259 URL: https://svnweb.freebsd.org/changeset/base/342259 Log: Fix the date The first part of the mips pruning has been commited. This part is uncontested. Fix the date in the UPDATING file to reflect when I made the commit. Th

svn commit: r342258 - head/sys/mips/conf

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:34 2018 New Revision: 342258 URL: https://svnweb.freebsd.org/changeset/base/342258 Log: Remove old config file for SENTRY5 This is an older broadcom part that implements the mips32 ISA. 32-bit FreeBSD/mips now requires mips32r2, so retire this config. Mo

svn commit: r342256 - in head/sys/mips: conf gxemul

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:23 2018 New Revision: 342256 URL: https://svnweb.freebsd.org/changeset/base/342256 Log: Remove the GXEMUL support. gxemul was a nice stop-gap while qemu support for mips was firmed up. Now MALTA* + qemu is the platform of choice retire gxemul support.

svn commit: r342257 - in head: . sys/mips/conf

2018-12-19 Thread Warner Losh
Author: imp Date: Wed Dec 19 22:54:29 2018 New Revision: 342257 URL: https://svnweb.freebsd.org/changeset/base/342257 Log: Remove support for running 32-bit kernels on 64-bit hardware. This was useful in bring up. However, it causes more issues than the support is worth (64-bit atomics be

svn commit: r342196 - head

2018-12-18 Thread Warner Losh
Author: imp Date: Tue Dec 18 19:05:57 2018 New Revision: 342196 URL: https://svnweb.freebsd.org/changeset/base/342196 Log: Fix typo and formatting... Modified: head/MAINTAINERS Modified: head/MAINTAINERS == --- head/

svn commit: r342195 - head

2018-12-18 Thread Warner Losh
Author: imp Date: Tue Dec 18 18:52:12 2018 New Revision: 342195 URL: https://svnweb.freebsd.org/changeset/base/342195 Log: add pre-commit review request for drm*. Move dev/usb/wlan to sys/dev/usb/wlan as it was the odd-man-out. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

Re: svn commit: r342139 - in head: . bin/date libexec/rc/rc.d share/man/man5 tools/build/mk tools/build/options usr.sbin usr.sbin/timed

2018-12-16 Thread Warner Losh
On Sat, Dec 15, 2018, 5:54 PM Cy Schubert In message <7a528b98-f554-4d34-a5cb-aa5496a89...@grosbein.net>, Eugene > Grosbein > writes: > > 16.12.2018 4:34, George V. Neville-Neil wrote: > > > > > Author: gnn > > > Date: Sat Dec 15 21:34:40 2018 > > > New Revision: 342139 > > > URL: https://svnweb.

svn commit: r342095 - head/sys/mips/include

2018-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 14 19:48:42 2018 New Revision: 342095 URL: https://svnweb.freebsd.org/changeset/base/342095 Log: atomic_cmpset return value is also an int. Modified: head/sys/mips/include/atomic.h Modified: head/sys/mips/include/atomic.h

svn commit: r342094 - head/sys/mips/include

2018-12-14 Thread Warner Losh
Author: imp Date: Fri Dec 14 19:14:51 2018 New Revision: 342094 URL: https://svnweb.freebsd.org/changeset/base/342094 Log: atomic_fcmpset* return int, not the type of *. fcmpset returns true/false as a int, so make the return types and variables match the int to be consistent with other a

svn commit: r342022 - head/sys/mips/include

2018-12-12 Thread Warner Losh
Author: imp Date: Thu Dec 13 00:42:26 2018 New Revision: 342022 URL: https://svnweb.freebsd.org/changeset/base/342022 Log: Correctly implemenet atomic_swap_long for mips64. MIPS64 has 64-bit longs, so use uint64_t for it, otherwise uint32_t. sizeof(long) == sizeof(ptr) for all platforms,

Re: svn commit: r341803 - head/libexec/rc

2018-12-11 Thread Warner Losh
On Tue, Dec 11, 2018, 9:55 AM John Baldwin The 'read' builtin in sh can't use buffering, so it is always going to be > slow > It can't use it because of pipes. The example from the parts of this that was on IRC was basically: foo | (read bar; baz) Which reads one line into the bar variable and

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

2018-12-11 Thread Warner Losh
On Mon, Dec 10, 2018 at 9:57 PM Scott Long wrote: > > > > On Dec 10, 2018, at 4:47 PM, Konstantin Belousov > wrote: > > > > On Mon, Dec 10, 2018 at 02:15:20PM -0800, John Baldwin wrote: > >> On 12/8/18 7:43 PM, Warner Losh wrote: > >>> > &

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

2018-12-10 Thread Warner Losh
On Mon, Dec 10, 2018, 5:27 PM Justin Hibbits > > On Mon, Dec 10, 2018, 17:57 Ian Lepore >> On Mon, 2018-12-10 at 14:15 -0800, John Baldwin wrote: >> > On 12/8/18 7:43 PM, Warner Losh wrote: >> > > >> > > >> > > >> > >

svn commit: r341801 - head/sys/mips/conf

2018-12-10 Thread Warner Losh
Author: imp Date: Mon Dec 10 21:33:01 2018 New Revision: 341801 URL: https://svnweb.freebsd.org/changeset/base/341801 Log: Remove stray hints files. Deleted: head/sys/mips/conf/ADM5120.hints head/sys/mips/conf/IDT.hints ___ svn-src-head@freebsd.or

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-10 Thread Warner Losh
On Mon, Dec 10, 2018 at 10:14 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Sun, 2018-12-09 at 23:47 -0700, Warner Losh wrote: > > > On Sun, Dec 9, 2018, 11:40 PM Cy Schubert > > wrote: > > > > > > > > > > > In

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-09 Thread Warner Losh
te: > > > > > > > > > > > > > > > On Sunday, December 9, 2018, Warner Losh wrote: > > > > > > > >> On Sun, Dec 9, 2018 at 1:09 PM Rodney W. Grimes < > > > >> free...@pdx.rh.cn85.dnsmgr.net> wrote:

svn commit: r341770 - head/sys/modules

2018-12-09 Thread Warner Losh
Author: imp Date: Sun Dec 9 21:53:45 2018 New Revision: 341770 URL: https://svnweb.freebsd.org/changeset/base/341770 Log: Fix typo in powerpcspe name. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r341769 - head/sys/cam/scsi

2018-12-09 Thread Warner Losh
Author: imp Date: Sun Dec 9 21:37:34 2018 New Revision: 341769 URL: https://svnweb.freebsd.org/changeset/base/341769 Log: 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. Sponsored by: Netflix Submitted by

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-09 Thread Warner Losh
On Sun, Dec 9, 2018 at 2:03 PM Oliver Pinter wrote: > > > On Sunday, December 9, 2018, Warner Losh wrote: > >> On Sun, Dec 9, 2018 at 1:09 PM Rodney W. Grimes < >> free...@pdx.rh.cn85.dnsmgr.net> wrote: >> >> > > In message <2018120906

Re: svn commit: r341759 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/src/eap_

2018-12-09 Thread Warner Losh
On Sun, Dec 9, 2018 at 1:09 PM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > In message <201812090645.wb96jnso066...@repo.freebsd.org>, Cy Schubert > > writes: > > > Author: cy > > > Date: Sun Dec 9 06:45:49 2018 > > > New Revision: 341759 > > > URL: https://svnweb.freebsd.org/cha

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

2018-12-08 Thread Warner Losh
On Sat, Dec 8, 2018, 8:36 PM Kevin Bowling On Sat, Dec 8, 2018 at 12:09 AM Mateusz Guzik wrote: > > > > > Fully satisfying solution would be that all architectures get 64-bit > > ops, even if in the worst case they end up taking a lock. Then > > subsystems would not have to ifdef on anything. How

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

2018-12-07 Thread Warner Losh
Author: imp Date: Fri Dec 7 21:58:08 2018 New Revision: 341710 URL: https://svnweb.freebsd.org/changeset/base/341710 Log: Even though they are reserved, cdw2 and cdw3 can be set via nvme-cli (and soon nvmecontrol). Go ahead and copy them into rsvd2 and rsvd3. Sponsored by: Netflix Modif

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

2018-12-07 Thread Warner Losh
Author: imp Date: Fri Dec 7 21:57:39 2018 New Revision: 341709 URL: https://svnweb.freebsd.org/changeset/base/341709 Log: Add nda(4) cross reference to nvme(4) Modified: head/share/man/man4/nvme.4 Modified: head/share/man/man4/nvme.4 =

Re: svn commit: r341681 - head/sys/cam/scsi

2018-12-07 Thread Warner Losh
On Fri, Dec 7, 2018 at 5:02 AM Andriy Gapon wrote: > Author: avg > Date: Fri Dec 7 12:02:31 2018 > New Revision: 341681 > URL: https://svnweb.freebsd.org/changeset/base/341681 > > Log: > daprobedone: announce if a disk is write-protected > > MFC after:2 weeks > > Modified: > head/sys/c

svn commit: r341664 - head/sbin/nvmecontrol

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 23:40:56 2018 New Revision: 341664 URL: https://svnweb.freebsd.org/changeset/base/341664 Log: Update paths based on last-minute changes from libexec to lib. Modified: head/sbin/nvmecontrol/nvmecontrol.8 Modified: head/sbin/nvmecontrol/nvmecontrol.8 ==

Re: svn commit: r341657 - in head: etc/mtree sbin/nvmecontrol share/man/man7

2018-12-06 Thread Warner Losh
On Thu, Dec 6, 2018 at 4:25 PM Andrew Thompson wrote: > On Fri, 7 Dec 2018 at 11:58, Warner Losh wrote: > >> Author: imp >> Date: Thu Dec 6 22:58:26 2018 >> New Revision: 341657 >> URL: https://svnweb.freebsd.org/changeset/base/341657 >> >> Log: &

Re: svn commit: r341657 - in head: etc/mtree sbin/nvmecontrol share/man/man7

2018-12-06 Thread Warner Losh
On Thu, Dec 6, 2018 at 4:23 PM John Baldwin wrote: > On 12/6/18 2:58 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Dec 6 22:58:26 2018 > > New Revision: 341657 > > URL: https://svnweb.freebsd.org/changeset/base/341657 > > > > Log: >

svn commit: r341663 - head/sbin/nvmecontrol

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 23:29:06 2018 New Revision: 341663 URL: https://svnweb.freebsd.org/changeset/base/341663 Log: Declare global function print_intel_add_smart in header Modified: head/sbin/nvmecontrol/nvmecontrol.h Modified: head/sbin/nvmecontrol/nvmecontrol.h =

svn commit: r341662 - head/sbin/nvmecontrol

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 23:28:55 2018 New Revision: 341662 URL: https://svnweb.freebsd.org/changeset/base/341662 Log: Use proper prototypes. Modified: head/sbin/nvmecontrol/nvmecontrol.h Modified: head/sbin/nvmecontrol/nvmecontrol.h ==

svn commit: r341661 - head/sbin/nvmecontrol/modules/intel

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 22:59:18 2018 New Revision: 341661 URL: https://svnweb.freebsd.org/changeset/base/341661 Log: It's useful to have this be a global function. Other vendors base their additional smart info pages on what Intel did plus some other bits. So it's convenient to have

svn commit: r341660 - head/sbin/nvmecontrol/modules/intel

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 22:59:08 2018 New Revision: 341660 URL: https://svnweb.freebsd.org/changeset/base/341660 Log: This is not a samsung standard, so remove that alias. This was never documented, and isn't needed, so it's best removed to avoid confusion. Sponsored by: Netflix

svn commit: r341659 - in head/sbin/nvmecontrol: . modules modules/intel modules/wdc

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 22:58:55 2018 New Revision: 341659 URL: https://svnweb.freebsd.org/changeset/base/341659 Log: Move intel and wdc files to their own modules Move the intel and wdc vendor specific stuff to their own modules. Sponsored by: Netflix Differential Revision: ht

svn commit: r341657 - in head: etc/mtree sbin/nvmecontrol share/man/man7

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 22:58:26 2018 New Revision: 341657 URL: https://svnweb.freebsd.org/changeset/base/341657 Log: Dynamically load .so modules to expand functionality o Dynamically load all the .so files found in /libexec/nvmecontrol and /usr/local/libexec/nvmecontrol. o Link

svn commit: r341658 - head/sbin/nvmecontrol

2018-12-06 Thread Warner Losh
Author: imp Date: Thu Dec 6 22:58:42 2018 New Revision: 341658 URL: https://svnweb.freebsd.org/changeset/base/341658 Log: Const poison the command interface Make the pointers we pass into the commands const, also make the linker set mirrors const. Suggested by: cem@ Sponsored by:

Re: svn commit: r341464 - head/sbin/savecore

2018-12-04 Thread Warner Losh
On Tue, Dec 4, 2018 at 11:14 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Tue, Dec 4, 2018 at 9:28 AM Rodney W. Grimes > > > > > > > Author: garga (ports committer) > > > > Date: Tue Dec 4 12:34:22 2018 > > > > New Revision: 341464 > > > > URL: https://svnweb.freebsd.org/ch

svn commit: r341433 - head/stand

2018-12-03 Thread Warner Losh
Author: imp Date: Mon Dec 3 17:51:10 2018 New Revision: 341433 URL: https://svnweb.freebsd.org/changeset/base/341433 Log: Move inclusion of src.opts.mk later. src.opts.mk includes bsd.own.mk. This in turn defines CTFCONVERT_CMD depending on the MK_CTF value. We then set MK_CTF to no, whi

svn commit: r341415 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:13:35 2018 New Revision: 341415 URL: https://svnweb.freebsd.org/changeset/base/341415 Log: Delete the undocumented alias 'wds'. This was a typo for wdc. Eliminate it since it was in error. People should use either 'wdc' or 'hgst' for the vendor from now on.

svn commit: r341414 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:13:24 2018 New Revision: 341414 URL: https://svnweb.freebsd.org/changeset/base/341414 Log: Move Intel specific log pages to intel.c Move the Intel specific log pages (including the one that samsung implements) to intel.c. Add comment to the samsung vendor t

svn commit: r341416 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:13:45 2018 New Revision: 341416 URL: https://svnweb.freebsd.org/changeset/base/341416 Log: Fix typo in comment Sponsored by: Netflix Modified: head/sbin/nvmecontrol/logpage.c Modified: head/sbin/nvmecontrol/logpage.c ==

svn commit: r341412 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:12:58 2018 New Revision: 341412 URL: https://svnweb.freebsd.org/changeset/base/341412 Log: Usage cleanup pt 1 Provide a usage() function that takes a struct nvme_function pointer and produces a usage mssage. Eliminate all now-redundant usage functions. Pr

svn commit: r341411 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:12:48 2018 New Revision: 341411 URL: https://svnweb.freebsd.org/changeset/base/341411 Log: Return after we find the dispatched function. If the dispatched function doesn't exit, then we get can get a spurious function not found message. They all do exit, bu

svn commit: r341413 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:13:12 2018 New Revision: 341413 URL: https://svnweb.freebsd.org/changeset/base/341413 Log: Usage cleanup pt 2 Eliminage redundant spaces and nvmecontrol at start of all the usage strings. Update the usage printing code to add them back when presenting to

svn commit: r341409 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:12:26 2018 New Revision: 341409 URL: https://svnweb.freebsd.org/changeset/base/341409 Log: Move common logpage routines into nvmecontrol.h For the upcoming move of vendor specific code into vendor specific files, make the common logpage routines global and

svn commit: r341408 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:12:16 2018 New Revision: 341408 URL: https://svnweb.freebsd.org/changeset/base/341408 Log: Make logpage functions a linker set. Move logpage function def to header. Convert all the logpage_function elements to elements of the linker set. Leave them all in l

svn commit: r341410 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:12:37 2018 New Revision: 341410 URL: https://svnweb.freebsd.org/changeset/base/341410 Log: Move the hgst/wdc log page printing code into wdc.c These are all hgst/wdc specific, so move them into the wdc.c to live with the wdc command. Sponsored by: Netf

svn commit: r341407 - head/sbin/nvmecontrol

2018-12-02 Thread Warner Losh
Author: imp Date: Sun Dec 2 23:10:55 2018 New Revision: 341407 URL: https://svnweb.freebsd.org/changeset/base/341407 Log: Move nvmecontrol to using linker sets for commands More commands will be added to nvmecontrol. Also, there will be a few more vendor commands (some of which may need

Re: svn commit: r341343 - head/share/man/man7

2018-11-30 Thread Warner Losh
On Fri, Nov 30, 2018 at 9:35 AM Justin Hibbits wrote: > > > On Fri, Nov 30, 2018, 08:24 Bjoern A. Zeeb wrote: > >> On 30 Nov 2018, at 15:56, Edward Tomasz Napierala wrote: >> >> > Author: trasz >> > Date: Fri Nov 30 15:56:14 2018 >> > New Revision: 341343 >> > URL: https://svnweb.freebsd.org/cha

Re: svn commit: r341343 - head/share/man/man7

2018-11-30 Thread Warner Losh
On Fri, Nov 30, 2018 at 9:24 AM Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: > On 30 Nov 2018, at 15:56, Edward Tomasz Napierala wrote: > > > Author: trasz > > Date: Fri Nov 30 15:56:14 2018 > > New Revision: 341343 > > URL: https://svnweb.freebsd.org/changeset/base/341343 > > > > Log:

Re: svn: head/usr.bin: . trim

2018-11-30 Thread Warner Losh
On Fri, Nov 30, 2018 at 4:45 AM Eugene Grosbein wrote: > 30.11.2018 18:34, Alexey Dokuchaev wrote: > > > Another point: the manpage says, "It is only relevant for flash based > > storage devices that use wear-leveling algorithms", which is an argument > > against generic "trim". I would mind les

Re: svn: head/usr.bin: . trim

2018-11-30 Thread Warner Losh
On Fri, Nov 30, 2018 at 5:57 AM Alexey Dokuchaev wrote: > On Fri, Nov 30, 2018 at 07:27:46PM +0700, Eugene Grosbein wrote: > > 30.11.2018 18:55, Alexey Dokuchaev wrote: > > > > >>> Another point: the manpage says, "It is only relevant for flash based > > >>> storage devices that use wear-leveling

Re: svn commit: r341232 - in head/usr.bin: . trim

2018-11-29 Thread Warner Losh
On Thu, Nov 29, 2018 at 11:08 AM Eugene Grosbein wrote: > 30.11.2018 0:52, Warner Losh wrote: > > > It could work on files within a filesystem, but not in its current > state. ftruncate, however, is a better match there. None of the filesystems > support the DIOCDELETE ioctl.

Re: svn commit: r341232 - in head/usr.bin: . trim

2018-11-29 Thread Warner Losh
On Thu, Nov 29, 2018 at 10:04 AM John Nielsen wrote: > > On Nov 29, 2018, at 7:21 AM, Eugene Grosbein wrote: > > > > Author: eugen > > Date: Thu Nov 29 14:21:26 2018 > > New Revision: 341232 > > URL: https://svnweb.freebsd.org/changeset/base/341232 > > > > Log: > > Add new small tool trim(1) to

Re: svn commit: r341233 - head/usr.bin/trim

2018-11-29 Thread Warner Losh
On Thu, Nov 29, 2018 at 7:49 AM Eugene Grosbein wrote: > Author: eugen > Date: Thu Nov 29 14:49:33 2018 > New Revision: 341233 > URL: https://svnweb.freebsd.org/changeset/base/341233 > > Log: > trim(1): unbreak build after r341232 for platforms using gcc and not > clang > > MFC after:1 mo

Re: svn commit: r341232 - in head/usr.bin: . trim

2018-11-29 Thread Warner Losh
On Thu, Nov 29, 2018 at 7:21 AM Eugene Grosbein wrote: > Author: eugen > Date: Thu Nov 29 14:21:26 2018 > New Revision: 341232 > URL: https://svnweb.freebsd.org/changeset/base/341232 > > Log: > Add new small tool trim(1) to delete contents for blocks on flash > based storage devices that use

Re: svn commit: r340617 - head/sys/netgraph

2018-11-26 Thread Warner Losh
On Mon, Nov 26, 2018 at 8:18 PM Eugene Grosbein wrote: > 27.11.2018 7:15, Warner Losh wrote: > > > time_t is 64-bits in FreeBSD for all architectures regardless of > __LP64__, except it's 32-bits on i386. > > > > Warner > > sys/powerpc/include/_types.h defin

svn commit: r341005 - head/sys/cam

2018-11-26 Thread Warner Losh
Author: imp Date: Tue Nov 27 00:36:35 2018 New Revision: 341005 URL: https://svnweb.freebsd.org/changeset/base/341005 Log: NVME trim clocking Add the ability to set two goals for trims in the I/O scheduler. The first goal is the number of BIO_DELETEs to accumulate (kern.cam.XX.U.trim_go

Re: svn commit: r340617 - head/sys/netgraph

2018-11-26 Thread Warner Losh
On Mon, Nov 26, 2018 at 4:29 PM Eugene Grosbein wrote: > 27.11.2018 4:26, John Baldwin wrote: > > >> /* Parse type for timeval */ > >> static const struct ng_parse_struct_field > ng_source_timeval_type_fields[] = { > >> +#ifdef __LP64__ > >> +{ "tv_sec", &ng_parse_int64_type

svn commit: r341003 - head/sys/cam

2018-11-26 Thread Warner Losh
Author: imp Date: Mon Nov 26 22:50:30 2018 New Revision: 341003 URL: https://svnweb.freebsd.org/changeset/base/341003 Log: Minor tweaks to the formatting Tweak the format of the trim + read bias code. Add similar debug to the read + writes case. Spondored by: Netflix Modified: hea

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

2018-11-22 Thread Warner Losh
On Thu, Nov 22, 2018 at 10:28 AM Mateusz Guzik wrote: > On 11/20/18, Warner Losh wrote: > > On Tue, Nov 20, 2018 at 8:28 AM Mateusz Guzik wrote: > > > >> On 11/20/18, Konstantin Belousov wrote: > >> >> +#if defined(__mips__) || defined(__powerpc__) >

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

2018-11-20 Thread Warner Losh
On Tue, Nov 20, 2018 at 8:28 AM Mateusz Guzik wrote: > On 11/20/18, Konstantin Belousov wrote: > > On Tue, Nov 20, 2018 at 02:58:41PM +, Mateusz Guzik wrote: > >> Author: mjg > >> Date: Tue Nov 20 14:58:41 2018 > >> New Revision: 340676 > >> URL: https://svnweb.freebsd.org/changeset/base/340

svn commit: r340664 - head/sys/sys

2018-11-19 Thread Warner Losh
Author: imp Date: Tue Nov 20 07:11:23 2018 New Revision: 340664 URL: https://svnweb.freebsd.org/changeset/base/340664 Log: Ensure that all values of ns, us and ms work for {n,u,m}stosbt Integer overflows and wrong constants limited the accuracy of these functions and created situatiosn wh

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

2018-11-19 Thread Warner Losh
On Mon, Nov 19, 2018 at 9:05 AM Bruce Evans wrote: > On Tue, 20 Nov 2018, Bruce Evans wrote: > > > On Tue, 20 Nov 2018, Bruce Evans wrote: > > > >> On Mon, 19 Nov 2018, Warner Losh wrote: > >> > >>> On Mon, Nov 19, 2018 at 12:31 AM Andriy G

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

2018-11-18 Thread Warner Losh
On Mon, Nov 19, 2018 at 12:31 AM Andriy Gapon wrote: > On 19/11/2018 03:38, Warner Losh wrote: > > I'll talk to Allan to see if he can test that. the bare 1 should be > handled > > properly because of C's promotion rules. 1ull << 32 is an unsigned long &g

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

2018-11-18 Thread Warner Losh
ware at work, but don't think I have any machines with it assigned to me. If I can't work it out by the end of Tuesday, I'll back it out until I can get to the bottom of it (since I'll be out most of Wed->Sun). Warner > Thanks, > Rod > Scratching my head as much

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

2018-11-18 Thread Warner Losh
eriment to let me know which of the three functions I changed breaks things? Warner On Sun, Nov 18, 2018 at 12:56 PM Allan Jude wrote: > On 2018-11-15 11:02, Warner Losh wrote: > > Author: imp > > Date: Thu Nov 15 16:02:13 2018 > > New Revision: 340450 > > URL: http

Re: svn commit: r340478 - head/share/man/man7

2018-11-16 Thread Warner Losh
On Fri, Nov 16, 2018 at 7:29 AM Mateusz Piotrowski <0...@freebsd.org> wrote: > A few years ago jilles@ proposed changing reboot's default to signalling > init (preserving reboot -q which just invokes the reboot system call), > but > this was not accepted. Perhaps this can be tried again for

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

2018-11-16 Thread Warner Losh
Author: imp Date: Fri Nov 16 16:51:44 2018 New Revision: 340481 URL: https://svnweb.freebsd.org/changeset/base/340481 Log: Remove do-nothing nvme_modevent. nvme_modevent no longer does anything interesting, remove it. Sponsored by: Netflix Modified: head/sys/dev/nvme/nvme.c Modifie

svn commit: r340451 - head/sys/kern

2018-11-15 Thread Warner Losh
Author: imp Date: Thu Nov 15 16:02:24 2018 New Revision: 340451 URL: https://svnweb.freebsd.org/changeset/base/340451 Log: Do proper conversion to/from sbt. Doh! sbttoX and Xtosbt were backwards. While they ran, they produced bogus results. Pointy hat to: imp@ Modified: head/sys/k

svn commit: r340450 - head/sys/sys

2018-11-15 Thread Warner Losh
Author: imp Date: Thu Nov 15 16:02:13 2018 New Revision: 340450 URL: https://svnweb.freebsd.org/changeset/base/340450 Log: When converting ns,us,ms to sbt, return the ceil() of the result rather than the floor(). Returning the floor means that sbttoX(Xtosbt(y)) != y for almost all values of

<    6   7   8   9   10   11   12   13   14   15   >