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

2016-02-04 Thread Michal Meloun
Author: mmel Date: Thu Feb 4 12:11:18 2016 New Revision: 295252 URL: https://svnweb.freebsd.org/changeset/base/295252 Log: ARM: Don't use ugly (and hidden) global variable, control register is readable at any time. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/identcpu.c

svn commit: r295251 - in head/sys: arm/arm sparc64/sparc64

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 12:06:06 2016 New Revision: 295251 URL: https://svnweb.freebsd.org/changeset/base/295251 Log: Fix build. Modified: head/sys/arm/arm/vm_machdep.c head/sys/sparc64/sparc64/vm_machdep.c Modified: head/sys/arm/arm/vm_machdep.c

svn commit: r295249 - head/sys/kern

2016-02-04 Thread Konstantin Belousov
Author: kib Date: Thu Feb 4 10:49:34 2016 New Revision: 295249 URL: https://svnweb.freebsd.org/changeset/base/295249 Log: Guard against runnable td2 exiting and than being reused for unrelated process when the parent sleeps waiting for the debugger attach on fork. Diagnosed and

svn commit: r295253 - in head/sys/riscv: include riscv

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 12:49:28 2016 New Revision: 295253 URL: https://svnweb.freebsd.org/changeset/base/295253 Log: Reuse gp register for pcpu pointer. gp (global pointer) is used by compiler in userland only, so re-use it for pcpup in kernel, save it on stack on switching out to

Re: svn commit: r292206 - in head/contrib/unbound: . compat daemon dns64 dnstap doc iterator libunbound libunbound/python libunbound/python/doc libunbound/python/doc/modules libunbound/python/examples

2016-02-04 Thread Dag-Erling Smørgrav
Peter Wemm writes: > An error was introduced here that breaks some of the support scripts: It would help to name the script... If it's unbound-control-setup, the solution is to remove it, as it is no longer needed. DES -- Dag-Erling Smørgrav - d...@des.no

svn commit: r295250 - in head/sys: arm64/arm64 mips/mips riscv/riscv

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 11:52:53 2016 New Revision: 295250 URL: https://svnweb.freebsd.org/changeset/base/295250 Log: Fix build. Modified: head/sys/arm64/arm64/vm_machdep.c head/sys/mips/mips/vm_machdep.c head/sys/riscv/riscv/vm_machdep.c Modified: head/sys/arm64/arm64/vm_machdep.c

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

2016-02-04 Thread George V. Neville-Neil
Author: gnn Date: Thu Feb 4 21:46:37 2016 New Revision: 295283 URL: https://svnweb.freebsd.org/changeset/base/295283 Log: Summary: Update the date Modified: head/share/man/man4/inet.4 Modified: head/share/man/man4/inet.4

svn commit: r295286 - head/sys/dev/mps

2016-02-04 Thread Scott Long
Author: scottl Date: Thu Feb 4 23:38:55 2016 New Revision: 295286 URL: https://svnweb.freebsd.org/changeset/base/295286 Log: Add sysctls for dumping out the device mapping tables. I'm finding this useful for debugging device-target translation bugs. MFC after:3 days Sponsored by:

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

2016-02-04 Thread George V. Neville-Neil
Author: gnn Date: Thu Feb 4 21:39:58 2016 New Revision: 295282 URL: https://svnweb.freebsd.org/changeset/base/295282 Log: Summary: Remove discussion of fastforwarding. Modified: head/share/man/man4/inet.4 Modified: head/share/man/man4/inet.4

Re: svn commit: r294560 - head/etc/rc.d

2016-02-04 Thread Bryan Drewery
On 1/22/2016 4:14 AM, Dag-Erling Smørgrav wrote: > Author: des > Date: Fri Jan 22 12:14:08 2016 > New Revision: 294560 > URL: https://svnweb.freebsd.org/changeset/base/294560 > > Log: > Do not generate RSA1 or DSA keys by default. > > Modified: > head/etc/rc.d/sshd > > Modified:

svn commit: r295284 - in head/sys: conf dev/cfi

2016-02-04 Thread Adrian Chadd
Author: adrian Date: Thu Feb 4 22:39:27 2016 New Revision: 295284 URL: https://svnweb.freebsd.org/changeset/base/295284 Log: Provide a workaround for setting the correct endianness when doing CFI on a mips big-endian board. This is (hopefully! ish!) a temporary change until a slightly

svn commit: r295309 - head/sys/dev/hyperv/vmbus

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 07:29:11 2016 New Revision: 295309 URL: https://svnweb.freebsd.org/changeset/base/295309 Log: hyperv: Use malloc for page allocation. We will eventually convert them to use busdma. Submitted by: Jun Su Reviewed by: adrian, sephe, Dexuan Cui

