CVS commit: src/sys/netinet6

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 08:22:58 UTC 2018

Modified Files:
src/sys/netinet6: nd6_nbr.c nd6_rtr.c

Log Message:
Style.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/netinet6/nd6_nbr.c
cvs rdiff -u -r1.142 -r1.143 src/sys/netinet6/nd6_rtr.c

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



CVS import: sys/external/bsd/ena-com

2018-05-19 Thread Jaromir Dolecek
Module Name:sys
Committed By:   jdolecek
Date:   Sat May 19 08:50:54 UTC 2018

Update of /cvsroot/sys/external/bsd/ena-com
In directory ivanova.netbsd.org:/tmp/cvs-serv16991

Log Message:
Introduce HAL for Amazon Elastic Network Adapter (ENA)

This commit adds HAL (Hardware Abstraction Layer) code
for Amazon Elastic Network Adapter (ENA).

Version: 1.1.4.3

Obtained from: Amazon.com, Inc. via FreeBSD

Status:

Vendor Tag: FREEBSD
Release Tags:   ENA-COM-HAL_20180510

N sys/external/bsd/ena-com/ena_admin_defs.h
N sys/external/bsd/ena-com/ena_com.c
N sys/external/bsd/ena-com/ena_com.h
N sys/external/bsd/ena-com/ena_common_defs.h
N sys/external/bsd/ena-com/ena_eth_com.c
N sys/external/bsd/ena-com/ena_eth_com.h
N sys/external/bsd/ena-com/ena_eth_io_defs.h
N sys/external/bsd/ena-com/ena_plat.h
N sys/external/bsd/ena-com/ena_regs_defs.h
N sys/external/bsd/ena-com/ena_defs/ena_admin_defs.h
N sys/external/bsd/ena-com/ena_defs/ena_common_defs.h
N sys/external/bsd/ena-com/ena_defs/ena_eth_io_defs.h
N sys/external/bsd/ena-com/ena_defs/ena_gen_info.h
N sys/external/bsd/ena-com/ena_defs/ena_includes.h
N sys/external/bsd/ena-com/ena_defs/ena_regs_defs.h

No conflicts created by this import



CVS commit: sys/external/bsd/ena-com

2018-05-19 Thread Jaromir Dolecek
Module Name:sys
Committed By:   jdolecek
Date:   Sat May 19 08:54:34 UTC 2018

Removed Files:
sys/external/bsd/ena-com: ena_admin_defs.h ena_com.c ena_com.h
ena_common_defs.h ena_eth_com.c ena_eth_com.h ena_eth_io_defs.h
ena_plat.h ena_regs_defs.h
sys/external/bsd/ena-com/ena_defs: ena_admin_defs.h ena_common_defs.h
ena_eth_io_defs.h ena_gen_info.h ena_includes.h ena_regs_defs.h

Log Message:
remove, wrong import path


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 sys/external/bsd/ena-com/ena_admin_defs.h \
sys/external/bsd/ena-com/ena_com.c sys/external/bsd/ena-com/ena_com.h \
sys/external/bsd/ena-com/ena_common_defs.h \
sys/external/bsd/ena-com/ena_eth_com.c \
sys/external/bsd/ena-com/ena_eth_com.h \
sys/external/bsd/ena-com/ena_eth_io_defs.h \
sys/external/bsd/ena-com/ena_plat.h \
sys/external/bsd/ena-com/ena_regs_defs.h
cvs rdiff -u -r1.1.1.1 -r0 sys/external/bsd/ena-com/ena_defs/ena_admin_defs.h \
sys/external/bsd/ena-com/ena_defs/ena_common_defs.h \
sys/external/bsd/ena-com/ena_defs/ena_eth_io_defs.h \
sys/external/bsd/ena-com/ena_defs/ena_gen_info.h \
sys/external/bsd/ena-com/ena_defs/ena_includes.h \
sys/external/bsd/ena-com/ena_defs/ena_regs_defs.h

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



CVS import: src/sys/external/bsd/ena-com

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 08:56:06 UTC 2018

Update of /cvsroot/src/sys/external/bsd/ena-com
In directory ivanova.netbsd.org:/tmp/cvs-serv24953

Log Message:
Introduce HAL for Amazon Elastic Network Adapter (ENA)

This commit adds HAL (Hardware Abstraction Layer) code
for Amazon Elastic Network Adapter (ENA).

Version: 1.1.4.3

Obtained from: Amazon.com, Inc. via FreeBSD

