svn commit: r297912 - head/sys/dev/isp

2016-04-13 Thread Alexander Motin
Author: mav Date: Wed Apr 13 07:04:04 2016 New Revision: 297912 URL: https://svnweb.freebsd.org/changeset/base/297912 Log: Respect NVRAM topology settings on 24xx and above chips. Modified: head/sys/dev/isp/isp.c head/sys/dev/isp/ispvar.h Modified: head/sys/dev/isp/isp.c ==

Re: svn commit: r297902 - head

2016-04-13 Thread Peter Jeremy
On 2016-Apr-13 01:47:05 +, Steve Wills wrote: >+.if !defined(SVN) || empty(SVN) >+. for _P in /usr/bin /usr/local/bin >+. for _S in svn svnlite >+. if exists(${_P}/${_S}) >+SVN= ${_P}/${_S} >+. endif >+. endfor >+. endfor >+.endif What is the preferred choice here? The given order pr

Re: svn commit: r297898 - head/sys/dev/bxe

2016-04-13 Thread Sepherosa Ziehau
Fails in different place :) /usr/freebsd-svn/sys/dev/bxe/bxe.c:18757:9: error: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Werror,-Wformat] sizeof(struct host_sp_status_block)); ^~~ I think you could use %zx for

svn commit: r297913 - in head/sys/dev/hyperv: netvsc storvsc

2016-04-13 Thread Sepherosa Ziehau
Author: sephe Date: Wed Apr 13 09:20:29 2016 New Revision: 297913 URL: https://svnweb.freebsd.org/changeset/base/297913 Log: hyperv: device_get_softc does not return NULL MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c he

Re: svn commit: r297913 - in head/sys/dev/hyperv: netvsc storvsc

2016-04-13 Thread Hans Petter Selasky
On 04/13/16 11:20, Sepherosa Ziehau wrote: bzero(sc, sizeof(hn_softc_t)); Hi, According to: https://svnweb.freebsd.org/base/head/sys/kern/subr_bus.c?revision=297776&view=markup#l2763 It is safe to assume that the memory you get is already zero'ed. The additional bzero() in your at

Re: svn commit: r297913 - in head/sys/dev/hyperv: netvsc storvsc

2016-04-13 Thread Sepherosa Ziehau
Yeah, I knew, but it worth a different commit :) On Wed, Apr 13, 2016 at 5:28 PM, Hans Petter Selasky wrote: > On 04/13/16 11:20, Sepherosa Ziehau wrote: >> >> bzero(sc, sizeof(hn_softc_t)); > > > Hi, > > According to: > >> >> https://svnweb.freebsd.org/base/head/sys/kern/subr_bus.c?revis

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

2016-04-13 Thread Andrew Turner
Author: andrew Date: Wed Apr 13 09:44:32 2016 New Revision: 297914 URL: https://svnweb.freebsd.org/changeset/base/297914 Log: Increase the arm64 kernel address space to 512GB, and the DMAP region to 2TB. The latter can be increased in 512GB chunks by adjusting the lower address, however more

svn commit: r297915 - head/sys/dev/isp

2016-04-13 Thread Alexander Motin
Author: mav Date: Wed Apr 13 10:35:17 2016 New Revision: 297915 URL: https://svnweb.freebsd.org/changeset/base/297915 Log: Filter Port Database Changed notifications. For some reason firmware sends Port Database Changed notifications in case of explicit login requests from the driver when

svn commit: r297916 - head/sys/dev/bxe

2016-04-13 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 13 11:24:24 2016 New Revision: 297916 URL: https://svnweb.freebsd.org/changeset/base/297916 Log: Fix compilation error on i386 Modified: head/sys/dev/bxe/bxe.c Modified: head/sys/dev/bxe/bxe.c =

svn commit: r297917 - head/sys/arm64/include

2016-04-13 Thread Andrew Turner
Author: andrew Date: Wed Apr 13 11:43:03 2016 New Revision: 297917 URL: https://svnweb.freebsd.org/changeset/base/297917 Log: Document the memory ranges within the kernel region to help with debugging to track down which region an address is from. Obtained from:ABT Systems Ltd S

RE: svn commit: r297898 - head/sys/dev/bxe

