svn commit: r351429 - head/sys/conf

2019-08-23 Thread Warner Losh
Author: imp Date: Fri Aug 23 16:42:04 2019 New Revision: 351429 URL: https://svnweb.freebsd.org/changeset/base/351429 Log: Turn off -Werror for gcc 4.2.1 As part of marching gcc 4.2.1 out of the tree, turn off -Werror on gcc 4.2.1 compiles by default. It generates too many false

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

2019-08-23 Thread Warner Losh
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 -Werror for gcc 4.2.1 https://reviews.freebsd.org/D21378 has the review. There's no benefit to these head-scratcher changes when we can get the same benefit by

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

2019-08-22 Thread Warner Losh
me, cam, 1, 1, 1); static struct _pcsid { On Thu, Aug 22, 2019 at 6:53 PM Jung-uk Kim wrote: > On 19. 8. 22., Warner Losh wrote: > > On Thu, Aug 22, 2019, 3:27 PM John Baldwin > <mailto:j...@freebsd.org>> wrote: > > > > On 8/22/19 2:12 PM, Warner Losh wro

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

2019-08-22 Thread Warner Losh
On Thu, Aug 22, 2019, 3:27 PM John Baldwin wrote: > On 8/22/19 2:12 PM, Warner Losh wrote: > > Author: imp > > Date: Thu Aug 22 21:12:51 2019 > > New Revision: 351406 > > URL: https://svnweb.freebsd.org/changeset/base/351406 > > > > Log: > > We n

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

2019-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 22 21:56:11 2019 New Revision: 351411 URL: https://svnweb.freebsd.org/changeset/base/351411 Log: When we have errors resetting the device before we allocate the queues, don't try to tear them down in the ctrlr_destroy path. Otherwise, we dereference queue

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

2019-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 22 21:12:51 2019 New Revision: 351406 URL: https://svnweb.freebsd.org/changeset/base/351406 Log: We need to define version 1 of nvme, not nvme_foo. Otherwise nvd won't load and people who pull in nvme/nvd from modules can't load nvd.ko since it depends on nvme, not

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

2019-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 22 20:09:32 2019 New Revision: 351403 URL: https://svnweb.freebsd.org/changeset/base/351403 Log: Move releasing of resources to later Turn off bus master after we detach the device (to match the prior order). Release MSI after we're done detaching and have

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

2019-08-21 Thread Warner Losh
Author: imp Date: Thu Aug 22 02:53:51 2019 New Revision: 351376 URL: https://svnweb.freebsd.org/changeset/base/351376 Log: Remove stray line that was duplicated. Noticed by: rpokala@ Modified: head/sys/dev/nvme/nvme.c Modified: head/sys/dev/nvme/nvme.c

svn commit: r351375 - head

2019-08-21 Thread Warner Losh
Author: imp Date: Thu Aug 22 02:53:46 2019 New Revision: 351375 URL: https://svnweb.freebsd.org/changeset/base/351375 Log: Document Intel RST support just added Modified: head/RELNOTES Modified: head/RELNOTES == ---

svn commit: r351355 - in head/sys: conf dev/nvme modules/nvme

2019-08-21 Thread Warner Losh
Author: imp Date: Wed Aug 21 22:17:55 2019 New Revision: 351355 URL: https://svnweb.freebsd.org/changeset/base/351355 Log: Separate the pci attachment from the rest of nvme Nvme drives can be attached in a number of different ways. Separate out the PCI attachment so that we can have

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

2019-08-21 Thread Warner Losh
Author: imp Date: Wed Aug 21 22:18:07 2019 New Revision: 351357 URL: https://svnweb.freebsd.org/changeset/base/351357 Log: Document RST support in nvme(4) and ahci(4). Modified: head/share/man/man4/ahci.4 head/share/man/man4/nvme.4 Modified: head/share/man/man4/ahci.4

svn commit: r351356 - in head/sys: conf dev/ahci dev/nvme modules/nvme

2019-08-21 Thread Warner Losh
Author: imp Date: Wed Aug 21 22:18:01 2019 New Revision: 351356 URL: https://svnweb.freebsd.org/changeset/base/351356 Log: Create a AHCI attachment for nvme. Intel has created RST and many laptops from vendors like Lenovo and Asus. It's a mechanism for creating multiple boot devices

svn commit: r351157 - head/usr.sbin/config

2019-08-16 Thread Warner Losh
Author: imp Date: Sat Aug 17 02:36:42 2019 New Revision: 351157 URL: https://svnweb.freebsd.org/changeset/base/351157 Log: Fix small bug in wrapping introduced in r325955. When local support was fixed, it introduced a minor bug in formatting. We don't increment the lpos by enouogh, so

svn commit: r351156 - head/usr.sbin/config

2019-08-16 Thread Warner Losh
Author: imp Date: Sat Aug 17 02:36:37 2019 New Revision: 351156 URL: https://svnweb.freebsd.org/changeset/base/351156 Log: Add nowerror and local to the list of tokens. Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c

svn commit: r351155 - head/usr.sbin/config

2019-08-16 Thread Warner Losh
Author: imp Date: Sat Aug 17 02:35:53 2019 New Revision: 351155 URL: https://svnweb.freebsd.org/changeset/base/351155 Log: Move initializations of config earlier. Inizialize global variables earlier in the process. It doesn't matter today, but may in the future if we want to access

svn commit: r351089 - head/usr.sbin/config

2019-08-15 Thread Warner Losh
Author: imp Date: Thu Aug 15 17:21:38 2019 New Revision: 351089 URL: https://svnweb.freebsd.org/changeset/base/351089 Log: Catch mkheaders.c up to the removal of counted device support in 2005. mkheaders.c hasn't made headers in ~15 years. Belatedly update the comments to reflect that

svn commit: r351087 - head/usr.sbin/config

2019-08-15 Thread Warner Losh
Author: imp Date: Thu Aug 15 17:06:53 2019 New Revision: 351087 URL: https://svnweb.freebsd.org/changeset/base/351087 Log: Sort getopt(3) options and case statements per style(9) Alphebetize the options and cases without regard for case. Modified: head/usr.sbin/config/main.c Modified:

svn commit: r351051 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:39 2019 New Revision: 351051 URL: https://svnweb.freebsd.org/changeset/base/351051 Log: Windows ndis support is x86 only. Move the MI parts there. Reviewed by: jhb (verbal OK on irc) Differential Revision: https://reviews.freebsd.org/D21248 Modified:

svn commit: r351049 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:28 2019 New Revision: 351049 URL: https://svnweb.freebsd.org/changeset/base/351049 Log: Move hyperv to files.x86 Move the comomon part of hyperv to files.x86. Reviewed by: jhb (verbal OK on irc) Differential Revision:

svn commit: r351048 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:23 2019 New Revision: 351048 URL: https://svnweb.freebsd.org/changeset/base/351048 Log: The bxe driver, QLogic NetXtreme II Ethernet 10Gb PCIe adapter driver, is x86 specific, and only builds there. Likewise the module is built there. Move it to the

svn commit: r351052 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:44 2019 New Revision: 351052 URL: https://svnweb.freebsd.org/changeset/base/351052 Log: The x86 part of hwpmc is shared, so move it to files.x86. Reviewed by: jhb (verbal OK on irc) Differential Revision: https://reviews.freebsd.org/D21248 Modified:

svn commit: r351050 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:34 2019 New Revision: 351050 URL: https://svnweb.freebsd.org/changeset/base/351050 Log: Intel's isci is part of the chipset, so it is x86 specific. Reviewed by: jhb (verbal OK on irc) Differential Revision: https://reviews.freebsd.org/D21248 Modified:

svn commit: r351053 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:50 2019 New Revision: 351053 URL: https://svnweb.freebsd.org/changeset/base/351053 Log: Move the common x86 ipmi files to files.x86. The powerpc file list is different enough that unification will have to wait for the next pass. Reviewed by: jhb

svn commit: r351045 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:06 2019 New Revision: 351045 URL: https://svnweb.freebsd.org/changeset/base/351045 Log: Apart from one MD file, aesni is common to x86. Move it into files.x86. Reviewed by: jhb (verbal OK on irc) Differential Revision: https://reviews.freebsd.org/D21248

svn commit: r351047 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:17 2019 New Revision: 351047 URL: https://svnweb.freebsd.org/changeset/base/351047 Log: The ACPI parts are identical between i386 and amd64 Apart from one MD file, ACPI is a x86 implementation, not specific to either i386 or amd64, so put it into

svn commit: r351046 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:12 2019 New Revision: 351046 URL: https://svnweb.freebsd.org/changeset/base/351046 Log: Move via padlock files to files.x86. VIA Padlock support is for VIA C3, C7 and Eden processors, which are 64bit x86 processors. Reviewed by: jhb (verbal OK on

svn commit: r351043 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:57:54 2019 New Revision: 351043 URL: https://svnweb.freebsd.org/changeset/base/351043 Log: Move the identical x86 lines to files.x86 Move all the identical x86 lines to files.x86. The non-identical ones should be unified and moved as well, but that would

svn commit: r351044 - head/sys/conf

2019-08-14 Thread Warner Losh
Author: imp Date: Wed Aug 14 20:58:01 2019 New Revision: 351044 URL: https://svnweb.freebsd.org/changeset/base/351044 Log: Move all the hp* drivers too files.x86 The HPT drivers are all x86 only. Move them to files.x86. Because of the way we run uudecode, we can use $M instead of

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

2019-08-14 Thread Warner Losh
On Wed, Aug 14, 2019 at 12:52 PM Ed Maste wrote: > On Wed, 14 Aug 2019 at 13:25, Warner Losh wrote: > > > > would using 'removed from the tree' be better here? Because that's the > current plan of record. > > I originally had "removed" but then noticed your mai

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

2019-08-14 Thread Warner Losh
On Wed, Aug 14, 2019 at 11:13 AM Ed Maste wrote: > Author: emaste > Date: Wed Aug 14 17:13:36 2019 > New Revision: 351036 > URL: https://svnweb.freebsd.org/changeset/base/351036 > > Log: > arch.7: add deprecation notice for GCC 4.2.1 > > MFC after:1 week > Sponsored by: The FreeBSD

Re: svn commit: r350998 - head/sbin/ping

2019-08-13 Thread Warner Losh
On Tue, Aug 13, 2019 at 9:17 PM O. Hartmann wrote: > ping has now exorbitant high latency numbers: > > 64 bytes from 193.99.144.80: icmp_seq=123 ttl=244 time=1565750958347.753 > ms > Ping times of 50 years. Where are you pinging? Mu Cassiopeiae ?

Re: svn commit: r350993 - head/sbin/ping6

2019-08-13 Thread Warner Losh
On Tue, Aug 13, 2019 at 10:50 AM Enji Cooper (yaneurabeya) < yaneurab...@gmail.com> wrote: > > > On Aug 13, 2019, at 09:22, Alan Somers wrote: > > > > Author: asomers > > Date: Tue Aug 13 16:22:43 2019 > > New Revision: 350993 > > URL: https://svnweb.freebsd.org/changeset/base/350993 > > > >

svn commit: r350991 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 15:50:47 2019 New Revision: 350991 URL: https://svnweb.freebsd.org/changeset/base/350991 Log: r350976 accidentally removed nvram device. Restore it. Modified: head/sys/conf/files.i386 Modified: head/sys/conf/files.i386

svn commit: r350984 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 15:28:11 2019 New Revision: 350984 URL: https://svnweb.freebsd.org/changeset/base/350984 Log: nsp(4) was removed in r339571. Remove stray reference. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r350985 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 15:28:18 2019 New Revision: 350985 URL: https://svnweb.freebsd.org/changeset/base/350985 Log: vx(4) was removed in r347921. Remove stray reference. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r350986 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 15:28:22 2019 New Revision: 350986 URL: https://svnweb.freebsd.org/changeset/base/350986 Log: Flowtables were removed in r321618, remove stray reference here. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r350982 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 15:16:42 2019 New Revision: 350982 URL: https://svnweb.freebsd.org/changeset/base/350982 Log: fe(4) driver has been removed from the tree in r347914. Remove stray reference. Modified: head/sys/conf/files.i386 Modified: head/sys/conf/files.i386

svn commit: r350976 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 13:41:46 2019 New Revision: 350976 URL: https://svnweb.freebsd.org/changeset/base/350976 Log: nvme has been moved to 'files' so shouldn't be here anymore. It works on powerpc64 and arm64 these days as well as amd64/i386. Modified: head/sys/conf/files.amd64

svn commit: r350975 - head/sys/conf

2019-08-13 Thread Warner Losh
Author: imp Date: Tue Aug 13 13:28:12 2019 New Revision: 350975 URL: https://svnweb.freebsd.org/changeset/base/350975 Log: ed(4) has been removed from the tree, but these were forgotten in r347911. Modified: head/sys/conf/files.amd64 head/sys/conf/files.i386 Modified:

svn commit: r350966 - in head/sys: arm64/conf conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 23:25:14 2019 New Revision: 350966 URL: https://svnweb.freebsd.org/changeset/base/350966 Log: ukbdmap.h rule was identical on all platforms, so move them into sys/conf/files. This allows us to remove 'nodevice ukbd' from the arm64 NOTES file. Modified:

svn commit: r350967 - in head/sys: conf powerpc/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 23:25:21 2019 New Revision: 350967 URL: https://svnweb.freebsd.org/changeset/base/350967 Log: Fix powerpc LINT build tcpratelimit isn't supported as there's now atomic_add_64, so add it to the exclusion list Add comment for why PPC_PROBE_CHIPSET is on the

svn commit: r350964 - in head/sys: arm/conf arm64/conf conf powerpc/conf sparc64/conf x86/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:50 2019 New Revision: 350964 URL: https://svnweb.freebsd.org/changeset/base/350964 Log: Floppy driver really only works on x86 Move the floppy driver to the x86 specific notes file. Reviewed by: jhb, manu, jhibbits, emaste Differential Revision:

svn commit: r350965 - head/sys/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:56 2019 New Revision: 350965 URL: https://svnweb.freebsd.org/changeset/base/350965 Log: Create files.x86 files.x86 is for the parts of the system that are common to both i386 and amd64 due too their nature. First up, to get the ball rolling, is fdc,

svn commit: r350963 - in head/sys: arm/conf arm64/conf conf powerpc/conf sparc64/conf x86/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:44 2019 New Revision: 350963 URL: https://svnweb.freebsd.org/changeset/base/350963 Log: Move sc out of the global file x86 needs sc, as does sparc64. powerpc doesn't use it by default, but some old powermac notebooks do not work with vt yet for reasons

svn commit: r350962 - in head/sys: amd64/conf conf i386/conf x86/conf

2019-08-12 Thread Warner Losh
Author: imp Date: Mon Aug 12 22:58:13 2019 New Revision: 350962 URL: https://svnweb.freebsd.org/changeset/base/350962 Log: Start to split out the really x86 specific NOTES from the global notes file. Start with COMPAT_43, since it's really only relevant to x86. Reviewed by: jhb@

Re: svn commit: r350843 - head

2019-08-11 Thread Warner Losh
Because config didn't know how to find the kernel sources if it was generated in the obj tree. I think that we could fix that now that config can cope... Warner On Sun, Aug 11, 2019, 2:12 PM Ravi Pokala wrote: > Since you brought it up, why are the LINTs generated into the src tree > anyway?

svn commit: r350830 - head/sys/sparc64/conf

2019-08-09 Thread Warner Losh
Author: imp Date: Sat Aug 10 04:15:36 2019 New Revision: 350830 URL: https://svnweb.freebsd.org/changeset/base/350830 Log: These are no longer a thing, remove them. We don't need to omit ep and ex from LINT since they have been removed from the tree. Modified:

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

2019-08-09 Thread Warner Losh
On Fri, Aug 9, 2019 at 3:05 PM Konstantin Belousov wrote: > On Fri, Aug 09, 2019 at 10:01:31AM -0600, Warner Losh wrote: > > On Fri, Aug 9, 2019 at 12:57 AM Konstantin Belousov > > > wrote: > > > > > On Thu, Aug 08, 2019 at 07:38:28PM -0600, Warner Losh wrote:

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

2019-08-09 Thread Warner Losh
On Fri, Aug 9, 2019 at 12:57 AM Konstantin Belousov wrote: > On Thu, Aug 08, 2019 at 07:38:28PM -0600, Warner Losh wrote: > > On Thu, Aug 8, 2019, 4:59 PM Gleb Smirnoff wrote: > > > > > Hi, > > > > > > why do we need COMPAT_43 for arm64 at all? I can

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

2019-08-08 Thread Warner Losh
see what is truly unused and what is there for compat with Linux and other SysV systems... Warner On Thu, Aug 08, 2019 at 05:48:07PM +, Warner Losh wrote: > W> Author: imp > W> Date: Thu Aug 8 17:48:07 2019 > W> New Revision: 350764 > W> URL: https://svnweb.freebsd.org/

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

2019-08-08 Thread Warner Losh
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 > > URL: https://svnweb.freebsd.org/changeset/base/350778 > > > > Log: > > Stopgap fix for gcc plat

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:

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: 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: 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: 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:

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

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

svn commit: r350678 - head/share/mk

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

svn commit: r350652 - head/sbin/nvmecontrol

2019-08-06 Thread Warner Losh
Author: imp Date: Tue Aug 6 18:15:26 2019 New Revision: 350652 URL: https://svnweb.freebsd.org/changeset/base/350652 Log: Fix mismerge. I merged passthru.c from the wrong branch (it was a branch that went further in a direction I wound up not taking). Fix the mismerge and turn passthru

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

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

svn commit: r350377 - in head/sys: arm/arm arm/conf arm/mv/discovery arm/mv/orion arm/ralink conf

2019-07-27 Thread Warner Losh
Author: imp Date: Sat Jul 27 17:24:19 2019 New Revision: 350377 URL: https://svnweb.freebsd.org/changeset/base/350377 Log: Remove support for kernel.tramp and kernel.tramp.gz Nothing uses these anymore. They were for super small armv4 boards without uboot. We removed armv4 support before

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

2019-07-25 Thread Warner Losh
Author: imp Date: Thu Jul 25 20:26:21 2019 New Revision: 350333 URL: https://svnweb.freebsd.org/changeset/base/350333 Log: Widen the type for to. The timeout field in the CAPS register is defined to be 8 bits, so its type was uint8_t. We recently started adding 1 to it to cope with

svn commit: r350311 - head/sbin/nvmecontrol

2019-07-24 Thread Warner Losh
Author: imp Date: Wed Jul 24 23:08:49 2019 New Revision: 350311 URL: https://svnweb.freebsd.org/changeset/base/350311 Log: Fix the fix to the logic bug. Upon further testing, the bug is that we shadoow opt.vendor with vendor. We shouldn't. Delete the latter and use the former everywhere and

svn commit: r350309 - head/sbin/nvmecontrol

2019-07-24 Thread Warner Losh
Author: imp Date: Wed Jul 24 23:04:26 2019 New Revision: 350309 URL: https://svnweb.freebsd.org/changeset/base/350309 Log: Fix several related coverity issues: Make sure to always free shortopts and lopts when returning. Fix minor logic bug to guard against NULLs properly. CID:

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

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:26 2019 New Revision: 350153 URL: https://svnweb.freebsd.org/changeset/base/350153 Log: Remove RELEASE_CRUNCH in example RELEASE_CRUNCH is no longer relevant. Modified: head/share/man/man8/picobsd.8 Modified: head/share/man/man8/picobsd.8

svn commit: r350154 - head/usr.bin/vi

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:31 2019 New Revision: 350154 URL: https://svnweb.freebsd.org/changeset/base/350154 Log: Remove RELEASE_CRUNCH here If someone wants to subset, they can set MK_ICONV=no. We no longer use it for the release. Modified: head/usr.bin/vi/Makefile

svn commit: r350152 - head/usr.sbin/crunch/crunchgen

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:21 2019 New Revision: 350152 URL: https://svnweb.freebsd.org/changeset/base/350152 Log: Remove obsolete RELEASE_CRUNCH Remove documentation of RELEASE_CRUNCH here. It's obsolete and no longer a good example. Modified:

svn commit: r350151 - head/sbin/ifconfig

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 20:04:13 2019 New Revision: 350151 URL: https://svnweb.freebsd.org/changeset/base/350151 Log: Remove RELEASE_CRUNCH RELEASE_CRUNCH isn't used for releases any more. If someone wants to subset, then they can set MK_JAIL=no instead. Modified:

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

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 18:39:24 2019 New Revision: 350147 URL: https://svnweb.freebsd.org/changeset/base/350147 Log: Keep track of the number of commands that exhaust their retry limit. While we print failure messages on the console, sometimes logs are lost or overwhelmed. Keeping

svn commit: r350145 - head/sys/libkern

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 18:38:47 2019 New Revision: 350145 URL: https://svnweb.freebsd.org/changeset/base/350145 Log: Remove pre-FreeBSD 7.0 compatibility. Modified: head/sys/libkern/inet_pton.c Modified: head/sys/libkern/inet_pton.c

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

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 18:39:18 2019 New Revision: 350146 URL: https://svnweb.freebsd.org/changeset/base/350146 Log: Keep track of the number of retried commands. Retried commands can indicate a performance degredation of an nvme drive. Keep track of the number of retries and

svn commit: r350142 - head/sys/conf

2019-07-19 Thread Warner Losh
Author: imp Date: Fri Jul 19 17:48:29 2019 New Revision: 350142 URL: https://svnweb.freebsd.org/changeset/base/350142 Log: Add comments about KERN_OPT here. Modified: head/sys/conf/config.mk Modified: head/sys/conf/config.mk

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

2019-07-18 Thread Warner Losh
Author: imp Date: Fri Jul 19 00:32:56 2019 New Revision: 350120 URL: https://svnweb.freebsd.org/changeset/base/350120 Log: Use sysctl + CTLRWTUN for hw.nvme.verbose_cmd_dump. Also convert it to a bool. While the rest of the driver isn't yet bool clean, this will help. Reviewed by:

svn commit: r350118 - in head: share/man/man4 sys/dev/nvme

2019-07-18 Thread Warner Losh
Author: imp Date: Thu Jul 18 21:58:51 2019 New Revision: 350118 URL: https://svnweb.freebsd.org/changeset/base/350118 Log: Provide new tunable hw.nvme.verbose_cmd_dump The nvme drive dumps only the most relevant details about a command when it fails. However, there are times this is not

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

2019-07-18 Thread Warner Losh
Author: imp Date: Thu Jul 18 15:41:10 2019 New Revision: 350114 URL: https://svnweb.freebsd.org/changeset/base/350114 Log: Provide macros to extract the sub-fields of the CAP_LO and CAP_HI registers. These macros make places where we extract these easier to read. The shift and mask stuff

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

2019-07-17 Thread Warner Losh
Author: imp Date: Wed Jul 17 20:43:14 2019 New Revision: 350094 URL: https://svnweb.freebsd.org/changeset/base/350094 Log: Remove now-obsolete comment. Modified: head/sys/dev/nvme/nvme.c Modified: head/sys/dev/nvme/nvme.c

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

2019-07-16 Thread Warner Losh
Author: imp Date: Tue Jul 16 22:55:30 2019 New Revision: 350068 URL: https://svnweb.freebsd.org/changeset/base/350068 Log: Assume that the timeout value from the capacity is 1-based Neither the 1.3 or 1.4 standards say this number is 1's based, but adding 1 costs little and copes with

svn commit: r350058 - head/sbin/nvmecontrol

2019-07-16 Thread Warner Losh
Author: imp Date: Tue Jul 16 17:24:25 2019 New Revision: 350058 URL: https://svnweb.freebsd.org/changeset/base/350058 Log: Implement {io,admin}-passthru commands. These are mostly compatible with Linux, with three exceptions. 1. We don't do metadata segment stuff. Our passthrough

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

2019-07-16 Thread Warner Losh
Author: imp Date: Tue Jul 16 17:24:03 2019 New Revision: 350057 URL: https://svnweb.freebsd.org/changeset/base/350057 Log: Create generic command / arg parsing routines Create a set of routines and structures to hold the data for the args for a command. Use them to generate help and to

svn commit: r350020 - head/sbin/camcontrol

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 23:43:38 2019 New Revision: 350020 URL: https://svnweb.freebsd.org/changeset/base/350020 Log: 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 compiler choice and may be

svn commit: r350018 - head/sbin/camcontrol

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 22:33:37 2019 New Revision: 350018 URL: https://svnweb.freebsd.org/changeset/base/350018 Log: Implement a devtype command. List the device's protocol. The returned value is one of the following: ata direct attach ATA or SATA device satla

svn commit: r350008 - head/sbin/camcontrol

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 20:25:41 2019 New Revision: 350008 URL: https://svnweb.freebsd.org/changeset/base/350008 Log: 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 latter being a little more

svn commit: r350000 - in head/release/picobsd: bridge qemu

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 15:02:40 2019 New Revision: 35 URL: https://svnweb.freebsd.org/changeset/base/35 Log: Remove RELEASE_CRUNCH here. It's obsolete. Remove RELEASE_CRUNCH here. It's obsolete and hasn't worked in a while. The build options need to be revisited, since

svn commit: r349997 - head/usr.sbin/ngctl

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 14:23:51 2019 New Revision: 349997 URL: https://svnweb.freebsd.org/changeset/base/349997 Log: Replace complicated expression to disable libedit when no libthr is being built with a simpler one. Modified: head/usr.sbin/ngctl/Makefile Modified:

svn commit: r349996 - in head: sbin/ping usr.bin/telnet usr.sbin/inetd

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 14:19:39 2019 New Revision: 349996 URL: https://svnweb.freebsd.org/changeset/base/349996 Log: Remove all the RELEASE_CRUNCH instances that partially disable IPSEC We remove IPSEC only in parts of the tree, and not others. RELEASE_CRUNCH to disable it has not

svn commit: r349991 - in head/usr.sbin: ntp wpa

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 07:39:28 2019 New Revision: 349991 URL: https://svnweb.freebsd.org/changeset/base/349991 Log: MK_OPENSSL makes RELEASE_CRUNCH redundant here Since these things are more completely controlled by the MK_OPENSSL knob, remove RELEASE_CRUNCH here. It's no longer

svn commit: r349990 - head/bin/ls

2019-07-15 Thread Warner Losh
Author: imp Date: Mon Jul 15 07:35:46 2019 New Revision: 349990 URL: https://svnweb.freebsd.org/changeset/base/349990 Log: Now that we have MK_LS_COLORS, we don't need RELEASE_CRUNCH check here. The RELEASE_CRUNCH check is redundant here. We don't need it for releases anymore, and

svn commit: r349964 - head/sbin/camcontrol

2019-07-12 Thread Warner Losh
Author: imp Date: Sat Jul 13 03:22:28 2019 New Revision: 349964 URL: https://svnweb.freebsd.org/changeset/base/349964 Log: Add device type NVME and device type MMCSD to get_device_type For completeness, add nvme and mmc/sd devices to the list of device types we know. Modified:

svn commit: r349938 - head/usr.sbin/ppp

2019-07-12 Thread Warner Losh
Author: imp Date: Fri Jul 12 06:19:25 2019 New Revision: 349938 URL: https://svnweb.freebsd.org/changeset/base/349938 Log: Retire the -DRELEASE_CRUNCH define. The RELEASE_CRUNCH ifdefs save about 100 bytes of text space. The complexity is not worth it as they eliminate error messages.

svn commit: r349936 - head/sbin/camcontrol

2019-07-11 Thread Warner Losh
Author: imp Date: Fri Jul 12 05:35:45 2019 New Revision: 349936 URL: https://svnweb.freebsd.org/changeset/base/349936 Log: Retire support for -DMINIMALISTIC We've not used this in years since we retired sysinstall, and it hasn't compiled in at least a year. A full camcontrol is only

svn commit: r349934 - head/usr.bin/cpio

2019-07-11 Thread Warner Losh
Author: imp Date: Fri Jul 12 05:19:06 2019 New Revision: 349934 URL: https://svnweb.freebsd.org/changeset/base/349934 Log: There is no SMALLER define anymore here Stop defining SMALLER. Since we replaced cpio with libarchive version, there's no options to make it smaller. Also, the

svn commit: r349933 - head/rescue/rescue

2019-07-11 Thread Warner Losh
Author: imp Date: Fri Jul 12 04:44:50 2019 New Revision: 349933 URL: https://svnweb.freebsd.org/changeset/base/349933 Log: Remove unused defines since r147075 When the OpenBSD dhclient was brought in 14 years ago, we stopped supporting building a reduced sized dhclient, yet retained the

svn commit: r349909 - head/sys/dev/mpr

2019-07-11 Thread Warner Losh
Author: imp Date: Thu Jul 11 06:22:15 2019 New Revision: 349909 URL: https://svnweb.freebsd.org/changeset/base/349909 Log: More fully implement the state machine. When a command is finished running, we must transition it from INQUEUE to busy state. We were failing to do that, so we hit a

Re: svn commit: r349890 - head/contrib/telnet/telnet

2019-07-10 Thread Warner Losh
On Wed, Jul 10, 2019 at 4:43 PM Shawn Webb wrote: > On Wed, Jul 10, 2019 at 04:40:25PM -0600, Warner Losh wrote: > > On Wed, Jul 10, 2019 at 4:29 PM Shawn Webb > > wrote: > > > > > On Wed, Jul 10, 2019 at 04:22:18PM -0400, Shawn Webb wrote: > > > >

Re: svn commit: r349890 - head/contrib/telnet/telnet

2019-07-10 Thread Warner Losh
On Wed, Jul 10, 2019 at 4:29 PM Shawn Webb wrote: > On Wed, Jul 10, 2019 at 04:22:18PM -0400, Shawn Webb wrote: > > On Wed, Jul 10, 2019 at 03:19:44PM -0500, Justin Hibbits wrote: > > > On Wed, 10 Jul 2019 15:55:48 -0400 > > > Shawn Webb wrote: > > > > > > > On Wed, Jul 10, 2019 at 05:42:04PM

svn commit: r349895 - head/sys/dev/isci

2019-07-10 Thread Warner Losh
Author: imp Date: Wed Jul 10 22:23:59 2019 New Revision: 349895 URL: https://svnweb.freebsd.org/changeset/base/349895 Log: Enforce a 4GB DMA boundary on isci(4) This device cannot cross a 4GB boundary with DMA. Removing the boundary in r346386 resulted in low frequency memory corruption

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

2019-07-10 Thread Warner Losh
Author: imp Date: Wed Jul 10 17:21:59 2019 New Revision: 349889 URL: https://svnweb.freebsd.org/changeset/base/349889 Log: Fix compile errors with the CI20 Fix mutex includes and fix a typo. The CI20 kernel is not built as part of universe. PR: 239115 Submitted by: Kai Nacke

svn commit: r349849 - in head/sys/dev: mpr mps

2019-07-08 Thread Warner Losh
Author: imp Date: Mon Jul 8 20:20:01 2019 New Revision: 349849 URL: https://svnweb.freebsd.org/changeset/base/349849 Log: Fix bugs in recovery path and improve cm tracking Eliminate the TIMEDOUT state. This state really conveyed two different concepts: I timed out during recovery (and

svn commit: r349845 - head/sys/dev/pci

2019-07-08 Thread Warner Losh
Author: imp Date: Mon Jul 8 19:38:49 2019 New Revision: 349845 URL: https://svnweb.freebsd.org/changeset/base/349845 Log: Work around devices which return all zeros for reads of existing MSI-X table VCTRL registers. Unconditionally program the MSI-X vector control Mask field for MSI-X

svn commit: r349731 - head/sys/dev/mmc/host

2019-07-04 Thread Warner Losh
Author: imp Date: Thu Jul 4 15:09:58 2019 New Revision: 349731 URL: https://svnweb.freebsd.org/changeset/base/349731 Log: Fix cut-and-pasto that slipped through my testing. Modified: head/sys/dev/mmc/host/dwmmc.c Modified: head/sys/dev/mmc/host/dwmmc.c

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