svn commit: r327992 - in head/sys/powerpc: aim booke include powerpc

2018-01-14 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 15 06:46:33 2018 New Revision: 327992 URL: https://svnweb.freebsd.org/changeset/base/327992 Log: Move the pmap-specific code in copyinout.c that gets pointers to userland buffers into a new pmap-module function pmap_map_user_ptr() that can be implemented by

Re: svn commit: r327991 - head/stand/fdt

2018-01-14 Thread Kyle Evans
On Sun, Jan 14, 2018 at 11:00 PM, Kyle Evans wrote: > Author: kevans > Date: Mon Jan 15 05:00:26 2018 > New Revision: 327991 > URL: https://svnweb.freebsd.org/changeset/base/327991 > > Log: > stand/fdt: don't send clobbered FDT to the kernel > > If fdt_overlay_apply fails

svn commit: r327991 - head/stand/fdt

2018-01-14 Thread Kyle Evans
Author: kevans Date: Mon Jan 15 05:00:26 2018 New Revision: 327991 URL: https://svnweb.freebsd.org/changeset/base/327991 Log: stand/fdt: don't send clobbered FDT to the kernel If fdt_overlay_apply fails at some stage to apply the overlay to the base, both the base and overlay may be in

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

2018-01-14 Thread Peter Grehan
Author: grehan Date: Mon Jan 15 04:52:12 2018 New Revision: 327990 URL: https://svnweb.freebsd.org/changeset/base/327990 Log: The vmm(4) man page is conditional on MK_BHYVE. Submitted by: kevlo Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Nathan Whitehorn
On 01/14/18 15:42, Nathan Whitehorn wrote: On 01/14/18 09:57, Nathan Whitehorn wrote: On 01/14/18 09:52, Konstantin Belousov wrote: On Sun, Jan 14, 2018 at 09:30:53AM -0800, Nathan Whitehorn wrote: The immediate consequence of that is that no MI code that knows about direct maps can

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Nathan Whitehorn
On 01/14/18 09:57, Nathan Whitehorn wrote: On 01/14/18 09:52, Konstantin Belousov wrote: On Sun, Jan 14, 2018 at 09:30:53AM -0800, Nathan Whitehorn wrote: The immediate consequence of that is that no MI code that knows about direct maps can possibly take advantage of the direct map on this

svn commit: r327979 - head/sys/arm/allwinner

2018-01-14 Thread Emmanuel Vadot
Author: manu Date: Sun Jan 14 22:05:29 2018 New Revision: 327979 URL: https://svnweb.freebsd.org/changeset/base/327979 Log: allwinner: mmc: Multiple improvement - Add a per compatible configuration struct - Not all SoC uses the same size for DMA transfert, add this into the

svn commit: r327977 - head/sys/fs/ext2fs

2018-01-14 Thread Fedor Uporov
Author: fsu Date: Sun Jan 14 20:46:39 2018 New Revision: 327977 URL: https://svnweb.freebsd.org/changeset/base/327977 Log: Add metadata_csum feature support. Reviewed by: pfg (mentor) Approved by: pfg (mentor) MFC after: 6 months Differential Revision:

svn commit: r327976 - in head/sys: arm/broadcom/bcm2835 dts/arm modules/rpi_pwm

2018-01-14 Thread Poul-Henning Kamp
Author: phk Date: Sun Jan 14 20:36:21 2018 New Revision: 327976 URL: https://svnweb.freebsd.org/changeset/base/327976 Log: Add a rudimentary PWM driver for the RaspberryPi. Control is through sysctl, only GPIO12 supported. bootverbose creates sysctls for direct mangling of relevant

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

2018-01-14 Thread Eitan Adler
Author: eadler Date: Sun Jan 14 20:30:58 2018 New Revision: 327975 URL: https://svnweb.freebsd.org/changeset/base/327975 Log: vmm(4): add to Makefile r326281 added the vmm man page, but it needs to be installed. PR: 205705 Modified: head/share/man/man4/Makefile Modified:

Re: svn commit: r327949 - in head/sys/dev: aacraid advansys ath beri/virtio bnxt bwn ciss cxgbe/crypto esp fb gpio if_ndis iwi kbd liquidio liquidio/base mpr mps mpt mrsas mxge netmap nvme pst ral rp

