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

2017-09-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Sep 22 06:31:02 UTC 2017

Modified Files:
src/sys/arch/arm/cortex: a9_mpsubr.S

Log Message:
Typo


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/arm/cortex/a9_mpsubr.S

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



CVS commit: src/sys/kern

2017-09-21 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Sep 22 06:05:20 UTC 2017

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

Log Message:
Fix non-DIAGNOSTICS build by adjusting _vstate_assert here too.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/kern/vfs_vnode.c

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



CVS commit: src/sys/net

2017-09-21 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Fri Sep 22 05:05:32 UTC 2017

Modified Files:
src/sys/net: route.c

Log Message:
Remove the global lock for rtcache

Thanks to removal of LIST_ENTRY of struct route, rtcaches are accessed only by
their users. And in existing usages a rtcache is guranteed to be not accessed
simultaneously. So the rtcache framework doesn't need any exclusion controls
in itself.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/sys/net/route.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/oea

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:45:56 UTC 2017

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
add quick path for timebase-frequency detection
deal with differences in /u4 reg property encoding vs. /uni-n, so this works
on my G5 now


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/powerpc/oea/ofwoea_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/macppc/dev

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:11:24 UTC 2017

Removed Files:
src/sys/arch/macppc/dev: dbcool_ki2c.c

Log Message:
no more special treatment for dbcool


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r0 src/sys/arch/macppc/dev/dbcool_ki2c.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/macppc/conf

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:09:06 UTC 2017

Modified Files:
src/sys/arch/macppc/conf: GENERIC

Log Message:
all i2c controllers support direct config now, so get rid of hard wired
i2c buses and addresses


To generate a diff of this commit:
cvs rdiff -u -r1.335 -r1.336 src/sys/arch/macppc/conf/GENERIC

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



CVS commit: src/sys/dev/i2c

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:07:34 UTC 2017

Modified Files:
src/sys/dev/i2c: sgsmix.c

Log Message:
use direct config


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/sgsmix.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/macppc/dev

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:01:41 UTC 2017

Modified Files:
src/sys/arch/macppc/dev: videopll.c

Log Message:
switch to direct configuration


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/macppc/dev/videopll.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/macppc/dev

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 04:00:58 UTC 2017

Modified Files:
src/sys/arch/macppc/dev: cuda.c

Log Message:
direct configure i2c devices


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/macppc/dev/cuda.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/macppc/conf

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 03:15:08 UTC 2017

Modified Files:
src/sys/arch/macppc/conf: GENERIC

Log Message:
move i2c devices to iic, add valkyriefb and videopll


To generate a diff of this commit:
cvs rdiff -u -r1.334 -r1.335 src/sys/arch/macppc/conf/GENERIC

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



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

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 03:11:43 UTC 2017

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

Log Message:
no more special attachment for dbcool, deq attaches to iic now


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/sys/arch/macppc/conf/files.macppc

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



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

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 03:10:46 UTC 2017

Modified Files:
src/sys/arch/macppc/dev: deq.c

Log Message:
attach to iic, use direct config


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/macppc/dev/deq.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/macppc/dev

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 03:09:51 UTC 2017

Modified Files:
src/sys/arch/macppc/dev: ki2c.c

Log Message:
follow sparc64 and do direct config for i2c-devices
while there, make sure we play nice with smbus single byte reads


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/macppc/dev/ki2c.c

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



CVS commit: src/sys/opencrypto

2017-09-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Fri Sep 22 03:04:06 UTC 2017

Modified Files:
src/sys/opencrypto: crypto.c

Log Message:
fix opencrypto(9) part of PR kern/52515

percpu data use pointers to TAILQ instead of TAILQ itself.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/opencrypto/crypto.c

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



CVS commit: src/sys/dev/i2c

2017-09-21 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep 22 03:04:17 UTC 2017

Modified Files:
src/sys/dev/i2c: dbcool.c

Log Message:
add more names for direct config


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/i2c/dbcool.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/nvidia

2017-09-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep 22 01:24:05 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: tegra210_car.c

Log Message:
Initialize PLLE


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/nvidia/tegra210_car.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/nvidia

