Re: svn commit: r235822 - in head: sys/dev/esp sys/gnu/fs/xfs/FreeBSD usr.sbin/ppp usr.sbin/rpc.lockd

2012-05-24 Thread Bruce Evans
On Wed, 23 May 2012, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/23/12 07:56, Bjoern A. Zeeb wrote: On 23. May 2012, at 06:49 , Xin LI wrote: Author: delphij Date: Wed May 23 06:49:50 2012 New Revision: 235822 URL: http://svn.freebsd.org/changeset/base/235822 Log: F

Re: svn commit: r235852 - head/sys/geom

2012-05-24 Thread Bruce Evans
On Wed, 23 May 2012, Andriy Gapon wrote: on 23/05/2012 22:22 Pawel Jakub Dawidek said the following: On Wed, May 23, 2012 at 06:17:02PM +, Xin LI wrote: Author: delphij Date: Wed May 23 18:17:02 2012 New Revision: 235852 URL: http://svn.freebsd.org/changeset/base/235852 Log: Use %ju to ma

svn commit: r235886 - in head/sys: compat/freebsd32 kern sys

2012-05-24 Thread Gleb Kurtsou
Author: gleb Date: Thu May 24 08:00:26 2012 New Revision: 235886 URL: http://svn.freebsd.org/changeset/base/235886 Log: Add kern_fhstat(), adjust sys_fhstat() to use it. Extend kern_getdirentries() to accept uio segflag and optionally return buffer residue. Sponsored by: Google Summe

svn commit: r235887 - stable/9/usr.bin/lastcomm

2012-05-24 Thread Konstantin Belousov
Author: kib Date: Thu May 24 08:43:10 2012 New Revision: 235887 URL: http://svn.freebsd.org/changeset/base/235887 Log: MFC r235541: Allow to specify strftime(3) format for process start end exit times. Modified: stable/9/usr.bin/lastcomm/lastcomm.1 stable/9/usr.bin/lastcomm/lastcomm.c Dir

svn commit: r235888 - stable/8/usr.bin/lastcomm

2012-05-24 Thread Konstantin Belousov
Author: kib Date: Thu May 24 09:11:38 2012 New Revision: 235888 URL: http://svn.freebsd.org/changeset/base/235888 Log: MFC r235541: Allow to specify strftime(3) format for process start end exit times. Modified: stable/8/usr.bin/lastcomm/lastcomm.1 stable/8/usr.bin/lastcomm/lastcomm.c Dir

Re: svn commit: r235859 - in head/sys: i386/conf modules

2012-05-24 Thread Konstantin Belousov
On Wed, May 23, 2012 at 11:37:29PM +0200, Niclas Zeising wrote: > On 05/23/12 23:07, Konstantin Belousov wrote: > >Author: kib > >Date: Wed May 23 21:07:01 2012 > >New Revision: 235859 > >URL: http://svn.freebsd.org/changeset/base/235859 > > > >Log: > > Enable drm2 modules build. > > > > Sponso

Re: svn commit: r235859 - in head/sys: i386/conf modules

2012-05-24 Thread Niclas Zeising
On 2012-05-24 11:26, Konstantin Belousov wrote: > On Wed, May 23, 2012 at 11:37:29PM +0200, Niclas Zeising wrote: >> On 05/23/12 23:07, Konstantin Belousov wrote: >>> Author: kib >>> Date: Wed May 23 21:07:01 2012 >>> New Revision: 235859 >>> URL: http://svn.freebsd.org/changeset/base/235859 >>> >>

svn commit: r235889 - stable/9/sys/kern

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 09:59:58 2012 New Revision: 235889 URL: http://svn.freebsd.org/changeset/base/235889 Log: MFC r226043: Remove assertion against empty NFSv4 ACLs. An empty ACL is not exactly valid - we don't allow for setting it on a file, for example - but it's not somet

svn commit: r235890 - stable/9/sys/kern

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 10:02:42 2012 New Revision: 235890 URL: http://svn.freebsd.org/changeset/base/235890 Log: MFC r234385: Fix bug where NFSv4 ACL enforcement code wouldn't unconditionally allow the owner to read and write ACL and file attributes when there was no entry with

svn commit: r235891 - stable/9/bin/ps

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 10:20:23 2012 New Revision: 235891 URL: http://svn.freebsd.org/changeset/base/235891 Log: MFC r225868: Make ps(1) automatically size its column widths. Modified: stable/9/bin/ps/extern.h stable/9/bin/ps/keyword.c stable/9/bin/ps/print.c stable/9/bin/p

