svn commit: r349728 - in head/sys: arm/amlogic/aml8726 dev/mmc/host mips/ingenic

2019-07-04 Thread Warner Losh
Author: imp Date: Thu Jul 4 14:15:04 2019 New Revision: 349728 URL: https://svnweb.freebsd.org/changeset/base/349728 Log: Implement missing MMCBR ivars All MMCBR bridges have to implement all the MMCBR variables. This implements them for everybody that currently doesn't. A common

svn commit: r349374 - in head/sys: arm/conf conf kern

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 16:39:25 2019 New Revision: 349374 URL: https://svnweb.freebsd.org/changeset/base/349374 Log: Remove a couple of harmless stray references to nandfs. Submitted by: tsoome@ Modified: head/sys/arm/conf/DB-78XXX head/sys/arm/conf/DB-88F6XXX

Re: svn commit: r349352 - in head: etc/mtree include lib lib/libnandfs sbin sbin/camcontrol sbin/nandfs sbin/newfs_nandfs share/man/man4 share/man/man5 share/mk stand stand/arm/uboot stand/common stan

2019-06-25 Thread Warner Losh
t bit of svn is rarely used, also mitigating the data anomaly). I made a conscious decision to minimize time to get the repo repaired from the damage of the one commit. Warner Regards, > Rod > > > Warner > > > > On Mon, Jun 24, 2019 at 10:50 PM Warner Losh wrote: > >

Re: svn commit: r349352 - in head: etc/mtree include lib lib/libnandfs sbin sbin/camcontrol sbin/nandfs sbin/newfs_nandfs share/man/man4 share/man/man5 share/mk stand stand/arm/uboot stand/common stan

2019-06-25 Thread Warner Losh
was of the essence, so I hope my snap-judgement was sound. My apologies both for the 'oops' and for any other fallout. Warner On Mon, Jun 24, 2019 at 10:50 PM Warner Losh wrote: > Author: imp > Date: Tue Jun 25 04:50:09 2019 > New Revision: 349352 > URL: https://svnweb.freebsd.org/changeset

svn commit: r349359 - head/sbin/camcontrol

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:26 2019 New Revision: 349359 URL: https://svnweb.freebsd.org/changeset/base/349359 Log: Replay r349341 by imp accidentally reverted by r349352 Use ata_param_fixup instead of a custom copy here Modified: head/sbin/camcontrol/camcontrol.c Modified:

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

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:21 2019 New Revision: 349358 URL: https://svnweb.freebsd.org/changeset/base/349358 Log: Replay r349340 by imp accidentally reverted by r349352 Create ata_param_fixup Create a common fixup routine to do the canonical fixup of the ata_param fixup.

svn commit: r349357 - head/sys/cam/ata

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:16 2019 New Revision: 349357 URL: https://svnweb.freebsd.org/changeset/base/349357 Log: Replay r349339 by imp accidentally reverted by r349352 Go ahead and completely fix the ata_params before calling the veto function. This breaks nothing that uses it

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

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:05 2019 New Revision: 349355 URL: https://svnweb.freebsd.org/changeset/base/349355 Log: Replay r349335 by scottl accidentally reverted by r349352 Add the PCI HDAudio device model from the 2016 GSoC. Detailed information can be found at

svn commit: r349354 - head/sys/fs/smbfs

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:00 2019 New Revision: 349354 URL: https://svnweb.freebsd.org/changeset/base/349354 Log: Replay r349334 by markj accidentally reverted by r349352 Remove a lingering use of splbio(). The buffer must be locked by the caller. No functional change

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

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:31 2019 New Revision: 349360 URL: https://svnweb.freebsd.org/changeset/base/349360 Log: Replay r349342 by imp accidentally reverted by r349352 Use the cam_ed copy of ata_params rather than malloc and freeing memory for it. This reaches into internal

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

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:14:11 2019 New Revision: 349356 URL: https://svnweb.freebsd.org/changeset/base/349356 Log: Replay r349336 by scottl accidentally reverted by r349352 Add a section about the HD Audio module support Modified: head/usr.sbin/bhyve/bhyve.8 Modified:

svn commit: r349353 - head/usr.bin/vtfontcvt

2019-06-25 Thread Warner Losh
Author: imp Date: Tue Jun 25 06:13:56 2019 New Revision: 349353 URL: https://svnweb.freebsd.org/changeset/base/349353 Log: Replay r349333 by emaste accidentally reverted by r349352 vtfontcvt: improve .bdf validation Previously if we had a FONTBOUNDINGBOX or DWIDTH entry that had