2018-01-14 Thread Warner Losh
On Jan 14, 2018 10:15 AM, "Mark Johnston" wrote: On Sat, Jan 13, 2018 at 05:34:24PM -0500, Pedro Giffuni wrote: > > > On 01/13/18 17:30, Pedro F. Giffuni wrote: > > Author: pfg > > Date: Sat Jan 13 22:30:30 2018 > > New Revision: 327949 > > URL:

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Nathan Whitehorn
On 01/14/18 09:52, Konstantin Belousov wrote: On Sun, Jan 14, 2018 at 09:30:53AM -0800, Nathan Whitehorn wrote: The immediate consequence of that is that no MI code that knows about direct maps can possibly take advantage of the direct map on this platform. Do we really want that to save some

svn commit: r327973 - head/cddl/usr.sbin/dtrace/tests/tools

2018-01-14 Thread Mark Johnston
Author: markj Date: Sun Jan 14 17:56:19 2018 New Revision: 327973 URL: https://svnweb.freebsd.org/changeset/base/327973 Log: Remove tst.zonename.d from the list of expected failures. X-MFC with: r327888 Modified: head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh Modified:

svn commit: r327972 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2018-01-14 Thread Mark Johnston
Author: markj Date: Sun Jan 14 17:55:40 2018 New Revision: 327972 URL: https://svnweb.freebsd.org/changeset/base/327972 Log: Use the thread's ucred struct when fetching jid or jailname. Reported by: mjg X-MFC with: r327888 Modified:

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Konstantin Belousov
On Sun, Jan 14, 2018 at 09:30:53AM -0800, Nathan Whitehorn wrote: > The immediate consequence of that is that no MI code that knows about > direct maps can possibly take advantage of the direct map on this > platform. Do we really want that to save some conditional logic that > would get

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Nathan Whitehorn
On 01/14/18 09:05, Konstantin Belousov wrote: On Sun, Jan 14, 2018 at 08:06:19AM -0800, Nathan Whitehorn wrote: On 01/14/18 00:30, Konstantin Belousov wrote: On Sat, Jan 13, 2018 at 08:31:40PM -0800, Nathan Whitehorn wrote: On 01/13/18 15:28, Nathan Whitehorn wrote: On 01/13/18 15:24,

Re: svn commit: r327949 - in head/sys/dev: aacraid advansys ath beri/virtio bnxt bwn ciss cxgbe/crypto esp fb gpio if_ndis iwi kbd liquidio liquidio/base mpr mps mpt mrsas mxge netmap nvme pst ral rp

2018-01-14 Thread Mark Johnston
On Sat, Jan 13, 2018 at 05:34:24PM -0500, Pedro Giffuni wrote: > > > On 01/13/18 17:30, Pedro F. Giffuni wrote: > > Author: pfg > > Date: Sat Jan 13 22:30:30 2018 > > New Revision: 327949 > > URL: https://svnweb.freebsd.org/changeset/base/327949 > > > > Log: > >dev: make some use of

Re: svn commit: r327888 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety cddl/contrib/opensolaris/lib/libdtrace/common cddl/usr.sbin/dtrace/tests/common/safety sys/cddl/contrib/op

2018-01-14 Thread Mark Johnston
On Fri, Jan 12, 2018 at 11:37:51PM +0100, Mateusz Guzik wrote: > On Fri, Jan 12, 2018 at 8:59 PM, Mark Johnston wrote: > > > Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c > > > >

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Konstantin Belousov
On Sun, Jan 14, 2018 at 08:06:19AM -0800, Nathan Whitehorn wrote: > > > On 01/14/18 00:30, Konstantin Belousov wrote: > > On Sat, Jan 13, 2018 at 08:31:40PM -0800, Nathan Whitehorn wrote: > >> > >> On 01/13/18 15:28, Nathan Whitehorn wrote: > >>> > >>> On 01/13/18 15:24, Konstantin Belousov

svn commit: r327971 - in head/sys: kern sys

2018-01-14 Thread Ian Lepore
Author: ian Date: Sun Jan 14 17:01:37 2018 New Revision: 327971 URL: https://svnweb.freebsd.org/changeset/base/327971 Log: Add RTC clock conversions for BCD values, with non-panic validation. RTC clock hardware frequently uses BCD numbers. Currently the low-level bcd2bin() and bin2bcd()

svn commit: r327970 - head/sbin/fsck_ffs

