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 would

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 Sponsored by: Juniper Networks, Inc. Modified: head/bin/ls/Makefile head/bin/ls/extern.h h

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 of

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: head/sys/dev/acpica/

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 in

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: 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: 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: 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 bo

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

2015-06-09 Thread Dimitry Andric
On 09 Jun 2015, at 08:44, Bruce Evans 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 removed. I

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 Modifi

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. Thi

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 happe

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:

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 writes: > >> On 09/06/2015 13:31, Jan Beich wrote: >> >>> Andriy Gapon 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:

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

2015-06-09 Thread Jan Beich
Andriy Gapon writes: > On 09/06/2015 13:31, Jan Beich wrote: > >> Andriy Gapon 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 >>

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 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

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

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

2015-06-09 Thread Jan Beich
Andriy Gapon 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 userland A

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 ca