svn commit: r349352 - in head: etc/mtree include lib lib/libnandfs sbin sbin/camcontrol sbin/nandfs sbin/newfs_nandfs share/man/man4 share/man/man5 share/mk stand stand/arm/uboot stand/common stand...

2019-06-24 Thread Warner Losh
Author: imp Date: Tue Jun 25 04:50:09 2019 New Revision: 349352 URL: https://svnweb.freebsd.org/changeset/base/349352 Log: Remove NAND and NANDFS support NANDFS has been broken for years. Remove it. The NAND drivers that remain are for ancient parts that are no longer relevant. They are

Re: svn commit: r349349 - in head/stand: efi/include efi/include/Protocol efi/libefi efi/loader libsa

2019-06-24 Thread Warner Losh
Hey Rod, On Mon, Jun 24, 2019 at 7:11 PM Rodney W. Grimes wrote: > -- Start of PGP signed section. > [ Charset UTF-8 unsupported, converting... ] > > On 2019-06-24 18:45, Rodney W. Grimes wrote: > > > > > It sys accompanies, that means not a pointer to > > > Hum oh my, what has happend to

svn commit: r349346 - head/usr.sbin/kbdcontrol

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 21:05:14 2019 New Revision: 349346 URL: https://svnweb.freebsd.org/changeset/base/349346 Log: kbdcontrol -h prints two error messages. We loop through getopt(3) twice. Once for -P args and once for the rest. Catch '?' and print usage when that happens.

svn commit: r349344 - head/sys/kern

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 20:52:21 2019 New Revision: 349344 URL: https://svnweb.freebsd.org/changeset/base/349344 Log: Add missing include of sys/boot.h This change was dropped out in a rebase and I didn't catch that before I committed. Modified: head/sys/kern/kern_mib.c

svn commit: r349343 - in head: stand/common stand/efi/loader sys/kern sys/sys

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 20:34:53 2019 New Revision: 349343 URL: https://svnweb.freebsd.org/changeset/base/349343 Log: Move to using a common kernel path between the boot / laoder bits and the kernel. Modified: head/stand/common/paths.h head/stand/efi/loader/main.c

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

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 20:23:19 2019 New Revision: 349342 URL: https://svnweb.freebsd.org/changeset/base/349342 Log: Use the cam_ed copy of ata_params rather than malloc and freeing memory for it. This reaches into internal bits of xpt a little, and I'll clean that up later.

svn commit: r349341 - head/sbin/camcontrol

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 20:19:03 2019 New Revision: 349341 URL: https://svnweb.freebsd.org/changeset/base/349341 Log: Use ata_param_fixup instead of a custom copy here Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontrol/camcontrol.c

svn commit: r349339 - head/sys/cam/ata

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 20:18:49 2019 New Revision: 349339 URL: https://svnweb.freebsd.org/changeset/base/349339 Log: Go ahead and completely fix the ata_params before calling the veto function. This breaks nothing that uses it in the tree since ata_params is ignored in

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

2019-06-24 Thread Warner Losh
Author: imp Date: Mon Jun 24 20:18:58 2019 New Revision: 349340 URL: https://svnweb.freebsd.org/changeset/base/349340 Log: Create ata_param_fixup Create a common fixup routine to do the canonical fixup of the ata_param fixup. Call it from both the ATA and the ATA over SCSI paths.

svn commit: r349291 - head/share/examples/etc

2019-06-22 Thread Warner Losh
Author: imp Date: Sat Jun 22 16:54:23 2019 New Revision: 349291 URL: https://svnweb.freebsd.org/changeset/base/349291 Log: Add list of valid CPUTYPE flags for arm/arm64 to make.conf example Summary: Adds a list of valid CPUTYPE flags for arm and arm64 architectures List taken from

svn commit: r349261 - head/tools/tools/nanobsd

2019-06-20 Thread Warner Losh
Author: imp Date: Fri Jun 21 03:49:36 2019 New Revision: 349261 URL: https://svnweb.freebsd.org/changeset/base/349261 Log: Mount and unmount devfs around calls to add packages. pkg now uses /dev/null for some of its operations. NanoBSD's packaging stuff didn't mount that for the chroot

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