svn commit: r235893 - stable/9/sys/kern

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 10:31:17 2012 New Revision: 235893 URL: http://svn.freebsd.org/changeset/base/235893 Log: MFC r232782: Remove useless thread_{lock,unlock}() in raccd. Modified: stable/9/sys/kern/kern_racct.c Directory Properties: stable/9/sys/ (props changed) Modified

Re: svn commit: r235746 - head/sys/net

2012-05-24 Thread Alexander V. Chernikov
On 24.05.2012 04:18, Jung-uk Kim wrote: ... @@ -1664,7 +1668,7 @@ bpf_setf(struct bpf_d *d, struct bpf_pro struct bpf_insn *fcode, *old; u_int wfilter, flen, size; #ifdef BPF_JITTER -bpf_jit_filter *ofunc; +bpf_jit_filter *ofunc, *jfunc; #endif int need_upgrade; #ifdef COMPAT_FREEBSD3

svn commit: r235897 - in head: sbin/camcontrol sys/cam sys/cam/ata sys/cam/scsi sys/sys

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 11:07:39 2012 New Revision: 235897 URL: http://svn.freebsd.org/changeset/base/235897 Log: MFprojects/zfsd: - Add low-level support for SATA Enclosure Management Bridge (SEMB) devices -- SATA equivalents of the SCSI SES/SAF-TE devices. - Add some utility funct

svn commit: r235898 - in head/sys: arm/conf conf mips/conf pc98/conf sparc64/conf

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 11:20:51 2012 New Revision: 235898 URL: http://svn.freebsd.org/changeset/base/235898 Log: MFprojects/zfsd: Generalize and unify ses device description. Modified: head/sys/arm/conf/ETHERNUT5 head/sys/conf/NOTES head/sys/mips/conf/OCTEON1 head/sys/pc98/conf/

svn commit: r235899 - head/sys/kern

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 11:24:44 2012 New Revision: 235899 URL: http://svn.freebsd.org/changeset/base/235899 Log: MFprojects/zfsd: Hide warning behind bootverbose. Average user has nothing to do about it. Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/kern_conf.c

svn commit: r235900 - stable/9/sys/kern

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 11:43:33 2012 New Revision: 235900 URL: http://svn.freebsd.org/changeset/base/235900 Log: MFC r234381: Fix panic, triggered like this: "int main() { thr_exit(); }" Modified: stable/9/sys/kern/kern_thr.c Directory Properties: stable/9/sys/ (props changed

svn commit: r235901 - stable/9/sys/kern

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 11:46:39 2012 New Revision: 235901 URL: http://svn.freebsd.org/changeset/base/235901 Log: MFC r234380: Enforce upper bound on the input buffer length. Modified: stable/9/sys/kern/kern_rctl.c Directory Properties: stable/9/sys/ (props changed) Modified:

svn commit: r235902 - stable/9/sys/fs/unionfs

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 11:50:14 2012 New Revision: 235902 URL: http://svn.freebsd.org/changeset/base/235902 Log: MFC r226234: Make unionfs also clear VAPPEND when clearing VWRITE, since VAPPEND is just a modifier for VWRITE. Modified: stable/9/sys/fs/unionfs/union_vnops.c Direc

svn commit: r235903 - head/sys/netinet

2012-05-24 Thread Michael Tuexen
Author: tuexen Date: Thu May 24 11:52:57 2012 New Revision: 235903 URL: http://svn.freebsd.org/changeset/base/235903 Log: Add sn_send_failed_event to sctp_notification. MFC after: 3 days Modified: head/sys/netinet/sctp_uio.h Modified: head/sys/netinet/sctp_uio.h

svn commit: r235906 - stable/9/sys/fs/nfs

2012-05-24 Thread Rick Macklem
Author: rmacklem Date: Thu May 24 12:28:11 2012 New Revision: 235906 URL: http://svn.freebsd.org/changeset/base/235906 Log: MFC: r235568 A problem with the NFSv4 server was reported by Andrew Leonard to freebsd-fs@, where the setfacl of an NFSv4 acl would fail. This was caused by the VOP_A

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

2012-05-24 Thread Grzegorz Bernacki
Author: gber Date: Thu May 24 12:38:24 2012 New Revision: 235907 URL: http://svn.freebsd.org/changeset/base/235907 Log: ARMs don't have motherboards. Obtained from:Semihalf Modified: head/sys/arm/arm/nexus.c Modified: head/sys/arm/arm/nexus.c

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

2012-05-24 Thread Grzegorz Bernacki
Author: gber Date: Thu May 24 12:41:57 2012 New Revision: 235908 URL: http://svn.freebsd.org/changeset/base/235908 Log: Return Supervisor SP and LR registers instead of User ones while in KDB thread. Obtained from: Semihalf Modified: head/sys/arm/arm/gdb_machdep.c Modified: head/sys/ar

svn commit: r235910 - stable/8/sys/fs/nfs

2012-05-24 Thread Rick Macklem
Author: rmacklem Date: Thu May 24 13:15:15 2012 New Revision: 235910 URL: http://svn.freebsd.org/changeset/base/235910 Log: MFC: r235568 A problem with the NFSv4 server was reported by Andrew Leonard to freebsd-fs@, where the setfacl of an NFSv4 acl would fail. This was caused by the VOP_A

svn commit: r235911 - in head: share/examples/ses share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 14:07:44 2012 New Revision: 235911 URL: http://svn.freebsd.org/changeset/base/235911 Log: MFprojects/zfsd: Revamp the CAM enclosure services driver. This updated driver uses an in-kernel daemon to track state changes and publishes physical path location informa

Re: svn commit: r235911 - in head: share/examples/ses share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2012-05-24 Thread Konstantin Belousov
On Thu, May 24, 2012 at 02:07:44PM +, Alexander Motin wrote: > Author: mav > Date: Thu May 24 14:07:44 2012 > New Revision: 235911 > URL: http://svn.freebsd.org/changeset/base/235911 > > Log: > MFprojects/zfsd: > Revamp the CAM enclosure services driver. > This updated driver uses an in-

svn commit: r235912 - head/sys/i386/i386

2012-05-24 Thread Alan Cox
Author: alc Date: Thu May 24 15:25:35 2012 New Revision: 235912 URL: http://svn.freebsd.org/changeset/base/235912 Log: MF amd64 r233097, r233122 With the changes over the past year to how accesses to the page's dirty field are synchronized, there is no need for pmap_protect() to acquire

svn commit: r235913 - stable/9/sys/kern

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 15:55:41 2012 New Revision: 235913 URL: http://svn.freebsd.org/changeset/base/235913 Log: MFC r234383: Stop treating system processes as special. This fixes panics like the one triggered by this: # kldload geom_vinum # pwait `pgrep -S gv_worker` &

svn commit: r235914 - stable/9/usr.sbin/mfiutil

2012-05-24 Thread Sean Bruno
Author: sbruno Date: Thu May 24 16:11:13 2012 New Revision: 235914 URL: http://svn.freebsd.org/changeset/base/235914 Log: MFC r235634 Decode new battery status indications. Modified: stable/9/usr.sbin/mfiutil/mfi_show.c Directory Properties: stable/9/usr.sbin/mfiutil/ (props changed)

svn commit: r235915 - head/usr.bin

2012-05-24 Thread Josh Paetzel
Author: jpaetzel Date: Thu May 24 16:11:51 2012 New Revision: 235915 URL: http://svn.freebsd.org/changeset/base/235915 Log: Hook up mkulzma to the build. MFC after:3 days Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

svn commit: r235916 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 16:30:13 2012 New Revision: 235916 URL: http://svn.freebsd.org/changeset/base/235916 Log: MFp4 bz_ipv6_fast: Introduce in6_getscope() to allow more effective checksum computations without the need to copy the address to clear the scope. Sponsored

Re: svn commit: r235746 - head/sys/net

2012-05-24 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-05-24 06:44:48 -0400, Alexander V. Chernikov wrote: > Does the attached patch look ok to you? Generally looks good. Few nits: - --- bpf.c --- 1713: #ifdef BPF_JITTER 1714: bpf_jit_filter *ofunc, *jfunc; 1715: #endif Please add jfunc befo

svn commit: r235917 - stable/8/usr.sbin/mfiutil

2012-05-24 Thread Sean Bruno
Author: sbruno Date: Thu May 24 16:41:26 2012 New Revision: 235917 URL: http://svn.freebsd.org/changeset/base/235917 Log: MFC r235634 Decode new battery status indications. Modified: stable/8/usr.sbin/mfiutil/mfi_show.c Directory Properties: stable/8/usr.sbin/mfiutil/ (props changed)

svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 URL: http://svn.freebsd.org/changeset/base/235918 Log: Make g_label(4) ignore provider size when looking for UFS labels. Without it, it fails to create labels for filesystems resized by growfs(8). PR: kern/16596

svn commit: r235919 - stable/9/usr.sbin/pkg

2012-05-24 Thread Baptiste Daroussin
Author: bapt Date: Thu May 24 17:10:54 2012 New Revision: 235919 URL: http://svn.freebsd.org/changeset/base/235919 Log: Add missing \n when generating pkg.conf Reported by: beat Approved by: des (mentor) Modified: stable/9/usr.sbin/pkg/pkg.c Directory Properties: stable/9/usr.sbin/

svn commit: r235920 - head/sys/conf

2012-05-24 Thread Jack F Vogel
Author: jfv Date: Thu May 24 17:39:54 2012 New Revision: 235920 URL: http://svn.freebsd.org/changeset/base/235920 Log: Fix to kern/168294 - add flow director support into the static kernel build of ixgbe. Thanks Sergey for pointing this out. Modified: head/sys/conf/files Modified: head/s

svn commit: r235921 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 18:05:10 2012 New Revision: 235921 URL: http://svn.freebsd.org/changeset/base/235921 Log: MFp4 bz_ipv6_fast: Optimize in6_cksum(), re-ordering work and limiting variable initialization, removing a bzero() for mostly re-initialized struct values, making

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

2012-05-24 Thread Alexander Motin
Author: mav Date: Thu May 24 18:19:23 2012 New Revision: 235922 URL: http://svn.freebsd.org/changeset/base/235922 Log: Revert devfs part of r235911. I was unaware about old but unfinished discussion between kib@ and gibbs@ about it. Modified: head/sys/fs/devfs/devfs_vnops.c Modified: head/

svn commit: r235923 - head/sys/netgraph

2012-05-24 Thread Gleb Smirnoff
Author: glebius Date: Thu May 24 18:22:57 2012 New Revision: 235923 URL: http://svn.freebsd.org/changeset/base/235923 Log: Revert r220768 for ng_ksocket. This node is special and when it is cloning, its constructor method may be called in a context that isn't allowed to sleep. Noticed b

svn commit: r235924 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 18:25:09 2012 New Revision: 235924 URL: http://svn.freebsd.org/changeset/base/235924 Log: MFp4 bz_ipv6_fast: Introduce a (for now copied stripped down) in6_cksum_pseudo() function. We should be able to use this from in6_cksum() but we should also ponde

svn commit: r235925 - head/sys/dev/drm2/i915

2012-05-24 Thread Dimitry Andric
Author: dim Date: Thu May 24 19:13:54 2012 New Revision: 235925 URL: http://svn.freebsd.org/changeset/base/235925 Log: Fix the following clang warning in drm2: sys/dev/drm2/i915/intel_display.c:8861:3: error: expression result unused [-Werror,-Wunused-value] _intel_wa

svn commit: r235926 - in stable/9: share/man/man4 sys/amd64/conf sys/boot/forth sys/conf sys/dev/wbwd sys/i386/conf sys/modules sys/modules/wbwd

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 19:24:31 2012 New Revision: 235926 URL: http://svn.freebsd.org/changeset/base/235926 Log: MFC r232614: Provide wbwd(4), a driver for the watchdog timer found on various Winbond Super I/O chips. Added: stable/9/share/man/man4/wbwd.4 - copied unchanged

svn commit: r235927 - head/bin/sh

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 19:48:15 2012 New Revision: 235927 URL: http://svn.freebsd.org/changeset/base/235927 Log: Work better with how make/bmake works: 1. Avoid a cd back into ${.CURDIR} to run mkbuiltins when we know make will first cd into ${.OBJDIR}. Keep the cwd to what mak

svn commit: r235928 - head/share/mk

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:00:58 2012 New Revision: 235928 URL: http://svn.freebsd.org/changeset/base/235928 Log: Fix an inconsistency I just ran into for LDADD and DPADD. The description for both of them use different, and presumably wrong, variables in the example. They set LDFILES

svn commit: r235929 - in head/lib/libc/powerpc: . gen

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:12:46 2012 New Revision: 235929 URL: http://svn.freebsd.org/changeset/base/235929 Log: Allow building for the PowerPC EABI by providing a dummy __eabi() function. The purpose of the __eabi() function is to set up the runtime and is called first thing by mai

svn commit: r235930 - head/sys/dev/fdt

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:24:49 2012 New Revision: 235930 URL: http://svn.freebsd.org/changeset/base/235930 Log: Preset (clear) the ranges we're supposed to fill from the FDT. If a particular range (either I/O memory or I/O port) is not defined in the FDT, we're not handing uninitia

svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the kernel will do ithe same. Use lwsync only when co

svn commit: r235932 - head/sys/powerpc/booke

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:58:40 2012 New Revision: 235932 URL: http://svn.freebsd.org/changeset/base/235932 Log: o Rename kernload_ap to bp_kernelload. This to introduce a common prefix for variables that live in the boot page. o Add bp_trace (yes, it's in the boot page) tha

Re: svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-05-24 12:48:33 -0400, Edward Tomasz Napierala wrote: > Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 > URL: http://svn.freebsd.org/changeset/base/235918 > > Log: Make g_label(4) ignore provider size when looking for UFS >

svn commit: r235933 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:01:35 2012 New Revision: 235933 URL: http://svn.freebsd.org/changeset/base/235933 Log: Either the I/O port range or the memory mapped I/O range may not be defined in the FDT. The range will have a zero size in that case. Modified: head/sys/powerpc/mpc85xx/

svn commit: r235934 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:07:10 2012 New Revision: 235934 URL: http://svn.freebsd.org/changeset/base/235934 Log: Just return if the size of the window is 0. This can happen when the FDT does not define all ranges possible for a particular node (e.g. PCI). While here, only update t

svn commit: r235935 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:09:38 2012 New Revision: 235935 URL: http://svn.freebsd.org/changeset/base/235935 Log: Remove Semihakf-ism. DEBUG is a kernel configuration option. It should not be defined in source files. Modified: head/sys/powerpc/mpc85xx/i2c.c Modified: head/sys/power

svn commit: r235936 - in head/sys/powerpc: aim booke include powerpc

2012-05-24 Thread Rafal Jaworowski
Author: raj Date: Thu May 24 21:13:24 2012 New Revision: 235936 URL: http://svn.freebsd.org/changeset/base/235936 Log: Fix physical address type to vm_paddr_t. Modified: head/sys/powerpc/aim/mmu_oea.c head/sys/powerpc/booke/pmap.c head/sys/powerpc/include/pmap.h head/sys/powerpc/powerpc

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the kern

svn commit: r235937 - head/sys/powerpc/mpc85xx

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 21:23:13 2012 New Revision: 235937 URL: http://svn.freebsd.org/changeset/base/235937 Log: A few improvements: 1. Define all registers. These definitions are needed to support the FCM driver for direct-connect NAND. 2. Repurpose lbc_read_reg() and lbc_w

svn commit: r235938 - head/sys/dev/sec

2012-05-24 Thread Rafal Jaworowski
Author: raj Date: Thu May 24 21:24:23 2012 New Revision: 235938 URL: http://svn.freebsd.org/changeset/base/235938 Log: Recognize version 3.1 of the SEC crypto engine. Modified: head/sys/dev/sec/sec.c head/sys/dev/sec/sec.h Modified: head/sys/dev/sec/sec.c ==

svn commit: r235939 - in head: lib/libstand sys/x86/include

2012-05-24 Thread David E. O'Brien
Author: obrien Date: Thu May 24 21:44:46 2012 New Revision: 235939 URL: http://svn.freebsd.org/changeset/base/235939 Log: Consitently use "__LP64__". [there are 33 __LP64__'s in the kernel (minus cddl/ and contrib/), and 11 _LP64's] Modified: head/lib/libstand/bswap.c head/sys/x86/inclu

svn commit: r235941 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 22:00:48 2012 New Revision: 235941 URL: http://svn.freebsd.org/changeset/base/235941 Log: MFp4 bz_ipv6_fast: in_cksum.h required ip.h to be included for struct ip. To be able to use some general checksum functions like in_addword() in a non-IPv4 contex

svn commit: r235942 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 22:06:00 2012 New Revision: 235942 URL: http://svn.freebsd.org/changeset/base/235942 Log: Revert isync for ILP32 to sync as per my original change that I discussed with Nathan. Leave __ATOMIC_ACQ as an isync as per Nathan. Modified: head/sys/powerpc/include/a

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: > On 05/24/12 15:45, Marcel Moolenaar wrote: >> Author: marcel >> Date: Thu May 24 20:45:44 2012 >> New Revision: 235931 >> URL: http://svn.freebsd.org/changeset/base/235931 >> >> Log: >> Fix the memory barriers for CPUs that do not like lws

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 17:07, Marcel Moolenaar wrote: On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for

svn commit: r235943 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu May 24 22:14:39 2012 New Revision: 235943 URL: http://svn.freebsd.org/changeset/base/235943 Log: Atomic operation acquire barriers also need to be isync on 64-bit systems. Modified: head/sys/powerpc/include/atomic.h Modified: head/sys/powerpc/include/atomic.h ===

Re: svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-05-24 16:59:58 -0400, Jung-uk Kim wrote: > On 2012-05-24 12:48:33 -0400, Edward Tomasz Napierala wrote: >> Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 >> URL: http://svn.freebsd.org/changeset/base/235918 >> >> Log: Make

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: >>> Summary: >>> 1. *mb() must be lwsync or sync on all machines, except for wmb() which >>> could be eieio >>> 2. __ATOMIC_ACQ() must be isync (though could be reduced to lwsync with >>> bus_space changes) >>> 3. __ATOMIC_REL() must be lwsyn

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 17:22, Marcel Moolenaar wrote: On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though could be reduced to lwsync with bus_space changes) 3. __ATOM