2016-04-13 Thread David Somayajulu
HI Sepherosa, I have checked in the fix. https://svnweb.freebsd.org/changeset/base/297909 Apologies for the screw up earlier. Sorry for the inconvenience. Cheers David S. -Original Message- From: Sepherosa Ziehau [mailto:sepher...@gmail.com] Sent: Tuesday, April 12, 2016 8:49 PM To: Dav

RE: svn commit: r297898 - head/sys/dev/bxe

2016-04-13 Thread David Somayajulu
Hi Sepherosa, I just saw it and am taking a look at it. Give me a few minutes and I will get back. Thanks David S. -Original Message- From: Sepherosa Ziehau [mailto:sepher...@gmail.com] Sent: Tuesday, April 12, 2016 8:43 PM To: David C Somayajulu Cc: src-committ...@freebsd.org; svn-src-

Re: svn commit: r297902 - head

2016-04-13 Thread Steve Wills
On 04/13/16 04:12 AM, Peter Jeremy wrote: > On 2016-Apr-13 01:47:05 +, Steve Wills wrote: >> +.if !defined(SVN) || empty(SVN) >> +. for _P in /usr/bin /usr/local/bin >> +. for _S in svn svnlite >> +. if exists(${_P}/${_S}) >> +SVN= ${_P}/${_S} >> +. endif >> +. endfor >> +. endfor >> +

svn commit: r297921 - head/sys/dev/ahci

2016-04-13 Thread Alexander Motin
Author: mav Date: Wed Apr 13 12:32:58 2016 New Revision: 297921 URL: https://svnweb.freebsd.org/changeset/base/297921 Log: Add hint.ahci.X.quirks tunable for some odd cases. MFC after:2 weeks Modified: head/sys/dev/ahci/ahci_pci.c Modified: head/sys/dev/ahci/ahci_pci.c =

svn commit: r297922 - head/sys/dev/bxe

2016-04-13 Thread David C Somayajulu
Author: davidcs Date: Wed Apr 13 13:14:18 2016 New Revision: 297922 URL: https://svnweb.freebsd.org/changeset/base/297922 Log: reversed commits r297916 r297909 r297898 due to i386 build failures. MFC after:5 days Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h head/sys/dev/bx

svn commit: r297923 - head/lib/libvgl

2016-04-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 13 14:59:50 2016 New Revision: 297923 URL: https://svnweb.freebsd.org/changeset/base/297923 Log: libvgl: do not initialize static storage. The pointer value was being initialized to 0. While it would have been better to use NULL here, it is static storage so th

Re: question about trimning data "len" conditions in TSO in tcp_output.c

2016-04-13 Thread Cui, Cheng
Hello Hans, Does my previous email reach you well? Thanks, --Cheng Cui NetApp Scale Out Networking On 4/10/16, 4:44 PM, "Cui, Cheng" wrote: >Hi Hans, > >I would continue this discussion with a different change. The piece of >change is >here and also I attached the patch "change.patch" again

svn commit: r297925 - head/sys/cam/scsi

2016-04-13 Thread Scott Long
Author: scottl Date: Wed Apr 13 15:43:11 2016 New Revision: 297925 URL: https://svnweb.freebsd.org/changeset/base/297925 Log: Add scsi_cdb_sbuf() for handling CDB strings. Reimplement scsi_cdb_string() in terms of it. Reviewed by: imp, mav, ken MFC after:3 days Sponsored by: Net

svn commit: r297926 - head/sys/cam/scsi

2016-04-13 Thread Scott Long
Author: scottl Date: Wed Apr 13 15:57:13 2016 New Revision: 297926 URL: https://svnweb.freebsd.org/changeset/base/297926 Log: Use scsi_cdb_sbuf() inside of scsi_command_string now that the temporary string storage is no longer needed. MFC after:3 days Sponsored by: Netflix Modified

svn commit: r297931 - in head/sys: amd64/amd64 i386/i386

2016-04-13 Thread John Baldwin
Author: jhb Date: Wed Apr 13 17:37:31 2016 New Revision: 297931 URL: https://svnweb.freebsd.org/changeset/base/297931 Log: Expose doreti as a global symbol on amd64 and i386. doreti provides the common code path for returning from interrupt andlers on x86. Exposing doreti as a global sym

