CVS commit: [netbsd-7] src/doc

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:29:48 UTC 2017

Modified Files:
src/doc [netbsd-7]: CHANGES-7.2

Log Message:
1418, 1422, 1423, 1438-1440, 1447, 1452, 1456


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.30 -r1.1.2.31 src/doc/CHANGES-7.2

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/ipf/netinet

2017-07-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 23 06:19:00 UTC 2017

Modified Files:
src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c

Log Message:
use the scoping functions (JINMEI, Tatuya)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c

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



CVS commit: [netbsd-7-1] src/doc

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:15:49 UTC 2017

Modified Files:
src/doc [netbsd-7-1]: CHANGES-7.1.1

Log Message:
1418


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.17 -r1.1.2.18 src/doc/CHANGES-7.1.1

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



CVS commit: [netbsd-7] src/sys/arch/arm

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:14:04 UTC 2017

Modified Files:
src/sys/arch/arm/arm [netbsd-7]: cpufunc_asm_arm11x6.S
src/sys/arch/arm/arm32 [netbsd-7]: genassym.cf

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1452):
sys/arch/arm/arm32/genassym.cf: revision 1.75
sys/arch/arm/arm/cpufunc_asm_arm11x6.S: revision 1.8
In idcache_wbinv_range if the range size is bigger than the dcache size
then call idcache_wbinv_all
Avoids a problem with large ranges as seen in
port-evbarm/52169: setting dtrace module to load cause Pi to hang on boot


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S
cvs rdiff -u -r1.69.2.1 -r1.69.2.2 src/sys/arch/arm/arm32/genassym.cf

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/ipf/netinet

2017-07-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 23 06:12:02 UTC 2017

Modified Files:
src/sys/external/bsd/ipf/netinet: ip_fil_netbsd.c

Log Message:
>From Edgar Fuss:
ipf's return-icmp doesn't work when the packet matched by the rule is
directed at a link local address. The problem is that
ipf_send_icmp_err() calls ipf_ifpaddr() to find an address of the
interface in question, but that routine discards link local addresses.
I guess the best fix is to simply use the destination address instead if
it is link local, i.e. treat the rule as if return-icmp-as-dest was
given in this case.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c

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



CVS commit: [netbsd-7] src/sys/dev/usb

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:11:47 UTC 2017

Modified Files:
src/sys/dev/usb [netbsd-7]: uhci.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1456):
sys/dev/usb/uhci.c: revision 1.276
Only call uhci_free_stds if there are TDs to free.
In uhci_alloc_std_chain ensure we fill the TD array correctly and note
the number of allocated TDs so that uhci_free_stds will do the right thing
Fixes a problem seen by anon


To generate a diff of this commit:
cvs rdiff -u -r1.264.2.1 -r1.264.2.2 src/sys/dev/usb/uhci.c

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



CVS commit: [netbsd-7] src/sys/dev/sdmmc

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:09:53 UTC 2017

Modified Files:
src/sys/dev/sdmmc [netbsd-7]: ld_sdmmc.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #1447):
sys/dev/sdmmc/ld_sdmmc.c: revision 1.29
The config_* APIs are not MPSAFE, so make sure the deferred attach
thread holds KERNEL_LOCK.


To generate a diff of this commit:
cvs rdiff -u -r1.12.4.1 -r1.12.4.2 src/sys/dev/sdmmc/ld_sdmmc.c

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



CVS commit: [netbsd-7] src

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:08:17 UTC 2017

Modified Files:
src/distrib/utils/libhack [netbsd-7]: Makefile Makefile.inc
src/lib/libc/gen [netbsd-7]: getcap.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1440):
distrib/utils/libhack/Makefile: revision 1.25
distrib/utils/libhack/Makefile.inc: revision 1.27
lib/libc/gen/getcap.c: revision 1.57
Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.4.1 src/distrib/utils/libhack/Makefile
cvs rdiff -u -r1.25 -r1.25.4.1 src/distrib/utils/libhack/Makefile.inc
cvs rdiff -u -r1.53 -r1.53.2.1 src/lib/libc/gen/getcap.c

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



CVS commit: [netbsd-7] src/lib/libc/net

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:06:52 UTC 2017

Modified Files:
src/lib/libc/net [netbsd-7]: Makefile.inc

Log Message:
Pull up following revision(s) (requested by manu in ticket #1439):
lib/libc/net/Makefile.inc: revision 1.87
Include IPv6 global variable in USE_INET6=no libc
This ensures a binary built with USE_INET6=yes libc can still link at
runtime with a USE_INET6=no libc. Of course IPv6 functionnality is not
available, but dynamic linking is not killed by missing symbols such
as in6addr_any.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.85.4.1 src/lib/libc/net/Makefile.inc

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



CVS commit: [netbsd-7] src/sys/dev/hpc

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:05:36 UTC 2017

Modified Files:
src/sys/dev/hpc [netbsd-7]: hpckbd.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1438):
sys/dev/hpc/hpckbd.c: revision 1.31
Restore wscons keymaps feature on hpcarm
hpc ports need to alter keydesc data at runtime in order to load
alternate keymaps. But since keydesc is const initialized data, it
is mapped read only and the operation should fail.
It seems older compiler failed to enforce the read-only mapping and
this is why it used to work, but on recent NetBSD releases, the
feature is broken.
We fix it by duplicating the keydesc data once into a malloc'ed area
that can be modified.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.30.12.1 src/sys/dev/hpc/hpckbd.c

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



CVS commit: [netbsd-7] src/sys/modules/lua

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:03:30 UTC 2017

