svn commit: r326387 - head/sys/dev/ata/chipsets

2017-11-29 Thread Eitan Adler
Author: eadler Date: Thu Nov 30 07:24:33 2017 New Revision: 326387 URL: https://svnweb.freebsd.org/changeset/base/326387 Log: Fix typo Reported by: mjg, z...@dragonflybsd.org Modified: head/sys/dev/ata/chipsets/ata-micron.c Modified: head/sys/dev/ata/chipsets/ata-micron.c ==

svn commit: r326386 - head/share/man/man3

2017-11-29 Thread Eitan Adler
Author: eadler Date: Thu Nov 30 07:15:32 2017 New Revision: 326386 URL: https://svnweb.freebsd.org/changeset/base/326386 Log: Fix pthread_condattr(3) type Reported by: Sascha Wildner Reviewed by: mjg Modified: head/share/man/man3/pthread_condattr.3 Modified: head/share/man/man3/pthre

svn commit: r326385 - head/usr.bin/pr

2017-11-29 Thread Eitan Adler
Author: eadler Date: Thu Nov 30 07:08:45 2017 New Revision: 326385 URL: https://svnweb.freebsd.org/changeset/base/326385 Log: Remove advertising clause from pr(1) Permitted by https://www.freebsd.org/copyright/license.html Renumber 4->3 to be consistent with other files Modified: head/

Re: svn commit: r326377 - in head/sys: amd64/conf arm/conf i386/conf mips/conf modules/aic7xxx/ahc modules/aic7xxx/ahd powerpc/conf sparc64/conf

2017-11-29 Thread Scott Long
> On Nov 29, 2017, at 6:19 PM, Bruce Evans wrote: > > On Wed, 29 Nov 2017, Scott Long wrote: > >> Log: >> It's time to retire AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT from >> the standard kernels. They are still available as custom compile >> options. > > MI NOTES still gives MI sizes f

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

2017-11-29 Thread Peter Holm
On Thu, Nov 30, 2017 at 06:18:54AM +0100, Mateusz Guzik wrote: > So this is not my bug after all, it just had unfortunate timing with > scheduler changes. > > I can't reproduce anything with r326376. > Thank you for investigating. - Peter > On Tue, Nov 28, 2017 at 9:37 PM, Alan Somers wrote:

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

2017-11-29 Thread Cy Schubert
In message , Don Lewis writes: > On 29 Nov, Cy Schubert wrote: > > In message <201711292328.vatnseom046...@repo.freebsd.org>, Hans Petter > > Selasky > > writes: > >> Author: hselasky > >> Date: Wed Nov 29 23:28:40 2017 > >> New Revision: 326376 > >> URL: https://svnweb.freebsd.org/changeset/base/

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

2017-11-29 Thread Mateusz Guzik
So this is not my bug after all, it just had unfortunate timing with scheduler changes. I can't reproduce anything with r326376. On Tue, Nov 28, 2017 at 9:37 PM, Alan Somers wrote: > On Sun, Nov 26, 2017 at 11:49 PM, Peter Holm wrote: > > On Sun, Nov 26, 2017 at 10:11:21PM +0100, Mateusz Guzik

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

2017-11-29 Thread Don Lewis
On 29 Nov, Cy Schubert wrote: > In message <201711292328.vatnseom046...@repo.freebsd.org>, Hans Petter > Selasky > writes: >> Author: hselasky >> Date: Wed Nov 29 23:28:40 2017 >> New Revision: 326376 >> URL: https://svnweb.freebsd.org/changeset/base/326376 >> >> Log: >> The sched_add() function

svn commit: r326384 - head/stand/powerpc/kboot

2017-11-29 Thread Warner Losh
Author: imp Date: Thu Nov 30 05:01:56 2017 New Revision: 326384 URL: https://svnweb.freebsd.org/changeset/base/326384 Log: Use const pointers to avoid casting away constness. The host_open interface was a legitimate mismatch to the userboot function, while the other pointers didn't need t

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