svn commit: r295307 - in head/sys/dev/hyperv: include utilities vmbus

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 07:09:58 2016 New Revision: 295307 URL: https://svnweb.freebsd.org/changeset/base/295307 Log: hyperv: Use standard taskqueue instead of hv_work_queue HyperV code was ported from Linux. There is an implementation of work queue called hv_work_queue. In

svn commit: r295308 - in head/sys/dev/hyperv: netvsc vmbus

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 07:20:31 2016 New Revision: 295308 URL: https://svnweb.freebsd.org/changeset/base/295308 Log: hyperv: Use WAITOK in the places where we can wait And convert rndis non-hot path spinlock to mutex. Submitted by: Jun Su Reviewed by: adrian, sephe

Re: svn commit: r294560 - head/etc/rc.d

2016-02-04 Thread Bryan Drewery
On 2/4/2016 3:28 PM, Bryan Drewery wrote: > On 1/22/2016 4:14 AM, Dag-Erling Smørgrav wrote: >> Author: des >> Date: Fri Jan 22 12:14:08 2016 >> New Revision: 294560 >> URL: https://svnweb.freebsd.org/changeset/base/294560 >> >> Log: >> Do not generate RSA1 or DSA keys by default. >> >>

svn commit: r295260 - head/bin/dd

2016-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 4 15:10:08 2016 New Revision: 295260 URL: https://svnweb.freebsd.org/changeset/base/295260 Log: Reduce code duplication. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/bin/dd/args.c Modified: head/bin/dd/args.c

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

2016-02-04 Thread Zbigniew Bodek
Hello Michal, I have a fix for that that I will send for review soon (I need to test in on some other platforms): https://people.freebsd.org/~zbb/arm/other/0001-Fix-debug_monitor-code-for-older-ARMs-ARM11.patch If you don't mind I will add you to the review on Phabricator. Best regards zbb

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

2016-02-04 Thread Svatopluk Kraus
Author: skra Date: Thu Feb 4 14:15:24 2016 New Revision: 295257 URL: https://svnweb.freebsd.org/changeset/base/295257 Log: Make VM_MEMATTR_xxx definitions independent on pmap internals for __ARM_ARCH >= 6. It's TEX class number now, so it still has some meaning. Modified:

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

2016-02-04 Thread Michal Meloun
Yep, I'm ready to review your patch. Allow me one question in forward. How this patch affects JTAG based debugging of kernel? Mainly if I start kernel under JTAG debugger, with active breakpoints (or watchpoints). Michal Dne 04.02.2016 v 14:41 Zbigniew Bodek napsal(a): > Hello Michal, > > I

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

2016-02-04 Thread Michal Meloun
Author: mmel Date: Thu Feb 4 13:32:29 2016 New Revision: 295254 URL: https://svnweb.freebsd.org/changeset/base/295254 Log: ARM: RPI-B kernel was broken by r294740. Make it functional again. Modified: head/sys/arm/arm/debug_monitor.c Modified: head/sys/arm/arm/debug_monitor.c

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

2016-02-04 Thread Michal Meloun
Author: mmel Date: Thu Feb 4 14:32:48 2016 New Revision: 295259 URL: https://svnweb.freebsd.org/changeset/base/295259 Log: ARM: For ARMv6/v7, code in locore.S initializes SCTLR and ACTRL registers. Don't duplicate this initialization in cpu_setup(). Modified: head/sys/arm/arm/cpufunc.c

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

2016-02-04 Thread Svatopluk Kraus
Author: skra Date: Thu Feb 4 13:35:40 2016 New Revision: 295255 URL: https://svnweb.freebsd.org/changeset/base/295255 Log: Small rearrangement of abort_handler(). (1) Move cnt.v_trap increment to the beginning. There is cnt.v_vm_faults counter in vm_fault(), so a number of hardware

svn commit: r295303 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:31:31 2016 New Revision: 295303 URL: https://svnweb.freebsd.org/changeset/base/295303 Log: hyperv/hn: Recover half of the chimney sending space We lost half of the chimney sending space, because we mis-used ffs() on a 64 bits mask, where ffsl() should be

svn commit: r295296 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 04:03:50 2016 New Revision: 295296 URL: https://svnweb.freebsd.org/changeset/base/295296 Log: hyperv/hn: Avoid duplicate csum features settings - Record csum features in softc, so we don't need to duplicate the logic from attach path to ioctl path. -

