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

2015-06-09 Thread Ruslan Bukin
On Mon, Jun 08, 2015 at 02:04:45PM -0400, John Baldwin wrote: On Monday, June 08, 2015 03:46:29 PM Ruslan Bukin wrote: For some reason it hangs for me after 'random' lines on arm64 Are you using dtrace? It looks like sdt was using the public symbol before but in a context where the caller

Re: svn commit: r284107 - head/sys/cddl/compat/opensolaris/sys

2015-06-09 Thread Jan Beich
Andriy Gapon a...@freebsd.org writes: Author: avg Date: Sun Jun 7 08:54:25 2015 New Revision: 284107 URL: https://svnweb.freebsd.org/changeset/base/284107 Log: compat nvpair.h: make sure that the names are mangled only for kernel Currently there is no good reason to mangle the

svn commit: r284175 - head/sys/x86/acpica

2015-06-09 Thread John Baldwin
Author: jhb Date: Tue Jun 9 10:49:40 2015 New Revision: 284175 URL: https://svnweb.freebsd.org/changeset/base/284175 Log: Handle X2APIC entries in the MADT for APICs with an ID 255. At least one BIOS has been seen to include such entries even though the relevant specs require that X2APIC

svn commit: r284178 - head/sys/kern

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Tue Jun 9 11:49:56 2015 New Revision: 284178 URL: https://svnweb.freebsd.org/changeset/base/284178 Log: When updating/accessing the timehands, barriers are needed to ensure that: - th_generation update is visible after the parameters update is visible; - the read of

Re: svn commit: r284107 - head/sys/cddl/compat/opensolaris/sys

2015-06-09 Thread Andriy Gapon
On 09/06/2015 13:31, Jan Beich wrote: Andriy Gapon a...@freebsd.org writes: Author: avg Date: Sun Jun 7 08:54:25 2015 New Revision: 284107 URL: https://svnweb.freebsd.org/changeset/base/284107 Log: compat nvpair.h: make sure that the names are mangled only for kernel Currently there

svn commit: r284176 - stable/10/sys/dev/aic7xxx

2015-06-09 Thread Achim Leubner
Author: achim Date: Tue Jun 9 11:40:30 2015 New Revision: 284176 URL: https://svnweb.freebsd.org/changeset/base/284176 Log: MFC r284022: Avoid ID conflict Modified: stable/10/sys/dev/aic7xxx/aic79xx_pci.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r284177 - stable/9/sys/dev/aic7xxx

2015-06-09 Thread Achim Leubner
Author: achim Date: Tue Jun 9 11:41:37 2015 New Revision: 284177 URL: https://svnweb.freebsd.org/changeset/base/284177 Log: MFC r284022: Avoid ID conflict Modified: stable/9/sys/dev/aic7xxx/aic79xx_pci.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props

Re: svn commit: r284163 - head/bin/cp

2015-06-09 Thread Bruce Evans
On Mon, 8 Jun 2015, Bryan Drewery wrote: Log: Cleanup some style(9) issues. - Whitespace. - Comments. - Wrap long lines. cp's style had a remarlable amount of bitrot. This change unimproves it in some places. Clean up is 2 words. Modified: head/bin/cp/cp.c

Re: svn commit: r284167 - head/sys/i386/i386

2015-06-09 Thread Bruce Evans
On Mon, 8 Jun 2015, Dimitry Andric wrote: Log: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be removed. In addition, curproc can never be NULL, so remove the if statement,

svn commit: r284179 - head/sys/modules/em

2015-06-09 Thread Sean Bruno
Author: sbruno Date: Tue Jun 9 14:31:18 2015 New Revision: 284179 URL: https://svnweb.freebsd.org/changeset/base/284179 Log: Include opt_em.h now that there are actual kernel compile options for em(4). Submitted by: jfv MFC after:2 week Sponsored by: Limelight Networks Modified:

svn commit: r284180 - head/sys/dev/mfi

