Re: svn commit: r355827 - head/sys/dev/pccbb

2019-12-16 Thread Warner Losh
On Mon, Dec 16, 2019 at 4:08 PM Warner Losh wrote: > Author: imp > Date: Mon Dec 16 23:08:09 2019 > New Revision: 355827 > URL: https://svnweb.freebsd.org/changeset/base/355827 > > Log: > Add back accidentally dropped masking... > > - PCI_MASK_CONF

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

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 23:08:09 2019 New Revision: 355827 URL: https://svnweb.freebsd.org/changeset/base/355827 Log: Add back accidentally dropped masking... - PCI_MASK_CONFIG(sc->dev, CBBR_BRIDGECTRL, - & ~CBBM_BRIDGECTRL_INTR_IREQ_ISA_EN, 2); was accidentally

svn commit: r355825 - in head/stand/i386: common libi386

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 21:52:12 2019 New Revision: 355825 URL: https://svnweb.freebsd.org/changeset/base/355825 Log: Use symbolic names for int13 calls For all the INT13 calls, use symbolic names instead of magic numbers. This makes it easier to understand what the code is doing w/

svn commit: r355822 - in head/sys: conf dev/pccbb modules/cbb

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 21:34:51 2019 New Revision: 355822 URL: https://svnweb.freebsd.org/changeset/base/355822 Log: We'll never have multiple slots a cardbus bridge. So, replace exca array with a singleton. Also, pccbb isa attachment is never going to happen, do disconnect it from

svn commit: r355823 - in head/sys/dev: exca pccbb

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 21:34:57 2019 New Revision: 355823 URL: https://svnweb.freebsd.org/changeset/base/355823 Log: Add slot number ivar to return which slot number the child is attached to. This will always be 0 for pccbb, but may be non-zero for other kinds of bridges, should th

svn commit: r355824 - in head/sys/dev: exca pccbb

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 21:35:02 2019 New Revision: 355824 URL: https://svnweb.freebsd.org/changeset/base/355824 Log: Move attachment of pccard children into exca library. Attach the cardbus and pccard children before the sysctls are added rather than after. Modified: head/sys/dev/ex

svn commit: r355821 - in head: sbin/geom usr.sbin/ppp

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 21:06:24 2019 New Revision: 355821 URL: https://svnweb.freebsd.org/changeset/base/355821 Log: Remove all the RELEASE_CRUNCH defines, they are useless. RELEASE_CRUNCH has been broken for a very long time. Remove the last remants from the tree. Modified: head

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

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 19:16:26 2019 New Revision: 355817 URL: https://svnweb.freebsd.org/changeset/base/355817 Log: Revert r355813 It was extracted from a larger tree and is incomplete. Will resubmit after reworking. Modified: head/sys/cam/ata/ata_da.c head/sys/cam/scsi/scsi_d

Re: svn commit: r355737 - head/share/man/man9

2019-12-16 Thread Warner Losh
On Sun, Dec 15, 2019, 11:51 AM Rodney W. Grimes wrote: > > Author: imp > > Date: Fri Dec 13 22:32:05 2019 > > New Revision: 355737 > > URL: https://svnweb.freebsd.org/changeset/base/355737 > > > > Log: > > Better copyright advice > > > > Document the common practices around copyrights with "a

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

2019-12-16 Thread Warner Losh
Author: imp Date: Mon Dec 16 18:16:44 2019 New Revision: 355813 URL: https://svnweb.freebsd.org/changeset/base/355813 Log: Implement a system-wide limit or da and ada devices for delete. Excesively large TRIMs can result in timeouts, which cause big problems. Limit trims to 1GB to mititga

Re: svn commit: r355759 - in head: include sys/sys

2019-12-15 Thread Warner Losh
On Sun, Dec 15, 2019, 12:21 AM Xin Li wrote: > > > On 2019-12-14 13:52, Conrad Meyer wrote: > > Author: cem > > Date: Sat Dec 14 21:52:49 2019 > > New Revision: 355759 > > URL: https://svnweb.freebsd.org/changeset/base/355759 > > > > Log: > > cdefs: Add __deprecated(message) function attribute

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Warner Losh
Thanks. Put me on the review :) Warner On Sat, Dec 14, 2019, 12:54 PM Conrad Meyer wrote: > I agree, a cdefs.h definition would be pleasant even if gcc4 isn’t a > factor (and it’s not in about two weeks). I’ll go ahead and do that. > > On Sat, Dec 14, 2019 at 11:28 Warner

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Warner Losh
On Sat, Dec 14, 2019 at 12:22 PM Pedro Giffuni wrote: > > On 14/12/2019 13:20, Ryan Libby wrote: > > On Sat, Dec 14, 2019 at 12:28 AM Conrad Meyer wrote: > >> Author: cem > >> Date: Sat Dec 14 08:28:10 2019 > >> New Revision: 355747 > >> URL: https://svnweb.freebsd.org/changeset/base/355747 > >>

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

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 22:32:05 2019 New Revision: 355737 URL: https://svnweb.freebsd.org/changeset/base/355737 Log: Better copyright advice Document the common practices around copyrights with "all rights reserved" in them as new copyright notices get added. It's an open quest