svn commit: r295297 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 04:10:04 2016 New Revision: 295297 URL: https://svnweb.freebsd.org/changeset/base/295297 Log: hyperv/hn: Reorganize TX csum offloading - For non-TSO offloading, we don't need to access mbuf to know which csum offloading is requested, we can just use the

Re: svn commit: r295302 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Oh, thanks, will fix it :) On Fri, Feb 5, 2016 at 1:34 PM, Andriy Voskoboinyk wrote: > Fri, 05 Feb 2016 07:25:11 +0200 було написано Sepherosa Ziehau > : > >> Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c >> >>

svn commit: r295295 - head/sys/dev/hyperv/storvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 03:46:53 2016 New Revision: 295295 URL: https://svnweb.freebsd.org/changeset/base/295295 Log: hyperv/stor: Fix the NULL pointer dereference Reported by: Netapp Submitted by: Hongjiang Zhang Reviewed by: adrian, sephe, Dexuan Cui Approved by: adrian

svn commit: r295298 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:01:02 2016 New Revision: 295298 URL: https://svnweb.freebsd.org/changeset/base/295298 Log: hyperv/hn: Enable IP header checksum offloading So that: - TCP/IP stack will not do unnecessary IP header checksum for TSO packets. - Reduce guest load for

svn commit: r295300 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:12:30 2016 New Revision: 295300 URL: https://svnweb.freebsd.org/changeset/base/295300 Log: hyperv/hn: Add sysctls to trust host side UDP and IP csum verification Reviewed by: adrian, Hongjiang Zhang Approved by: adrian (mentor) MFC after:1 week

svn commit: r295302 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:25:11 2016 New Revision: 295302 URL: https://svnweb.freebsd.org/changeset/base/295302 Log: hyperv/hn: Factor out hn_encap() from hn_start_locked() It will be shared w/ upcoming ifnet.if_transmit implementaion. No functional changes. Reviewed by:

Re: svn commit: r295302 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Andriy Voskoboinyk
Fri, 05 Feb 2016 07:25:11 +0200 було написано Sepherosa Ziehau : Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c == ... @@ -744,31 +745,235 @@ netvsc_channel_rollup(struct hv_device *

svn commit: r295304 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:38:01 2016 New Revision: 295304 URL: https://svnweb.freebsd.org/changeset/base/295304 Log: hyperv/hn: Increase LRO entry count to 128 by default hn(4) only has one RX ring currently, so default 8 LRO entries are too small. Reviewed by: adrian

svn commit: r295299 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:06:14 2016 New Revision: 295299 URL: https://svnweb.freebsd.org/changeset/base/295299 Log: hyperv/hn: Enable UDP RXCSUM Reviewed by: adrian Approved by: adrian (mentor) MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r295301 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:17:48 2016 New Revision: 295301 URL: https://svnweb.freebsd.org/changeset/base/295301 Log: hyperv/hn: Obey IFCAP_RXCSUM configure Reviewed by: adrian Approved by: adrian (mentor) MFC after:1 week Sponsored by: Microsoft OSTC Differential

svn commit: r295305 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:44:31 2016 New Revision: 295305 URL: https://svnweb.freebsd.org/changeset/base/295305 Log: hyperv/hn: Move LRO flush to the channel processing rollup This significantly increases LRO aggregation ratio when there are large amount of connections (improves

svn commit: r295306 - head/sys/dev/hyperv/netvsc

2016-02-04 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 5 05:50:53 2016 New Revision: 295306 URL: https://svnweb.freebsd.org/changeset/base/295306 Log: hyperv/hn: Add an option to always do transmission scheduling It is off by default. This eases more experiment on hn(4). Reviewed by: adrian, Hongjiang Zhang

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

2016-02-04 Thread Zbigniew Bodek
Hmm I didn't try that but I think the architecture supports using both Monitor mode debugging (on a running system) and Halting debug mode (using debugger). However I will need to ensure whether any additional configuration is required to use both at the same time. Best regards zbb 2016-02-04

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

2016-02-04 Thread Michal Meloun
Author: mmel Date: Thu Feb 4 17:01:38 2016 New Revision: 295267 URL: https://svnweb.freebsd.org/changeset/base/295267 Log: Replace broken implementation of fuswintr() and suswintr() by functions which return -1 as well as on tier 1 archs. Remove block_userspace_access used only in these

Re: svn commit: r295226 - head/lib/libmemstat

2016-02-04 Thread Gleb Smirnoff
On Wed, Feb 03, 2016 at 04:41:26PM -0800, Bryan Drewery wrote: B> On 2/3/2016 4:23 PM, Gleb Smirnoff wrote: B> > Author: glebius B> > Date: Thu Feb 4 00:23:21 2016 B> > New Revision: 295226 B> > URL: https://svnweb.freebsd.org/changeset/base/295226 B> > B> > Log: B> > Fix build. B> > B> >

svn commit: r295269 - head/etc/rc.d

2016-02-04 Thread Devin Teske
Author: dteske Date: Thu Feb 4 17:09:43 2016 New Revision: 295269 URL: https://svnweb.freebsd.org/changeset/base/295269 Log: Fix grammar in error statement s/consider to migrate to jail.conf/consider migrating to jail.conf/ Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

svn commit: r295258 - in head/sys/riscv: include riscv

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 14:30:46 2016 New Revision: 295258 URL: https://svnweb.freebsd.org/changeset/base/295258 Log: Access pcpup using gp register. Modified: head/sys/riscv/include/asm.h head/sys/riscv/riscv/exception.S head/sys/riscv/riscv/swtch.S Modified:

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

2016-02-04 Thread Michal Meloun
Author: mmel Date: Thu Feb 4 14:02:42 2016 New Revision: 295256 URL: https://svnweb.freebsd.org/changeset/base/295256 Log: ARM: Set UNAL_ENABLE bit in SCTLR CP15 register. This bit is RAO/SBOP for ARMv7. For ARMv6, it controls ARMv5 compatible alignment support. This bit have no effect

svn commit: r295272 - head/lib/libc/sys

2016-02-04 Thread Jason Helfman
Author: jgh (doc,ports committer) Date: Thu Feb 4 18:03:06 2016 New Revision: 295272 URL: https://svnweb.freebsd.org/changeset/base/295272 Log: - connect(2) Clarify namelen PR: 206838 Submitted by: t...@tobik.me Approved by: bcr (mentor) MFH: after 1 week

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

2016-02-04 Thread Andrew Turner
Author: andrew Date: Thu Feb 4 17:22:15 2016 New Revision: 295270 URL: https://svnweb.freebsd.org/changeset/base/295270 Log: Enable checking of the stack alignment. The stack should be aligned to a 16-byte value. With this the hardware will check if a memory access uses an incorrectly

svn commit: r295271 - head/sys/powerpc/fpu

2016-02-04 Thread John Baldwin
Author: jhb Date: Thu Feb 4 17:43:56 2016 New Revision: 295271 URL: https://svnweb.freebsd.org/changeset/base/295271 Log: Fix build of powerpc FPU emulator after changes in r295132 to restore the ABI of struct fpreg. The FPU emulator operates on the "raw" FPU state stored in the pcb

svn commit: r295265 - head/sys/kern

2016-02-04 Thread Konstantin Belousov
Author: kib Date: Thu Feb 4 16:32:21 2016 New Revision: 295265 URL: https://svnweb.freebsd.org/changeset/base/295265 Log: Do not copy by field when converting struct oexport_args to struct export_args on mount update, bzero() is consistent with vfs_oexport_conv(). Make the code structure

svn commit: r295261 - head/bin/dd

2016-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 4 15:21:01 2016 New Revision: 295261 URL: https://svnweb.freebsd.org/changeset/base/295261 Log: Add 't' and 'p' postfixes to dd(1). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/bin/dd/args.c head/bin/dd/dd.1 Modified:

svn commit: r295273 - head/sys/dev/ixgbe

2016-02-04 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 4 18:08:50 2016 New Revision: 295273 URL: https://svnweb.freebsd.org/changeset/base/295273 Log: In FreeBSD 10 and higher the driver announces SCTP checksum offloading support also for 82598, which doesn't support it. The legacy code has a check for it, which

svn commit: r295276 - in head/sys: cam/ata dev/ata sys

2016-02-04 Thread Ravi Pokala
Author: rpokala Date: Thu Feb 4 19:53:54 2016 New Revision: 295276 URL: https://svnweb.freebsd.org/changeset/base/295276 Log: Add defines for WRITE_UNCORRECTABLE ATA command, and improve command logging Add #defines for ATA_WRITE_UNCORRECTABLE48 and its features. Update the decoding in

svn commit: r295277 - head/sys/kern

2016-02-04 Thread Konstantin Belousov
Author: kib Date: Thu Feb 4 20:55:49 2016 New Revision: 295277 URL: https://svnweb.freebsd.org/changeset/base/295277 Log: When matching brand to the ELF binary by notes, try to find a brand with interpreter name exactly matching one wanted by the binary. If no such brand exists, return