2017-11-29 Thread Cy Schubert
In message <201711292328.vatnseom046...@repo.freebsd.org>, Hans Petter Selasky writes: > Author: hselasky > Date: Wed Nov 29 23:28:40 2017 > New Revision: 326376 > URL: https://svnweb.freebsd.org/changeset/base/326376 > > Log: > The sched_add() function is not only used when the thread is initia

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

2017-11-29 Thread Cy Schubert
In message <201711292328.vatnseom046...@repo.freebsd.org>, Hans Petter Selasky writes: > Author: hselasky > Date: Wed Nov 29 23:28:40 2017 > New Revision: 326376 > URL: https://svnweb.freebsd.org/changeset/base/326376 > > Log: > The sched_add() function is not only used when the thread is initia

svn commit: r326383 - head/sys/x86/cpufreq

2017-11-29 Thread Jung-uk Kim
Author: jkim Date: Thu Nov 30 01:40:07 2017 New Revision: 326383 URL: https://svnweb.freebsd.org/changeset/base/326383 Log: Add a tunable "debug.hwpstate_verify" to check P-state after changing it and turn it off by default. It is very inefficient to verify current P-state of each core, esp

Re: svn commit: r326377 - in head/sys: amd64/conf arm/conf i386/conf mips/conf modules/aic7xxx/ahc modules/aic7xxx/ahd powerpc/conf sparc64/conf

2017-11-29 Thread Bruce Evans
On Wed, 29 Nov 2017, Scott Long wrote: Log: It's time to retire AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT from the standard kernels. They are still available as custom compile options. MI NOTES still gives MI sizes for these options. It seems unlikely that these sizes are still correc

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

2017-11-29 Thread Bruce Evans
On Wed, 29 Nov 2017, Alex Richardson wrote: Log: Don't fail the build due to clang integer constant range warnings This warning checks whether a constant is out of range of the integer type. An example is `comparison of 'u_int' > 4294967295 is always false` and in this case the warning make

svn commit: r326378 - head/sys/x86/cpufreq

2017-11-29 Thread Jung-uk Kim
Author: jkim Date: Wed Nov 29 23:52:31 2017 New Revision: 326378 URL: https://svnweb.freebsd.org/changeset/base/326378 Log: Fix style(9). Modified: head/sys/x86/cpufreq/hwpstate.c Modified: head/sys/x86/cpufreq/hwpstate.c ==

svn commit: r326377 - in head/sys: amd64/conf arm/conf i386/conf mips/conf modules/aic7xxx/ahc modules/aic7xxx/ahd powerpc/conf sparc64/conf

2017-11-29 Thread Scott Long
Author: scottl Date: Wed Nov 29 23:41:49 2017 New Revision: 326377 URL: https://svnweb.freebsd.org/changeset/base/326377 Log: It's time to retire AHC_REG_PRETTY_PRINT and AHD_REG_PRETTY_PRINT from the standard kernels. They are still available as custom compile options. Modified: head/sy

svn commit: r326376 - head/sys/kern

2017-11-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 29 23:28:40 2017 New Revision: 326376 URL: https://svnweb.freebsd.org/changeset/base/326376 Log: The sched_add() function is not only used when the thread is initially started, but also by the turnstiles to mark a thread as runnable for all locks, for instance

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

2017-11-29 Thread Gleb Smirnoff
Hi Nathan, On Sat, Nov 25, 2017 at 11:41:05PM +, Nathan Whitehorn wrote: N> Author: nwhitehorn N> Date: Sat Nov 25 23:41:05 2017 N> New Revision: 326218 N> URL: https://svnweb.freebsd.org/changeset/base/326218 N> N> Log: N> Remove some, but not all, assumptions that the BSP is CPU 0 and t

svn commit: r326375 - head/share/mk

2017-11-29 Thread Alex Richardson
Author: arichardson Date: Wed Nov 29 21:16:14 2017 New Revision: 326375 URL: https://svnweb.freebsd.org/changeset/base/326375 Log: Don't fail the build due to clang integer constant range warnings This warning checks whether a constant is out of range of the integer type. An example is `c