2019-06-20 Thread Warner Losh
On Thu, Jun 20, 2019, 11:44 AM Bruce Evans wrote: > On Thu, 20 Jun 2019, Alan Somers wrote: > > > On Thu, Jun 20, 2019 at 10:43 AM Bruce Evans > wrote: > >> Summary: and the headers that it includes should declare > >> minimal types to compile (so __int64_t is enough). Most uses of this > >>

Re: svn commit: r349146 - head/share/man/man4

2019-06-17 Thread Warner Losh
Especially since there can be multiple PCI registers that can be read in 1 32-bit transaction. Warner On Mon, Jun 17, 2019, 10:28 AM Scott Long wrote: > It’s customary to refer to PCI configuration registers in the plural > form. Would > you mind changing back from “register” to “registers”?

svn commit: r349025 - head/sys/modules/sdio

2019-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 13 22:03:53 2019 New Revision: 349025 URL: https://svnweb.freebsd.org/changeset/base/349025 Log: Add opt_cam.h so we can build this outside of a kernel build. Modified: head/sys/modules/sdio/Makefile Modified: head/sys/modules/sdio/Makefile

Re: svn commit: r349010 - head/sbin/camcontrol

2019-06-12 Thread Warner Losh
On Wed, Jun 12, 2019, 11:19 PM Warner Losh wrote: > Author: imp > Date: Thu Jun 13 05:19:36 2019 > New Revision: 349010 > URL: https://svnweb.freebsd.org/changeset/base/349010 > > Log: > Increase the timeout for READ NATIVE MAX > > READ NATIVE MAX can take longer

svn commit: r349011 - head/sys/dev/ciss

2019-06-12 Thread Warner Losh
Author: imp Date: Thu Jun 13 05:19:42 2019 New Revision: 349011 URL: https://svnweb.freebsd.org/changeset/base/349011 Log: Don't print the request we may be aborting in ciss_notify_abort as part of ciss_detach. It's a left-over debug that isn't needed and also discloses a kernel address.

svn commit: r349010 - head/sbin/camcontrol

2019-06-12 Thread Warner Losh
Author: imp Date: Thu Jun 13 05:19:36 2019 New Revision: 349010 URL: https://svnweb.freebsd.org/changeset/base/349010 Log: Increase the timeout for READ NATIVE MAX READ NATIVE MAX can take longer than a second if the queued NCQ I/Os take longer than a second to drain. Modified:

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

2019-06-12 Thread Warner Losh
On Wed, Jun 12, 2019 at 4:49 PM Gleb Smirnoff wrote: > On Mon, Jun 10, 2019 at 11:09:09AM +0200, Tijl Coosemans wrote: > T> > Date: Mon Jun 10 05:28:03 2019 > T> > New Revision: 348847 > T> > URL: https://svnweb.freebsd.org/changeset/base/348847 > T> > > T> > Log: > T> > Use C11 anonymous

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

2019-06-11 Thread Warner Losh
Author: imp Date: Tue Jun 11 20:48:19 2019 New Revision: 348963 URL: https://svnweb.freebsd.org/changeset/base/348963 Log: Minor white space changes. Remove trailing white space that's crept into this file. Modified: head/sys/cam/scsi/scsi_xpt.c Modified: head/sys/cam/scsi/scsi_xpt.c

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

2019-06-10 Thread Warner Losh
On Mon, Jun 10, 2019 at 10:51 AM Conrad Meyer wrote: > On Mon, Jun 10, 2019 at 9:17 AM Bruce Evans wrote: > > Only headers and libraries should support -std=c89. has > > lots of support for compilers and POSIX versions going back to K C, > > and only the K parts are completely broken. > > Is

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

2019-06-10 Thread Warner Losh
On Mon, Jun 10, 2019, 7:44 AM Conrad Meyer wrote: > On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans wrote: > > On Mon, 10 Jun 2019 05:28:04 + (UTC) Dmitry Chagin > > wrote: > > > ... > > > URL: https://svnweb.freebsd.org/changeset/base/348847 > > > Log: > > > Use C11 anonymous unions. > >

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

2019-06-08 Thread Warner Losh
Author: imp Date: Sat Jun 8 19:58:58 2019 New Revision: 348814 URL: https://svnweb.freebsd.org/changeset/base/348814 Log: Add stuff to disable warning for %S Add the customary warnings to disable format checking on armv7. Code move to new files, and the unconditional setting of WARNS to

svn commit: r348812 - in head/stand/efi: . gptboot