svn commit: r355735 - in head/sys: arm/broadcom/bcm2835 arm/mv dev/ow

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 21:39:20 2019 New Revision: 355735 URL: https://svnweb.freebsd.org/changeset/base/355735 Log: Be consistent about checking return value from bus_delayed_attach_children. Most places checked, but a couple last minute changes didn't. Make them all use the retur

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

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 21:39:10 2019 New Revision: 355734 URL: https://svnweb.freebsd.org/changeset/base/355734 Log: Don't use contractions. Fix the date. Contractions cause problems for translators, so s/aren't/are not/ in the one place this slipped through. While here, notice

svn commit: r355727 - in head: share/man/man9 sys/arm/broadcom/bcm2835 sys/arm/freescale/imx sys/arm/mv sys/arm/ti sys/dev/glxiic sys/dev/ichsmb sys/dev/ow sys/kern sys/sys

2019-12-13 Thread Warner Losh
ren.9 Fri Dec 13 19:39:33 2019(r355727) @@ -0,0 +1,55 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2019 M. Warner Losh +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the follow

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

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 18:35:48 2019 New Revision: 355721 URL: https://svnweb.freebsd.org/changeset/base/355721 Log: Move to using bool instead of boolean_t While there are subtle semantic differences between bool and boolean_t, none of them matter in these cases. Prefer true/false

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

2019-12-11 Thread Warner Losh
Author: imp Date: Wed Dec 11 22:51:02 2019 New Revision: 355631 URL: https://svnweb.freebsd.org/changeset/base/355631 Log: Move reset to the interrutp processing stage This trims the boot time a bit more for AWS and other platforms that have nvme drives. There's no reason too do this inli

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

2019-12-11 Thread Warner Losh
At some point, we used to replace bad chars with spaces, but that may have been two ata stacks ago.. Warner On Wed, Dec 11, 2019, 9:35 AM Alan Somers wrote: > No, and there's no possibility of connecting a Windows host to this > particular device. We have some Oracle Solaris servers hooked up

svn commit: r355546 - head/lib/libefivar

2019-12-08 Thread Warner Losh
Author: imp Date: Mon Dec 9 01:32:18 2019 New Revision: 355546 URL: https://svnweb.freebsd.org/changeset/base/355546 Log: Add additional sanity checks. Modified: head/lib/libefivar/efivar-dp-xlate.c Modified: head/lib/libefivar/efivar-dp-xlate.c =

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

2019-12-06 Thread Warner Losh
Author: imp Date: Fri Dec 6 22:12:39 2019 New Revision: 355465 URL: https://svnweb.freebsd.org/changeset/base/355465 Log: trackers always know what qpair they are on Don't needlessly pass around qpair pointers when the tracker knows what qpair it's on. This will simplify code and make i

svn commit: r355464 - head/sys/dev/aacraid

2019-12-06 Thread Warner Losh
Author: imp Date: Fri Dec 6 21:50:24 2019 New Revision: 355464 URL: https://svnweb.freebsd.org/changeset/base/355464 Log: Remove ifdefs for FreeBSD 6, 7, 8 and 9. Assume we're past that. Differential Revision: https://reviews.freebsd.org/D22539 Modified: head/sys/dev/aacraid/aacraid.c

Re: svn commit: r355461 - head/sys/arm/mv

2019-12-06 Thread Warner Losh
On Fri, Dec 6, 2019 at 1:17 PM Ian Lepore wrote: > On Fri, 2019-12-06 at 20:05 +, Luiz Otavio O Souza wrote: > > Author: loos > > Date: Fri Dec 6 20:05:08 2019 > > New Revision: 355461 > > URL: https://svnweb.freebsd.org/changeset/base/355461 > > > > Log: > > Fix the ARM64 build, include t

Re: svn commit: r355412 - head/sys/geom

2019-12-04 Thread Warner Losh
On Wed, Dec 4, 2019, 10:01 PM Ravi Pokala wrote: > -Original Message- > From: on behalf of Alexander Motin > > Date: 2019-12-04, Wednesday at 20:52 > To: , , < > svn-src-head@freebsd.org> > Subject: svn commit: r355412 - head/sys/geom > > Author: mav > Date: Thu Dec 5 04:52:19

Re: svn commit: r355394 - in head: . lib/libc/stdlib lib/libc/sys libexec/rc/rc.d libexec/talkd sbin/devd share/man/man4 share/man/man5 stand/common stand/liblua stand/libsa sys/amd64/include sys/arm/