Status:

Vendor Tag: FREEBSD
Release Tags:   ENA-COM-HAL_20180510

N src/sys/external/bsd/ena-com/ena_admin_defs.h
N src/sys/external/bsd/ena-com/ena_com.c
N src/sys/external/bsd/ena-com/ena_com.h
N src/sys/external/bsd/ena-com/ena_common_defs.h
N src/sys/external/bsd/ena-com/ena_eth_com.c
N src/sys/external/bsd/ena-com/ena_eth_com.h
N src/sys/external/bsd/ena-com/ena_eth_io_defs.h
N src/sys/external/bsd/ena-com/ena_plat.h
N src/sys/external/bsd/ena-com/ena_regs_defs.h
N src/sys/external/bsd/ena-com/ena_defs/ena_admin_defs.h
N src/sys/external/bsd/ena-com/ena_defs/ena_common_defs.h
N src/sys/external/bsd/ena-com/ena_defs/ena_eth_io_defs.h
N src/sys/external/bsd/ena-com/ena_defs/ena_gen_info.h
N src/sys/external/bsd/ena-com/ena_defs/ena_includes.h
N src/sys/external/bsd/ena-com/ena_defs/ena_regs_defs.h

No conflicts created by this import



CVS commit: src/sys/external/bsd/ena-com

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 08:59:38 UTC 2018

Modified Files:
src/sys/external/bsd/ena-com: ena_plat.h

Log Message:
adapt for NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/external/bsd/ena-com/ena_plat.h

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



CVS import: src/sys/dev/pci

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 09:18:31 UTC 2018

Update of /cvsroot/src/sys/dev/pci
In directory ivanova.netbsd.org:/tmp/cvs-serv19156

Log Message:
Import source for FreeBSD Amazon Elastic Network Adapter (ENA) NIC driver
for reference. Needs a lot of work to port over.

Remapped filenames from FreeBSD to NetBSD structure:
sys/dev/ena/ena.c -> sys/dev/pci/if_ena.c
sys/dev/ena/ena.h -> sys/dev/pci/if_enavar.h

ena_sysctl.* not imported, if needed later will be merged into if_ena.c

Status:

Vendor Tag: FREEBSD
Release Tags:   ENA-20180510

N src/sys/dev/pci/if_ena.c
N src/sys/dev/pci/if_enavar.h

No conflicts created by this import



CVS commit: src/sys

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 09:27:10 UTC 2018

Modified Files:
src/sys/arch/amd64/conf: ALL
src/sys/dev/pci: files.pci

Log Message:
add config glue for ena(4)


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.395 -r1.396 src/sys/dev/pci/files.pci

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

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 09:32:55 UTC 2018

Modified Files:
src/sys/dev/pci: if_ena.c if_enavar.h

Log Message:
Intermediate changes to make it further into actually at least compile, not 
nearly yet
complete. Committed so that others can possibly pick it off, as discussed
on tech-userlevel@ with Martin


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/sys/dev/pci/if_ena.c \
src/sys/dev/pci/if_enavar.h

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



CVS commit: src/sys/uvm

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 11:02:33 UTC 2018

Modified Files:
src/sys/uvm: uvm_loan.c uvm_page.c

Log Message:
detect wraparound when bumping page wire_count and loan_count


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/uvm/uvm_loan.c
cvs rdiff -u -r1.196 -r1.197 src/sys/uvm/uvm_page.c

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



CVS commit: src/sys

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 11:39:37 UTC 2018

Modified Files:
src/sys/arch/x86/include: pmap.h
src/sys/arch/x86/x86: pmap.c
src/sys/kern: kern_synch.c sys_pipe.c
src/sys/sys: pipe.h
src/sys/uvm: files.uvm uvm_extern.h uvm_init.c
Removed Files:
src/sys/uvm: uvm_emap.c

Log Message:
Remove emap support. Unfortunately it never got to state where it would be
used and usable, due to reliability and limited & complicated MD support.

Going forward, we need to concentrate on interface which do not map anything
into kernel in first place (such as direct map or KVA-less I/O), rather
than making those mappings cheaper to do.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.289 -r1.290 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.314 -r1.315 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.144 -r1.145 src/sys/kern/sys_pipe.c
cvs rdiff -u -r1.33 -r1.34 src/sys/sys/pipe.h
cvs rdiff -u -r1.28 -r1.29 src/sys/uvm/files.uvm
cvs rdiff -u -r1.13 -r0 src/sys/uvm/uvm_emap.c
cvs rdiff -u -r1.211 -r1.212 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.48 -r1.49 src/sys/uvm/uvm_init.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

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 11:40:22 UTC 2018

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