2019-06-08 Thread Warner Losh
Author: imp Date: Sat Jun 8 19:02:17 2019 New Revision: 348812 URL: https://svnweb.freebsd.org/changeset/base/348812 Log: Create gptboot.efi This is a primary boot loader that is intended to implement the gptboot partition selection algorithm just like we did for BIOS booting. While

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

2019-06-08 Thread Warner Losh
Author: imp Date: Sat Jun 8 18:59:50 2019 New Revision: 348811 URL: https://svnweb.freebsd.org/changeset/base/348811 Log: Break out the disk selection protocol from the rest of boot1. Segregate the disk probing and selection protocol from the rest of the boot loader. Reviewed by:

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

2019-06-06 Thread Warner Losh
Author: imp Date: Fri Jun 7 02:05:22 2019 New Revision: 348768 URL: https://svnweb.freebsd.org/changeset/base/348768 Log: Rework the reporting of the priority. Simplify the code a bit and rework how we report the results of the probing. Reviewed by: tsoome@ Differential Revision:

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

2019-06-06 Thread Warner Losh
Author: imp Date: Fri Jun 7 00:02:02 2019 New Revision: 348766 URL: https://svnweb.freebsd.org/changeset/base/348766 Log: Remove left-over status variables Modified: head/stand/efi/boot1/ufs_module.c head/stand/efi/boot1/zfs_module.c Modified: head/stand/efi/boot1/ufs_module.c

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

2019-06-06 Thread Warner Losh
Author: imp Date: Thu Jun 6 22:56:55 2019 New Revision: 348763 URL: https://svnweb.freebsd.org/changeset/base/348763 Log: Fix when NOFAT is defined We need to add the *efi file to the list of things that get built, even if we're not creating the efifat stuff. Modified:

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

2019-06-06 Thread Warner Losh
Author: imp Date: Thu Jun 6 21:04:37 2019 New Revision: 348760 URL: https://svnweb.freebsd.org/changeset/base/348760 Log: Use simple malloc/free instead of dropping down to the UEFI BootServices AllocatePool/FreePool calls. They are simpler to use and result in the same thing happening.

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

2019-06-06 Thread Warner Losh
On Thu, Jun 6, 2019, 12:36 PM Mark Johnston wrote: > On Thu, Jun 06, 2019 at 12:04:52PM -0600, Alan Somers wrote: > > On Thu, Jun 6, 2019 at 12:01 PM John Baldwin wrote: > > > > > > On 6/6/19 10:39 AM, Alan Somers wrote: > > > > On Thu, Jun 6, 2019 at 11:35 AM Rodney W. Grimes > > > > wrote: >

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

2019-06-05 Thread Warner Losh
Author: imp Date: Thu Jun 6 03:07:10 2019 New Revision: 348722 URL: https://svnweb.freebsd.org/changeset/base/348722 Log: Don't make the efifat thing if NOFAT is defined. Modified: head/stand/efi/boot1/Makefile Modified: head/stand/efi/boot1/Makefile

svn commit: r348678 - in head/stand: i386/gptboot libsa

2019-06-04 Thread Warner Losh
Author: imp Date: Wed Jun 5 02:34:58 2019 New Revision: 348678 URL: https://svnweb.freebsd.org/changeset/base/348678 Log: Eliminate unused uuid parameters from gptread and gptread_table. We only need it for the gptfind() function, where it's used. Modified:

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

2019-06-04 Thread Warner Losh
Author: imp Date: Wed Jun 5 00:08:30 2019 New Revision: 348675 URL: https://svnweb.freebsd.org/changeset/base/348675 Log: ufs_module.c can't currently be compiled with -Wcast-align, but the code is safe enough. Turn off the warning for now until I can find the right construct to silence it

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

2019-06-04 Thread Warner Losh
Author: imp Date: Wed Jun 5 00:04:21 2019 New Revision: 348674 URL: https://svnweb.freebsd.org/changeset/base/348674 Log: Don't shadow a global zfsmount variable. Modified: head/stand/efi/boot1/zfs_module.c Modified: head/stand/efi/boot1/zfs_module.c

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

2019-06-04 Thread Warner Losh
Author: imp Date: Tue Jun 4 18:36:07 2019 New Revision: 348658 URL: https://svnweb.freebsd.org/changeset/base/348658 Log: Introduce efi_devpath_same_disk This is like efi_devpath_match, but allows differing device media paths. Those just specify the partition information.

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