2019-12-04 Thread Warner Losh
On Wed, Dec 4, 2019 at 9:56 AM Warner Losh wrote: > Author: imp > Date: Wed Dec 4 16:56:11 2019 > New Revision: 355394 > URL: https://svnweb.freebsd.org/changeset/base/355394 > > Log: > Regularize my copyright notice > > o Remove All Rights Reserved from my not

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

2019-12-04 Thread Warner Losh
nroff -*- .\" -.\" Copyright (c) 2004 M. Warner Losh +.\" Copyright (c) 2003 M. Warner Losh .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions _

svn commit: r355394 - in head: . lib/libc/stdlib lib/libc/sys libexec/rc/rc.d libexec/talkd sbin/devd share/man/man4 share/man/man5 stand/common stand/liblua stand/libsa sys/amd64/include sys/arm/a...

2019-12-04 Thread Warner Losh
: head/UPDATING == --- head/UPDATING Wed Dec 4 16:55:55 2019(r355393) +++ head/UPDATING Wed Dec 4 16:56:11 2019(r355394) @@ -2120,7 +2120,7 @@ to fetch an UPDATING file from an older FreeBSD releas Copyright information: -Copyright 1998-2009 M. Warner Losh. +Copy

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

2019-12-03 Thread Warner Losh
== --- head/share/man/man9/BUS_ADD_CHILD.9 Tue Dec 3 14:48:13 2019 (r355329) +++ head/share/man/man9/BUS_ADD_CHILD.9 Tue Dec 3 15:48:28 2019 (r355330) @@ -1,10 +1,6 @@ .\" -*- nroff -*- .\" -.\" Copyright (c) 2004

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Warner Losh
On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper wrote: > > On Nov 30, 2019, at 10:03 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper > wrote: > >> >> > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: >> > >> > Au

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Warner Losh
On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper wrote: > > > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > > > Author: scottl > > Date: Thu Nov 28 02:32:17 2019 > > New Revision: 355164 > > URL: https://svnweb.freebsd.org/changeset/base/355164 > > > > Log: > > Remove the trm(4) driver > > > >

svn commit: r355168 - head/stand/efi/libefi

2019-11-27 Thread Warner Losh
Author: imp Date: Thu Nov 28 05:40:15 2019 New Revision: 355168 URL: https://svnweb.freebsd.org/changeset/base/355168 Log: Also turn of teken for RB_MULTIPLE RB_MULTIPLE without RB_SERIAL set is valid, and means 'Video first, then serial' to the kernel (so kernel messages go to both, but

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

2019-11-27 Thread Warner Losh
Author: imp Date: Thu Nov 28 05:40:10 2019 New Revision: 355167 URL: https://svnweb.freebsd.org/changeset/base/355167 Log: Remove comment. We're just going to the next node here. Modified: head/stand/efi/loader/main.c Modified: head/stand/efi/loader/main.c ===

Re: svn commit: r355037 - head/sys/dev/pci

2019-11-24 Thread Warner Losh
On Sun, Nov 24, 2019, 9:45 AM Konstantin Belousov wrote: > On Sun, Nov 24, 2019 at 07:37:01AM -0700, Warner Losh wrote: > > On Sun, Nov 24, 2019, 6:10 AM Konstantin Belousov > > wrote: > > > > > On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote: > &g

svn commit: r355058 - in head/sys/dev: aac aacraid

2019-11-24 Thread Warner Losh
Author: imp Date: Sun Nov 24 15:37:19 2019 New Revision: 355058 URL: https://svnweb.freebsd.org/changeset/base/355058 Log: Don't need giant for these drivers dev nodes. Also, Giant isn't required to busy / unbusy a device, so drop that too while I'm here. It's not done elsewhere in the t

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

2019-11-24 Thread Warner Losh
Author: imp Date: Sun Nov 24 15:37:14 2019 New Revision: 355057 URL: https://svnweb.freebsd.org/changeset/base/355057 Log: Hoist locking giant back up into the ioctl handler Move the locking back into the ioctl handler. This "fixes" the race where we hve a hot plug event just after the d

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

2019-11-24 Thread Warner Losh
Author: imp Date: Sun Nov 24 15:24:05 2019 New Revision: 355056 URL: https://svnweb.freebsd.org/changeset/base/355056 Log: Fix leak in state machine for commands. When we get a device departed message from the firmware, we send a TARGET_REST to the device to let the firmware know we're do

Re: svn commit: r355037 - head/sys/dev/pci

2019-11-24 Thread Warner Losh
On Sun, Nov 24, 2019, 6:10 AM Konstantin Belousov wrote: > On Sat, Nov 23, 2019 at 11:43:52PM +0000, Warner Losh wrote: > > Author: imp > > Date: Sat Nov 23 23:43:52 2019 > > New Revision: 355037 > > URL: https://svnweb.freebsd.org/changeset/base/355037 > > &

svn commit: r355039 - head/sys/kern