2017-09-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep 22 01:24:31 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: tegra210_carreg.h tegra210_xusbpad.c

Log Message:
More USB3 port init stuff


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/nvidia/tegra210_carreg.h \
src/sys/arch/arm/nvidia/tegra210_xusbpad.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/nvidia

2017-09-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Sep 21 23:44:48 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: tegra_xusb.c

Log Message:
Enable xusb on tegra210


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/nvidia/tegra_xusb.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/nvidia

2017-09-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Sep 21 23:44:26 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: tegra210_car.c tegra210_carreg.h

Log Message:
Setup PLLU


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/nvidia/tegra210_car.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/nvidia/tegra210_carreg.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/nvidia

2017-09-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Sep 21 22:54:39 UTC 2017

Modified Files:
src/sys/arch/arm/nvidia: tegra210_car.c

Log Message:
Fix div calculation and utmip init params


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/nvidia/tegra210_car.c

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



CVS commit: src/usr.bin/stat

2017-09-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Sep 21 22:53:19 UTC 2017

Modified Files:
src/usr.bin/stat: stat.c

Log Message:
Handle the new %f (as an addition to the strftime format - -t arg)
correctly, in particular %%f does not contain the %f format, and like
all strftime conversions, %f can occur more than once (not that it is
likely to happen, but just in case...)


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/stat/stat.c

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



CVS commit: src/sys/external/bsd/vchiq/dist/interface/vchiq_arm

2017-09-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Sep 21 19:29:35 UTC 2017

Modified Files:
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm:
vchiq_kmod_netbsd.c

Log Message:
Spaces to TAB


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_kmod_netbsd.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/pic

2017-09-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Sep 21 19:29:14 UTC 2017

Modified Files:
src/sys/arch/arm/pic: pic.c

Log Message:
spaces to TAB


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/arm/pic/pic.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/broadcom

2017-09-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Sep 21 19:28:14 UTC 2017

Modified Files:
src/sys/arch/arm/broadcom: bcm2835_gpio.c bcm2835_tmr.c

Log Message:
spaces to tabs


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/broadcom/bcm2835_gpio.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/arm/broadcom/bcm2835_tmr.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/fdt

2017-09-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Sep 21 19:28:37 UTC 2017

Modified Files:
src/sys/arch/arm/fdt: arm_fdt.c

Log Message:
Spaces to TABs


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

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



CVS commit: src/usr.bin/stat

2017-09-21 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Sep 21 18:50:08 UTC 2017

Modified Files:
src/usr.bin/stat: stat.c

Log Message:
KNF, and since this gets compiled as a tool, avoid C99 declarations.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/stat/stat.c

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



CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-21 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Sep 21 18:47:21 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: ata_wdc.c

Log Message:
add missing ata_channel_unlock() in bailout path of wdc_ata_bio_intr()


To generate a diff of this commit:
cvs rdiff -u -r1.105.6.9 -r1.105.6.10 src/sys/dev/ata/ata_wdc.c

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



CVS commit: src/sys

2017-09-21 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Sep 21 18:19:44 UTC 2017

Modified Files:
src/sys/kern: vfs_vnode.c
src/sys/sys: vnode_impl.h

Log Message:
Change the VSTATE_ASSERT_UNLOCKED code by pushing the potential lock
handling into the backend and doing an optimistic (unlocked) check
first. Always taking the vnode interlock makes this assertion otherwise
very heavy for multi-processor machines. Ride the kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.16 -r1.17 src/sys/sys/vnode_impl.h

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



CVS commit: [jdolecek-ncq] src/sys/dev/ata

2017-09-21 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Sep 21 17:15:18 UTC 2017

Modified Files:
src/sys/dev/ata [jdolecek-ncq]: TODO.ncq

Log Message:
wddone() doesn't need more locking


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.43 -r1.1.2.44 src/sys/dev/ata/TODO.ncq

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



CVS commit: src/sys/net

2017-09-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Sep 21 11:42:17 UTC 2017

Modified Files:
src/sys/net: if_loop.c

Log Message:
loop_clone_create() must be called after ncpu is counted up for all CPUs.

loop_clone_create() uses ncpu in the following call-path.
- loop_clone_create()
  - if_attach()