svn commit: r326371 - head/sys/vm

2017-11-29 Thread Mark Johnston
Author: markj Date: Wed Nov 29 19:47:09 2017 New Revision: 326371 URL: https://svnweb.freebsd.org/changeset/base/326371 Log: Verify the object/vnode association after vget() in vm_pageout_clean(). It's theoretically possible for the vnode and object to be disassociated while locks are dro

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

2017-11-29 Thread Hartmann, O.
On Wed, 29 Nov 2017 10:59:34 -0600 Justin Hibbits wrote: > On Wed, Nov 29, 2017 at 10:13 AM, Konstantin Belousov > wrote: > > On Wed, Nov 29, 2017 at 04:33:50PM +0100, Hans Petter Selasky > > wrote: > >> Hi Nathan, > >> > >> The chunk below causes sched_pin() to stop working and should be > >>

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

2017-11-29 Thread Hans Petter Selasky
On 11/29/17 17:59, Justin Hibbits wrote: On Wed, Nov 29, 2017 at 10:13 AM, Konstantin Belousov wrote: On Wed, Nov 29, 2017 at 04:33:50PM +0100, Hans Petter Selasky wrote: Hi Nathan, The chunk below causes sched_pin() to stop working and should be removed from your commit ??!! It probably exp

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

2017-11-29 Thread Hans Petter Selasky
On 11/29/17 19:36, Hartmann, O. wrote: I can not understand why this untested patch isn't reverted already. Hi, Setting: kern.smp.disabled=1 In the loader or /boot/loader.conf should get your system up and running again, so that you can build a new kernel or revert the broken diff. Hope tha

svn commit: r326370 - head/sys/net

2017-11-29 Thread Stephen Hurd
Author: shurd Date: Wed Nov 29 18:21:17 2017 New Revision: 326370 URL: https://svnweb.freebsd.org/changeset/base/326370 Log: Fix comment introduced in r326369 The code uses the set of all CPUs, it doesn't zero out the set. Sponsored by: Limelight Networks Modified: head/sys/net/ifli

svn commit: r326369 - head/sys/net

2017-11-29 Thread Stephen Hurd
Author: shurd Date: Wed Nov 29 18:14:57 2017 New Revision: 326369 URL: https://svnweb.freebsd.org/changeset/base/326369 Log: Ensure that ctx->ifc_cpus is always initialized If a device didn't support MSI-X, ctx->ifc_cpus would not be initialized, but the IRQ allocation routines still uses

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

2017-11-29 Thread Justin Hibbits
On Wed, Nov 29, 2017 at 10:13 AM, Konstantin Belousov wrote: > On Wed, Nov 29, 2017 at 04:33:50PM +0100, Hans Petter Selasky wrote: >> Hi Nathan, >> >> The chunk below causes sched_pin() to stop working and should be removed >> from your commit ??!! >> >> It probably explains the hangs seen recent

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

2017-11-29 Thread Konstantin Belousov
On Wed, Nov 29, 2017 at 04:33:50PM +0100, Hans Petter Selasky wrote: > Hi Nathan, > > The chunk below causes sched_pin() to stop working and should be removed > from your commit ??!! > > It probably explains the hangs seen recently reported by various brave > people running 12-current :-) > >

Re: svn commit: r326343 - head/etc/rc.d

2017-11-29 Thread Alexey Dokuchaev
On Wed, Nov 29, 2017 at 08:26:35AM -0700, Alan Somers wrote: > On Wed, Nov 29, 2017 at 4:40 AM, Dimitry Andric wrote: > > On 28 Nov 2017, at 21:44, Alan Somers wrote: > >> New Revision: 326343 > >> URL: https://svnweb.freebsd.org/changeset/base/326343 > >> > >> Log: > >> Fix fetching ntp leapfil

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

2017-11-29 Thread Hans Petter Selasky
Hi Nathan, The chunk below causes sched_pin() to stop working and should be removed from your commit ??!! It probably explains the hangs seen recently reported by various brave people running 12-current :-) Specifically I see threads migrating between CPUs when td->td_pinned > 0 using the