2019-11-23 Thread Warner Losh
Author: imp Date: Sat Nov 23 23:57:26 2019 New Revision: 355039 URL: https://svnweb.freebsd.org/changeset/base/355039 Log: Add a warning about Giant Locked devices Add a warning when a device registers with devfs and requests D_NEEDGIANT. The warning says the device will go away before

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

2019-11-23 Thread Warner Losh
Author: imp Date: Sat Nov 23 23:43:52 2019 New Revision: 355037 URL: https://svnweb.freebsd.org/changeset/base/355037 Log: Push Giant down one layer The /dev/pci device doesn't need GIANT, per se. However, one routine that it calls, pci_find_dbsf implicitly does. It walks a list that can

svn commit: r355038 - head/sys/geom

2019-11-23 Thread Warner Losh
Author: imp Date: Sat Nov 23 23:44:00 2019 New Revision: 355038 URL: https://svnweb.freebsd.org/changeset/base/355038 Log: We don't even need Giant here. It isn't protecting anything internal to geom, and nothing we call requires it to be held. It's left over from a time when the latter wasn

svn commit: r354976 - head/share/mk

2019-11-21 Thread Warner Losh
Author: imp Date: Thu Nov 21 19:54:10 2019 New Revision: 354976 URL: https://svnweb.freebsd.org/changeset/base/354976 Log: Install bsd.sysdir.mk. Submitted by: Jung-uk Kim Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile =

svn commit: r354972 - in head/sys: arm/include mips/include

2019-11-21 Thread Warner Losh
Author: imp Date: Thu Nov 21 18:49:54 2019 New Revision: 354972 URL: https://svnweb.freebsd.org/changeset/base/354972 Log: Remove two obsolete comments that reference splhigh/splx. Modified: head/sys/arm/include/profile.h head/sys/mips/include/profile.h Modified: head/sys/arm/include/profi

svn commit: r354968 - in head: share/mk sys/conf

2019-11-21 Thread Warner Losh
Author: imp Date: Thu Nov 21 15:59:33 2019 New Revision: 354968 URL: https://svnweb.freebsd.org/changeset/base/354968 Log: Introduce bsd.sysdir.mk to consolidate looking for the kernel. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D22144 Added: head/share/mk/bsd.

svn commit: r354937 - head/share/man/man7

2019-11-20 Thread Warner Losh
Author: imp Date: Thu Nov 21 06:48:30 2019 New Revision: 354937 URL: https://svnweb.freebsd.org/changeset/base/354937 Log: Include MACHINE in the which variable selection to use section. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7 ===

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
On Wed, Nov 20, 2019 at 11:19 PM Dimitry Andric wrote: > Yes, such a table would be extremely helpful. :) > Yes. Committed. Great idea. Committed with some verbage about which one to use to. Warner ___ svn-src-head@freebsd.org mailing list https://lis

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
I write: > jhb writes: > >> With PC-98 removed, I don't think we have any cases where MACHINE != >> MACHINE_CPUARCH now? >> > > Well, there's arm64 / aarch64. > And riscv / riscv64. Warner ___ svn-src-head@freebsd.org mailing list https://lists.freebsd

svn commit: r354936 - head/share/man/man7

2019-11-20 Thread Warner Losh
Author: imp Date: Thu Nov 21 06:44:19 2019 New Revision: 354936 URL: https://svnweb.freebsd.org/changeset/base/354936 Log: Add table for MACHINE_CPUARCH Add table and also some additional verbage of which one to use. Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arc

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
On Wed, Nov 20, 2019 at 11:19 PM Dimitry Andric wrote: > On 21 Nov 2019, at 01:44, John Baldwin wrote: > > > > On 11/20/19 3:42 PM, Bjoern A. Zeeb wrote: > >> On 20 Nov 2019, at 23:32, John Baldwin wrote: > ... > >> You can however find more of these elsewhere: > >> > >> ../lib/libc/tests/sys/Ma

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
On Wed, Nov 20, 2019 at 4:32 PM John Baldwin wrote: > On 11/20/19 3:04 PM, Warner Losh wrote: > > On Wed, Nov 20, 2019 at 3:09 PM John Baldwin wrote: > > > >> On 11/20/19 10:01 AM, Warner Losh wrote: > >>> On Wed, Nov 20, 2019 at 9:54 AM Li-Wen Hsu wrote: &g

svn commit: r354925 - head/usr.sbin/efibootmgr

2019-11-20 Thread Warner Losh
Author: imp Date: Wed Nov 20 23:58:36 2019 New Revision: 354925 URL: https://svnweb.freebsd.org/changeset/base/354925 Log: Add --esp/-E argument to print the currently booted ESP Add code to decode the BootCurrent and Boot variable it points at to deduce the ESP used to boot the syste

svn commit: r354922 - in head: etc libexec/rc libexec/rc/rc.d share/man/man5 sys/sys