2019-06-04 Thread Warner Losh
Author: imp Date: Tue Jun 4 18:36:12 2019 New Revision: 348659 URL: https://svnweb.freebsd.org/changeset/base/348659 Log: Use newly minted efi_devpath_same_disk() instead of efi_devpath_match(). This fixes a regression in r347193. Reported by: Tomoaki AOKI Differential Revision:

svn commit: r348569 - in head/stand: common i386/zfsboot

2019-06-03 Thread Warner Losh
Author: imp Date: Mon Jun 3 19:10:46 2019 New Revision: 348569 URL: https://svnweb.freebsd.org/changeset/base/348569 Log: [zfsboot] Fix boot env back compat (#190) * Fix boot env back compat zfsboot must try zfsloader before loader in order to remain compatible with boot

svn commit: r348530 - head

2019-06-03 Thread Warner Losh
Author: imp Date: Mon Jun 3 14:14:53 2019 New Revision: 348530 URL: https://svnweb.freebsd.org/changeset/base/348530 Log: Stopgap fix to breakage from r348521. MTREE is defined, while MTREE_CMD isn't, use it instead. This may not be 'right' but it fixes the CI and other issues.

Re: svn commit: r348521 - in head: . etc sys/conf sys/modules usr.bin/login usr.sbin/services_mkdb

2019-06-03 Thread Warner Losh
On Mon, Jun 3, 2019 at 7:54 AM Rodney W. Grimes wrote: > > In message <7bd6b7ad-5950-4015-b95d-9ffb609f5...@fubar.geek.nz>, Andrew > Turner > > writes: > > > > > > > > > > On 3 Jun 2019, at 00:38, Maxim Sobolev wrote: > > > > > > > > Author: sobomax > > > > Date: Sun Jun 2 23:38:19 2019 > > >

svn commit: r348527 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
Author: imp Date: Mon Jun 3 05:25:22 2019 New Revision: 348527 URL: https://svnweb.freebsd.org/changeset/base/348527 Log: Another partial revert of r301289. In this case, a change was made in one-true-awk from *FS to getsval(fsloc) in a line just after one of the lines that had the 0 ->

svn commit: r348526 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
Author: imp Date: Mon Jun 3 05:25:16 2019 New Revision: 348526 URL: https://svnweb.freebsd.org/changeset/base/348526 Log: Fix mismerge that crept into r301289. The conversion of 0 -> NULL required a rebase at some point, as noted in r301289 when pfg commited it. In that rebase, three

Re: svn commit: r348512 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
On Sun, Jun 2, 2019 at 7:31 PM Pedro Giffuni wrote: > > On 02/06/2019 11:28, Warner Losh wrote: > > Author: imp > > Date: Sun Jun 2 16:28:20 2019 > > New Revision: 348512 > > URL: https://svnweb.freebsd.org/changeset/base/348512 > > > > Log: > >

svn commit: r348519 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 2 20:52:21 2019 New Revision: 348519 URL: https://svnweb.freebsd.org/changeset/base/348519 Log: Revert r348518 It should not have happened. The change is actually in upstream and I misread the diffs. Modified: head/contrib/one-true-awk/tran.c Modified:

svn commit: r348518 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 2 20:47:15 2019 New Revision: 348518 URL: https://svnweb.freebsd.org/changeset/base/348518 Log: Reapply r301691: Revert r301689 - one-true-awk: Avoid a NULL dereference. I got this wrong and the coverity report doesn't match the NetBSD change, which was

svn commit: r348515 - head/usr.bin/awk

2019-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 2 16:44:50 2019 New Revision: 348515 URL: https://svnweb.freebsd.org/changeset/base/348515 Log: This should have been committed in r348511 with the awk update. It was in my tree, the build worked, but I committed from contrib/one-true-awk rather than the top

svn commit: r348513 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 2 16:30:53 2019 New Revision: 348513 URL: https://svnweb.freebsd.org/changeset/base/348513 Log: Reapply r315426 by pfg: |MFV r315425: one-true-awk: have calloc(3) do the multiplication. Modified: head/contrib/one-true-awk/b.c Modified:

svn commit: r348512 - head/contrib/one-true-awk

2019-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 2 16:28:20 2019 New Revision: 348512 URL: https://svnweb.freebsd.org/changeset/base/348512 Log: Reapply r301289 by pfg: |MFV r300961: one-true-awk: replace 0 with NULL for pointers |Also remove a redundant semicolon. |Also had to rebase on