Re: svn commit: r326343 - head/etc/rc.d

2017-11-29 Thread Alan Somers
On Wed, Nov 29, 2017 at 4:40 AM, Dimitry Andric wrote: > On 28 Nov 2017, at 21:44, Alan Somers wrote: >> >> Author: asomers >> Date: Tue Nov 28 20:44:10 2017 >> New Revision: 326343 >> URL: https://svnweb.freebsd.org/changeset/base/326343 >> >> Log: >> Fix fetching ntp leapfile after 325256 >> >

svn commit: r326367 - head/sys/vm

2017-11-29 Thread Mark Johnston
Author: markj Date: Wed Nov 29 14:34:05 2017 New Revision: 326367 URL: https://svnweb.freebsd.org/changeset/base/326367 Log: Remove some comments that became incorrect with r325530. Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c ==

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

2017-11-29 Thread Guido Falsi
On 11/29/2017 14:14, Hartmann, O. wrote: > On Wed, 29 Nov 2017 12:49:22 + (UTC) > Alexey Dokuchaev wrote: > >> Author: danfe (ports committer) >> Date: Wed Nov 29 12:49:22 2017 >> New Revision: 326364 >> URL: https://svnweb.freebsd.org/changeset/base/326364 >> >> Log: >> Fix several noticed

Re: svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hartmann, O.
On Wed, 29 Nov 2017 13:16:28 +0100 Hans Petter Selasky wrote: > On 11/29/17 13:16, Hartmann, O. wrote: > > On Wed, 29 Nov 2017 12:49:19 +0100 > > Hans Petter Selasky wrote: > > > >> On 11/29/17 11:51, Hartmann, O. wrote: > >>> On Wed, 29 Nov 2017 09:40:11 + (UTC) > >>> Hans Petter Selas

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

2017-11-29 Thread Alexey Dokuchaev
On Wed, Nov 29, 2017 at 02:14:05PM +0100, Hartmann, O. wrote: > On Wed, 29 Nov 2017 12:49:22 + (UTC) > Alexey Dokuchaev wrote: > > Author: danfe (ports committer) > > Date: Wed Nov 29 12:49:22 2017 > > New Revision: 326364 > > URL: https://svnweb.freebsd.org/changeset/base/326364 > > > > Log:

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

2017-11-29 Thread Hartmann, O.
On Wed, 29 Nov 2017 12:49:22 + (UTC) Alexey Dokuchaev wrote: > Author: danfe (ports committer) > Date: Wed Nov 29 12:49:22 2017 > New Revision: 326364 > URL: https://svnweb.freebsd.org/changeset/base/326364 > > Log: > Fix several noticed style issues. > > Reviewed by:bde > A

svn commit: r326364 - head/sys/kern

2017-11-29 Thread Alexey Dokuchaev
Author: danfe (ports committer) Date: Wed Nov 29 12:49:22 2017 New Revision: 326364 URL: https://svnweb.freebsd.org/changeset/base/326364 Log: Fix several noticed style issues. Reviewed by: bde Approved by: bapt Modified: head/sys/kern/subr_kdb.c Modified: head/sys/kern/subr_kdb.c =

Re: svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hartmann, O.
On Wed, 29 Nov 2017 13:16:28 +0100 Hans Petter Selasky wrote: > On 11/29/17 13:16, Hartmann, O. wrote: > > On Wed, 29 Nov 2017 12:49:19 +0100 > > Hans Petter Selasky wrote: > > > >> On 11/29/17 11:51, Hartmann, O. wrote: > >>> On Wed, 29 Nov 2017 09:40:11 + (UTC) > >>> Hans Petter Selas

Re: svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hans Petter Selasky
On 11/29/17 13:16, Hartmann, O. wrote: On Wed, 29 Nov 2017 12:49:19 +0100 Hans Petter Selasky wrote: On 11/29/17 11:51, Hartmann, O. wrote: On Wed, 29 Nov 2017 09:40:11 + (UTC) Hans Petter Selasky wrote: Author: hselasky Date: Wed Nov 29 09:40:11 2017 New Revision: 326362 URL: https