svn commit: r235944 - in head/sys: dev/cxgb dev/cxgbe netinet

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 23:03:23 2012 New Revision: 235944 URL: http://svn.freebsd.org/changeset/base/235944 Log: MFp4 bz_ipv6_fast: Significantly update tcp_lro for mostly two things: 1) introduce basic support for IPv6 without extension headers. 2) try hard to also get the i

svn commit: r235945 - in head/sys: contrib/dev/acpica contrib/dev/acpica/common contrib/dev/acpica/compiler contrib/dev/acpica/components/debugger contrib/dev/acpica/components/dispatcher contrib/d...

2012-05-24 Thread Jung-uk Kim
Author: jkim Date: Thu May 24 23:12:30 2012 New Revision: 235945 URL: http://svn.freebsd.org/changeset/base/235945 Log: Merge ACPICA 20120518. Modified: head/sys/contrib/dev/acpica/acpica_prep.sh head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/adfile.c head/sy

svn commit: r235946 - head/sys/powerpc/include

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 23:46:17 2012 New Revision: 235946 URL: http://svn.freebsd.org/changeset/base/235946 Log: Add a missing " to get closer to compiling. Modified: head/sys/powerpc/include/atomic.h Modified: head/sys/powerpc/include/atomic.h ==

svn commit: r235947 - in stable/8: share/man/man4 sys/amd64/conf sys/boot/forth sys/conf sys/dev/wbwd sys/i386/conf sys/modules sys/modules/wbwd

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 23:55:08 2012 New Revision: 235947 URL: http://svn.freebsd.org/changeset/base/235947 Log: MFC r232614: Provide wbwd(4), a driver for the watchdog timer found on various Winbond Super I/O chips. Added: stable/8/share/man/man4/wbwd.4 - copied unchange

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:46 PM, Nathan Whitehorn wrote: > On 05/24/12 17:22, Marcel Moolenaar wrote: >> >> On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: >> > Summary: > 1. *mb() must be lwsync or sync on all machines, except for wmb() which > could be eieio > 2. __ATOMIC_AC