2019-11-20 Thread Warner Losh
nullfs.5 \ + os-release.5 \ passwd.5 \ pbm.5 \ periodic.conf.5 \ Added: head/share/man/man5/os-release.5 ====== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
On Wed, Nov 20, 2019 at 3:09 PM John Baldwin wrote: > On 11/20/19 10:01 AM, Warner Losh wrote: > > On Wed, Nov 20, 2019 at 9:54 AM Li-Wen Hsu wrote: > > > >> Author: lwhsu > >> Date: Wed Nov 20 16:54:21 2019 > >> New Revision: 354900 > >> UR

svn commit: r354915 - in head: etc/mtree share/man/man7 share/mk

2019-11-20 Thread Warner Losh
Author: imp Date: Wed Nov 20 21:06:29 2019 New Revision: 354915 URL: https://svnweb.freebsd.org/changeset/base/354915 Log: Standardize EFI's ESP mount point. Mount the UEFI ESP on /boot/efi. No current system uses this by default, but there are many ad-hoc schemes that do this in /efi or

Re: svn commit: r354899 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
On Wed, Nov 20, 2019 at 9:58 AM Li-Wen Hsu wrote: > On Thu, Nov 21, 2019 at 12:42 AM John Baldwin wrote: > > > > On 11/20/19 8:35 AM, Li-Wen Hsu wrote: > > > Author: lwhsu > > > Date: Wed Nov 20 16:35:58 2019 > > > New Revision: 354899 > > > URL: https://svnweb.freebsd.org/changeset/base/354899

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Warner Losh
On Wed, Nov 20, 2019 at 9:54 AM Li-Wen Hsu wrote: > Author: lwhsu > Date: Wed Nov 20 16:54:21 2019 > New Revision: 354900 > URL: https://svnweb.freebsd.org/changeset/base/354900 > > Log: > Use the correct variable, also limit the scope to bfd > > PR: 242109 > Reported by: jhb >

Re: svn commit: r354824 - head/lib/geom/part

2019-11-18 Thread Warner Losh
On Mon, Nov 18, 2019 at 4:40 PM Rodney W. Grimes wrote: > > > In message <20191118204836.GB43295@raichu>, Mark Johnston writes: > > > > On Mon, Nov 18, 2019 at 08:35:30PM +, Alexey Dokuchaev wrote: > > > > > On Mon, Nov 18, 2019 at 01:09:19PM -0700, Alan Somers wrote: > > > > > > On Mon, Nov

svn commit: r354700 - in head/lib/libc/arm: aeabi gen

2019-11-13 Thread Warner Losh
Author: imp Date: Thu Nov 14 01:38:48 2019 New Revision: 354700 URL: https://svnweb.freebsd.org/changeset/base/354700 Log: armv6 soft float build fixed Add ifdefs in the assembler for soft-float compile case. Submitted by: Hiroki Mori Reviewed by: ray@ Differential Review: https://

Re: svn commit: r354672 - head/lib/libc/secure

2019-11-13 Thread Warner Losh
On Wed, Nov 13, 2019 at 8:52 AM Pedro Giffuni wrote: > Hi; > On 12/11/2019 23:44, Warner Losh wrote: > > > > On Tue, Nov 12, 2019 at 9:20 PM Kyle Evans wrote: > >> >> >> On Tue, Nov 12, 2019, 22:04 Pedro Giffuni wrote: >> >>> >>>

Re: svn commit: r354672 - head/lib/libc/secure

2019-11-12 Thread Warner Losh
On Tue, Nov 12, 2019 at 9:20 PM Kyle Evans wrote: > > > On Tue, Nov 12, 2019, 22:04 Pedro Giffuni wrote: > >> >> On 12/11/2019 22:00, Kyle Evans wrote: >> >> Author: kevans >> Date: Wed Nov 13 03:00:32 2019 >> New Revision: 354672 >> URL: https://svnweb.freebsd.org/changeset/base/354672 >> >> Lo

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

2019-11-12 Thread Warner Losh
Author: imp Date: Wed Nov 13 01:58:43 2019 New Revision: 354668 URL: https://svnweb.freebsd.org/changeset/base/354668 Log: Fix a race between daopen and damediapoll When we do a daopen, we call dareprobe and wait for the results. The repoll runs the da state machine up through the DA_STA

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

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:42 2019 New Revision: 354620 URL: https://svnweb.freebsd.org/changeset/base/354620 Log: Fix panic message to indicate right action that was improper. Reviewed by: scottl, ken Differential Revision: https://reviews.freebsd.org/D22295 Modified: head/sys

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

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:47 2019 New Revision: 354621 URL: https://svnweb.freebsd.org/changeset/base/354621 Log: Require and enforce that dareprobe() has to be called with the periph lock held. Reviewed by: scottl, ken Differential Revision: https://reviews.freebsd.org/D22295

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

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:52 2019 New Revision: 354622 URL: https://svnweb.freebsd.org/changeset/base/354622 Log: Update the softc state of the da driver before releasing the CCB. There are contexts where releasing the ccb triggers dastart() to be run inline. When da was written,

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

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:57 2019 New Revision: 354623 URL: https://svnweb.freebsd.org/changeset/base/354623 Log: Add asserts for some state transitions For the PROBEWP and PROBERC* states, add assertiosn that both the da device state is in the right state, as well as the ccb sta