2018-01-14 Thread Warner Losh
Author: imp Date: Sun Jan 14 16:55:14 2018 New Revision: 327970 URL: https://svnweb.freebsd.org/changeset/base/327970 Log: Report CG checksum mismatches. These errors are non-fatal. The previous behavior is preserved (the CG checksum is fixed). We're just noisy about it now. Reviewed

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Nathan Whitehorn
On 01/14/18 00:30, Konstantin Belousov wrote: On Sat, Jan 13, 2018 at 08:31:40PM -0800, Nathan Whitehorn wrote: On 01/13/18 15:28, Nathan Whitehorn wrote: On 01/13/18 15:24, Konstantin Belousov wrote: On Sat, Jan 13, 2018 at 11:14:53PM +, Nathan Whitehorn wrote: +/* + * We (usually)

svn commit: r327969 - head/sys/i386/conf

2018-01-14 Thread Ed Maste
Author: emaste Date: Sun Jan 14 16:04:51 2018 New Revision: 327969 URL: https://svnweb.freebsd.org/changeset/base/327969 Log: Enable VIMAGE in i386 GENERIC (revert r327840) We've switched back to ld.bfd on i386 for now. PR: 225077 Sponsored by: The FreeBSD Foundation

svn commit: r327968 - head/sys/kern

2018-01-14 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jan 14 15:01:25 2018 New Revision: 327968 URL: https://svnweb.freebsd.org/changeset/base/327968 Log: Remove trailing whitespace. No functional change. Modified: head/sys/kern/kern_fork.c Modified: head/sys/kern/kern_fork.c

svn commit: r327967 - head/usr.bin/truss

2018-01-14 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 14 14:33:22 2018 New Revision: 327967 URL: https://svnweb.freebsd.org/changeset/base/327967 Log: Improve support for sctp_generic_recvmsg() and sctp_generic_sendmsg() and add support for sctp_generic_sendmsg_iov(). Handle the struct iovec argument and the

svn commit: r327966 - head/lib/libsysdecode

2018-01-14 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 14 14:27:42 2018 New Revision: 327966 URL: https://svnweb.freebsd.org/changeset/base/327966 Log: Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo. Added: head/lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 (contents, props changed) Modified:

svn commit: r327965 - head/sys/amd64/include

2018-01-14 Thread Konstantin Belousov
Author: kib Date: Sun Jan 14 12:39:50 2018 New Revision: 327965 URL: https://svnweb.freebsd.org/changeset/base/327965 Log: Add STAC and CLAC instructions wrappers. Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r327964 - in head/sys/x86: include x86

2018-01-14 Thread Konstantin Belousov
Author: kib Date: Sun Jan 14 12:36:23 2018 New Revision: 327964 URL: https://svnweb.freebsd.org/changeset/base/327964 Log: Enumerate and print Intel CPU features for Speculative Execution Side Channel Mitigations. The definitions are taken from the document 336996-001. Sponsored by:

svn commit: r327963 - head/sys/dev/cpuctl

2018-01-14 Thread Konstantin Belousov
Author: kib Date: Sun Jan 14 12:33:05 2018 New Revision: 327963 URL: https://svnweb.freebsd.org/changeset/base/327963 Log: When re-evaluating cpu_features, also re-print CPU identification. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r327962 - head/lib/libsysdecode

2018-01-14 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 14 12:08:41 2018 New Revision: 327962 URL: https://svnweb.freebsd.org/changeset/base/327962 Log: Add suppor for the supported PR-SCTP policies. Modified: head/lib/libsysdecode/Makefile head/lib/libsysdecode/flags.c head/lib/libsysdecode/mktables

svn commit: r327961 - head/usr.bin/truss

2018-01-14 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 14 09:51:25 2018 New Revision: 327961 URL: https://svnweb.freebsd.org/changeset/base/327961 Log: Mark the iovec parameters of writev() and readv() as IN and OUT. This makes truss work on readv() as expected. Modified: head/usr.bin/truss/syscalls.c Modified:

Re: svn commit: r327774 - in head: . sys/i386/bios

2018-01-14 Thread Bruce Evans
On Sat, 13 Jan 2018, Warner Losh wrote: On Sat, Jan 13, 2018 at 6:17 AM, Bruce Evans wrote: On Wed, 10 Jan 2018, Warner Losh wrote: Log: inittodr(0) actually sets the time, so there's no need to call tc_setclock(). It's redundant. Tweak UPDATING based on code review

Re: svn commit: r327950 - in head/sys/powerpc: aim include powerpc ps3

2018-01-14 Thread Konstantin Belousov
On Sat, Jan 13, 2018 at 08:31:40PM -0800, Nathan Whitehorn wrote: > > > On 01/13/18 15:28, Nathan Whitehorn wrote: > > > > > > On 01/13/18 15:24, Konstantin Belousov wrote: > >> On Sat, Jan 13, 2018 at 11:14:53PM +, Nathan Whitehorn wrote: > >>> +/* > >>> + * We (usually) have a direct map