svn commit: r235948 - head/usr.sbin/acpi/acpidump

2012-05-24 Thread Jung-uk Kim
Author: jkim Date: Fri May 25 00:18:19 2012 New Revision: 235948 URL: http://svn.freebsd.org/changeset/base/235948 Log: Catch up with realpath(3) changes (r235266) and unbreak acpidump(8). Modified: head/usr.sbin/acpi/acpidump/acpi.c Modified: head/usr.sbin/acpi/acpidump/acpi.c =

svn commit: r235949 - head/usr.sbin/jail

2012-05-24 Thread Jamie Gritton
Author: jamie Date: Fri May 25 00:38:06 2012 New Revision: 235949 URL: http://svn.freebsd.org/changeset/base/235949 Log: Don't try to set a null TERM environment. Submitted by: Mateusz Guzik Modified: head/usr.sbin/jail/command.c Modified: head/usr.sbin/jail/command.c =

svn commit: r235950 - head/sys/netinet

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:13:39 2012 New Revision: 235950 URL: http://svn.freebsd.org/changeset/base/235950 Log: MFp4 bz_ipv6_fast: Factor out the tcp_hc_getmtu() call. As the comments say it applies to both v4 and v6, so only write it once making it easier to read the proto

svn commit: r235951 - in stable/9: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzpool/common/sys sys/cddl/contrib/opensolaris/uts/comm...