Re: svn commit: r354435 - head/stand/efi/libefi

2019-11-07 Thread Warner Losh
On Thu, Nov 7, 2019 at 8:39 AM Toomas Soome wrote: > > > On 7. Nov 2019, at 17:29, Warner Losh wrote: > > > > On Thu, Nov 7, 2019 at 4:17 AM Toomas Soome wrote: > >> Author: tsoome >> Date: Thu Nov 7 11:17:03 2019 >> New Revision: 354435 >>

Re: svn commit: r354435 - head/stand/efi/libefi

2019-11-07 Thread Warner Losh
On Thu, Nov 7, 2019 at 4:17 AM Toomas Soome wrote: > Author: tsoome > Date: Thu Nov 7 11:17:03 2019 > New Revision: 354435 > URL: https://svnweb.freebsd.org/changeset/base/354435 > > Log: > loader: implement fallback efi_devpath_to_name() > > UEFI 1.10 on macs does not seem to provide devpat

svn commit: r354408 - head/sys/conf

2019-11-06 Thread Warner Losh
Author: imp Date: Wed Nov 6 18:54:04 2019 New Revision: 354408 URL: https://svnweb.freebsd.org/changeset/base/354408 Log: Remove obsolete addition of MACHINE_CPUARCH In the past, we would add symbolic links for MACHINE_CPUARCH when it differed from MACHINE. This was for pc98 only, howeve

svn commit: r354242 - head/sys/dev/ena

2019-11-01 Thread Warner Losh
Author: imp Date: Sat Nov 2 02:05:09 2019 New Revision: 354242 URL: https://svnweb.freebsd.org/changeset/base/354242 Log: Make valdiate_rx_req_id static inline because it uses other static inline functions. gcc complains about this, most likely due to the subtle differences between inline a

svn commit: r354240 - in head/stand: efi/loader i386/libi386

2019-11-01 Thread Warner Losh
Author: imp Date: Fri Nov 1 21:26:43 2019 New Revision: 354240 URL: https://svnweb.freebsd.org/changeset/base/354240 Log: We don't support configuring serial PCI cards in EFI. Make this clearer in the source rather than obfuscaring it behind NO_PCI (nothing else declares that, so it's not m

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

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 20:08:10 2019 New Revision: 354205 URL: https://svnweb.freebsd.org/changeset/base/354205 Log: Remove redundant hw sysctl declaration. gcc CI complains, but clang doesn't. Modified: head/sys/dev/ow/ow.c Modified: head/sys/dev/ow/ow.c ==

svn commit: r354204 - head/sys/conf

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 19:53:46 2019 New Revision: 354204 URL: https://svnweb.freebsd.org/changeset/base/354204 Log: Move all the sys/dev/[a-j]* that are common to files.x86 All these device entries are common between the two files. Move them to files.x86. Also sort entries from thi

svn commit: r354203 - head/sys/conf

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 19:53:37 2019 New Revision: 354203 URL: https://svnweb.freebsd.org/changeset/base/354203 Log: Remove duplicate lines. Modified: head/sys/conf/files.x86 Modified: head/sys/conf/files.x86 =

svn commit: r354192 - head/sys/conf

2019-10-30 Thread Warner Losh
Author: imp Date: Wed Oct 30 17:18:11 2019 New Revision: 354192 URL: https://svnweb.freebsd.org/changeset/base/354192 Log: Make hyperv keyboard work again. r351049 bogusly deleted these lines from files.amd64 but failed to add them to files.x86. Since this works on i386, add them to files

Re: svn commit: r354076 - head/sys/dev/ow

2019-10-25 Thread Warner Losh
On Fri, Oct 25, 2019, 6:51 PM Rodney W. Grimes wrote: > > On Fri, 2019-10-25 at 19:03 +0300, Andriy Gapon wrote: > > > On 25/10/2019 18:56, Ian Lepore wrote: > > > > On Fri, 2019-10-25 at 18:51 +0300, Andriy Gapon wrote: > > > > > On 25/10/2019 18:46, Ian Lepore wrote: > > > > > > On Fri, 2019-10

Re: svn commit: r353936 - head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch

2019-10-24 Thread Warner Losh
On Thu, Oct 24, 2019 at 9:34 AM Alexey Dokuchaev wrote: > On Thu, Oct 24, 2019 at 09:14:07AM -0600, Warner Losh wrote: > > On Thu, Oct 24, 2019 at 2:26 AM Alexey Dokuchaev > wrote: > > > On Wed, Oct 23, 2019 at 04:57:12PM +, Dimitry Andric wrote: > > > >

Re: svn commit: r353936 - head/contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch

2019-10-24 Thread Warner Losh
On Thu, Oct 24, 2019 at 2:26 AM Alexey Dokuchaev wrote: > On Wed, Oct 23, 2019 at 04:57:12PM +, Dimitry Andric wrote: > > New Revision: 353936 > > URL: https://svnweb.freebsd.org/changeset/base/353936 > > > > Log: > > Bump clang's default target CPU for the i386 architecture (aka "x86") > t

svn commit: r353961 - head/usr.bin/dtc

2019-10-23 Thread Warner Losh
Author: imp Date: Wed Oct 23 19:23:31 2019 New Revision: 353961 URL: https://svnweb.freebsd.org/changeset/base/353961 Log: exit requires stdlib.h to be included to use. FreeBSD 10.3 requires this, and dtc is a bootstrap tool so it needs to compile there. Modified: head/usr.bin/dtc/dtb.

svn commit: r353639 - head/share/mk

2019-10-16 Thread Warner Losh
Author: imp Date: Wed Oct 16 13:20:36 2019 New Revision: 353639 URL: https://svnweb.freebsd.org/changeset/base/353639 Log: bsd.compat.mk isn't setup to be included outside of Makefile.inc so comment it out here until that's sorted out. Otherwise the build is broken. when TARGET_ARCH isn't de

Re: svn commit: r352707 - in head/sys: conf kern net sys

2019-10-12 Thread Warner Losh
size of a kernel > > >> structure that's part of the KBI. Isn't struct epoch_tracker part of > > >> the KBI? > > >> > > >> On Thu, Sep 26, 2019 at 12:46 PM Warner Losh wrote: > > >> > > > >> > But we should

svn commit: r353372 - head

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:45:34 2019 New Revision: 353372 URL: https://svnweb.freebsd.org/changeset/base/353372 Log: Add UPDATING entry for universe changes Suggested by: emaste@ Modified: head/UPDATING Modified: head/UPDATING ==

svn commit: r353373 - head/share/man/man7

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:45:40 2019 New Revision: 353373 URL: https://svnweb.freebsd.org/changeset/base/353373 Log: Add note about universe changes to arch and the need to add MAKE_OBSOLETE_GCC to get old behavior on universe. Modified: head/share/man/man7/arch.7 Modified: head/shar

svn commit: r353370 - head

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:18:46 2019 New Revision: 353370 URL: https://svnweb.freebsd.org/changeset/base/353370 Log: Wordsmith and simplify Simplify expressions as suggested by jhb. The extra indirection made sense in earlier versions of this patch, but not the final one. While

svn commit: r353368 - head/sys/netinet

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:02:06 2019 New Revision: 353368 URL: https://svnweb.freebsd.org/changeset/base/353368 Log: Fix casting error from newer gcc Cast the pointers to (uintptr_t) before assigning to type uint64_t. This eliminates an error from gcc when we cast the pointer to a

svn commit: r353367 - head

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 20:59:10 2019 New Revision: 353367 URL: https://svnweb.freebsd.org/changeset/base/353367 Log: Don't compile old gcc 4.2.1 archs by default in universe/tinderbox. Only compile clang supporting architectures of amd64, arm, arm64, i386, and riscv as part of unive

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Warner Losh
On Tue, Oct 8, 2019 at 8:33 AM Emmanuel Vadot wrote: > On Tue, 08 Oct 2019 08:22:33 -0600 > Ian Lepore wrote: > > > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > > Hi Glen, > > > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > > Glen Barber wrote: > > > > > > > Author: gjb >

Re: svn commit: r352520 - head/usr.sbin/pkg

2019-10-08 Thread Warner Losh
On Tue, Oct 8, 2019 at 8:22 AM Ian Lepore wrote: > On Tue, 2019-10-08 at 12:26 +0200, Emmanuel Vadot wrote: > > Hi Glen, > > > > On Thu, 19 Sep 2019 16:43:12 + (UTC) > > Glen Barber wrote: > > > > > Author: gjb > > > Date: Thu Sep 19 16:43:12 2019 > > > New Revision: 352520 > > > URL: https

Re: svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Warner Losh
On Tue, Oct 1, 2019, 2:34 PM Emmanuel Vadot wrote: > On Tue, 01 Oct 2019 14:29:58 -0600 > Ian Lepore wrote: > > > On Tue, 2019-10-01 at 20:21 +, Emmanuel Vadot wrote: > > > Author: manu > > > Date: Tue Oct 1 20:21:49 2019 > > > New Revision: 352940 > > > URL: https://svnweb.freebsd.org/chan

