CVS commit: src/sys

2018-10-11 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct 12 05:49:38 UTC 2018

Modified Files:
src/sys/kern: uipc_mbufdebug.c
src/sys/sys: mbuf.h

Log Message:
- Print TCP options. Some of them are not decoded yet (e.g. SACK).
- Print IP checksum and TCP checksum.
- When a packet length is shorter than a required size of the protocol, print
  both sizes.
- Make m_examine_xxx() functions global.
- Use bool instead of boolean_t.
- s/TRUE/true/, s/FALSE/false/
- KNF


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/kern/uipc_mbufdebug.c
cvs rdiff -u -r1.210 -r1.211 src/sys/sys/mbuf.h

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



CVS commit: src/sys/netinet

2018-10-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Oct 12 05:41:18 UTC 2018

Modified Files:
src/sys/netinet: ip_reass.c

Log Message:
Force ip_off to zero when the reassembly is complete. This was lost in my
rev1.19 - before that the IP struct was clobbered for the reassembly, but
it actually implicitly guaranteed that the first fragment of the packet
would end up with ip_off = 0, and this was a desired behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/netinet/ip_reass.c

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



CVS commit: src/sys/compat/netbsd32

2018-10-11 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Oct 12 05:06:05 UTC 2018

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c

Log Message:
PR kern/53666
Correct misleading names of dummy variables. No binary changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/compat/netbsd32/netbsd32_ioctl.c

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



CVS commit: src/share/man/man4

2018-10-11 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Fri Oct 12 04:43:50 UTC 2018

Modified Files:
src/share/man/man4: ddb.4

Log Message:
 The 'c' modifier of mbuf command is to NOT follow the mbuf chain.
Usually, users want to floow the mbuf chain. This modifier is used when a
user don't want to follow a mbuf chain.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 src/share/man/man4/ddb.4

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



CVS commit: [pgoyette-compat] src/doc

2018-10-11 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Oct 12 04:12:07 UTC 2018

Modified Files:
src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Remove the last item in the need-for-merge section.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.17 -r1.1.2.18 src/doc/TODO.compat-module

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



CVS commit: src/doc

2018-10-11 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Oct 12 04:09:09 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
note that aarch64 supports compat_netbsd32


To generate a diff of this commit:
cvs rdiff -u -r1.2445 -r1.2446 src/doc/CHANGES

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



CVS commit: src/share/man/man8

2018-10-11 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Oct 12 04:08:59 UTC 2018

Modified Files:
src/share/man/man8: compat_netbsd32.8

Log Message:
Mention that compat32 supports running arm binaries on aarch64.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man8/compat_netbsd32.8

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



CVS commit: src/sys/arch

2018-10-11 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Oct 12 01:28:58 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: cpuswitch.S db_disasm.c db_machdep.c
exec_machdep.c fault.c locore.S netbsd32_machdep.c pmap.c trap.c
vectors.S
src/sys/arch/aarch64/conf: files.aarch64
src/sys/arch/aarch64/include: armreg.h db_machdep.h elf_machdep.h
netbsd32_machdep.h param.h pmap.h vmparam.h
src/sys/arch/arm/include: mcontext.h
src/sys/arch/evbarm/conf: GENERIC64 RPI64
Added Files:
src/sys/arch/aarch64/aarch64: aarch32_syscall.c netbsd32_syscall.c

Log Message:
add initial support of COMPAT_NETBSD32 on AArch64.
arm ELF32 EABI binaries could be execute in AArch32 state on AArch64. A32 THUMB 
mode is not supported yet.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/aarch64/aarch64/aarch32_syscall.c \
src/sys/arch/aarch64/aarch64/netbsd32_syscall.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/aarch64/cpuswitch.S \
src/sys/arch/aarch64/aarch64/db_disasm.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/aarch64/aarch64/db_machdep.c \
src/sys/arch/aarch64/aarch64/vectors.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/aarch64/exec_machdep.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/aarch64/fault.c
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/aarch64/aarch64/locore.S \
src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/aarch64/netbsd32_machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/aarch64/trap.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/conf/files.aarch64
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/aarch64/include/armreg.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/include/db_machdep.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/aarch64/include/elf_machdep.h \
src/sys/arch/aarch64/include/param.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/include/netbsd32_machdep.h
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/aarch64/include/pmap.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/include/vmparam.h
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/include/mcontext.h
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbarm/conf/GENERIC64
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/conf/RPI64

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/drm2/nouveau

2018-10-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Oct 12 01:16:20 UTC 2018

Modified Files:
src/sys/external/bsd/drm2/nouveau: files.nouveau

Log Message:
nouveau_nv50_display.c and nouveau_nvif_client.c have variable structures
not at the end of a structure.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/external/bsd/drm2/nouveau/files.nouveau

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



