svn commit: r342760 - head/sys/conf

2019-01-04 Thread Ed Maste
Author: emaste Date: Fri Jan 4 14:42:36 2019 New Revision: 342760 URL: https://svnweb.freebsd.org/changeset/base/342760 Log: newvers: avoid clearing svn revision information with nested VCS dirs Consider the case where FreeBSD is checked out via Subversion with a (perhaps unrelated) .git

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

2019-01-04 Thread Chuck Tuffli
Author: chuck Date: Fri Jan 4 15:03:30 2019 New Revision: 342761 URL: https://svnweb.freebsd.org/changeset/base/342761 Log: Fix bhyve's NVMe queue bookkeeping Many size / length parameters in NVMe are "0's based", meaning, a value of 0x0 represents 1, 0x1 represents 2, etc.. While this l

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

2019-01-04 Thread Chuck Tuffli
Author: chuck Date: Fri Jan 4 15:03:35 2019 New Revision: 342762 URL: https://svnweb.freebsd.org/changeset/base/342762 Log: Fix bhyve's NVMe Completion Queue entry values The function which processes Admin commands was not returning the Command Specific value in Completion Queue Entry, D

svn commit: r342763 - head/sys/conf

2019-01-04 Thread Ed Maste
Author: emaste Date: Fri Jan 4 16:47:35 2019 New Revision: 342763 URL: https://svnweb.freebsd.org/changeset/base/342763 Log: newvers: retire p4 version support Perforce no longer offers a FreeBSD client and it not a viable VCS for FreeBSD development. Remove p4 version logic to simplify

svn commit: r342764 - head/sys/riscv/riscv

2019-01-04 Thread Mark Johnston
Author: markj Date: Fri Jan 4 17:08:45 2019 New Revision: 342764 URL: https://svnweb.freebsd.org/changeset/base/342764 Log: Clear PGA_WRITEABLE in pmap_remove_pages(). Reviewed by: kib MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:https://re

svn commit: r342765 - head/sys/riscv/riscv

2019-01-04 Thread Mark Johnston
Author: markj Date: Fri Jan 4 17:10:16 2019 New Revision: 342765 URL: https://svnweb.freebsd.org/changeset/base/342765 Log: Fix dirty bit handling in pmap_remove_write(). Reviewed by: jhb, kib MFC after:1 week Sponsored by: The FreeBSD Foundation Differential Revision:ht

svn commit: r342766 - head/sys/riscv/riscv

2019-01-04 Thread Mark Johnston
Author: markj Date: Fri Jan 4 17:14:50 2019 New Revision: 342766 URL: https://svnweb.freebsd.org/changeset/base/342766 Log: Don't enable interrupts in init_secondary(). The MI kernel assumes that interrupts will not be enabled on APs until after the first context switch. In particular,

svn commit: r342767 - in head/sys: amd64/amd64 i386/i386

2019-01-04 Thread Konstantin Belousov
Author: kib Date: Fri Jan 4 17:25:47 2019 New Revision: 342767 URL: https://svnweb.freebsd.org/changeset/base/342767 Log: x86: Report per-cpu IPI TLB shootdown generation in ddb 'show pcpu' output. It is useful for inspecting tlb shootdown hangs. The smp_tlb_generation value is availabl

svn commit: r342768 - in head: lib/libc/sys sys/kern sys/netinet sys/ofed/drivers/infiniband/ulp/sdp

2019-01-04 Thread Mark Johnston
Author: markj Date: Fri Jan 4 17:31:50 2019 New Revision: 342768 URL: https://svnweb.freebsd.org/changeset/base/342768 Log: Support MSG_DONTWAIT in send*(2). As it does for recv*(2), MSG_DONTWAIT indicates that the call should not block, returning EAGAIN instead. Linux and OpenBSD both

svn commit: r342769 - head/sys/i386/include

2019-01-04 Thread Konstantin Belousov
Author: kib Date: Fri Jan 4 17:33:07 2019 New Revision: 342769 URL: https://svnweb.freebsd.org/changeset/base/342769 Log: i386: Use atomic 64bit load to read PDE value from PAE pagetables in pmap_kextract(). pmap_kextract() can race with promotion/demotion on the kernel page table, in

svn commit: r342770 - head/sys/dev/asmc

2019-01-04 Thread David Bright
Author: dab Date: Fri Jan 4 18:21:49 2019 New Revision: 342770 URL: https://svnweb.freebsd.org/changeset/base/342770 Log: asmc: Patch to add MacBook Pro 9,2 support PR: 211513 Submitted by: William Theesfeld Jr Reported by: William Theesfeld Jr MFC after:1 week Modi

