CVS commit: src/sys/arch/arm/conf

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 07:12:10 UTC 2013

Modified Files:
src/sys/arch/arm/conf: files.arm

Log Message:
Add CPU_ARMV7 and make CPU_PJ4B and CPU_CORTEX instantiate it.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/sys/arch/arm/conf/files.arm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/arm32

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 07:13:18 UTC 2013

Modified Files:
src/sys/arch/arm/arm32: pmap.c

Log Message:
If the vector_page is not ARM_VECTORS_{LOW,HIGH}, assume it's in kernel
text and don't do anything special to map it.


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 src/sys/arch/arm/arm32/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/arm32

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 07:14:26 UTC 2013

Modified Files:
src/sys/arch/arm/arm32: arm32_boot.c

Log Message:
Add printfs around initializing the vector_page.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/arm32/arm32_boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/arm

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 07:17:23 UTC 2013

Modified Files:
src/sys/arch/arm/arm: vectors.S

Log Message:
If we are using the VBAR to access the system vectors, we can just branch
to the exception routines avoiding a load.  VBAR only exists for those
processors which implement the Security extension.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/arm/vectors.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/xrandr/dist

2013-06-12 Thread matthew green
Module Name:xsrc
Committed By:   mrg
Date:   Wed Jun 12 07:50:29 UTC 2013

Modified Files:
xsrc/external/mit/xrandr/dist: xrandr.c

Log Message:
revert revision 1.8; no longer necessary.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 xsrc/external/mit/xrandr/dist/xrandr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/libpciaccess/dist/src

2013-06-12 Thread Thomas Klausner
Module Name:xsrc
Committed By:   wiz
Date:   Wed Jun 12 09:58:54 UTC 2013

Modified Files:
xsrc/external/mit/libpciaccess/dist/src: netbsd_pci.c

Log Message:
Remove trailing whitespace (reduce diff to upstream).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
xsrc/external/mit/libpciaccess/dist/src/netbsd_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: xsrc/external/mit/libpciaccess/dist/src

2013-06-12 Thread Thomas Klausner
Module Name:xsrc
Committed By:   wiz
Date:   Wed Jun 12 09:59:11 UTC 2013

Modified Files:
xsrc/external/mit/libpciaccess/dist/src: common_interface.c

Log Message:
Re-add const in correct place (reduce diff to upstream).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
xsrc/external/mit/libpciaccess/dist/src/common_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/fs/vfs

2013-06-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun 12 12:08:08 UTC 2013

Modified Files:
src/tests/fs/vfs: t_io.c

Log Message:
Fix the test for rumpfs on amd64 by adding a creation mode to open().
thanks to gson for the prod.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/tests/fs/vfs/t_io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpvfs

2013-06-12 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Jun 12 12:14:35 UTC 2013

Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
Make sure root creds override fs mode (at least in a root cred secmodel).
The correct way is of course for the access method to perform this:

return kauth_authorize_vnode(cred, KAUTH_ACCESS_ACTION(mode,
vp->v_type, attr->va_mode), vp, NULL, genfs_can_access(vp->v_type,
attr->va_mode, attr->va_uid, attr->va_gid, mode, cred));


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/sys/rump/librump/rumpvfs/rumpfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/powerpc/powerpc

2013-06-12 Thread KIYOHARA Takashi
Module Name:src
Committed By:   kiyohara
Date:   Wed Jun 12 15:11:08 UTC 2013

Modified Files:
src/sys/arch/powerpc/powerpc: ofw_machdep.c

Log Message:
Fix lost avail memory over 256M.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/powerpc/powerpc/ofw_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/arm

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 15:10:13 UTC 2013

Modified Files:
src/sys/arch/arm/arm: vectors.S

Log Message:
Deal with __ARM_FIQ_INDIRECT


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/arm/vectors.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/include

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 17:06:52 UTC 2013

Modified Files:
src/sys/arch/arm/include: armreg.h

Log Message:
Fix VBAR inlines


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/arm/include/armreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm/arm32

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 17:13:05 UTC 2013

Modified Files:
src/sys/arch/arm/arm32: arm32_kvminit.c arm32_machdep.c

Log Message:
Add support for the VBAR (vector base address register) to remap the vectors
into the kernel text segment.  This register is available on arm1176 and
all cortex processors since they all have the arm security (trustzone)
extension.  We avoid having to specially map either vector page (0x
or 0x) and use VBAR to both to page0rel in the text segment.  These
vector group differs from the normal page0, that since it's in the kernel,
it can branch directly to the exception routine, instead of loading the
address into the PC.  This should result in a tiny improvement in speed since
we eliminate a TLB mapping the vector page and a load on every exception.

XXX Add __HAVE_ARM_TRUSTZONE cpp define and use that to eliminate all code
have to do with manipulating the vector page.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/arm32/arm32_kvminit.c
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/arm/arm32/arm32_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbarm/beagle

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 20:36:53 UTC 2013

Modified Files:
src/sys/arch/evbarm/beagle: beagle_machdep.c