Re: svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hartmann, O.
On Wed, 29 Nov 2017 12:49:19 +0100 Hans Petter Selasky wrote: > On 11/29/17 11:51, Hartmann, O. wrote: > > On Wed, 29 Nov 2017 09:40:11 + (UTC) > > Hans Petter Selasky wrote: > > > >> Author: hselasky > >> Date: Wed Nov 29 09:40:11 2017 > >> New Revision: 326362 > >> URL: https://svnweb.f

Re: svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hans Petter Selasky
On 11/29/17 11:51, Hartmann, O. wrote: On Wed, 29 Nov 2017 09:40:11 + (UTC) Hans Petter Selasky wrote: Author: hselasky Date: Wed Nov 29 09:40:11 2017 New Revision: 326362 URL: https://svnweb.freebsd.org/changeset/base/326362 Log: Disallow TUN and TAP character device IOCTLs to modify

Re: svn commit: r326343 - head/etc/rc.d

2017-11-29 Thread Dimitry Andric
On 28 Nov 2017, at 21:44, Alan Somers wrote: > > Author: asomers > Date: Tue Nov 28 20:44:10 2017 > New Revision: 326343 > URL: https://svnweb.freebsd.org/changeset/base/326343 > > Log: > Fix fetching ntp leapfile after 325256 > > Submitted by:Ronald Klop > Reviewed by: asomers Rev

Re: svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hartmann, O.
On Wed, 29 Nov 2017 09:40:11 + (UTC) Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Nov 29 09:40:11 2017 > New Revision: 326362 > URL: https://svnweb.freebsd.org/changeset/base/326362 > > Log: > Disallow TUN and TAP character device IOCTLs to modify the network > device type to

Re: svn commit: r326314 - in head/sys: ddb kern sys

2017-11-29 Thread Alexey Dokuchaev
On Wed, Nov 29, 2017 at 08:52:04PM +1100, Bruce Evans wrote: > On Wed, 29 Nov 2017, Alexey Dokuchaev wrote: > ... > X Index: kern/subr_kdb.c > X === > X --- kern/subr_kdb.c (revision 326310) > X +++ kern/subr_kdb.c (working copy) > X @

svn commit: r326363 - in head/sys/dev/mlx5: . mlx5_en

2017-11-29 Thread Konstantin Belousov
Author: kib Date: Wed Nov 29 10:04:11 2017 New Revision: 326363 URL: https://svnweb.freebsd.org/changeset/base/326363 Log: Implement hardware mlx5(4) rx timestamps. Driver support is only provided for ConnectX4/5. System-time timestamp is calculated based on the free-running counter

Re: svn commit: r326314 - in head/sys: ddb kern sys

2017-11-29 Thread Bruce Evans
On Wed, 29 Nov 2017, Alexey Dokuchaev wrote: On Wed, Nov 29, 2017 at 04:04:49AM +1100, Bruce Evans wrote: I use the following fix of disabling the spam in all cases (unless reenabled in all cases using ddb): [...] Since someone is hacking on subr_kdb.c, may I ask them to commit attached small

svn commit: r326362 - in head: share/man/man4 sys/net

2017-11-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 29 09:40:11 2017 New Revision: 326362 URL: https://svnweb.freebsd.org/changeset/base/326362 Log: Disallow TUN and TAP character device IOCTLs to modify the network device type to any value. This can cause page faults and panics due to accessing uninitialized fi

svn commit: r326361 - head/usr.bin/ipcs

2017-11-29 Thread Xin LI
Author: delphij Date: Wed Nov 29 09:18:24 2017 New Revision: 326361 URL: https://svnweb.freebsd.org/changeset/base/326361 Log: Remove unused include. MFC after:2 weeks Modified: head/usr.bin/ipcs/ipc.c Modified: head/usr.bin/ipcs/ipc.c ===