svn commit: r348511 - in head/contrib/one-true-awk: . bugs-fixed

2019-06-02 Thread Warner Losh
Author: imp Date: Sun Jun 2 16:25:07 2019 New Revision: 348511 URL: https://svnweb.freebsd.org/changeset/base/348511 Log: Merge from upstream at 4189ef5d from https://github.com/onetrueawk/awk.git Note: this backs out a number of changes we've made to awk because they aren't upstream,

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

2019-06-01 Thread Warner Losh
Author: imp Date: Sat Jun 1 15:37:44 2019 New Revision: 348495 URL: https://svnweb.freebsd.org/changeset/base/348495 Log: Since a fatal trap can happen at aribtrary times, don't panic when the completions are not in a consistent state. Cope with the different places the normal I/O

Re: svn commit: r344648 - in head: . sys/kern sys/sys

2019-05-31 Thread Warner Losh
When we move to git, stuff like this just won't matter. So it's hard to get worked up about it now... and even if we weren't heading that way, the history preserved is so small as to say more than "meh" here. There is too little ROI to get worked up about. Warner On Fri, May 31, 2019, 4:56 PM

svn commit: r348486 - head/sys/conf

2019-05-31 Thread Warner Losh
Author: imp Date: Fri May 31 22:57:20 2019 New Revision: 348486 URL: https://svnweb.freebsd.org/changeset/base/348486 Log: Defer evaluation of modified until after it's set With the reorg r348175, we now look at modified before it is set. Rearrange things so that we can set

svn commit: r348217 - in head/sys/mips: atheros/ar531x mips

2019-05-23 Thread Warner Losh
Author: imp Date: Fri May 24 01:43:35 2019 New Revision: 348217 URL: https://svnweb.freebsd.org/changeset/base/348217 Log: Display CPU model in dmesg on mips targets Also, save the CPU model for atheros ar531x boards. Submitted by: Hiroki Mori Differential Revision:

svn commit: r348216 - head/sys/dev/aac

2019-05-23 Thread Warner Losh
Author: imp Date: Fri May 24 01:43:29 2019 New Revision: 348216 URL: https://svnweb.freebsd.org/changeset/base/348216 Log: Make uniqueifier match the module definition. Modified: head/sys/dev/aac/aac_pci.c Modified: head/sys/dev/aac/aac_pci.c

svn commit: r348178 - head/include

2019-05-23 Thread Warner Losh
Author: imp Date: Thu May 23 17:19:05 2019 New Revision: 348178 URL: https://svnweb.freebsd.org/changeset/base/348178 Log: Move to using newvers -c instead of VARS_ONLY=1 Use newvers.sh -c to get the copyright, and newvers.sh -V RELDATE to get the release date. Differential

svn commit: r348176 - head/usr.sbin/amd/include

2019-05-23 Thread Warner Losh
Author: imp Date: Thu May 23 17:18:56 2019 New Revision: 348176 URL: https://svnweb.freebsd.org/changeset/base/348176 Log: Convert amd newvers to using newvers.sh -v. Rather than the tedious and error-prone grep of sys/conf/newvers.sh, use the new -v arg to dig out the data that's

svn commit: r348177 - head/bin/freebsd-version

2019-05-23 Thread Warner Losh
Author: imp Date: Thu May 23 17:19:00 2019 New Revision: 348177 URL: https://svnweb.freebsd.org/changeset/base/348177 Log: Convert freebsd-version to using -v newvers.sh has supported a variable setting only mode, use that in preference to grep to future proof this script from changes

svn commit: r348175 - head/sys/conf

2019-05-23 Thread Warner Losh
Author: imp Date: Thu May 23 17:18:48 2019 New Revision: 348175 URL: https://svnweb.freebsd.org/changeset/base/348175 Log: Implement "VARS_ONLY=1" via special command line args Add -v to print TYPE REVISION BRANCH RELEASE VERSION RELDATE variables Add -V var to print var's value

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

2019-05-23 Thread Warner Losh
Author: imp Date: Thu May 23 15:53:41 2019 New Revision: 348171 URL: https://svnweb.freebsd.org/changeset/base/348171 Log: Add warning that the PNP info has to follow the module declaration. Due to how the linker.hints file is laid out, we'll associate the pnp info with the wrong module

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