Log Message:
Now that VBAR support is present, switch to ARM_VECTORS_LOW.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/beagle/beagle_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc/dev

2013-06-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Jun 12 20:43:22 UTC 2013

Modified Files:
src/sys/arch/sparc/dev: sxreg.h

Log Message:
document arithmetics instructions


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sparc/dev/sxreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/sparc/dev

2013-06-12 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Wed Jun 12 20:44:20 UTC 2013

Modified Files:
src/sys/arch/sparc/dev: sxreg.h

Log Message:
fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sparc/dev/sxreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/arm

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 21:34:12 UTC 2013

Modified Files:
src/sys/arch/arm/arm: fiq.c vectors.S
src/sys/arch/arm/arm32: arm32_kvminit.c arm32_machdep.c pmap.c
src/sys/arch/arm/conf: files.arm
src/sys/arch/arm/include/arm32: pmap.h

Log Message:
Add a ARM_HAS_VBAR option which forces the use of the VBAR register.  This
allows much code to deal with vector_page mappings to be eliminated.  On a
BEAGLEBONE kernel, this saves 8KB of text and instructions that never have
to be executed.  (The PJ4B has VBAR but doesn't implement the security
extensions it is part of so a method was needed to allow it use VBAR with
relying on the default test for the security extensions.)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/arm/fiq.c \
src/sys/arch/arm/arm/vectors.S
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/arm32/arm32_kvminit.c
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/arm/arm32/arm32_machdep.c
cvs rdiff -u -r1.256 -r1.257 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.118 -r1.119 src/sys/arch/arm/conf/files.arm
cvs rdiff -u -r1.119 -r1.120 src/sys/arch/arm/include/arm32/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2013-06-12 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Jun 12 21:35:30 UTC 2013

Modified Files:
src/distrib/sets: mkvars.mk sets.subr
src/distrib/sets/lists/xcomp: mi
src/external/mit/xorg/server: Makefile
src/external/mit/xorg/server/xorg-server: Makefile Makefile.common
src/share/mk: bsd.own.mk

Log Message:
rename (new) xorg_drivers to xorg_server -- platforms that build the
actual Xorg server (aka "xfree86 server").

move the list of these platforms from xorg-server/Makefile.common to
bsd.own.mk, so that we can access it easily in distrib.

this should fix most of the current build failures.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/sets/mkvars.mk
cvs rdiff -u -r1.150 -r1.151 src/distrib/sets/sets.subr
cvs rdiff -u -r1.142 -r1.143 src/distrib/sets/lists/xcomp/mi
cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/server/Makefile
cvs rdiff -u -r1.19 -r1.20 src/external/mit/xorg/server/xorg-server/Makefile
cvs rdiff -u -r1.25 -r1.26 \
src/external/mit/xorg/server/xorg-server/Makefile.common
cvs rdiff -u -r1.733 -r1.734 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/evbarm/conf

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 12 21:35:22 UTC 2013

Modified Files:
src/sys/arch/evbarm/conf: std.beagle

Log Message:
add ARM_HAS_VBAR option


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/conf/std.beagle

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2013-06-12 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Thu Jun 13 00:55:01 UTC 2013

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_rng.c
src/sys/dev: rndpseudo.c
src/sys/dev/pci: amdpm.c amdpm_smbus.c amdpmvar.h hifn7751.c
hifn7751var.h ubsec.c ubsecvar.h
src/sys/dev/scsipi: sd.c
src/sys/kern: kern_rndpool.c kern_rndq.c subr_cprng.c
src/sys/sys: rnd.h

Log Message:
Convert the entropy pool framework from pseudo-callout-driven to
soft interrupt driven operation.

Add a polling mode of operation -- now we can ask hardware random number
generators to top us up just when we need it (bcm2835_rng and amdpm
converted as examples).

Fix a stall noticed with repeated reads from /dev/random while testing.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/broadcom/bcm2835_rng.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/rndpseudo.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/pci/amdpm.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/amdpm_smbus.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/amdpmvar.h \
src/sys/dev/pci/hifn7751var.h
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pci/hifn7751.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/pci/ubsec.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/ubsecvar.h
cvs rdiff -u -r1.300 -r1.301 src/sys/dev/scsipi/sd.c
cvs rdiff -u -r1.2 -r1.3 src/sys/kern/kern_rndpool.c
cvs rdiff -u -r1.10 -r1.11 src/sys/kern/kern_rndq.c
cvs rdiff -u -r1.16 -r1.17 src/sys/kern/subr_cprng.c
cvs rdiff -u -r1.35 -r1.36 src/sys/sys/rnd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2013-06-12 Thread Thor Lancelot Simon
Module Name:src
Committed By:   tls
Date:   Thu Jun 13 01:37:03 UTC 2013

Modified Files:
src/sys/kern: kern_rndq.c

Log Message:
Correct misunderstanding in previous: a mutex is not required to protect
the soft interrupt dispatches.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/kern/kern_rndq.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src

2013-06-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun 13 04:20:30 UTC 2013