2015-06-09 Thread Doug Ambrisko
Author: ambrisko Date: Tue Jun 9 15:51:11 2015 New Revision: 284180 URL: https://svnweb.freebsd.org/changeset/base/284180 Log: Switch from make_dev_alias to make_dev_alias_p since make_dev_alias_p can gracefully fail if the /dev/megaraid_sas_ioctl_node symlink already exists. This can

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

2015-06-09 Thread Bruce Evans
On Tue, 9 Jun 2015, Konstantin Belousov wrote: Log: When updating/accessing the timehands, barriers are needed to ensure that: - th_generation update is visible after the parameters update is visible; - the read of parameters is not reordered before initial read of th_generation.

svn commit: r284181 - in head/sys: amd64/amd64 arm/arm i386/i386

2015-06-09 Thread Alan Cox
Author: alc Date: Tue Jun 9 18:04:28 2015 New Revision: 284181 URL: https://svnweb.freebsd.org/changeset/base/284181 Log: Account for superpage mappings that are created by pmap_copy(). Modified: head/sys/amd64/amd64/pmap.c head/sys/arm/arm/pmap-v6-new.c head/sys/i386/i386/pmap.c

svn commit: r284183 - head/sys/arm/ti/am335x

2015-06-09 Thread Maxim Sobolev
Author: sobomax Date: Tue Jun 9 19:04:55 2015 New Revision: 284183 URL: https://svnweb.freebsd.org/changeset/base/284183 Log: Use tab to do identation consistently. Modified: head/sys/arm/ti/am335x/am335x_pmic.c Modified: head/sys/arm/ti/am335x/am335x_pmic.c

svn commit: r284186 - in vendor/clang/dist: . docs include/clang/AST include/clang/ASTMatchers include/clang/Analysis include/clang/Basic include/clang/Config include/clang/Driver include/clang/Lex...

2015-06-09 Thread Dimitry Andric
Author: dim Date: Tue Jun 9 19:08:19 2015 New Revision: 284186 URL: https://svnweb.freebsd.org/changeset/base/284186 Log: Vendor import of clang trunk r239412: https://llvm.org/svn/llvm-project/cfe/trunk@239412 Added: vendor/clang/dist/test/CodeGen/neon-immediate-ubsan.c (contents,

Re: svn commit: r284167 - head/sys/i386/i386

2015-06-09 Thread Dimitry Andric
On 09 Jun 2015, at 08:44, Bruce Evans b...@optusnet.com.au wrote: On Mon, 8 Jun 2015, Dimitry Andric wrote: Log: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be

svn commit: r284184 - in vendor/llvm/dist: . autoconf cmake/modules docs docs/CommandGuide docs/TableGen include/llvm include/llvm-c include/llvm/ADT include/llvm/Analysis include/llvm/Bitcode incl...

2015-06-09 Thread Dimitry Andric
Author: dim Date: Tue Jun 9 19:06:30 2015 New Revision: 284184 URL: https://svnweb.freebsd.org/changeset/base/284184 Log: Vendor import of llvm trunk r239412: https://llvm.org/svn/llvm-project/llvm/trunk@239412 Added: vendor/llvm/dist/include/llvm/Analysis/MemoryLocation.h (contents,

svn commit: r284185 - vendor/llvm/llvm-trunk-r239412

2015-06-09 Thread Dimitry Andric
Author: dim Date: Tue Jun 9 19:07:29 2015 New Revision: 284185 URL: https://svnweb.freebsd.org/changeset/base/284185 Log: Tag llvm trunk r239412. Added: - copied from r284184, vendor/llvm/dist/ Directory Properties: vendor/llvm/llvm-trunk-r239412/ (props changed)

svn commit: r284182 - head/sys/arm/ti/am335x

2015-06-09 Thread Maxim Sobolev
Author: sobomax Date: Tue Jun 9 18:46:31 2015 New Revision: 284182 URL: https://svnweb.freebsd.org/changeset/base/284182 Log: Extend TPS65217 support to be able to pull and decode battery charger configuration and provide some basic control knobs to set charger voltage and dump config on

svn commit: r284187 - vendor/clang/clang-trunk-r239412