2019-05-18 Thread Warner Losh
Author: imp Date: Sun May 19 05:46:24 2019 New Revision: 347966 URL: https://svnweb.freebsd.org/changeset/base/347966 Log: Add note about nvd / nda selection. Noticed by: cem@ Modified: head/share/man/man4/nvme.4 Modified: head/share/man/man4/nvme.4

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

2019-05-08 Thread Warner Losh
Author: imp Date: Wed May 8 20:18:11 2019 New Revision: 347369 URL: https://svnweb.freebsd.org/changeset/base/347369 Log: rename nvme_ctrlr_destroy_qpair to nvme_ctrlr_destroy_qpairs Maintain symmetry with nvme_ctrlr_create_qpairs, making it easier to match init/uninit scenarios.

Re: svn commit: r347218 - head/sys/compat/linsysfs

2019-05-08 Thread Warner Losh
On Tue, May 7, 2019 at 4:45 AM Renato Botelho wrote: > On 07/05/19 02:45, Dmitry Chagin wrote: > > вт, 7 мая 2019 г. в 08:32, Rodney W. Grimes : > > > >>> Author: dchagin > >>> Date: Tue May 7 05:08:13 2019 > >>> New Revision: 347218 > >>> URL: https://svnweb.freebsd.org/changeset/base/347218 >

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

2019-05-07 Thread Warner Losh
Author: imp Date: Wed May 8 00:09:10 2019 New Revision: 347237 URL: https://svnweb.freebsd.org/changeset/base/347237 Log: Add missing newline to debug printf. Modified: head/sys/dev/mpr/mpr_sas_lsi.c head/sys/dev/mps/mps_sas_lsi.c Modified: head/sys/dev/mpr/mpr_sas_lsi.c

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

2019-05-06 Thread Warner Losh
On Mon, May 6, 2019 at 3:11 PM John Baldwin wrote: > On 5/6/19 1:57 PM, Mark Johnston wrote: > > On Mon, May 06, 2019 at 01:40:19PM -0700, John Baldwin wrote: > >> On 5/6/19 11:45 AM, Mark Johnston wrote: > >>> On Mon, May 06, 2019 at 11:07:18AM -0700, John Baldwin wrote: > On 5/3/19 2:26

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

2019-05-06 Thread Warner Losh
On Mon, May 6, 2019 at 2:40 PM John Baldwin wrote: > On 5/6/19 11:45 AM, Mark Johnston wrote: > > On Mon, May 06, 2019 at 11:07:18AM -0700, John Baldwin wrote: > >> On 5/3/19 2:26 PM, Mark Johnston wrote: > >>> Author: markj > >>> Date: Fri May 3 21:26:44 2019 > >>> New Revision: 347063 > >>>

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

2019-05-06 Thread Warner Losh
Author: imp Date: Mon May 6 19:35:30 2019 New Revision: 347201 URL: https://svnweb.freebsd.org/changeset/base/347201 Log: Simplify boot1 allocation of handles. There's no need to pre-malloc the number of handles. Instead call LocateHandles twice, once to get the size, and once to get

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

2019-05-06 Thread Warner Losh
Author: imp Date: Mon May 6 18:38:46 2019 New Revision: 347193 URL: https://svnweb.freebsd.org/changeset/base/347193 Log: Reach over and pull in devpath.c from libefi This allows us to remove three nearly identical functions because the differences don't matter, and the size difference

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

2019-05-06 Thread Warner Losh
Author: imp Date: Mon May 6 18:39:22 2019 New Revision: 347194 URL: https://svnweb.freebsd.org/changeset/base/347194 Log: We only ever need one devinfo per handle. So allocate it outside of looping over the filesystem modules rather than doing a malloc + free each time through the loop. In

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

2019-05-06 Thread Warner Losh
Author: imp Date: Mon May 6 18:39:27 2019 New Revision: 347195 URL: https://svnweb.freebsd.org/changeset/base/347195 Log: Abstract out efi_devpath_to_handle to search for a handle that matches the desired devpath. Modified: head/stand/efi/include/efilib.h head/stand/efi/libefi/devpath.c

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

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:13:09 2019 New Revision: 347062 URL: https://svnweb.freebsd.org/changeset/base/347062 Log: Use SRC+= rather than SRC= To allow boot1/Makefile to be included, use SRC+= rathern than SRC= so the including Makefile can add additional sources to the build.

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

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:13:04 2019 New Revision: 347061 URL: https://svnweb.freebsd.org/changeset/base/347061 Log: Substitute boot1 with ${BOOT1} Allow for other names to be built, so parameterize this makefile to avoid hard coding boot1. Modified:

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

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:09:25 2019 New Revision: 347060 URL: https://svnweb.freebsd.org/changeset/base/347060 Log: When we can't get memory, trying again right away is going to fail. Rather than print N failure messages, bail on the first one. Modified: head/stand/efi/boot1/boot1.c

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

