svn commit: r306220 - head/sys/cddl/dev/systrace

2016-09-22 Thread Mark Johnston
Author: markj Date: Thu Sep 22 23:22:53 2016 New Revision: 306220 URL: https://svnweb.freebsd.org/changeset/base/306220 Log: Re-check the systrace probe ID before calling dtrace_probe(). Otherwise there exists a narrow window during which a syscall probe can be disabled and cause a

svn commit: r306218 - in head: share/man/man4 sys/dev/amdsbwd sys/dev/intpm

2016-09-22 Thread Andriy Gapon
Author: avg Date: Thu Sep 22 21:34:35 2016 New Revision: 306218 URL: https://svnweb.freebsd.org/changeset/base/306218 Log: amdsbwd, intpm: unify bits specific to AMD chipsets (FCHs, southbridges) AMD chipsets have proprietary mechanisms for dicovering resources. Those resources are not

Re: svn commit: r306220 - head/sys/cddl/dev/systrace

2016-09-22 Thread Ngie Cooper
On Thu, Sep 22, 2016 at 4:22 PM, Mark Johnston wrote: > Author: markj > Date: Thu Sep 22 23:22:53 2016 > New Revision: 306220 > URL: https://svnweb.freebsd.org/changeset/base/306220 > > Log: > Re-check the systrace probe ID before calling dtrace_probe(). > > Otherwise there

svn commit: r306219 - head/sys/dev/oce

2016-09-22 Thread Josh Paetzel
Author: jpaetzel Date: Thu Sep 22 22:51:11 2016 New Revision: 306219 URL: https://svnweb.freebsd.org/changeset/base/306219 Log: Update oce to version 11.0.50.0 Submitted by: Venkat Duvvuru Added: head/sys/dev/oce/oce_user.h (contents, props changed)

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Mariusz Zaborski
Thanks, I was able to reproduce that :) I attached the patch. Could you please confirm that it fix the problem? Thank you and sorry for inconveniences, Mariusz On 22 September 2016 at 18:11, Ruslan Bukin wrote: > I have just tested this with MIPS64EL and the result is

svn commit: r306224 - head/sys/kern

2016-09-22 Thread Mateusz Guzik
Author: mjg Date: Fri Sep 23 04:45:11 2016 New Revision: 306224 URL: https://svnweb.freebsd.org/changeset/base/306224 Log: cache: get rid of the global lock Add a table of vnode locks and use them along with bucketlocks to provide concurrent modification support. The approach taken is to

svn commit: r306216 - head/sys/dev/cxgbe

2016-09-22 Thread Navdeep Parhar
Author: np Date: Thu Sep 22 21:19:25 2016 New Revision: 306216 URL: https://svnweb.freebsd.org/changeset/base/306216 Log: cxgbe(4): Fix the output of the "tids" sysctl on T6. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Ruslan Bukin
Hi Mariusz my MIPS64EB kernel stops booting with this somewhere here: [...] Starting file system checks: /dev/ada0: 20369 files, 794696 used, 7573573 free (933 frags, 946580 blocks, 0.0% fragmentation) Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat random:

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Mariusz Zaborski
Hi Ruslan, Does it hang on some network script? Thanks, Mariusz On 22 September 2016 at 16:34, Ruslan Bukin wrote: > Hi Mariusz > > my MIPS64EB kernel stops booting with this > > somewhere here: > [...] > Starting file system checks: > /dev/ada0: 20369 files, 794696

svn commit: r306161 - head/usr.sbin/diskinfo

2016-09-22 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 22 07:55:07 2016 New Revision: 306161 URL: https://svnweb.freebsd.org/changeset/base/306161 Log: Small tweaks to the diskinfo(8) manual page, to make it more consistent with others. MFC after:1 month Modified: head/usr.sbin/diskinfo/diskinfo.8

svn commit: r306159 - in head/sys/boot: efi/libefi i386/libi386 ofw/libofw powerpc/kboot powerpc/ps3 uboot/lib

2016-09-22 Thread Stephen J. Kiernan
Author: stevek Date: Thu Sep 22 06:24:40 2016 New Revision: 306159 URL: https://svnweb.freebsd.org/changeset/base/306159 Log: The getsecs() function is implemented in platform- and bootfw-specific files and, in a number of these places, there were problems with how they were declared.

svn commit: r306162 - in head/sys/arm: arm include

2016-09-22 Thread Ed Schouten
Author: ed Date: Thu Sep 22 08:14:59 2016 New Revision: 306162 URL: https://svnweb.freebsd.org/changeset/base/306162 Log: Make it possible to safely use TPIDRURW from userspace. On amd64, arm64 and i386, we have the possibility to switch between TLS areas in userspace. The nice thing

svn commit: r306160 - head/usr.sbin/diskinfo

2016-09-22 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 22 07:33:43 2016 New Revision: 306160 URL: https://svnweb.freebsd.org/changeset/base/306160 Log: Add "diskinfo -i", a simple aio-based IOPS benchmark. MFC after:1 month Modified: head/usr.sbin/diskinfo/diskinfo.8 head/usr.sbin/diskinfo/diskinfo.c