svn commit: r297932 - head/usr.sbin/bhyve

2016-04-13 Thread John Baldwin
Author: jhb Date: Wed Apr 13 18:39:33 2016 New Revision: 297932 URL: https://svnweb.freebsd.org/changeset/base/297932 Log: Handle PBA that shares a page with MSI-X table for passthrough devices. If the PBA shares a page with the MSI-X table, map the shared page via /dev/mem and emulate ac

svn commit: r297933 - in head/sys/cam: . ata

2016-04-13 Thread Scott Long
Author: scottl Date: Wed Apr 13 20:10:06 2016 New Revision: 297933 URL: https://svnweb.freebsd.org/changeset/base/297933 Log: Add sbuf variants ata_cmd_sbuf() and ata_res_sbuf(), and reimplement the _string variants on top of this. This requires a change to the function signature of ata_res

svn commit: r297935 - head/sys/kern

2016-04-13 Thread Jamie Gritton
Author: jamie Date: Wed Apr 13 20:14:13 2016 New Revision: 297935 URL: https://svnweb.freebsd.org/changeset/base/297935 Log: Separate POSIX sem/shm objects in jails, by prepending the jail's path name to the object's "path". While the objects don't have real path names, it's a filesystem-li

svn commit: r297936 - head/sys/kern

2016-04-13 Thread Jamie Gritton
Author: jamie Date: Wed Apr 13 20:15:49 2016 New Revision: 297936 URL: https://svnweb.freebsd.org/changeset/base/297936 Log: Separate POSIX mqueue objects in jails; actually, separate them by the jail's root, so jails that don't have their own filesystem directory also won't have their own m

svn commit: r297937 - head/bin/sh

2016-04-13 Thread Jilles Tjoelker
Author: jilles Date: Wed Apr 13 20:32:35 2016 New Revision: 297937 URL: https://svnweb.freebsd.org/changeset/base/297937 Log: sh: Simplify code by removing variable bracketed_name. Modified: head/bin/sh/parser.c Modified: head/bin/sh/parser.c =

svn commit: r297938 - head/release

2016-04-13 Thread Bryan Drewery
Author: bdrewery Date: Wed Apr 13 20:43:02 2016 New Revision: 297938 URL: https://svnweb.freebsd.org/changeset/base/297938 Log: Remove misspelled and redundant MK_INSTALLIB=no. Modified: head/release/Makefile Modified: head/release/Makefile ===

svn commit: r297939 - head/tools/build/options

2016-04-13 Thread Bryan Drewery
Author: bdrewery Date: Wed Apr 13 20:55:05 2016 New Revision: 297939 URL: https://svnweb.freebsd.org/changeset/base/297939 Log: The build does work now with WITHOUT_TOOLCHAIN. The bootstrap cross tools are still built in this mode as well. Sponsored by: EMC / Isilon Storage Division M

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

2016-04-13 Thread Ed Maste
Author: emaste Date: Wed Apr 13 21:00:00 2016 New Revision: 297940 URL: https://svnweb.freebsd.org/changeset/base/297940 Log: arm64: Avoid null dereference in its_init_cpu its_init_cpu() is called from gic_v3_init_secondary(), and its_sc will be NULL if its did not attach. Sponsored

svn commit: r297941 - head/tools/build/options

2016-04-13 Thread Bryan Drewery
Author: bdrewery Date: Wed Apr 13 21:01:58 2016 New Revision: 297941 URL: https://svnweb.freebsd.org/changeset/base/297941 Log: Note the brokenness of WITHOUT_INSTALLLIB. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/options/WITHOUT_INSTALLLIB Modified: head/too

svn commit: r297942 - head/lib/libgssapi

2016-04-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 13 21:08:02 2016 New Revision: 297942 URL: https://svnweb.freebsd.org/changeset/base/297942 Log: libgssapi: avoid NULL pointer dereferences. While here also use NULL instead of zero for pointers. Found with coccinelle. MFC after:1 week Modified: he

svn commit: r297943 - head/sys/arm/ti/omap4

