CVS commit: src/doc

2018-09-07 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Sep  7 10:20:32 UTC 2018

Modified Files:
src/doc: TODO.kaslr

Log Message:
mark two entries as done, and add two more


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/doc/TODO.kaslr

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



CVS commit: [netbsd-8] src/sys/dev/scsipi

2018-09-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Sep  7 12:21:13 UTC 2018

Modified Files:
src/sys/dev/scsipi [netbsd-8]: scsipi_base.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1010):

sys/dev/scsipi/scsipi_base.c: revision 1.178

Async event can be called before the adapter is running (pmax tc asc)


To generate a diff of this commit:
cvs rdiff -u -r1.175.8.1 -r1.175.8.2 src/sys/dev/scsipi/scsipi_base.c

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



CVS commit: [netbsd-8] src/sys

2018-09-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Sep  7 12:27:27 UTC 2018

Modified Files:
src/sys/arch/amd64/conf [netbsd-8]: GENERIC
src/sys/arch/i386/conf [netbsd-8]: GENERIC
src/sys/dev/usb [netbsd-8]: usbdevices.config

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1011):

sys/dev/usb/usbdevices.config: revision 1.32 (patch)
sys/arch/amd64/conf/GENERIC: revision 1.502 (patch)
sys/arch/i386/conf/GENERIC: revision 1.1188 (patch)

- add commented entries that exist in amd64 GENERIC: oboe, mos, umb.
  (XXX: mos might be deleteable now?).
- comment uscanner(4) -- usb scanners use ugen(4) interface.
- minor sort.

 -

use dev/usb/usbdevices.config, gaining these missing drivers:
slurm(4), uthum(4), umcs(4), uark(4), upgt(4), and usmsc(4).

 -

use dev/usb/usbdevices.config instead of a local list.
adds slurm(4), umcs(4), uark(4), and usmsc(4).


To generate a diff of this commit:
cvs rdiff -u -r1.459.2.10 -r1.459.2.11 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.1156.2.10 -r1.1156.2.11 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.30 -r1.30.2.1 src/sys/dev/usb/usbdevices.config

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



CVS commit: [netbsd-8] src/sys/net

2018-09-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Sep  7 12:31:30 UTC 2018

Modified Files:
src/sys/net [netbsd-8]: route.c

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #1012):

sys/net/route.c: revision 1.212
sys/net/route.c: revision 1.213

route: don't take an extra reference of a rtentry for the delayed free mechanism
Because a reference is already taken at that point.

 -

route: avoid overwriting rt_free_global.enqueued unexpectedly

rt_free_global.enqueued can be set to true by rt_free during rt_free_work
because rt_free_work releases rt_free_global.lock.  So rt_free_work must update
it once and not update after releasing the lock.


To generate a diff of this commit:
cvs rdiff -u -r1.194.6.10 -r1.194.6.11 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: [netbsd-8] src/sys

2018-09-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Sep  7 12:34:18 UTC 2018

Modified Files:
src/sys/ddb [netbsd-8]: db_command.c
src/sys/kern [netbsd-8]: subr_lockdebug.c
src/sys/sys [netbsd-8]: lockdebug.h

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1013):

sys/sys/lockdebug.h: revision 1.20
sys/ddb/db_command.c: revision 1.155
sys/kern/subr_lockdebug.c: revision 1.65

add a lockdebug_dismiss() function for DDB to use that tells
lockdebug to avoid asserts.  use it for the ddb "reboot"
command, so that it doesn't matter how ddb was entered, the
reboot not trigger mutex checks and not work.


To generate a diff of this commit:
cvs rdiff -u -r1.148.8.2 -r1.148.8.3 src/sys/ddb/db_command.c
cvs rdiff -u -r1.57.2.1 -r1.57.2.2 src/sys/kern/subr_lockdebug.c
cvs rdiff -u -r1.15.6.1 -r1.15.6.2 src/sys/sys/lockdebug.h

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



CVS commit: [netbsd-8] src/sys/dev/pci/ixgbe

2018-09-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Sep  7 12:37:20 UTC 2018

Modified Files:
src/sys/dev/pci/ixgbe [netbsd-8]: ix_txrx.c

Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #1014):

sys/dev/pci/ixgbe/ix_txrx.c: revision 1.50

  Fix a bug that ixgbe_mq_start(an if_transmit function) returned wrong
