svn commit: r252291 - stable/9/sbin/mdconfig

2013-06-26 Thread Hiroki Sato
Author: hrs Date: Thu Jun 27 06:57:09 2013 New Revision: 252291 URL: http://svnweb.freebsd.org/changeset/base/252291 Log: MFC 230423, 230612, 232964, 252033, 252036, 252051: - Replace the beerware license on mdconfig(8) with standard 2-clause BSD. - Rewrite option parsing in mdconfig(8).

svn commit: r252288 - in stable/9/sys: kern sys

2013-06-26 Thread Mateusz Guzik
Author: mjg Date: Thu Jun 27 02:27:13 2013 New Revision: 252288 URL: http://svnweb.freebsd.org/changeset/base/252288 Log: MFC r249480: Add fdallocn function and use it when passing fds over unix socket. This gets rid of "unp_externalize fdalloc failed" panic. Modified: stable/9/sys/ker

svn commit: r252286 - stable/8/sys/netinet

2013-06-26 Thread Jim Harris
Author: jimharris Date: Thu Jun 27 00:51:47 2013 New Revision: 252286 URL: http://svnweb.freebsd.org/changeset/base/252286 Log: MFC r250613: Fix typo in net.inet.tcp.minmss sysctl description. Modified: stable/8/sys/netinet/tcp_subr.c Directory Properties: stable/8/sys/ (props change

svn commit: r252285 - stable/9/sys/netinet

2013-06-26 Thread Jim Harris
Author: jimharris Date: Thu Jun 27 00:50:22 2013 New Revision: 252285 URL: http://svnweb.freebsd.org/changeset/base/252285 Log: MFC r250613: Fix typo in net.inet.tcp.minmss sysctl description. Modified: stable/9/sys/netinet/tcp_subr.c Directory Properties: stable/9/sys/ (props change

svn commit: r252283 - in stable/9: contrib/tcpdump usr.sbin/tcpdump/tcpdump

2013-06-26 Thread Xin LI
Author: delphij Date: Thu Jun 27 00:37:59 2013 New Revision: 252283 URL: http://svnweb.freebsd.org/changeset/base/252283 Log: MFC: tcpdump 4.4.0. Added: stable/9/contrib/tcpdump/print-msnlb.c - copied unchanged from r252282, head/contrib/tcpdump/print-msnlb.c stable/9/contrib/tcpdump/p

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

2013-06-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jun 27 00:33:08 2013 New Revision: 252282 URL: http://svnweb.freebsd.org/changeset/base/252282 Log: - Request non-cached memory for framebuffer - Properly probe/initialize syscons Modified: head/sys/arm/ti/am335x/am335x_lcd.c Modified: head/sys/arm/ti/am335x/am335x_

svn commit: r252281 - in stable/9: contrib/libpcap contrib/libpcap/pcap lib/libpcap

2013-06-26 Thread Xin LI
Author: delphij Date: Thu Jun 27 00:31:21 2013 New Revision: 252281 URL: http://svnweb.freebsd.org/changeset/base/252281 Log: MFC r251129: libpcap 1.4.0. Modified: stable/9/contrib/libpcap/CHANGES stable/9/contrib/libpcap/CREDITS stable/9/contrib/libpcap/README stable/9/contrib/libpcap/

svn commit: r252280 - in head/sys: amd64/include contrib/dev/acpica/include/platform i386/include ia64/include

2013-06-26 Thread Jung-uk Kim
Author: jkim Date: Thu Jun 27 00:22:40 2013 New Revision: 252280 URL: http://svnweb.freebsd.org/changeset/base/252280 Log: Move definitions required by userland applications out of acpica_machdep.h. Modified: head/sys/amd64/include/acpica_machdep.h head/sys/contrib/dev/acpica/include/platfo

svn commit: r252279 - in head/sys/contrib/dev/acpica: . common compiler components/debugger components/disassembler components/events components/executer components/namespace components/resources c...

2013-06-26 Thread Jung-uk Kim
Author: jkim Date: Thu Jun 27 00:16:54 2013 New Revision: 252279 URL: http://svnweb.freebsd.org/changeset/base/252279 Log: Merge ACPICA 20130626. Modified: head/sys/contrib/dev/acpica/acpica_prep.sh head/sys/contrib/dev/acpica/changes.txt (contents, props changed) head/sys/contrib/dev

svn commit: r252278 - in head: sbin/nvmecontrol sys/dev/nvme

2013-06-26 Thread Jim Harris
Author: jimharris Date: Thu Jun 27 00:08:25 2013 New Revision: 252278 URL: http://svnweb.freebsd.org/changeset/base/252278 Log: Add firmware replacement and activation support to nvmecontrol(8) through a new firmware command. NVMe controllers may support up to 7 firmware slots for storing