2016-04-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Apr 13 21:39:45 2016 New Revision: 297943 URL: https://svnweb.freebsd.org/changeset/base/297943 Log: Fix UART3 and UART4 clock offsets. Original values were copy-pasted from UART1 and UART2 PR: 197037 Submitted by: Scott Ellis Modified: head/sys/

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

2016-04-13 Thread Mateusz Guzik
On Wed, Apr 13, 2016 at 08:14:13PM +, Jamie Gritton wrote: > Author: jamie > Date: Wed Apr 13 20:14:13 2016 > New Revision: 297935 > URL: https://svnweb.freebsd.org/changeset/base/297935 > > Log: > Separate POSIX sem/shm objects in jails, by prepending the jail's path > name to the object'

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

2016-04-13 Thread James Gritton
On 2016-04-13 17:45, Mateusz Guzik wrote: On Wed, Apr 13, 2016 at 08:14:13PM +, Jamie Gritton wrote: Author: jamie Date: Wed Apr 13 20:14:13 2016 New Revision: 297935 URL: https://svnweb.freebsd.org/changeset/base/297935 Log: Separate POSIX sem/shm objects in jails, by prepending the jail

svn commit: r297945 - head/sys/contrib/rdma/krping

2016-04-13 Thread Navdeep Parhar
Author: np Date: Thu Apr 14 00:25:11 2016 New Revision: 297945 URL: https://svnweb.freebsd.org/changeset/base/297945 Log: Send krping output to the log instead of the tty, as is done upstream. Reviewed by: hselasky@ Sponsored by: Chelsio Communications Differential Revision:htt

svn commit: r297946 - in head: . lib/libpam lib/libpam/libpam lib/libpam/modules lib/libpam/static_libpam lib/libpam/static_modules targets/pseudo/userland/lib

2016-04-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 14 01:17:03 2016 New Revision: 297946 URL: https://svnweb.freebsd.org/changeset/base/297946 Log: Simplify building libpam and fix libpam.a not containing the modules since r284345. The change in r284345 moved the creation of openpam_static_modules.o to lib/

svn commit: r297947 - head/lib/libpam/modules

2016-04-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 14 01:17:37 2016 New Revision: 297947 URL: https://svnweb.freebsd.org/changeset/base/297947 Log: Build libpam modules in parallel. MFC after:2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libpam/modules/Makefile Modified: head

svn commit: r297948 - head/share/man/man5

2016-04-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 14 01:20:00 2016 New Revision: 297948 URL: https://svnweb.freebsd.org/changeset/base/297948 Log: Regenerate Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r297951 - head/sys/sys

2016-04-13 Thread Warner Losh
Author: imp Date: Thu Apr 14 04:16:31 2016 New Revision: 297951 URL: https://svnweb.freebsd.org/changeset/base/297951 Log: Add comment about where b_iocmd and b_ioflags come from. Modified: head/sys/sys/buf.h Modified: head/sys/sys/buf.h ==

svn commit: r297952 - head/lib/msun/tests

2016-04-13 Thread Garrett Cooper
Author: ngie Date: Thu Apr 14 04:40:31 2016 New Revision: 297952 URL: https://svnweb.freebsd.org/changeset/base/297952 Log: Disable fmaxmin_test when compiling it with clang 3.8.0 The testcase always fails today due to how C11 7.6.1/2 is interpreted with clang 3.8.0 when combined with "#p

svn commit: r297954 - in head/sys: boot/efi/loader/arch/amd64 boot/i386/libi386 x86/acpica

2016-04-13 Thread Warner Losh
Author: imp Date: Thu Apr 14 04:59:51 2016 New Revision: 297954 URL: https://svnweb.freebsd.org/changeset/base/297954 Log: Deprecate using hints.acpi.0.rsdp to communicate the RSDP to the system. This uses the hints mechnanism. This mostly works today because when there's no static hints (th

svn commit: r297955 - in head/sys: geom geom/mirror geom/raid3 sys

2016-04-13 Thread Warner Losh
Author: imp Date: Thu Apr 14 05:10:41 2016 New Revision: 297955 URL: https://svnweb.freebsd.org/changeset/base/297955 Log: Bump bio_cmd and bio_*flags from 8 bits to 16. Differential Revision: https://reviews.freebsd.org/D5784 Modified: head/sys/geom/geom_io.c head/sys/geom/geom_subr.c