2019-05-03 Thread Warner Losh
Author: imp Date: Fri May 3 21:06:34 2019 New Revision: 347059 URL: https://svnweb.freebsd.org/changeset/base/347059 Log: Remove stray '*' We're storing an EFI_HANDLE, not an pointer to a handle. Since EFI_HANDLE is a void * anyway, this has little practical effect since the

svn commit: r346984 - head/stand/common

2019-05-01 Thread Warner Losh
Author: imp Date: Wed May 1 05:42:13 2019 New Revision: 346984 URL: https://svnweb.freebsd.org/changeset/base/346984 Log: Use D_PARTISGPT rather than bare 255 These three cases dovetail with other places in the code where we use or set D_PARTISGPT when we mean that the partitioning

Re: svn commit: r346958 - head/sys/compat/linuxkpi/common/src

2019-04-30 Thread Warner Losh
On Tue, Apr 30, 2019 at 9:17 AM Hans Petter Selasky wrote: > On 4/30/19 3:10 PM, Niclas Zeising wrote: > > On 2019-04-30 12:41, Hans Petter Selasky wrote: > >> Author: hselasky > >> Date: Tue Apr 30 10:41:20 2019 > >> New Revision: 346958 > >> URL:

Re: svn commit: r346932 - head/sys/ufs/ufs

2019-04-30 Thread Warner Losh
On Tue, Apr 30, 2019 at 8:27 AM Mark Johnston wrote: > On Tue, Apr 30, 2019 at 06:08:49AM +, Alexey Dokuchaev wrote: > > On Mon, Apr 29, 2019 at 10:05:26PM +, Mark Johnston wrote: > > > New Revision: 346932 > > > URL: https://svnweb.freebsd.org/changeset/base/346932 > > > > > > Log: > >

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

2019-04-28 Thread Warner Losh
Author: imp Date: Mon Apr 29 05:02:50 2019 New Revision: 346880 URL: https://svnweb.freebsd.org/changeset/base/346880 Log: Implement uefi_rootdev If uefi_rootdev is set in the environment, then treat it like a device path. Convert the string to a device path and see if we can find a

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

2019-04-28 Thread Warner Losh
Author: imp Date: Mon Apr 29 05:02:54 2019 New Revision: 346881 URL: https://svnweb.freebsd.org/changeset/base/346881 Log: Implement uefi_ignore_boot_mgr env variable. When set, we ignore all the hints that the UEFI boot manager has set for us. We also always fail back to the OK prompt

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

2019-04-28 Thread Warner Losh
Author: imp Date: Mon Apr 29 05:02:25 2019 New Revision: 346879 URL: https://svnweb.freebsd.org/changeset/base/346879 Log: Read in and parse /efi/freebsd/loader.env from the boot device's partition as if it were on the command line. Fetch FreeBSD-LoaderEnv UEFI enviornment variable. If

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

2019-04-25 Thread Warner Losh
Moolenaar * All rights reserved. * - * Copyright (c) 2018 Netflix, Inc. + * Copyright (c) 2016-2019 Netflix, Inc. written by M. Warner Losh * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions

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

2019-04-25 Thread Warner Losh
Author: imp Date: Thu Apr 25 20:10:02 2019 New Revision: 346703 URL: https://svnweb.freebsd.org/changeset/base/346703 Log: Move initialization of the block device handles earlier (we're just snagging them from UEFI BIOS). Call the device type init routines earlier as well, as they don't

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

2019-04-25 Thread Warner Losh
Author: imp Date: Thu Apr 25 20:09:49 2019 New Revision: 346702 URL: https://svnweb.freebsd.org/changeset/base/346702 Log: Add efi_freebsd_delenv Add a wrapper around efi_delenv akin to efi_freebsd_getenv and efi_getenv. Modified: head/stand/efi/include/efilib.h

svn commit: r346624 - head/bin/date

2019-04-23 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-04-22 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-04-22 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-04-20 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: >

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

2019-04-20 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: > >

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

2019-04-20 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: > >

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

2019-04-20 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

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

2019-04-19 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.

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