svn commit: r252277 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:53:54 2013 New Revision: 252277 URL: http://svnweb.freebsd.org/changeset/base/252277 Log: Add log page support to nvmecontrol(8) through a new logpage command. This includes pretty printers for all of the standard NVMe log pages (Error, SMART/Health,

svn commit: r252276 - in head: sys/dev/acpi_support sys/dev/acpica usr.sbin/acpi/acpidb usr.sbin/acpi/acpidump

2013-06-26 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 26 23:52:10 2013 New Revision: 252276 URL: http://svnweb.freebsd.org/changeset/base/252276 Log: Consistently cast ACPICA 64-bit integer types when we print them. Modified: head/sys/dev/acpi_support/atk0110.c head/sys/dev/acpica/acpi_pcib_acpi.c head/usr.sbin/acp

svn commit: r252275 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:46:31 2013 New Revision: 252275 URL: http://svnweb.freebsd.org/changeset/base/252275 Log: Add generalized helper functions for printing hex data as part of nvmecontrol commands. Submitted by: Joe Golio Obtained from:EMC / Isilon Storage Div

svn commit: r252274 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:41:07 2013 New Revision: 252274 URL: http://svnweb.freebsd.org/changeset/base/252274 Log: Ensure that a device node is specified when invoking the identify or reset commands. Also improve the checking of device node names, so that better error messa

svn commit: r252273 - head/sys/dev/nvme

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:37:11 2013 New Revision: 252273 URL: http://svnweb.freebsd.org/changeset/base/252273 Log: Remove remaining uio-related code. The nvme_physio() function was removed quite a while ago, which was the only user of this uio-related code. Sponsored by:

svn commit: r252272 - head/sys/dev/nvme

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:32:45 2013 New Revision: 252272 URL: http://svnweb.freebsd.org/changeset/base/252272 Log: Fail any passthrough command whose transfer size exceeds the controller's max transfer size. This guards against rogue commands coming in from userspace. Also

svn commit: r252271 - head/sys/dev/nvme

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:27:17 2013 New Revision: 252271 URL: http://svnweb.freebsd.org/changeset/base/252271 Log: Use MAXPHYS to specify the maximum I/O size for nvme(4). Also allow admin commands to transfer up to this maximum I/O size, rather than the artificial limit prev

svn commit: r252270 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:20:08 2013 New Revision: 252270 URL: http://svnweb.freebsd.org/changeset/base/252270 Log: Create #defines for NVME_CTRLR_PREFIX and NVME_NS_PREFIX for the "nvme" and "ns" strings, rather than hardcoding the string values throughout the nvmecontrol code b

svn commit: r252269 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:11:20 2013 New Revision: 252269 URL: http://svnweb.freebsd.org/changeset/base/252269 Log: Add an nvme_function structure array, defining the name, C function and usage message for each nvmecontrol command. This helps reduce some code clutter both now an

svn commit: r252268 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:05:48 2013 New Revision: 252268 URL: http://svnweb.freebsd.org/changeset/base/252268 Log: Break out code related to the reset command into a separate source file. Sponsored by: Intel MFC after:3 days Added: head/sbin/nvmecontrol/reset.c (cont

svn commit: r252267 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:02:48 2013 New Revision: 252267 URL: http://svnweb.freebsd.org/changeset/base/252267 Log: Break out code related to the perftest command into a separate file. Sponsored by: Intel MFC after:3 days Added: head/sbin/nvmecontrol/perftest.c (conte

svn commit: r252266 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 23:00:42 2013 New Revision: 252266 URL: http://svnweb.freebsd.org/changeset/base/252266 Log: Break out code related to the identify command into a separate source file. Sponsored by: Intel MFC after:3 days Added: head/sbin/nvmecontrol/identify.c

svn commit: r252265 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 22:58:59 2013 New Revision: 252265 URL: http://svnweb.freebsd.org/changeset/base/252265 Log: Break out code related to the devlist command into a separate source file. Sponsored by: Intel MFC after:3 days Added: head/sbin/nvmecontrol/devlist.c (

svn commit: r252264 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 22:53:21 2013 New Revision: 252264 URL: http://svnweb.freebsd.org/changeset/base/252264 Log: Add separate *_usage() functions for each nvmecontrol command. Sponsored by: Intel MFC after:3 days Modified: head/sbin/nvmecontrol/nvmecontrol.c Modifie