- if_percpuq_create()
  - softint_establish() // use ncpu
  - percpu_foreach() // use ncpu

However, loopinit() of built-in module is called from
module_init_class(MODULE_CLASS_DRIVER) which is called before ncpu is counted
up in some architectures. So, It is too fast.
On the other hand, it is too late for rump netinet component to call
loop_clone_create() in config_finalize().

As the result, loop_clone_create() shuld be called in loopattach() for built-in
module, and in loopinit() for dynamic module.

XXX need pullup -8 branch


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/net/if_loop.c

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



CVS commit: src/sys/net

2017-09-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Sep 21 09:48:15 UTC 2017

Modified Files:
src/sys/net: if_gif.h

Log Message:
update locking notes.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/net/if_gif.h

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



CVS commit: src/sys/net

2017-09-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Sep 21 09:46:14 UTC 2017

Modified Files:
src/sys/net: if_gif.c

Log Message:
add lock for sclist to exclude ifconfig gifX add/delete and ifconfig gifX tunnel


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/net/if_gif.c

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



CVS commit: src/sys

2017-09-21 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Thu Sep 21 09:42:03 UTC 2017

Modified Files:
src/sys/net: if_gif.c if_gif.h
src/sys/netinet: in_gif.c
src/sys/netinet6: in6_gif.c

Log Message:
add lock for percpu route like l2tp(4).


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/net/if_gif.c
cvs rdiff -u -r1.25 -r1.26 src/sys/net/if_gif.h
cvs rdiff -u -r1.87 -r1.88 src/sys/netinet/in_gif.c
cvs rdiff -u -r1.85 -r1.86 src/sys/netinet6/in6_gif.c

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



CVS commit: src/sys/sys

2017-09-21 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Sep 21 07:22:03 UTC 2017

Modified Files:
src/sys/sys: param.h

Log Message:
Dump the kernel version for the latest change of struct route

Welcome to 8.99.3


To generate a diff of this commit:
cvs rdiff -u -r1.545 -r1.546 src/sys/sys/param.h

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



CVS commit: src/sys

2017-09-21 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Thu Sep 21 07:15:35 UTC 2017

Modified Files:
src/sys/net: route.c route.h
src/sys/netatalk: at_proto.c
src/sys/netinet: in_proto.c
src/sys/netinet6: in6_proto.c
src/sys/netmpls: mpls_proto.c
src/sys/netnatm: natm_proto.c
src/sys/rump/net/lib/libsockin: sockin.c
src/sys/sys: domain.h

Log Message:
Invalidate rtcache based on a global generation counter

The change introduces a global generation counter that is incremented when any
routes have been added or deleted. When a rtcache caches a rtentry into itself,
it also stores a snapshot of the generation counter. If the snapshot equals to
the global counter, the cache is still valid, otherwise invalidated.

One drawback of the change is that all rtcaches of all protocol families are
invalidated when any routes of any protocol families are added or deleted.
If that matters, we should have separate generation counters based on
protocol families.

This change removes LIST_ENTRY from struct route, which fixes a part of
PR kern/52515.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/net/route.c
cvs rdiff -u -r1.113 -r1.114 src/sys/net/route.h
cvs rdiff -u -r1.21 -r1.22 src/sys/netatalk/at_proto.c
cvs rdiff -u -r1.123 -r1.124 src/sys/netinet/in_proto.c
cvs rdiff -u -r1.117 -r1.118 src/sys/netinet6/in6_proto.c
cvs rdiff -u -r1.30 -r1.31 src/sys/netmpls/mpls_proto.c
cvs rdiff -u -r1.17 -r1.18 src/sys/netnatm/natm_proto.c
cvs rdiff -u -r1.64 -r1.65 src/sys/rump/net/lib/libsockin/sockin.c
cvs rdiff -u -r1.32 -r1.33 src/sys/sys/domain.h

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



CVS commit: src/usr.bin/sys_info

2017-09-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Sep 21 07:07:28 UTC 2017

Modified Files:
src/usr.bin/sys_info: sys_info.1 sys_info.sh

Log Message:
Sort options and their descriptions in man page and usage.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/sys_info/sys_info.1
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/sys_info/sys_info.sh

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