Re: svn commit: r292955 - head/lib/libmd

2016-01-02 Thread Bruce Evans
On Sat, 2 Jan 2016, Allan Jude wrote: On 2015-12-31 13:50, Allan Jude wrote: On 2015-12-31 13:32, Jonathan T. Looney wrote: On 12/31/15, 2:15 AM, "Allan Jude" wrote: It seems these problems also slow things down, a lot: # time md5 /media/md5test/bigdata MD5

svn commit: r293048 - head/tools/regression

2016-01-02 Thread Garrett Cooper
Author: ngie Date: Sat Jan 2 10:07:31 2016 New Revision: 293048 URL: https://svnweb.freebsd.org/changeset/base/293048 Log: - Use a temporary file for the temporary md(4) devices instead of hardcoding it - Remove the temporary file in the cleanup routine MFC after: 2 weeks

Re: svn commit: r292949 - head/sys/dev/mlx5/mlx5_en

2016-01-02 Thread Andrew Gallatin
On 12/30/2015 10:01, Hans Petter Selasky wrote: Author: hselasky Date: Wed Dec 30 15:01:47 2015 New Revision: 292949 URL: https://svnweb.freebsd.org/changeset/base/292949 Log: Add support for modifying coalescing parameters runtime. Thank you -- this will be very helpful! Drew

svn commit: r293049 - head/sys/dev/syscons/plasma

2016-01-02 Thread Dag-Erling Smørgrav
Author: des Date: Sat Jan 2 16:40:37 2016 New Revision: 293049 URL: https://svnweb.freebsd.org/changeset/base/293049 Log: Replace the cosine table with a sine table, which (due to the vagaries of rounding) has better spread. Implement fp16_sin() to go along with fp16_cos(). In the

svn commit: r293058 - in head/sys/powerpc: include powerpc

2016-01-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 2 19:34:37 2016 New Revision: 293058 URL: https://svnweb.freebsd.org/changeset/base/293058 Log: Bump the maximum number of interrupt controllers to allow for the proliferation of them on large IBM systems and add some error checking if we exceed that

Re: svn commit: r292955 - head/lib/libmd

2016-01-02 Thread Allan Jude
On 2016-01-02 05:07, Bruce Evans wrote: > On Sat, 2 Jan 2016, Allan Jude wrote: > >> On 2015-12-31 13:50, Allan Jude wrote: >>> On 2015-12-31 13:32, Jonathan T. Looney wrote: On 12/31/15, 2:15 AM, "Allan Jude" wrote: > It seems these problems also slow things

svn commit: r293051 - head/sys/powerpc/aim

2016-01-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 2 18:10:53 2016 New Revision: 293051 URL: https://svnweb.freebsd.org/changeset/base/293051 Log: Switch setting MSR[SF] to C code. This removes any CPU-specific code (MSF[SF] is a Book 3-S thing) in the 64-bit locore64.S. Modified:

svn commit: r293056 - in head/sys: arm64/arm64 conf

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 19:14:19 2016 New Revision: 293056 URL: https://svnweb.freebsd.org/changeset/base/293056 Log: Add an OF_decode_addr() implementation for arm64. Discussed with: andrew Added: head/sys/arm64/arm64/ofw_machdep.c (contents, props changed)

svn commit: r293053 - head/sys/boot/uboot/lib

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 18:16:24 2016 New Revision: 293053 URL: https://svnweb.freebsd.org/changeset/base/293053 Log: Use 64-bit math when finding a block of ram to hold the kernel. This fixes a problem on 32-bit systems which have ram occupying the end of the physical address space

svn commit: r293052 - in head/sys/powerpc: booke include powerpc

2016-01-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 2 18:15:10 2016 New Revision: 293052 URL: https://svnweb.freebsd.org/changeset/base/293052 Log: Bring CPU features list in line with the ABI requirements. MFC after:1 week Modified: head/sys/powerpc/booke/booke_machdep.c

svn commit: r293054 - head/sys/dev/ath

2016-01-02 Thread Adrian Chadd
Author: adrian Date: Sat Jan 2 18:32:20 2016 New Revision: 293054 URL: https://svnweb.freebsd.org/changeset/base/293054 Log: ... and that would've never worked. Sorry! (Note: everything I tested on locally has ATH_DEBUG / AH_DEBUG set.) Modified: head/sys/dev/ath/ah_osdep.h Modified:

svn commit: r293057 - in head/sys: arm64/include dev/ofw sparc64/include

2016-01-02 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Jan 2 19:28:35 2016 New Revision: 293057 URL: https://svnweb.freebsd.org/changeset/base/293057 Log: Make using the #address-cells property on the interrupt parent in device tree parsing opt-out rather than opt-in. All FDT-based systems as well as PowerPC

svn commit: r293050 - head/sys/dev/ath