Modified Files:
src/distrib/sets/lists/base [netbsd-6]: ad.mips64eb ad.mips64el
md.amd64 md.sparc64 shl.mi
src/distrib/sets/lists/comp [netbsd-6]: ad.mips64eb ad.mips64el
md.amd64 md.sparc64 shl.mi
src/include [netbsd-6]: res_update.h
src/lib/libc/nameser [netbsd-6]: ns_samedomain.c
src/lib/libresolv [netbsd-6]: Makefile shlib_version
Added Files:
src/lib/libresolv [netbsd-6]: dst_api.c dst_internal.h hmac_link.c
ns_date.c ns_sign.c ns_verify.c res_findzonecut.c res_mkupdate.c
res_mkupdate.h res_private.h res_sendsigned.c res_update.c
support.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #887):
lib/libc/nameser/ns_samedomain.c1.7-1.8
lib/libresolv/Makefile  1.12
lib/libresolv/dst_api.c 1.1-1.3
lib/libresolv/dst_internal.h1.1-1.2
lib/libresolv/hmac_link.c   1.1-1.2
lib/libresolv/ns_date.c 1.1
lib/libresolv/ns_sign.c 1.1
lib/libresolv/ns_verify.c   1.1-1.2
lib/libresolv/res_findzonecut.c 1.1
lib/libresolv/res_mkupdate.c1.1-1.2
lib/libresolv/res_mkupdate.h1.1
lib/libresolv/res_private.h 1.1
lib/libresolv/res_sendsigned.c  1.1
lib/libresolv/res_update.c  1.1
lib/libresolv/support.c 1.1
lib/libresolv/shlib_version 1.7
include/res_update.h1.8
distrib/sets/lists/base/ad.mips64eb 1.102
distrib/sets/lists/base/ad.mips64el 1.101
distrib/sets/lists/base/md.amd641.178
distrib/sets/lists/base/md.sparc64  1.167
distrib/sets/lists/base/shl.mi  1.639
distrib/sets/lists/comp/ad.mips64eb 1.91
distrib/sets/lists/comp/ad.mips64el 1.93
distrib/sets/lists/comp/md.amd641.181
distrib/sets/lists/comp/md.sparc64  1.159
distrib/sets/lists/comp/shl.mi  1.238

 Bring libresolv to its latest version which restore missing bits such
as DNS update.


To generate a diff of this commit:
cvs rdiff -u -r1.82.2.10 -r1.82.2.11 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.81.2.10 -r1.81.2.11 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.156.2.10 -r1.156.2.11 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.147.2.10 -r1.147.2.11 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.616.2.10 -r1.616.2.11 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.69.2.7 -r1.69.2.8 src/distrib/sets/lists/comp/ad.mips64eb
cvs rdiff -u -r1.69.2.8 -r1.69.2.9 src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.155.2.7 -r1.155.2.8 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.138.2.7 -r1.138.2.8 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.209.2.12 -r1.209.2.13 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.7 -r1.7.10.1 src/include/res_update.h
cvs rdiff -u -r1.6 -r1.6.8.1 src/lib/libc/nameser/ns_samedomain.c
cvs rdiff -u -r1.11 -r1.11.50.1 src/lib/libresolv/Makefile
cvs rdiff -u -r0 -r1.3.10.2 src/lib/libresolv/dst_api.c
cvs rdiff -u -r0 -r1.2.10.2 src/lib/libresolv/dst_internal.h \
src/lib/libresolv/hmac_link.c src/lib/libresolv/ns_verify.c
cvs rdiff -u -r0 -r1.1.10.2 src/lib/libresolv/ns_date.c \
src/lib/libresolv/ns_sign.c src/lib/libresolv/res_findzonecut.c \
src/lib/libresolv/res_mkupdate.h src/lib/libresolv/res_private.h \
src/lib/libresolv/res_sendsigned.c src/lib/libresolv/res_update.c \
src/lib/libresolv/support.c
cvs rdiff -u -r0 -r1.2.8.2 src/lib/libresolv/res_mkupdate.c
cvs rdiff -u -r1.6 -r1.6.10.1 src/lib/libresolv/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jun 13 06:11:54 UTC 2013

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
Regen.


To generate a diff of this commit:
cvs rdiff -u -r1.1149 -r1.1150 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1148 -r1.1149 src/sys/dev/pci/pcidevs_data.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/pci

2013-06-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Jun 13 06:11:34 UTC 2013

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add ATI RADEON_HD7340


To generate a diff of this commit:
cvs rdiff -u -r1.1157 -r1.1158 src/sys/dev/pci/pcidevs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sys/fs/nilfs

2013-06-12 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Jun 13 06:49:08 UTC 2013

Modified Files:
src/sys/fs/nilfs [netbsd-6]: nilfs_vnops.c

Log Message:
Pull up following revision(s) (requested by reinoud in ticket #894):
sys/fs/nilfs/nilfs_vnops.c: revision 1.22-1.23
Fix serious file read problem due to not-so-clear VOP_BMAP description. Should
fix PR 45605.


To generate a diff of this commit:
cvs rdiff -u -r1.16.6.1 -r1.16.6.2 src/sys/fs/nilfs/nilfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.