2015-06-09 Thread Dimitry Andric
Author: dim Date: Tue Jun 9 19:08:54 2015 New Revision: 284187 URL: https://svnweb.freebsd.org/changeset/base/284187 Log: Tag clang trunk r239412. Added: - copied from r284186, vendor/clang/dist/ Directory Properties: vendor/clang/clang-trunk-r239412/ (props changed)

svn commit: r284191 - stable/10/sys/kern

2015-06-09 Thread Alan Somers
Author: asomers Date: Tue Jun 9 19:41:16 2015 New Revision: 284191 URL: https://svnweb.freebsd.org/changeset/base/284191 Log: MFC r283115 Properly null-terminate strings in a kernel dump header. A version string longer than 192 bytes will cause the version field of a dump header to

svn commit: r284189 - head/sys/arm/ti/am335x

2015-06-09 Thread Maxim Sobolev
Author: sobomax Date: Tue Jun 9 19:17:33 2015 New Revision: 284189 URL: https://svnweb.freebsd.org/changeset/base/284189 Log: Fix a typo in a comment that has been carried over from am335x_pmic.c. Modified: head/sys/arm/ti/am335x/tps65217x.h Modified: head/sys/arm/ti/am335x/tps65217x.h

svn commit: r284190 - head/sys/arm/ti/am335x

2015-06-09 Thread Maxim Sobolev
Author: sobomax Date: Tue Jun 9 19:22:13 2015 New Revision: 284190 URL: https://svnweb.freebsd.org/changeset/base/284190 Log: status_reg.acpwr ? 1 : 0 is now the same as just status_reg.acpwr. Modified: head/sys/arm/ti/am335x/am335x_pmic.c Modified: head/sys/arm/ti/am335x/am335x_pmic.c

svn commit: r284195 - head/sys/dev/acpica

2015-06-09 Thread Jung-uk Kim
Author: jkim Date: Tue Jun 9 23:13:37 2015 New Revision: 284195 URL: https://svnweb.freebsd.org/changeset/base/284195 Log: Check status of AcpiReadBitRegister() calls. Reported by: Coverity CID: 1306132 Modified: head/sys/dev/acpica/acpi_cpu.c Modified:

svn commit: r284196 - in head/sys/arm64: arm64 include

2015-06-09 Thread Zbigniew Bodek
Author: zbb Date: Tue Jun 9 23:54:20 2015 New Revision: 284196 URL: https://svnweb.freebsd.org/changeset/base/284196 Log: Add options to dmb() and dsb() macros on ARM64 Using plain dsb()/dmb() as full system barriers is usually to much. Adding proper options to those barriers (instead

svn commit: r284192 - in head: lib/libsbuf lib/libutil sbin/camcontrol share/man/man9 sys/cam sys/cam/scsi sys/kern sys/sys

2015-06-09 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 9 21:39:38 2015 New Revision: 284192 URL: https://svnweb.freebsd.org/changeset/base/284192 Log: Add support for reading MAM attributes to camcontrol(8) and libcam(3). MAM is Medium Auxiliary Memory and is most commonly found as flash chips on tapes. This

svn commit: r284194 - in releng: 8.4 8.4/contrib/file 8.4/contrib/file/Magdir 8.4/contrib/file/doc 8.4/contrib/file/magic 8.4/contrib/file/magic/Magdir 8.4/contrib/file/src 8.4/contrib/file/tests 8...