svn commit: r252263 - head/sbin/nvmecontrol

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 22:50:49 2013 New Revision: 252263 URL: http://svnweb.freebsd.org/changeset/base/252263 Log: Add an open_dev() helper function to be used in the various places where nvmecontrol needs to open a handle to a controller or namespace device node. Sponsored

svn commit: r252262 - head/sys/dev/isci/scil

2013-06-26 Thread Jim Harris
Author: jimharris Date: Wed Jun 26 22:08:45 2013 New Revision: 252262 URL: http://svnweb.freebsd.org/changeset/base/252262 Log: For ATA_PASSTHROUGH commands, pretend isci(4) supports multiword DMA by treating it as UDMA. This fixes a problem introduced in r249933/r249939, where CAM sends

svn commit: r252260 - head/sys/dev/xen/blkfront

2013-06-26 Thread Justin T. Gibbs
Author: gibbs Date: Wed Jun 26 20:39:07 2013 New Revision: 252260 URL: http://svnweb.freebsd.org/changeset/base/252260 Log: In the Xen block front driver, take advantage of backends that support cache flush and write barrier commands. sys/dev/xen/blkfront/block.h: Add per-command

svn commit: r252259 - head/sys/fs/ext2fs

2013-06-26 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jun 26 19:43:22 2013 New Revision: 252259 URL: http://svnweb.freebsd.org/changeset/base/252259 Log: Minor sorting. MFC after:3 days Modified: head/sys/fs/ext2fs/ext2_extern.h Modified: head/sys/fs/ext2fs/ext2_extern.h ===

svn commit: r252257 - vendor-sys/acpica/20130626

2013-06-26 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 26 19:02:03 2013 New Revision: 252257 URL: http://svnweb.freebsd.org/changeset/base/252257 Log: Tag ACPICA 20130626. Added: vendor-sys/acpica/20130626/ - copied from r252256, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r252256 - in vendor-sys/acpica/dist: . generate/unix generate/unix/acpidump generate/unix/iasl source/common source/compiler source/components/debugger source/components/disassembler so...

2013-06-26 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 26 19:01:10 2013 New Revision: 252256 URL: http://svnweb.freebsd.org/changeset/base/252256 Log: Import ACPICA 20130626. Added: vendor-sys/acpica/dist/source/os_specific/service_layers/osfreebsdtbl.c (contents, props changed) Modified: vendor-sys/acpica/dist

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-26 Thread Bruce Evans
On Wed, 26 Jun 2013, Gleb Smirnoff wrote: On Wed, Jun 26, 2013 at 11:42:39AM +1000, Bruce Evans wrote: B> > Anyway, as Gleb said, there is no point in B> > optimizing the i386 kernel. B> B> I said that there is every point in optimizing the i386 kernel. This B> applies even more to other 32-bit

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

2013-06-26 Thread Alexander Motin
Author: mav Date: Wed Jun 26 09:56:33 2013 New Revision: 252250 URL: http://svnweb.freebsd.org/changeset/base/252250 Log: Fix some UTF-8 chars slipped into r252204 via copy/paste. Modified: head/sys/cam/scsi/scsi_all.c Modified: head/sys/cam/scsi/scsi_all.c ==

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-26 Thread Dmitry Morozovsky
On Tue, 25 Jun 2013, Konstantin Belousov wrote: > > > Updates to the counter cannot be done from the interrupt context. > > > > This is fragile, however. It prevents using counters for things like > > counting interrupts. Most interrupt counting is now done directlyly > > and doesn't use PCPU_I

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-26 Thread Dmitry Morozovsky
On Wed, 26 Jun 2013, Gleb Smirnoff wrote: > On Wed, Jun 26, 2013 at 11:42:39AM +1000, Bruce Evans wrote: > B> > Anyway, as Gleb said, there is no point in > B> > optimizing the i386 kernel. > B> > B> I said that there is every point in optimizing the i386 kernel. This > B> applies even more to o

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-26 Thread Gleb Smirnoff
Bruce, On Wed, Jun 26, 2013 at 11:42:39AM +1000, Bruce Evans wrote: B> > Anyway, as Gleb said, there is no point in B> > optimizing the i386 kernel. B> B> I said that there is every point in optimizing the i386 kernel. This B> applies even more to other 32-bit arches. Some CPUs are much slowe

Re: svn commit: r252209 - in head: share/man/man9 sys/kern sys/sys

2013-06-26 Thread Andre Oppermann
On 25.06.2013 20:44, John Baldwin wrote: Author: jhb Date: Tue Jun 25 18:44:15 2013 New Revision: 252209 URL: http://svnweb.freebsd.org/changeset/base/252209 Log: Several improvements to rmlock(9). Many of these are based on patches provided by Isilon. - Add an rm_assert() supporting v