value on error. pcq_put returns false on error, so returning it to caller
indicated no error.

XXX pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.24.2.12 -r1.24.2.13 src/sys/dev/pci/ixgbe/ix_txrx.c

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



CVS commit: [netbsd-8] src/doc

2018-09-07 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Sep  7 12:38:23 UTC 2018

Modified Files:
src/doc [netbsd-8]: CHANGES-8.1

Log Message:
Tickets #1010 - #1014


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.21 -r1.1.2.22 src/doc/CHANGES-8.1

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

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep  7 12:50:58 UTC 2018

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

Log Message:
Print interrupt info


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

2018-09-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  7 13:24:14 UTC 2018

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

Log Message:
Flip the order of free'ing things to avoid crash (from ozaki-r). Tested
with a month's uptime. Used to crash once a week.


To generate a diff of this commit:
cvs rdiff -u -r1.435 -r1.436 src/sys/net/if.c

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



CVS commit: src/sys/netbt

2018-09-07 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Fri Sep  7 14:47:15 UTC 2018

Modified Files:
src/sys/netbt: hci_link.c

Log Message:
two issues noted by maxv@

1. If an adaptor sends repeated fragments indicating HCI_PACKET_START,
   we would leak mbufs. Fix that by releasing the previous in that case.

2. If an adaptor sends fragments which overflow the expected total
   payload length, it could build up the pending packet to use up system
   mbufs. Fix that by changing the unsigned calculation to a comparison
   and rejecting oversize packets


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/netbt/hci_link.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/xlint

2018-09-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  7 15:16:15 UTC 2018

Modified Files:
src/usr.bin/xlint/common: inittyp.c lint.h lp64.h tyname.c
src/usr.bin/xlint/lint1: decl.c err.c scan.l tree.c
src/usr.bin/xlint/lint2: read.c

Log Message:
recognize int128


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/xlint/common/inittyp.c
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/xlint/common/lint.h
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/xlint/common/lp64.h
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/xlint/common/tyname.c
cvs rdiff -u -r1.68 -r1.69 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.52 -r1.53 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/xlint/lint1/scan.l
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/xlint/lint2/read.c

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-09-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  7 16:50:22 UTC 2018

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

Log Message:
add /var/chroot/nsd/var/run


To generate a diff of this commit:
cvs rdiff -u -r1.173 -r1.174 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/external/bsd/nsd/etc/rc.d

2018-09-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  7 16:51:13 UTC 2018

Modified Files:
src/external/bsd/nsd/etc/rc.d: nsd

Log Message:
make a link to the pid file so the rc scripts can find it.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/nsd/etc/rc.d/nsd

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/fdt

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep  7 17:21:58 UTC 2018

Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c

Log Message:
Increase MAX_PHYSMEM to 64


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/evbarm/fdt/fdt_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/aarch64/include

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep  7 17:21:38 UTC 2018

Modified Files:
src/sys/arch/aarch64/include: vmparam.h

Log Message:
Increase VM_PHYSSEG_MAX to 64


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/include/vmparam.h

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



CVS commit: src/sys/stand/efiboot

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep  7 17:30:32 UTC 2018

Modified Files:
src/sys/stand/efiboot: efiboot_machdep.h
src/sys/stand/efiboot/bootaa64: cache.S efibootaa64.c

Log Message:
Disable MMU and dcache before jumping to the kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/efiboot_machdep.h
cvs rdiff -u -r1.1 -r1.2 src/sys/stand/efiboot/bootaa64/cache.S \
src/sys/stand/efiboot/bootaa64/efibootaa64.c

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



CVS commit: src/sys/stand/efiboot

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Sep  7 17:30:59 UTC 2018

Modified Files:
src/sys/stand/efiboot: boot.c efiboot.h efifdt.c efifdt.h exec.c

Log Message:
Add initrd support.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/stand/efiboot/boot.c
cvs rdiff -u -r1.3 -r1.4 src/sys/stand/efiboot/efiboot.h \
src/sys/stand/efiboot/exec.c
cvs rdiff -u -r1.7 -r1.8 src/sys/stand/efiboot/efifdt.c
cvs rdiff -u -r1.2 -r1.3 src/sys/stand/efiboot/efifdt.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.old/usr.bin/gcc/arch/aarch64