Log Message:
bump version to 8.99.18 - emap removal


To generate a diff of this commit:
cvs rdiff -u -r1.562 -r1.563 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

2018-05-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 19 13:59:07 UTC 2018

Modified Files:
src/share/man/man4: gpio.4
src/sys/dev/gpio: gpio.c gpiovar.h
src/sys/sys: gpio.h
src/usr.sbin/gpioctl: gpioctl.c

Log Message:
Overhaul of GPIO interrupt support (that wasn't even used by anything).
- Remove the old, not-expressive-enough interrupt flags, and replace them
  with a new set of interrupt-specific flags that can express a wide
  variety of interrupt configurations (pos, neg, and double-edge, high
  and low level).
- Remove old, unused gpio_pin_ctl_intr() and gpio_pin_irqen(), and
  replace them with gpio_intr_establish(), gpio_intr_disestablish(),
  and gpio_intr_str().  Corresponding fields in the gpio_chipset_tag
  are also added for back-end controllers, which now handle the actual
  dispatch of GPIO interrupts in order to properly support level-triggered
  interrupts as well as interoperate properly with FDT-registered
  interrupts.

Piggy-back on the 8.99.18 version bump.

Inspired by initial work from Brad Spencer.
PR kern/51676


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/gpio.4
cvs rdiff -u -r1.60 -r1.61 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/gpio/gpiovar.h
cvs rdiff -u -r1.15 -r1.16 src/sys/sys/gpio.h
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/gpioctl/gpioctl.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

2018-05-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 19 14:02:10 UTC 2018

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

Log Message:
Add support for interrupts on GPIO pins.  We support both FDT-driven
interrupt registration as well as the new GPIO interrupt interface.

Based on initial work by Brad Spencer.
PR kern/51676


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/broadcom/bcm2835_gpio.c

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



CVS commit: src/share/mk

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 19 14:11:30 UTC 2018

Modified Files:
src/share/mk: bsd.obj.mk

Log Message:
Prevent 'make obj' creating an objdir inside an objdir. This happens the
second time we call 'make obj' in /usr/src/rescue with MAKEOBJDIR set.
XXX: pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/share/mk/bsd.obj.mk

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



CVS commit: src

2018-05-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 19 14:15:40 UTC 2018

Modified Files:
src/distrib/sets/lists/man: mi
src/distrib/sets/lists/modules: mi
src/share/man/man4: Makefile
src/sys/dev/gpio: files.gpio
src/sys/modules: Makefile
Added Files:
src/share/man/man4: gpioirq.4
src/sys/dev/gpio: gpioirq.c
src/sys/modules/gpioirq: Makefile gpioirq.ioconf

Log Message:
Add an example "gpioirq" driver that demonstrates interrupts on GPIO
pins.  Will be enhanced in the future to support sending events to
user space on edge-triggered interrupt events.

Based on initial work by Brad Spencer.
PR kern/51676


To generate a diff of this commit:
cvs rdiff -u -r1.1586 -r1.1587 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.114 -r1.115 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.652 -r1.653 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/gpioirq.4
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/gpio/files.gpio
cvs rdiff -u -r0 -r1.1 src/sys/dev/gpio/gpioirq.c
cvs rdiff -u -r1.202 -r1.203 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/gpioirq/Makefile \
src/sys/modules/gpioirq/gpioirq.ioconf

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



CVS commit: src/sys

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 15:03:26 UTC 2018

Modified Files:
src/sys/arch/amd64/include: pmap.h
src/sys/uvm: uvm_page.c uvm_page.h uvm_pmap.h

Log Message:
add experimental new function uvm_direct_process(), to allow of read/writes
of contents of uvm pages without mapping them into kernel, using
direct map or moral equivalent; pmaps supporting the interface need
to provide pmap_direct_process() and define PMAP_DIRECT

implement the new interface for amd64; I hear alpha and mips might be relatively
easy to add too, but I lack the knowledge

part of resolution for PR kern/53124


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/amd64/include/pmap.h
cvs rdiff -u -r1.197 -r1.198 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.82 -r1.83 src/sys/uvm/uvm_page.h
cvs rdiff -u -r1.38 -r1.39 src/sys/uvm/uvm_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/uvm

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 15:13:26 UTC 2018

Modified Files:
src/sys/uvm: uvm_bio.c

Log Message:
change code to take advantage of direct map when available, avoiding the need
to map pages into kernel

this improves performance of UBC-based (read(2)/write(2)) I/O especially
for cached block I/O - sequential read on my NVMe goes from 1.7 GB/s to 1.9 GB/s
for non-cached, and from 2.2 GB/s to 5.6 GB/s for cached read

the new code is conditional now and off for now, so that it can be tested 
further;
can be turned on by adjusting ubc_direct variable to true

part of fix for PR kern/53124


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

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



CVS commit: src/sys/uvm

2018-05-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 19 15:18:02 UTC 2018

Modified Files:
src/sys/uvm: uvm_readahead.c

Log Message:
adjust heuristics for read-ahead to skip the full read-ahead when last page of
the range is already cached; this speeds up I/O from cache, since it avoids
the lookup and allocation overhead

on my system I observed 4.5% - 15% improvement for cached I/O - from 2.2 GB/s to
2.3 GB/s for cached reads using non-direct UBC, and from 5.6 GB/s to 6.5 GB/s
for UBC using direct map

part of PR kern/53124


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/uvm/uvm_readahead.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/x86/x86

2018-05-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 19 16:51:32 UTC 2018

Modified Files:
src/sys/arch/x86/x86: x86_tlb.c

Log Message:
remove more vestiges of uvm_emap_*(), to fix x86 kernel linking


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

2018-05-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 19 16:55:59 UTC 2018

Modified Files:
src/sys/arch/x86/include: pmap.h

Log Message:
remove some remaining uvm_emap(9)-related function prototypes


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

2018-05-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 19 17:18:57 UTC 2018

Modified Files:
src/sys/arch/x86/x86: efi.c
src/sys/dev/pci: pci_map.c pcivar.h

Log Message:
Refine previous change to enable PCI window decoding in Command
Register upon mapping; conditionalize on a global variable, that is set
to true on x86 machines booting under EFI.

For now, initialize the global variable at compile time to false.  This
is intended to limit potential problems for other NetBSD ports, should
this changeset be pulled up to netbsd-8.

Related to PR #53286.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x86/x86/efi.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/pci_map.c
cvs rdiff -u -r1.111 -r1.112 src/sys/dev/pci/pcivar.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

2018-05-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 19 17:21:42 UTC 2018

Modified Files:
src/sys/dev/pci: pci_map.c

Log Message:
Re-enable PCI window decode enable in PCI Command Register upon
successful pci_mapreg_map().

Loosely related to PR #53286.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/dev/pci/pci_map.c

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



CVS commit: src/share/mk

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 19 17:44:44 UTC 2018

Modified Files:
src/share/mk: bsd.sys.mk

Log Message:
Need to delete ${DESTDIR} for lint
XXX: pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 src/share/mk/bsd.sys.mk

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



CVS commit: src/tools/elftosb

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 19 17:48:51 UTC 2018

Modified Files:
src/tools/elftosb: Makefile

Log Message:
remove trailing newline


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tools/elftosb/Makefile

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



CVS commit: src/external/bsd/byacc/dist

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 19 18:14:36 UTC 2018

Modified Files:
src/external/bsd/byacc/dist: btyaccpar.skel

Log Message:
add more casts (needed for c++)
XXX: A better solution would be to use C++ casts.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/byacc/dist/btyaccpar.skel

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



CVS commit: src/external/bsd/byacc/dist

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 19 18:14:52 UTC 2018

Modified Files:
src/external/bsd/byacc/dist: btyaccpar.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/byacc/dist/btyaccpar.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/i386/stand/mbr

2018-05-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 19 18:18:16 UTC 2018

Modified Files:
src/sys/arch/i386/stand/mbr: gpt.S

Log Message:
Compact crc32 code by 12 bytes of text.

>From dave0 in #NetBSD on Freenode circa December 2017.

Tested in a 32-bit userland harness to produce identical results as old
code for one set of inputs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/mbr/gpt.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/i386/stand/mbr

2018-05-19 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat May 19 18:19:37 UTC 2018

Modified Files:
src/sys/arch/i386/stand/mbr: gpt.S

Log Message:
Fix some whitespace style issues.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/stand/mbr/gpt.S

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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 18:51:59 UTC 2018

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: main.c nattraversal.c
nattraversal.h

Log Message:
Style, a little...


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/crypto/dist/ipsec-tools/src/racoon/main.c
cvs rdiff -u -r1.14 -r1.15 \
src/crypto/dist/ipsec-tools/src/racoon/nattraversal.c
cvs rdiff -u -r1.7 -r1.8 \
src/crypto/dist/ipsec-tools/src/racoon/nattraversal.h

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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 19:23:15 UTC 2018

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: admin.c grabmyaddr.c
ipsec_doi.c isakmp.c isakmp_agg.c isakmp_base.c isakmp_ident.c
isakmp_inf.c main.c oakley.c privsep.c remoteconf.c session.c
vendorid.c

Log Message:
Remove unused variables.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/crypto/dist/ipsec-tools/src/racoon/admin.c
cvs rdiff -u -r1.35 -r1.36 \
src/crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
cvs rdiff -u -r1.49 -r1.50 src/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
cvs rdiff -u -r1.76 -r1.77 src/crypto/dist/ipsec-tools/src/racoon/isakmp.c
cvs rdiff -u -r1.16 -r1.17 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_agg.c
cvs rdiff -u -r1.12 -r1.13 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_base.c
cvs rdiff -u -r1.15 -r1.16 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_ident.c
cvs rdiff -u -r1.51 -r1.52 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
cvs rdiff -u -r1.14 -r1.15 src/crypto/dist/ipsec-tools/src/racoon/main.c
cvs rdiff -u -r1.24 -r1.25 src/crypto/dist/ipsec-tools/src/racoon/oakley.c
cvs rdiff -u -r1.23 -r1.24 src/crypto/dist/ipsec-tools/src/racoon/privsep.c
cvs rdiff -u -r1.28 -r1.29 \
src/crypto/dist/ipsec-tools/src/racoon/remoteconf.c
cvs rdiff -u -r1.32 -r1.33 src/crypto/dist/ipsec-tools/src/racoon/session.c
cvs rdiff -u -r1.8 -r1.9 src/crypto/dist/ipsec-tools/src/racoon/vendorid.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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 19:32:16 UTC 2018

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: cfparse.y isakmp_cfg.c
isakmp_frag.c isakmp_xauth.c

Log Message:
More unused variables.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/crypto/dist/ipsec-tools/src/racoon/cfparse.y
cvs rdiff -u -r1.26 -r1.27 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
cvs rdiff -u -r1.7 -r1.8 src/crypto/dist/ipsec-tools/src/racoon/isakmp_frag.c
cvs rdiff -u -r1.28 -r1.29 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 19:47:47 UTC 2018

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: backupsa.c isakmp_cfg.c
isakmp_inf.c session.c

Log Message:
Remove unused labels, functions, and function prototypes.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/crypto/dist/ipsec-tools/src/racoon/backupsa.c
cvs rdiff -u -r1.27 -r1.28 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
cvs rdiff -u -r1.52 -r1.53 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c
cvs rdiff -u -r1.33 -r1.34 src/crypto/dist/ipsec-tools/src/racoon/session.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/alpha/include

2018-05-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 19 20:04:41 UTC 2018

Modified Files:
src/sys/arch/alpha/include: pmap.h

Log Message:
Implement PMAP_DIRECT / pmap_direct_process() in support of experimental
UBC optimizations.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/alpha/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/crypto/dist/ipsec-tools/src/racoon

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 20:14:56 UTC 2018

Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: admin.c cfparse.y evt.c
grabmyaddr.c handler.c ipsec_doi.c isakmp.c isakmp_var.h
isakmp_xauth.c localconf.c oakley.c pfkey.c remoteconf.c sainfo.c
session.c

Log Message:
Use strict prototypes, when they don't introduce more warnings than they fix.
Also localify a few functions.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/crypto/dist/ipsec-tools/src/racoon/admin.c
cvs rdiff -u -r1.50 -r1.51 src/crypto/dist/ipsec-tools/src/racoon/cfparse.y \
src/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
cvs rdiff -u -r1.10 -r1.11 src/crypto/dist/ipsec-tools/src/racoon/evt.c
cvs rdiff -u -r1.36 -r1.37 \
src/crypto/dist/ipsec-tools/src/racoon/grabmyaddr.c
cvs rdiff -u -r1.41 -r1.42 src/crypto/dist/ipsec-tools/src/racoon/handler.c
cvs rdiff -u -r1.77 -r1.78 src/crypto/dist/ipsec-tools/src/racoon/isakmp.c
cvs rdiff -u -r1.17 -r1.18 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_var.h
cvs rdiff -u -r1.29 -r1.30 \
src/crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c \
src/crypto/dist/ipsec-tools/src/racoon/remoteconf.c
cvs rdiff -u -r1.9 -r1.10 src/crypto/dist/ipsec-tools/src/racoon/localconf.c
cvs rdiff -u -r1.25 -r1.26 src/crypto/dist/ipsec-tools/src/racoon/oakley.c
cvs rdiff -u -r1.60 -r1.61 src/crypto/dist/ipsec-tools/src/racoon/pfkey.c
cvs rdiff -u -r1.15 -r1.16 src/crypto/dist/ipsec-tools/src/racoon/sainfo.c
cvs rdiff -u -r1.34 -r1.35 src/crypto/dist/ipsec-tools/src/racoon/session.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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 20:21:23 UTC 2018

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

Log Message:
Remove unused 'error' variables, it's obvious they should have no use.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/crypto/dist/ipsec-tools/src/racoon/oakley.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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 19 20:40:40 UTC 2018

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

Log Message:
Remove dead code, and style.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/crypto/dist/ipsec-tools/src/racoon/misc.c

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



CVS commit: src/external/gpl3/binutils/dist/ld/emultempl

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 19 21:20:35 UTC 2018

Modified Files:
src/external/gpl3/binutils/dist/ld/emultempl: elf32.em

Log Message:
don't prepend sysroots when we already have prepended it (breaks X11 binaries)


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/binutils/dist/ld/emultempl/elf32.em

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



CVS commit: src/doc

2018-05-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 19 22:57:54 UTC 2018

Modified Files:
src/doc: CHANGES

Log Message:
Note GPIO interrupt support overhaul.


To generate a diff of this commit:
cvs rdiff -u -r1.2388 -r1.2389 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/usr.sbin/crash

2018-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun May 20 03:09:02 UTC 2018

Modified Files:
src/usr.sbin/crash: Makefile

Log Message:
Fix reproducible builds
XXX: pullup-8


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/crash/Makefile

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



CVS commit: src

2018-05-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun May 20 03:51:32 UTC 2018

Modified Files:
src/sys/kern: sys_ptrace_common.c
src/tests/lib/libc/sys: t_ptrace_wait.c

Log Message:
Fix and enable traceme_signal_nohandler2 in ATF ptrace(2) tests

traceme_signal_nohandler2 checks emitting SIGSTOP to a traced process
with the PT_CONTINUE operation.

The expected behavior is to simulate a behavior of receiving SIGSTOP,
generating SIGCHLD to its parent (in this case the debugger) and ability
to call wait(2)-like function receiving the stopped child event.

The previous behavior was unstopping the process and it has been adjusted
in the kernel code.

FreeBSD keeps unstopping a process for emitting SIGSTOP.
Linux handles this scenario in the same way as NetBSD now.

While there, implement the missing bits in the userland ATF test for
traceme_signal_nohandler2: receiving and validating 2nd SIGSTOP event and
continuing the process, followed by its normal termination.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.47 -r1.48 src/tests/lib/libc/sys/t_ptrace_wait.c

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



CVS commit: src/sys

2018-05-19 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun May 20 04:00:35 UTC 2018

Modified Files:
src/sys/kern: kern_sig.c sys_ptrace_common.c
src/sys/sys: signalvar.h

Log Message:
Make stopsigmask a non-static symbol now as it's used in ptrace(2) code

This is a missing part of the previous commit.

While there fix a typo in a newly added comment in the ptrace(2) code.

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.346 -r1.347 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.41 -r1.42 src/sys/kern/sys_ptrace_common.c
cvs rdiff -u -r1.90 -r1.91 src/sys/sys/signalvar.h

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

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun May 20 06:15:45 UTC 2018

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

Log Message:
Style.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/crypto/dist/ipsec-tools/src/racoon/vmbuf.c \
src/crypto/dist/ipsec-tools/src/racoon/vmbuf.h

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



CVS commit: src/sys/netinet6

2018-05-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun May 20 06:29:43 UTC 2018

Modified Files:
src/sys/netinet6: ip6_mroute.c ip6_mroute.h

Log Message:
Remove notyet, we've never had this.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/netinet6/ip6_mroute.c
cvs rdiff -u -r1.18 -r1.19 src/sys/netinet6/ip6_mroute.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/aarch64/aarch64

2018-05-19 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sun May 20 06:45:00 UTC 2018

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

Log Message:
pmap_enter() must update modified/referenced flags by 'flags' not 'prot'.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.