Re: svn commit: r306162 - in head/sys/arm: arm include

2016-09-22 Thread Konstantin Belousov
On Thu, Sep 22, 2016 at 08:15:00AM +, Ed Schouten wrote: > Author: ed > Date: Thu Sep 22 08:14:59 2016 > New Revision: 306162 > URL: https://svnweb.freebsd.org/changeset/base/306162 > > Log: > Make it possible to safely use TPIDRURW from userspace. > > On amd64, arm64 and i386, we have

svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Sep 22 09:58:46 2016 New Revision: 306174 URL: https://svnweb.freebsd.org/changeset/base/306174 Log: capsicum: propagate rights on accept(2) Descriptor returned by accept(2) should inherits capabilities rights from the listening socket. PR: 201052

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

2016-09-22 Thread Kevin Lo
Author: kevlo Date: Thu Sep 22 09:33:22 2016 New Revision: 306173 URL: https://svnweb.freebsd.org/changeset/base/306173 Log: Add TP-Link Archer T4U. It will be used by the updated rtwn(4) / urtwn(4) driver. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

Re: svn commit: r303753 - head/sys/amd64/amd64

2016-09-22 Thread Oliver Pinter
Hi! Do you plan to MFC this change to 10-STABLE? On Thu, Aug 4, 2016 at 7:55 PM, John Baldwin wrote: > Author: jhb > Date: Thu Aug 4 17:55:23 2016 > New Revision: 303753 > URL: https://svnweb.freebsd.org/changeset/base/303753 > > Log: > Don't permit mappings of invalid

svn commit: r306205 - in head/sys/dev/usb: . serial

2016-09-22 Thread Luiz Otavio O Souza
Author: loos Date: Thu Sep 22 18:45:25 2016 New Revision: 306205 URL: https://svnweb.freebsd.org/changeset/base/306205 Log: Add the ID for the Huawei ME909S LTE modem. Submitted by: svenauhagen at github MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate)

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

2016-09-22 Thread Oliver Pinter
Hi! On Sun, Jul 31, 2016 at 12:21 AM, Mateusz Guzik wrote: > Author: mjg > Date: Sat Jul 30 22:21:48 2016 > New Revision: 303562 > URL: https://svnweb.freebsd.org/changeset/base/303562 > > Log: > rwlock: s/READER/WRITER/ in wlock lockstat annotation > > Modified: >

svn commit: r306206 - head/sys/dev/cxgbe

2016-09-22 Thread Navdeep Parhar
Author: np Date: Thu Sep 22 18:47:07 2016 New Revision: 306206 URL: https://svnweb.freebsd.org/changeset/base/306206 Log: cxgbe(4): Catch up with the different layout of WHOAMI in T6. Note that the code moved below t4_prep_adapter() as part of this change because now it needs a working

svn commit: r306185 - in head: share/man/man4 sys/modules sys/modules/cloudabi32

2016-09-22 Thread Ed Schouten
Author: ed Date: Thu Sep 22 12:08:26 2016 New Revision: 306185 URL: https://svnweb.freebsd.org/changeset/base/306185 Log: Make the cloudabi32 kernel module available on ARMv6. Now that all of the necessary bits for ARMv6 support for CloudABI have been checked in, let's hook the kernel

Re: svn commit: r306162 - in head/sys/arm: arm include

2016-09-22 Thread Ed Schouten
Hi Kostik, 2016-09-22 11:28 GMT+02:00 Konstantin Belousov : > What do you mean about 'possibility to switch between TLS areas in > usermode' ? On x86, kernel switches %fs/%gs bases on the context > switches. There is, indeed, a way to turn off this functionality, but it > is

svn commit: r306186 - head/sys/kern

2016-09-22 Thread Ruslan Bukin
Author: br Date: Thu Sep 22 12:41:53 2016 New Revision: 306186 URL: https://svnweb.freebsd.org/changeset/base/306186 Log: Adjust the sopt_val pointer on bigendian systems (e.g. MIPS64EB). sooptcopyin() checks if size of data provided by user is <= than we can accept, else it strips down

svn commit: r306184 - head/sys/kern

2016-09-22 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Sep 22 11:54:20 2016 New Revision: 306184 URL: https://svnweb.freebsd.org/changeset/base/306184 Log: fd: simplify fgetvp_rights by using fget_cap_locked Reviewed by: mjg Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r306187 - head/sys/mips/mips

2016-09-22 Thread Ruslan Bukin
Author: br Date: Thu Sep 22 12:48:01 2016 New Revision: 306187 URL: https://svnweb.freebsd.org/changeset/base/306187 Log: Set the standard freebsd brand note for ELF binaries on MIPS, so binaries now get correct osreldate. Reviewed by: jhb Sponsored by: DARPA, AFRL Sponsored by:

svn commit: r306188 - head/tests/sys/geom/class/eli