2016-01-02 Thread Adrian Chadd
Author: adrian Date: Sat Jan 2 17:14:22 2016 New Revision: 293050 URL: https://svnweb.freebsd.org/changeset/base/293050 Log: [ath] add explicit bus barriers. The ath hal and driver code all assume the world is an x86 or the bus layer does an explicit bus flush after each operation (eg

svn commit: r293055 - head/usr.sbin/kbdcontrol

2016-01-02 Thread Ed Maste
Author: emaste Date: Sat Jan 2 18:35:11 2016 New Revision: 293055 URL: https://svnweb.freebsd.org/changeset/base/293055 Log: kbdmap.5: Use current names for ASCII control codes lf, ff, us Refer to the old names nl, np, ns as historical aliases. PR: 205776, 205778 MFC

svn commit: r293062 - head/sys/powerpc/aim

2016-01-02 Thread Andreas Tobler
Author: andreast Date: Sat Jan 2 22:04:37 2016 New Revision: 293062 URL: https://svnweb.freebsd.org/changeset/base/293062 Log: Fix booting of 32-bit kernels on 64-bit G5 hardware. For rs6000, most memory insns and addi/addis do not allow GPR0 for RA (they use literal zero there

Re: svn commit: r293053 - head/sys/boot/uboot/lib

2016-01-02 Thread Bjoern A. Zeeb
> On 02 Jan 2016, at 18:16 , Ian Lepore wrote: > > Author: ian > Date: Sat Jan 2 18:16:24 2016 > New Revision: 293053 > URL: https://svnweb.freebsd.org/changeset/base/293053 > > Log: > Use 64-bit math when finding a block of ram to hold the kernel. This fixes > a problem

svn commit: r293063 - head/sys/arm/arm

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 22:31:14 2016 New Revision: 293063 URL: https://svnweb.freebsd.org/changeset/base/293063 Log: Work around problems that happen when there is ram at the end of the physical address space. Modified: head/sys/arm/arm/physmem.c Modified: head/sys/arm/arm/physmem.c

Re: svn commit: r293063 - head/sys/arm/arm

2016-01-02 Thread Ian Lepore
On Sat, 2016-01-02 at 22:31 +, Ian Lepore wrote: > Author: ian > Date: Sat Jan 2 22:31:14 2016 > New Revision: 293063 > URL: https://svnweb.freebsd.org/changeset/base/293063 > > Log: > Work around problems that happen when there is ram at the end of the > physical address space. > >

Re: svn commit: r293064 - head/sys/boot/uboot/lib

2016-01-02 Thread Ian Lepore
On Sun, 2016-01-03 at 10:59 +1100, Bruce Evans wrote: > On Sat, 2 Jan 2016, Ian Lepore wrote: > > > Log: > > Cast pointer through uintptr_t on the way to uint64_t to squelch a warning. > > > > Modified: head/sys/boot/uboot/lib/copy.c > >

svn commit: r293060 - head/sys/arm64/arm64

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 21:13:14 2016 New Revision: 293060 URL: https://svnweb.freebsd.org/changeset/base/293060 Log: Fix the arm64 build by adding an all-important '&' to get a pointer. I'm not sure how I missed the error when I test-built here, I guess the pointy hat must have

Re: svn commit: r289421 - in head/etc: . mtree ntp

2016-01-02 Thread David Malone
On Wed, Dec 30, 2015 at 04:50:45AM -0800, Colin Percival wrote: > So... is someone going to be keeping this file up to date? We seem to have > the same information in contrib/tzdata/leapseconds (which is being kept up > to date -- thank you edwin and delphij!) but having this file in /etc/ntp/ >

svn commit: r293064 - head/sys/boot/uboot/lib

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 22:55:59 2016 New Revision: 293064 URL: https://svnweb.freebsd.org/changeset/base/293064 Log: Cast pointer through uintptr_t on the way to uint64_t to squelch a warning. Modified: head/sys/boot/uboot/lib/copy.c Modified: head/sys/boot/uboot/lib/copy.c

Re: svn commit: r293053 - head/sys/boot/uboot/lib

2016-01-02 Thread Justin Hibbits
On Sat, Jan 2, 2016 at 4:46 PM, Ian Lepore wrote: > On Sat, 2016-01-02 at 22:20 +, Bjoern A. Zeeb wrote: >> > On 02 Jan 2016, at 18:16 , Ian Lepore wrote: >> > >> > Author: ian >> > Date: Sat Jan 2 18:16:24 2016 >> > New Revision: 293053 >> > URL:

svn commit: r293061 - head/sys/arm/arm

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 22:00:52 2016 New Revision: 293061 URL: https://svnweb.freebsd.org/changeset/base/293061 Log: Use 64-bit math when processing the lists of physical and excluded memory to generate the phys_avail and dump_avail arrays. This is a partial fix for the kernel side

Re: svn commit: r293053 - head/sys/boot/uboot/lib