Modified Files:
src/sys/modules/lua [netbsd-7]: lua.c

Log Message:
Pull up following revision(s) (requested by mbalmer in ticket #1423):
sys/modules/lua/lua.c: revision 1.23
always put the module on the stack


To generate a diff of this commit:
cvs rdiff -u -r1.13.2.5 -r1.13.2.6 src/sys/modules/lua/lua.c

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



CVS commit: [netbsd-7] src/sys/modules/lua

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 06:00:39 UTC 2017

Modified Files:
src/sys/modules/lua [netbsd-7]: lua.c

Log Message:
Pull up following revision(s) (requested by mbalmer in ticket #1422):
sys/modules/lua/lua.c: revision 1.22 via patch
Only load a module if it is not already loaded in a state (much like
userland Lua handles require).
Fixes PR kern/52226.


To generate a diff of this commit:
cvs rdiff -u -r1.13.2.4 -r1.13.2.5 src/sys/modules/lua/lua.c

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



CVS commit: [netbsd-7-1] src/sys/modules/lua

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 05:56:36 UTC 2017

Modified Files:
src/sys/modules/lua [netbsd-7-1]: lua.c

Log Message:
Pull up following revision(s) (requested by mbalmer in ticket #1418):
sys/modules/lua/lua.c: revision 1.21
Avoid possible null pointer dereferencing.
Fixes PR kern/52225.


To generate a diff of this commit:
cvs rdiff -u -r1.13.2.3 -r1.13.2.3.4.1 src/sys/modules/lua/lua.c

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



CVS commit: [netbsd-7] src/sys/modules/lua

2017-07-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Jul 23 05:55:04 UTC 2017

Modified Files:
src/sys/modules/lua [netbsd-7]: lua.c

Log Message:
Pull up following revision(s) (requested by mbalmer in ticket #1418):
sys/modules/lua/lua.c: revision 1.21
Avoid possible null pointer dereferencing.
Fixes PR kern/52225.


To generate a diff of this commit:
cvs rdiff -u -r1.13.2.3 -r1.13.2.4 src/sys/modules/lua/lua.c

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



CVS commit: src/crypto/dist/ipsec-tools/src/racoon

2017-07-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Jul 23 05:40:28 UTC 2017

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: isakmp_frag.c

Log Message:
PR/51682: Antoine Beaupr�: Simplify and comment previous patch.
XXX: pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/crypto/dist/ipsec-tools/src/racoon/isakmp_frag.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-07-22 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Jul 22 22:02:21 UTC 2017

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

Log Message:
provide channel flag when executing NCQ commands, so that e.g. intr
handler can use this for handling decisions without checking xfer


To generate a diff of this commit:
cvs rdiff -u -r1.132.8.20 -r1.132.8.21 src/sys/dev/ata/ata.c
cvs rdiff -u -r1.92.8.18 -r1.92.8.19 src/sys/dev/ata/atavar.h

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



CVS commit: src/external/gpl3/gcc/dist/gcc

2017-07-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Jul 22 20:52:52 UTC 2017

Modified Files:
src/external/gpl3/gcc/dist/gcc: varasm.c

Log Message:
One more missing check for DECL_INITIAL being non-NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/varasm.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/newsmips/conf

2017-07-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 22 20:21:09 UTC 2017

Modified Files:
src/sys/arch/newsmips/conf: INSTALL

Log Message:
surf the bloat


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/newsmips/conf/INSTALL

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



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

2017-07-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jul 22 19:26:41 UTC 2017

Modified Files:
src/sys/arch/cobalt/conf: RAMDISK

Log Message:
we need to get on a diet


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/cobalt/conf/RAMDISK

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



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

2017-07-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 22 13:03:54 UTC 2017

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

Log Message:
Add USER_LDT, commented out for now.


To generate a diff of this commit:
cvs rdiff -u -r1.460 -r1.461 src/sys/arch/amd64/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/amd64/amd64

2017-07-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 22 13:00:42 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep.c

Log Message:
Branch for USER_LDT.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/amd64/amd64/netbsd32_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/amd64/amd64

2017-07-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 22 09:20:01 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: machdep.c

Log Message:
Must be curlwp.


To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 src/sys/arch/amd64/amd64/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

2017-07-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 22 09:01:46 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: autoconf.c machdep.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/x86/include: cpu.h

Log Message:
Call _proc0_tss_ldt_init only once, and rename them.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/amd64/amd64/autoconf.c
cvs rdiff -u -r1.257 -r1.258 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.784 -r1.785 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/x86/include/cpu.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

2017-07-22 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sat Jul 22 08:59:06 UTC 2017

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.1286 -r1.1287 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1285 -r1.1286 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

2017-07-22 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sat Jul 22 08:58:24 UTC 2017

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

Log Message:
- Add some AMD devices.
- Add Broadcom BCM5762.


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

2017-07-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 22 08:23:19 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: machdep.c
src/sys/arch/i386/i386: machdep.c
src/sys/arch/x86/x86: pmap.c

Log Message:
Initialize these kpm fields in pmap_bootstrap.


To generate a diff of this commit:
cvs rdiff -u -r1.256 -r1.257 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.783 -r1.784 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.254 -r1.255 src/sys/arch/x86/x86/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

2017-07-22 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 22 08:01:35 UTC 2017

Modified Files:
src/sys/arch/amd64/amd64: mptramp.S
src/sys/arch/i386/i386: mptramp.S

Log Message:
Clean up, it is easier to debug with qemu+gdb anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/amd64/amd64/mptramp.S
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/i386/i386/mptramp.S

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