2012-05-24 Thread Martin Matuska
Author: mm Date: Fri May 25 01:19:28 2012 New Revision: 235951 URL: http://svn.freebsd.org/changeset/base/235951 Log: MFC r235222: Import illumos changeset 13686:4bc0783f6064 2703 add mechanism to report ZFS send progress If the zfs send command is used with the -v flag, the amount of b

svn commit: r235952 - in stable/8: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzpool/common/sys sys/cddl/contrib/opensolaris/uts/comm...

2012-05-24 Thread Martin Matuska
Author: mm Date: Fri May 25 01:21:17 2012 New Revision: 235952 URL: http://svn.freebsd.org/changeset/base/235952 Log: MFC r235222: Import illumos changeset 13686:4bc0783f6064 2703 add mechanism to report ZFS send progress If the zfs send command is used with the -v flag, the amount of b

svn commit: r235953 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:42:48 2012 New Revision: 235953 URL: http://svn.freebsd.org/changeset/base/235953 Log: MFp4 bz_ipv6_fast: No need to hold the (expensive) rt lock over (expensive) logging. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems

svn commit: r235954 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:43:52 2012 New Revision: 235954 URL: http://svn.freebsd.org/changeset/base/235954 Log: MFp4 bz_ipv6_fast: We currently nowhere set IP6A_SWAP making the entire check useless with the current code. Keep around but do not compile in. Sponsored by:

svn commit: r235955 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:45:05 2012 New Revision: 235955 URL: http://svn.freebsd.org/changeset/base/235955 Log: MFp4 bz_ipv6_fast: Simplify the code removing a return from an earlier else case, not differing from the default function return called now. Sponsored by:

svn commit: r235956 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 01:48:15 2012 New Revision: 235956 URL: http://svn.freebsd.org/changeset/base/235956 Log: MFp4 bz_ipv6_fast: Hide the ip6aux functions. The only one referenced outside ip6_input.c is not compiled in yet (__notyet__) in route6.c (r235954). We do have a

svn commit: r235957 - in head/sys/dev/ath: . ath_hal/ar5416 ath_hal/ar9002

2012-05-24 Thread Adrian Chadd
Author: adrian Date: Fri May 25 02:07:59 2012 New Revision: 235957 URL: http://svn.freebsd.org/changeset/base/235957 Log: Prepare for improved (read: pcie) suspend/resume support. * Flesh out the pcie disable method for 11n chips, as they were defaulting to the AR5212 (empty) PCIe disab

svn commit: r235958 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:17:16 2012 New Revision: 235958 URL: http://svn.freebsd.org/changeset/base/235958 Log: MFp4 bz_ipv6_fast: Add support for delayed checksum calculations in the IPv6 output path. We currently cannot offload to the card if we add extension headers (whi