2015-06-09 Thread Xin LI
2015(r284194) @@ -15,6 +15,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. debugging tools present in HEAD were left in place because sun4v support still needs work to become production ready. +20150609: p29 FreeBSD-EN-15:06.file + + Updated base system file(1

svn commit: r284197 - stable/10/usr.bin/ssh-copy-id

2015-06-09 Thread Eitan Adler
Author: eadler Date: Wed Jun 10 01:17:14 2015 New Revision: 284197 URL: https://svnweb.freebsd.org/changeset/base/284197 Log: MFC r283001: ssh-copy-id: Add missing line continuation PR: 194301 Requested by: tuexen Modified:

svn commit: r284199 - in stable/10/sys: fs/nfsserver kern sys ufs/ffs

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:04:02 2015 New Revision: 284199 URL: https://svnweb.freebsd.org/changeset/base/284199 Log: MFC r283600: Perform SU cleanup in the AST handler. Do not sleep waiting for SU cleanup while owning vnode lock. On MFC, for KBI stability, td_su member was moved

svn commit: r284201 - stable/10/sys/ufs/ffs

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:14:33 2015 New Revision: 284201 URL: https://svnweb.freebsd.org/changeset/base/284201 Log: MFC r283968: Syncing a directory vnode might drop the vnode lock in the softdep_sync() similarly to the regular vnode sync. Allow retry for both vnode types.

svn commit: r284202 - in stable/10/sys: kern sys

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:20:58 2015 New Revision: 284202 URL: https://svnweb.freebsd.org/changeset/base/284202 Log: MFC r283601: Add V_MNTREF flag, to indicate that caller of vn_start*_write() already owns a reference on the mount point, and the functions can consume it. Modified:

svn commit: r284205 - stable/10/sys/kern

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:44:56 2015 New Revision: 284205 URL: https://svnweb.freebsd.org/changeset/base/284205 Log: Add chunk missed in the r284199. Modified: stable/10/sys/kern/kern_fork.c Modified: stable/10/sys/kern/kern_fork.c

svn commit: r284198 - head/bin/ls

2015-06-09 Thread Marcel Moolenaar
Author: marcel Date: Wed Jun 10 01:27:38 2015 New Revision: 284198 URL: https://svnweb.freebsd.org/changeset/base/284198 Log: Convert ls(1) to use libxo(3). Obtained from:Phil Shafer p...@juniper.net Sponsored by: Juniper Networks, Inc. Modified: head/bin/ls/Makefile

svn commit: r284200 - stable/10/sys/ufs/ffs

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:12:01 2015 New Revision: 284200 URL: https://svnweb.freebsd.org/changeset/base/284200 Log: MFC r283604: Remove NODELAY flag. Modified: stable/10/sys/ufs/ffs/ffs_softdep.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r284203 - in stable/10/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:27:00 2015 New Revision: 284203 URL: https://svnweb.freebsd.org/changeset/base/284203 Log: MFC r283602: Prevent dounmount() from acting on the freed (although type-stable) memory by changing the interface to require the mount point to be referenced.

svn commit: r284204 - stable/10/sys/sys

2015-06-09 Thread Konstantin Belousov
Author: kib Date: Wed Jun 10 02:28:50 2015 New Revision: 284204 URL: https://svnweb.freebsd.org/changeset/base/284204 Log: Bump __FreeBSD_version for r284203. Modified: stable/10/sys/sys/param.h Modified: stable/10/sys/sys/param.h

Re: svn commit: r284107 - head/sys/cddl/compat/opensolaris/sys

2015-06-09 Thread Andriy Gapon
On 09/06/2015 16:41, Jan Beich wrote: Andriy Gapon a...@freebsd.org writes: On 09/06/2015 13:31, Jan Beich wrote: Andriy Gapon a...@freebsd.org writes: Author: avg Date: Sun Jun 7 08:54:25 2015 New Revision: 284107 URL: https://svnweb.freebsd.org/changeset/base/284107 Log: compat

svn commit: r284207 - head/sys/vm

2015-06-09 Thread Alan Cox
Author: alc Date: Wed Jun 10 05:17:14 2015 New Revision: 284207 URL: https://svnweb.freebsd.org/changeset/base/284207 Log: Correct a type error in kmem_unback(). Previously, kmem_unback() did not correctly handle deallocation requests of two or more gigabytes in size. Eventually, this

Re: svn commit: r284107 - head/sys/cddl/compat/opensolaris/sys

2015-06-09 Thread Jan Beich
Andriy Gapon a...@freebsd.org writes: On 09/06/2015 13:31, Jan Beich wrote: Andriy Gapon a...@freebsd.org writes: Author: avg Date: Sun Jun 7 08:54:25 2015 New Revision: 284107 URL: https://svnweb.freebsd.org/changeset/base/284107 Log: compat nvpair.h: make sure that the names are