svn commit: r352846 - head/lib/libc/sys

2019-09-28 Thread Warner Losh
Author: imp Date: Sat Sep 28 17:15:48 2019 New Revision: 352846 URL: https://svnweb.freebsd.org/changeset/base/352846 Log: Revert the mode_t -> int changes and add a warning in the BUGS section instead. While FreeBSD's implementation of these expect an int inside of libc, that's an impl

Re: svn commit: r352795 - head/lib/libc/sys

2019-09-27 Thread Warner Losh
On Fri, Sep 27, 2019 at 2:38 PM Mateusz Guzik wrote: > On 9/27/19, Konstantin Belousov wrote: > > On Fri, Sep 27, 2019 at 08:32:20PM +0200, Mateusz Guzik wrote: > >> On 9/27/19, Warner Losh wrote: > >> > Document varadic args as int, since you can't have sh

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

2019-09-27 Thread Warner Losh
Author: imp Date: Fri Sep 27 20:56:44 2019 New Revision: 352821 URL: https://svnweb.freebsd.org/changeset/base/352821 Log: Push and pop xtrace correctly for run_early_customize run_early_customize is run as a shell list, not as a subshell, so that the side effects of setting variables ca

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

2019-09-27 Thread Warner Losh
Author: imp Date: Fri Sep 27 20:56:49 2019 New Revision: 352822 URL: https://svnweb.freebsd.org/changeset/base/352822 Log: Use set -o xtrace in preference to set -x for consistency with the rest of nanobsd.sh. Modified: head/tools/tools/nanobsd/defaults.sh Modified: head/tools/tools/nanobs

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

2019-09-27 Thread Warner Losh
Author: imp Date: Fri Sep 27 20:56:31 2019 New Revision: 352820 URL: https://svnweb.freebsd.org/changeset/base/352820 Log: Remove workaround for building on FreeBSD hosts prior to FreeBSD 10. rm -x was introduced in the FreeBSD 10 time frame. 4 years ago I added a function to cope with bu

svn commit: r352795 - head/lib/libc/sys

2019-09-27 Thread Warner Losh
Author: imp Date: Fri Sep 27 16:11:47 2019 New Revision: 352795 URL: https://svnweb.freebsd.org/changeset/base/352795 Log: Document varadic args as int, since you can't have short varadic args (they are promoted to ints). - `mode_t` is `uint16_t` (`sys/sys/_types.h`) - `openat` takes v

Re: svn commit: r352707 - in head/sys: conf kern net sys

2019-09-27 Thread Warner Losh
On Fri, Sep 27, 2019, 2:00 AM Niclas Zeising wrote: > On 2019-09-27 01:27, Warner Losh wrote: > > I talked to Gleb and this will move to opt_global.h. this will fix all > > these problems. > > > > Warner > > > > [ trimming CC list ] > So, in conclusion,

Re: svn commit: r352778 - in head/sys: conf sys

2019-09-26 Thread Warner Losh
This is a developer only option. Out-of-tree consumers would need to be compiled with the kernel directory, much like they would need to be for other things. You wouldn't run a system with this normally: it's only to debug specific instances of bad behavior. I think, like other debugging options, t

Re: svn commit: r352707 - in head/sys: conf kern net sys

2019-09-26 Thread Warner Losh
Kinda my point exactly... Warner On Thu, Sep 26, 2019 at 11:25 AM Ryan Stone wrote: > We also shouldn't have ifdef's that change the size of a kernel > structure that's part of the KBI. Isn't struct epoch_tracker part of > the KBI? > > On Thu, Sep 26,

Re: svn commit: r352707 - in head/sys: conf kern net sys

2019-09-26 Thread Warner Losh
But we shouldn't be including opt_foo.h files in sys/*.h files. That's the root cause of trouble here. Warner On Thu, Sep 26, 2019 at 9:11 AM Niclas Zeising wrote: > On 2019-09-26 17:03, Charlie Li via freebsd-x11 wrote: > > Kyle Evans wrote: > >> On Thu, Sep 26, 2019 at 9:49 AM Charlie Li wrot

svn commit: r352671 - head/sbin/nvmecontrol

2019-09-25 Thread Warner Losh
Author: imp Date: Wed Sep 25 07:51:30 2019 New Revision: 352671 URL: https://svnweb.freebsd.org/changeset/base/352671 Log: Size is unsigned, so remove the test entirely. The kernel won't crash if you have a bad value and I'd rather not have nvmecontrol know the internal details about how

svn commit: r352665 - head/sbin/nvmecontrol

2019-09-24 Thread Warner Losh
Author: imp Date: Wed Sep 25 00:24:57 2019 New Revision: 352665 URL: https://svnweb.freebsd.org/changeset/base/352665 Log: After my comnd changes, the number of threads and size weren't set. In addition, the flags are optional, but were made to be mandatory. Set these things, as well as sant

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