svn commit: r235959 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:19:17 2012 New Revision: 235959 URL: http://svn.freebsd.org/changeset/base/235959 Log: MFp4 bz_ipv6_fast: Defer checksum calulations on UDP6 output and respect the mbuf flags set by NICs having done checksum validation for us already, thus saving the

svn commit: r235960 - head/sys/net

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:21:17 2012 New Revision: 235960 URL: http://svn.freebsd.org/changeset/base/235960 Log: MFp4 bz_ipv6_fast: Simple yet effective change enabling checksum "offload" on loopback for IPv6 to avoid expensive computations. Sponsored by: The FreeBSD

svn commit: r235961 - head/sys/netinet

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:23:26 2012 New Revision: 235961 URL: http://svn.freebsd.org/changeset/base/235961 Log: MFp4 bz_ipv6_fast: Add code to handle pre-checked TCP checksums as indicated by mbuf flags to save the entire computation for validation if not needed. In the I

Re: svn commit: r235960 - head/sys/net

2012-05-24 Thread Bjoern A. Zeeb
On 25. May 2012, at 02:21 , Bjoern A. Zeeb wrote: > Author: bz > Date: Fri May 25 02:21:17 2012 > New Revision: 235960 > URL: http://svn.freebsd.org/changeset/base/235960 > > Log: > MFp4 bz_ipv6_fast: > >Simple yet effective change enabling checksum "offload" on loopback >for IPv6 to a

svn commit: r235962 - head/sys/netinet6

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 02:58:21 2012 New Revision: 235962 URL: http://svn.freebsd.org/changeset/base/235962 Log: MFp4 bz_ipv6_fast: Factor out Hop-By-Hop option processing. It's still not heavily used, it reduces the footprint of ip6_input() and makes ip6_input() more readab

svn commit: r235963 - in head/sys: dev/cxgb modules/cxgb/cxgb

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 03:00:34 2012 New Revision: 235963 URL: http://svn.freebsd.org/changeset/base/235963 Log: MFp4 bz_ipv6_fast: Allow LRO to work on IPv6 as well. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6.

svn commit: r235964 - in head/sys: dev/ixgbe modules/ixgbe

2012-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 25 03:02:56 2012 New Revision: 235964 URL: http://svn.freebsd.org/changeset/base/235964 Log: MFp4 bz_ipv6_fast: Add TSO6 and LRO/IPv6 support. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6. S

Re: svn commit: r235963 - in head/sys: dev/cxgb modules/cxgb/cxgb

2012-05-24 Thread Bjoern A. Zeeb
On 25. May 2012, at 03:00 , Bjoern A. Zeeb wrote: > Author: bz > Date: Fri May 25 03:00:34 2012 > New Revision: 235963 > URL: http://svn.freebsd.org/changeset/base/235963 > > Log: > MFp4 bz_ipv6_fast: > >Allow LRO to work on IPv6 as well. Note that TSO6 support had been present in cxgb(4)

svn commit: r235965 - in stable/9/contrib/gcc: . config/rs6000 config/sparc

2012-05-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 25 03:07:20 2012 New Revision: 235965 URL: http://svn.freebsd.org/changeset/base/235965 Log: MFC: r235623 Bring in a subset of gcc fixes that were back ported to the GCC 4.1 branch and are available under GPLv2. Reviewed by: mm Approved by: jhb (mentor)

svn commit: r235966 - in stable/8/contrib/gcc: . config/rs6000 config/sparc