2018-09-07 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep  7 18:41:39 UTC 2018

Modified Files:
src/external/gpl3/gcc.old/usr.bin/gcc/arch/aarch64: configargs.h

Log Message:
fix the build; this was mis-generated before to an empty file.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc.old/usr.bin/gcc/arch/aarch64/configargs.h

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-09-07 Thread Lars Reichardt
Module Name:src
Committed By:   para
Date:   Fri Sep  7 20:44:04 UTC 2018

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

Log Message:
fix the build

add mssing directory to sets list


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

2018-09-07 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Sep  7 21:14:45 UTC 2018

Modified Files:
src/sys/arch/mips/mips: locore.S

Log Message:
re-enable 64bit addressing in n32 kernels
Now these work again, at least on my Indy.


To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219 src/sys/arch/mips/mips/locore.S

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



CVS commit: [pgoyette-compat] src

2018-09-07 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Sep  7 23:32:30 UTC 2018

Modified Files:
src/doc [pgoyette-compat]: COMPAT-branch-notes
src/sbin/modstat [pgoyette-compat]: main.c modstat.8
src/share/man/man9 [pgoyette-compat]: module.9
src/sys/compat/common [pgoyette-compat]: compat_mod.c compat_sysv_mod.c
kern_mod_80.c
src/sys/compat/netbsd32 [pgoyette-compat]: netbsd32_module.c
src/sys/kern [pgoyette-compat]: kern_module.c sys_module.c
src/sys/sys [pgoyette-compat]: module.h

Log Message:
At the request of reviewers, remove the module alias functionality.

We will rely only on module names and duplicate-symbol detection to
detect module conflicts.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/doc/COMPAT-branch-notes
cvs rdiff -u -r1.24.12.2 -r1.24.12.3 src/sbin/modstat/main.c
cvs rdiff -u -r1.22.12.2 -r1.22.12.3 src/sbin/modstat/modstat.8
cvs rdiff -u -r1.42.2.7 -r1.42.2.8 src/share/man/man9/module.9
cvs rdiff -u -r1.24.14.36 -r1.24.14.37 src/sys/compat/common/compat_mod.c
cvs rdiff -u -r1.4.10.3 -r1.4.10.4 src/sys/compat/common/compat_sysv_mod.c
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/compat/common/kern_mod_80.c
cvs rdiff -u -r1.6.2.2 -r1.6.2.3 src/sys/compat/netbsd32/netbsd32_module.c
cvs rdiff -u -r1.130.2.21 -r1.130.2.22 src/sys/kern/kern_module.c
cvs rdiff -u -r1.23.2.8 -r1.23.2.9 src/sys/kern/sys_module.c
cvs rdiff -u -r1.41.14.10 -r1.41.14.11 src/sys/sys/module.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/fdt

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  8 00:40:57 UTC 2018

Modified Files:
src/sys/arch/arm/fdt: files.fdt
Added Files:
src/sys/arch/arm/fdt: pcihost_fdt.c

Log Message:
Add FDT generic PCI host controller driver.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/fdt/files.fdt
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/fdt/pcihost_fdt.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/conf

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  8 00:42:01 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: GENERIC64

Log Message:
Add pl061gpio, pcihost, mskc/msk (commented out), ehci@pci, ohci@pci, and 
xhci@pci


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/evbarm/conf/GENERIC64

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

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  8 00:42:24 UTC 2018

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

Log Message:
Add initrd options


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/conf/std.generic64

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/amd

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  8 00:49:06 UTC 2018

Added Files:
src/sys/arch/arm/amd: files.seattle seattle_platform.c

Log Message:
Add platform glue for AMD Opteron A1100 family SoCs.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/amd/files.seattle \
src/sys/arch/arm/amd/seattle_platform.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/conf

2018-09-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  8 00:51:57 UTC 2018

Modified Files:
src/sys/arch/evbarm/conf: files.generic64

Log Message:
Pull in files.seattle


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbarm/conf/files.generic64

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



CVS commit: src/sys/arch/sgimips/sgimips

2018-09-07 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Sep  8 02:33:34 UTC 2018

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

Log Message:
Initialize ci_divisor_delay by temporary cpufreq for early delay(9) calls.

This is actually required for Indigo R3k.
Reported by Naruaki Etomi in PR port-sgimips/53520.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/sgimips/sgimips/machdep.c

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