svn commit: r342771 - in head: share/man/man4 sys/kern sys/powerpc/powernv sys/powerpc/powerpc sys/powerpc/ps3 sys/powerpc/pseries sys/sys sys/x86/x86

2019-01-04 Thread Conrad Meyer
Author: cem Date: Fri Jan 4 18:31:17 2019 New Revision: 342771 URL: https://svnweb.freebsd.org/changeset/base/342771 Log: Expose threads-per-core and physical core count information With new sysctls (to the best of our ability do detect them). Restructured smp.4 slightly for clarity (ke

svn commit: r342772 - head/sys/sys

2019-01-04 Thread Conrad Meyer
Author: cem Date: Fri Jan 4 18:34:44 2019 New Revision: 342772 URL: https://svnweb.freebsd.org/changeset/base/342772 Log: Bump __FreeBSD_version for r342771 Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r342773 - head/lib/csu/tests

2019-01-04 Thread Ed Maste
Author: emaste Date: Fri Jan 4 18:35:25 2019 New Revision: 342773 URL: https://svnweb.freebsd.org/changeset/base/342773 Log: Add explicit csu test dependency lib/csu/tests/dynamiclib requires libh_csu.so be built first. I'm not sure this is the most correct/best way to address this but

svn commit: r342774 - head/sys/conf

2019-01-04 Thread Andrew Gallatin
Author: gallatin Date: Fri Jan 4 18:38:27 2019 New Revision: 342774 URL: https://svnweb.freebsd.org/changeset/base/342774 Log: Limit git history searches in newvers.sh newvers.sh takes upwards of 4-5 seconds to complete on trees checked out from github, due to searching the entire histor

Re: svn commit: r342771 - in head: share/man/man4 sys/kern sys/powerpc/powernv sys/powerpc/powerpc sys/powerpc/ps3 sys/powerpc/pseries sys/sys sys/x86/x86

2019-01-04 Thread Rodney W. Grimes
> Author: cem > Date: Fri Jan 4 18:31:17 2019 > New Revision: 342771 > URL: https://svnweb.freebsd.org/changeset/base/342771 > > Log: > Expose threads-per-core and physical core count information > > With new sysctls (to the best of our ability do detect them). Restructured > smp.4 slig

svn commit: r342775 - head/sys/i386/include

2019-01-04 Thread Konstantin Belousov
Author: kib Date: Fri Jan 4 19:10:46 2019 New Revision: 342775 URL: https://svnweb.freebsd.org/changeset/base/342775 Log: Fix i386 LINT build after r342769. It seems that libkern/mcount.c is the only consumer of vm/pmap.h that does not include machine/atomic.h. Make it work by bringing

svn commit: r342776 - head/sbin/savecore

2019-01-04 Thread Mark Johnston
Author: markj Date: Fri Jan 4 19:20:19 2019 New Revision: 342776 URL: https://svnweb.freebsd.org/changeset/base/342776 Log: Disable savecore(8)'s libcasper support when WITHOUT_DYNAMICROOT=yes. This follows the example of other Capsicumized programs in /sbin. Reported by: Manfred Ant

svn commit: r342778 - head/sys/dev/usb

2019-01-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 4 21:09:38 2019 New Revision: 342778 URL: https://svnweb.freebsd.org/changeset/base/342778 Log: Reduce timeout for reading the USB HUB port status to 1000ms and try to filter out dead USB HUB devices by implementing an error counter, so that the USB enumeratio

svn commit: r342779 - head/sys/kern

2019-01-04 Thread Kristof Provost
Author: kp Date: Fri Jan 4 21:12:17 2019 New Revision: 342779 URL: https://svnweb.freebsd.org/changeset/base/342779 Log: Remove unneeded NULL check for td_ucred td_ucred is always set, so we don't need the ternary expression to check for it. Modified: head/sys/kern/kern_sig.c Modifie

svn commit: r342784 - head/share/man/man5

2019-01-04 Thread Kristof Provost
Author: kp Date: Sat Jan 5 05:50:16 2019 New Revision: 342784 URL: https://svnweb.freebsd.org/changeset/base/342784 Log: pf: Remove references to pflow from the pf.conf man page pflow no longer exists. It was removed as part of a pf update back in 2012 (r240233). PR: 22395

svn commit: r342785 - head/stand/i386/libi386

2019-01-04 Thread Toomas Soome
Author: tsoome Date: Sat Jan 5 07:20:00 2019 New Revision: 342785 URL: https://svnweb.freebsd.org/changeset/base/342785 Log: With buggy int13 ah=15, we can mis-identify the floppy devices. We have no option than trust INT13 ah=08 return code during the init phase. PR: 234460