2012-05-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 25 03:08:46 2012 New Revision: 235966 URL: http://svn.freebsd.org/changeset/base/235966 Log: MFC: r235623 Bring in a subset of gcc fixes that were backported to the GCC 4.1 branch and are available under GPLv2. Reviewed by: mm Approved by: jhb (mentor)

svn commit: r235967 - head/usr.sbin/utx

2012-05-24 Thread Warren Block
Author: wblock (doc committer) Date: Fri May 25 03:46:56 2012 New Revision: 235967 URL: http://svn.freebsd.org/changeset/base/235967 Log: Fixes to man8 groff mandoc style, usage mistakes, or typos. PR: 168016 Submitted by: Nobuyuki Koganemaru Approved by: gjb MFC after:

Re: svn commit: r235918 - head/sys/geom/label

2012-05-24 Thread Andrey V. Elsukov
On 24.05.2012 20:48, Edward Tomasz Napierala wrote: > Log: > Make g_label(4) ignore provider size when looking for UFS labels. > Without it, it fails to create labels for filesystems resized by > growfs(8). > > PR: kern/165962 I think it should be fixed in the growfs(8), not her

svn commit: r235968 - stable/9/sys/geom/mirror

2012-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 25 04:26:14 2012 New Revision: 235968 URL: http://svn.freebsd.org/changeset/base/235968 Log: MFC r235599: Introduce new device flag G_MIRROR_DEVICE_FLAG_TASTING. It should protect geom from destroying while it is tasting. MFC r235600: Prevent removing of

svn commit: r235969 - stable/8/sys/geom/mirror

2012-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 25 04:26:44 2012 New Revision: 235969 URL: http://svn.freebsd.org/changeset/base/235969 Log: MFC r235599: Introduce new device flag G_MIRROR_DEVICE_FLAG_TASTING. It should protect geom from destroying while it is tasting. MFC r235600: Prevent removing of

svn commit: r235970 - stable/7/sys/geom/mirror

2012-05-24 Thread Andrey V. Elsukov
Author: ae Date: Fri May 25 04:27:08 2012 New Revision: 235970 URL: http://svn.freebsd.org/changeset/base/235970 Log: MFC r235599: Introduce new device flag G_MIRROR_DEVICE_FLAG_TASTING. It should protect geom from destroying while it is tasting. MFC r235600: Prevent removing of

svn commit: r235971 - stable/9/contrib/netcat

2012-05-24 Thread Xin LI
Author: delphij Date: Fri May 25 04:42:18 2012 New Revision: 235971 URL: http://svn.freebsd.org/changeset/base/235971 Log: MFC: netcat from OpenBSD 5.1. Modified: stable/9/contrib/netcat/FREEBSD-vendor stable/9/contrib/netcat/nc.1 stable/9/contrib/netcat/netcat.c Directory Properties: s

svn commit: r235972 - in head/sys/dev/ath: . ath_hal ath_hal/ar5210 ath_hal/ar5211 ath_hal/ar5212 ath_hal/ar5416 ath_hal/ar9002

2012-05-24 Thread Adrian Chadd
Author: adrian Date: Fri May 25 05:01:27 2012 New Revision: 235972 URL: http://svn.freebsd.org/changeset/base/235972 Log: oops - ath_hal_disablepcie is actually destined for another purpose, not to disable the PCIe PHY in prepration for reset. Extend the enablepci method to have a "powero

svn commit: r235973 - head/sys/amd64/amd64

2012-05-24 Thread Alan Cox
Author: alc Date: Fri May 25 05:28:14 2012 New Revision: 235973 URL: http://svn.freebsd.org/changeset/base/235973 Log: Correct an error in pmap_pv_reclaim(). In a rare case, when it should have returned NULL, it might instead return a pointer to a page that it had just unmapped. Modified:

svn commit: r235974 - stable/9/contrib/ncurses/man

2012-05-24 Thread Dimitry Andric
Author: dim Date: Fri May 25 06:41:08 2012 New Revision: 235974 URL: http://svn.freebsd.org/changeset/base/235974 Log: MFC r235773: Correct use_screen() and use_window() prototypes in curs_threads(3x). Submitted by: Yanhui Shen Modified: stable/9/contrib/ncurses/man/curs_threads.3x

svn commit: r235975 - head/usr.bin/gprof

2012-05-24 Thread Grzegorz Bernacki
Author: gber Date: Fri May 25 06:48:42 2012 New Revision: 235975 URL: http://svn.freebsd.org/changeset/base/235975 Log: Fix resolving symbol names on ARM. On ARM, binutils are adding '$a' symbols in the symbol table for every function (in addition to normal symbol). When gprof(1) looks

  1   2   >