CVS commit: src/sys/arch/aarch64/aarch64

2018-10-11 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Oct 12 01:13:51 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c

Log Message:
- cleanup checking address ranges with IN_RANGE macro
- change PM_ADDR_CHECK macro to KASSERTMSG
- restore fast lookup cases with IN_RANGE macro for pmap_extract changed in my 
previous commit.


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

2018-10-11 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Fri Oct 12 00:57:17 UTC 2018

Modified Files:
src/sys/arch/aarch64/aarch64: pmap.c
src/sys/arch/aarch64/include: pmap.h

Log Message:
rewrite pmap_pte_lookup() to share similar code.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/aarch64/include/pmap.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/acpi

2018-10-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Oct 11 22:58:37 UTC 2018

Modified Files:
src/sys/dev/acpi: acpi.c

Log Message:
Fix button type print; "type" is one of PSWITCH_TYPE_*, not ACPI_EVENT_*_BUTTON.


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/sys/dev/acpi/acpi.c

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



CVS commit: [jdolecek-ncqfixes] src/sys/dev

2018-10-11 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Oct 11 20:57:51 UTC 2018

Modified Files:
src/sys/dev/ata [jdolecek-ncqfixes]: TODO.ncq ata.c ata_subr.c atavar.h
files.ata
src/sys/dev/ic [jdolecek-ncqfixes]: ahcisata_core.c ahcisatavar.h
mvsata.c mvsatavar.h siisata.c siisatavar.h
Added Files:
src/sys/dev/ata [jdolecek-ncqfixes]: ata_recovery.c

Log Message:
refactor shared parts of the SATA error recovery into new function
ata_recovery_resume() and use for ahcisata/siisata/mvsata, also replace
per-controller hold/unhold with generic version

move the shared recovery code into separate file ata_recovery.c


To generate a diff of this commit:
cvs rdiff -u -r1.4.2.12 -r1.4.2.13 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.141.6.15 -r1.141.6.16 src/sys/dev/ata/ata.c
cvs rdiff -u -r0 -r1.1.2.1 src/sys/dev/ata/ata_recovery.c
cvs rdiff -u -r1.6.2.7 -r1.6.2.8 src/sys/dev/ata/ata_subr.c
cvs rdiff -u -r1.99.2.10 -r1.99.2.11 src/sys/dev/ata/atavar.h
cvs rdiff -u -r1.27 -r1.27.6.1 src/sys/dev/ata/files.ata
cvs rdiff -u -r1.62.2.8 -r1.62.2.9 src/sys/dev/ic/ahcisata_core.c
cvs rdiff -u -r1.18 -r1.18.6.1 src/sys/dev/ic/ahcisatavar.h
cvs rdiff -u -r1.41.2.6 -r1.41.2.7 src/sys/dev/ic/mvsata.c
cvs rdiff -u -r1.4 -r1.4.2.1 src/sys/dev/ic/mvsatavar.h
cvs rdiff -u -r1.35.6.8 -r1.35.6.9 src/sys/dev/ic/siisata.c
cvs rdiff -u -r1.7 -r1.7.6.1 src/sys/dev/ic/siisatavar.h

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



CVS commit: src/etc/mtree

2018-10-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 11 18:04:06 UTC 2018

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
add intermediate directory.


To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/etc/mtree/NetBSD.dist.base

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



CVS commit: src/distrib/sets/lists/base

2018-10-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 11 15:41:07 UTC 2018

Modified Files:
src/distrib/sets/lists/base: mi

Log Message:
add unbound /var/run


To generate a diff of this commit:
cvs rdiff -u -r1.1191 -r1.1192 src/distrib/sets/lists/base/mi

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



CVS commit: src/etc/mtree

2018-10-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 11 15:39:55 UTC 2018

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
Add unbound /var/run directory (reported by hannken@)


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/etc/mtree/NetBSD.dist.base

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



CVS commit: src/sys/compat/netbsd32

2018-10-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Oct 11 15:23:22 UTC 2018

Modified Files:
src/sys/compat/netbsd32: netbsd32_ioctl.c netbsd32_ioctl.h

Log Message:
PR/53666: Rin Okuyama: tcpdump for i386 does not work with COMPAT_NETBSD32
on amd64. Add BIOCSRTIMEOUT32.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/compat/netbsd32/netbsd32_ioctl.c
cvs rdiff -u -r1.64 -r1.65 src/sys/compat/netbsd32/netbsd32_ioctl.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

2018-10-11 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Oct 11 11:17:07 UTC 2018

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

Log Message:
Fix m_examine_ip6() to print IPv6 payload length (ip6_plen) correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/kern/uipc_mbufdebug.c

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