2016-01-02 Thread Ian Lepore
On Sat, 2016-01-02 at 22:20 +, Bjoern A. Zeeb wrote: > > On 02 Jan 2016, at 18:16 , Ian Lepore wrote: > > > > Author: ian > > Date: Sat Jan 2 18:16:24 2016 > > New Revision: 293053 > > URL: https://svnweb.freebsd.org/changeset/base/293053 > > > > Log: > > Use 64-bit math

svn commit: r293065 - head/sys/arm/arm

2016-01-02 Thread Ian Lepore
Author: ian Date: Sat Jan 2 23:14:52 2016 New Revision: 293065 URL: https://svnweb.freebsd.org/changeset/base/293065 Log: Reword the comment to better describe what I found while researching the problem that led to this temporary workaround (and also so I can properly cite the PR in the

svn commit: r293059 - head/sys/fs/devfs

2016-01-02 Thread Konstantin Belousov
Author: kib Date: Sat Jan 2 20:29:28 2016 New Revision: 293059 URL: https://svnweb.freebsd.org/changeset/base/293059 Log: Hide transient EBADF errors caused by the parallel revoke(2) or forced unmount of devfs mounts, by restarting the failed syscall. When restarted, failing syscalls

Re: svn commit: r293064 - head/sys/boot/uboot/lib

2016-01-02 Thread Bruce Evans
On Sat, 2 Jan 2016, Ian Lepore wrote: Log: Cast pointer through uintptr_t on the way to uint64_t to squelch a warning. Modified: head/sys/boot/uboot/lib/copy.c == --- head/sys/boot/uboot/lib/copy.c Sat Jan 2

Re: svn commit: r293053 - head/sys/boot/uboot/lib

2016-01-02 Thread Bruce Evans
On Sat, 2 Jan 2016, Ian Lepore wrote: Log: Use 64-bit math when finding a block of ram to hold the kernel. This fixes a problem on 32-bit systems which have ram occupying the end of the physical address space -- for example, a block of ram at 0x8000 with a size of 0x8000 was

Re: svn commit: r293063 - head/sys/arm/arm

2016-01-02 Thread NGie Cooper
> On Jan 2, 2016, at 18:47, Maxim Sobolev wrote: > > Don't save commit message and just exit your editor. That should make it > abort. Works with CVS, git and svn all the same. Killing your editor with -9 > should do as well, as long it doesn't do periodic autosave of

svn commit: r293073 - head/tools/regression/geom_mirror

2016-01-02 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 06:02:56 2016 New Revision: 293073 URL: https://svnweb.freebsd.org/changeset/base/293073 Log: - Use attach_md instead of hardcoding md(4) provider unit numbers - Implement a gmirror_test_cleanup function, which in turn calls geom_test_cleanup to clean up all

Re: svn commit: r293063 - head/sys/arm/arm

2016-01-02 Thread Maxim Sobolev
Don't save commit message and just exit your editor. That should make it abort. Works with CVS, git and svn all the same. Killing your editor with -9 should do as well, as long it doesn't do periodic autosave of some sort. On Jan 2, 2016 2:37 PM, "Ian Lepore" wrote: > On Sat,

svn commit: r293069 - head/libexec/rtld-elf

2016-01-02 Thread Warner Losh
Author: imp Date: Sun Jan 3 04:32:13 2016 New Revision: 293069 URL: https://svnweb.freebsd.org/changeset/base/293069 Log: If md_exec_hook is defined, provide a way to create the strings for the environment variables we look up at runtime. Otherwise, there's no way they will change,

svn commit: r293067 - head/share/mk

2016-01-02 Thread Warner Losh
Author: imp Date: Sun Jan 3 04:32:04 2016 New Revision: 293067 URL: https://svnweb.freebsd.org/changeset/base/293067 Log: Add new LIBSOFT option. This is similar to the LIB32 option, except for libraries that follow the soft float ABI. It's only supported on armv6 as a transition to the

svn commit: r293066 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 sparc64

2016-01-02 Thread Warner Losh
Author: imp Date: Sun Jan 3 04:32:02 2016 New Revision: 293066 URL: https://svnweb.freebsd.org/changeset/base/293066 Log: Create a generalized exec hook that different architectures can hook into if they need to, but default to no action. Differential Review:

svn commit: r293068 - in head/etc: . mtree

2016-01-02 Thread Warner Losh
Author: imp Date: Sun Jan 3 04:32:05 2016 New Revision: 293068 URL: https://svnweb.freebsd.org/changeset/base/293068 Log: Add libsoft to the tree, just like lib32. Added: head/etc/mtree/BSD.libsoft.dist - copied, changed from r293067, head/etc/mtree/BSD.lib32.dist Modified:

svn commit: r293070 - head/sys/conf

2016-01-02 Thread Garrett Cooper
Author: ngie Date: Sun Jan 3 04:38:17 2016 New Revision: 293070 URL: https://svnweb.freebsd.org/changeset/base/293070 Log: Add "options ZFS" to NOTES so this will be tested with the LINT KERNCONF when "make tinderbox" is run This will help ensure that "options ZFS" will not be