2016-09-22 Thread Ruslan Bukin
Author: br Date: Thu Sep 22 12:53:11 2016 New Revision: 306188 URL: https://svnweb.freebsd.org/changeset/base/306188 Log: Use bsdlabel as we don't have hardlink disklabel -> bsdlabel on some platforms. Reviewed by: ngie Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Ruslan Bukin
I have just tested this with MIPS64EL and the result is the same. So you can try both EL or EB e.g. make -j16 TARGET=mips TARGET_ARCH=mips64el KERNCONF=MALTA64 buildkernel Ruslan On Thu, Sep 22, 2016 at 03:21:53PM +, Ruslan Bukin wrote: > Hi > > It reports nothing. Yes I use qemu: >

svn commit: r306199 - head/lib/libc/locale

2016-09-22 Thread Warner Losh
Author: imp Date: Thu Sep 22 16:05:19 2016 New Revision: 306199 URL: https://svnweb.freebsd.org/changeset/base/306199 Log: Revert svn:mergeinfo added inadvertantly in last commit r306197 Modified: Directory Properties: head/lib/libc/locale/ascii.c (props changed)

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Ruslan Bukin
May be. The next line should be /etc/rc: WARNING: $hostname is not set -- see rc.conf(5). but it hangs before this line Ruslan On Thu, Sep 22, 2016 at 04:39:16PM +0200, Mariusz Zaborski wrote: > Hi Ruslan, > > Does it hang on some network script? > > Thanks, > Mariusz > > > On 22 September

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Mariusz Zaborski
I tested it on the mips for Malta kernel and it's works fine. I will try to do it on mips64, are you using qemu to test it? What is ctrl + t reporting you? On 22 September 2016 at 16:56, Ruslan Bukin wrote: > May be. The next line should be > /etc/rc: WARNING:

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-22 Thread Ruslan Bukin
Hi It reports nothing. Yes I use qemu: /home/rb743/dev/qemu/qemu/build1/mips64-softmmu/qemu-system-mips64 -M malta -kernel ~/obj/mips.mips64/home/rb743/dev/freebsd-mips/sys/MALTA64/kernel -hda /home/rb743/world-mips64eb/mips64eb.img -nographic -smp 1 -cpu 5kf -net nic -net user -m 2048M -redir

svn commit: r306197 - in head: lib/libc/locale sys/gnu/dts/arm sys/gnu/dts/include/dt-bindings/clock sys/gnu/dts/include/dt-bindings/dma sys/gnu/dts/include/dt-bindings/gpio sys/gnu/dts/include/dt-...

2016-09-22 Thread Warner Losh
Author: imp Date: Thu Sep 22 15:17:36 2016 New Revision: 306197 URL: https://svnweb.freebsd.org/changeset/base/306197 Log: Revert and redo r306083. Update the device tree source files to a Linux 4.7-RC. The dts tree currently can't be merged w/o specific revisions. Note: due to a

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

2016-09-22 Thread Mateusz Guzik
On Thu, Sep 22, 2016 at 08:35:50PM +0200, Oliver Pinter wrote: > Hi! > > On Sun, Jul 31, 2016 at 12:21 AM, Mateusz Guzik wrote: > > Author: mjg > > Date: Sat Jul 30 22:21:48 2016 > > New Revision: 303562 > > URL: https://svnweb.freebsd.org/changeset/base/303562 > > > > Log: > >

svn commit: r306209 - in head/sys/amd64: amd64 include

2016-09-22 Thread Warner Losh
Author: imp Date: Thu Sep 22 19:04:51 2016 New Revision: 306209 URL: https://svnweb.freebsd.org/changeset/base/306209 Log: Change the efi_get_table interface to a void ** so we can return the pointer by dereferencing the pointer. Reviewed by: kib@ MFC After: 2 weeks Sponsored by:

svn commit: r306212 - head/sys/kern

2016-09-22 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 22 20:34:44 2016 New Revision: 306212 URL: https://svnweb.freebsd.org/changeset/base/306212 Log: Fix regression from r297400, which truncates headers in case of low socket buffer and put a small optimization for low socket buffer case: - Do not hack

svn commit: r306193 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes/asm crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn c...

2016-09-22 Thread Jung-uk Kim
Author: jkim Date: Thu Sep 22 13:27:44 2016 New Revision: 306193 URL: https://svnweb.freebsd.org/changeset/base/306193 Log: Merge OpenSSL 1.0.2i. Added: head/crypto/openssl/doc/crypto/d2i_PrivateKey.pod - copied unchanged from r306189,

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

2016-09-22 Thread Gavin Atkinson
Author: gavin Date: Thu Sep 22 13:59:27 2016 New Revision: 306194 URL: https://svnweb.freebsd.org/changeset/base/306194 Log: Whitespace commit (literally): Add a missing space. Sponsored by: EuroBSDCon 2016 Devsummit, Belgrade, Serbia. Modified: head/share/man/man9/owll.9 Modified: