CVS commit: src/sys/arch/amd64/stand/prekern

2020-05-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 23 08:10:50 UTC 2020

Modified Files:
src/sys/arch/amd64/stand/prekern: prekern.c

Log Message:
Hum, forgot to include this file in my "Clarify." commit on mm.c:rev1.27
and elf.c:rev1.21.


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

2020-05-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 23 08:23:29 UTC 2020

Modified Files:
src/sys/arch/amd64/stand/prekern: console.c

Log Message:
Extract putc().


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amd64/stand/prekern/console.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/stand/prekern

2020-05-23 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 23 08:25:32 UTC 2020

Modified Files:
src/sys/arch/amd64/stand/prekern: console.c pdir.h prekern.c prekern.h
redef.h trap.S

Log Message:
Bump copyrights.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amd64/stand/prekern/console.c \
src/sys/arch/amd64/stand/prekern/trap.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amd64/stand/prekern/pdir.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/amd64/stand/prekern/prekern.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amd64/stand/prekern/prekern.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amd64/stand/prekern/redef.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/mips/mips

2020-05-23 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat May 23 11:33:56 UTC 2020

Modified Files:
src/sys/arch/mips/mips: mips_machdep.c

Log Message:
The Cavium CN70xx PRID covers both the CN70xx and CN71xx CPU families.


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/sys/arch/mips/mips/mips_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/evbarm/conf

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 11:32:02 UTC 2020

Removed Files:
src/sys/arch/evbarm/conf: ARMADAXP_INSTALL ARMADILLO-IOT-G3_INSTALL
BCM5301X_INSTALL BCM56340_INSTALL CUBOX-I_INSTALL CUBOX_INSTALL
IMX23_OLINUXINO_INSTALL IMX6UL-STARTER_INSTALL KOBO_INSTALL
MIRABOX_INSTALL NETWALKER_INSTALL NITROGEN6X_INSTALL
OMAP5EVM_INSTALL PANDABOARD_INSTALL PARALLELLA_INSTALL
ZEDBOARD_INSTALL

Log Message:
GC unused INSTALL kernel configs.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 src/sys/arch/evbarm/conf/ARMADAXP_INSTALL \
src/sys/arch/evbarm/conf/BCM5301X_INSTALL \
src/sys/arch/evbarm/conf/BCM56340_INSTALL \
src/sys/arch/evbarm/conf/IMX23_OLINUXINO_INSTALL \
src/sys/arch/evbarm/conf/OMAP5EVM_INSTALL \
src/sys/arch/evbarm/conf/PANDABOARD_INSTALL
cvs rdiff -u -r1.1 -r0 src/sys/arch/evbarm/conf/ARMADILLO-IOT-G3_INSTALL \
src/sys/arch/evbarm/conf/CUBOX-I_INSTALL \
src/sys/arch/evbarm/conf/CUBOX_INSTALL \
src/sys/arch/evbarm/conf/IMX6UL-STARTER_INSTALL \
src/sys/arch/evbarm/conf/KOBO_INSTALL \
src/sys/arch/evbarm/conf/MIRABOX_INSTALL \
src/sys/arch/evbarm/conf/NITROGEN6X_INSTALL \
src/sys/arch/evbarm/conf/PARALLELLA_INSTALL \
src/sys/arch/evbarm/conf/ZEDBOARD_INSTALL
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbarm/conf/NETWALKER_INSTALL

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



CVS commit: src

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 10:59:25 UTC 2020

Modified Files:
src: build.sh

Log Message:
Remove evbarm OABI targets


To generate a diff of this commit:
cvs rdiff -u -r1.335 -r1.336 src/build.sh

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



CVS commit: src/etc/etc.evbarm

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 11:06:23 UTC 2020

Modified Files:
src/etc/etc.evbarm: Makefile.inc

Log Message:
Remove references to defunct arm and earm arches


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/etc/etc.evbarm/Makefile.inc

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



CVS commit: src

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 11:04:44 UTC 2020

Modified Files:
src: build.sh

Log Message:
Remove plain "earm" targets, and require an explicit MACHINE_ARCH for
evbarm instead of selecting a default.


To generate a diff of this commit:
cvs rdiff -u -r1.336 -r1.337 src/build.sh

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

2020-05-23 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat May 23 10:39:25 UTC 2020

Modified Files:
src/sys/arch/mips/include: cpuregs.h

Log Message:
Add CX73xx and CXF75xx Cavium Octeon PRIDs.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/mips/include/cpuregs.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

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 11:59:03 UTC 2020

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

Log Message:
- In ubc_alloc() take initial offset into account in the UBC_FAULTBUSY case
  or one too few pages can be mapped.

- In ubc_release() with UBC_FAULTBUSY, chances are that pages are newly
  allocated and freshly enqueued, so avoid uvm_pageactivate() if possible

- Keep track of the pages mapped in ubc_alloc() in an array on the stack,
  and use this to avoid calling pmap_extract() in ubc_release().


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

2020-05-23 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat May 23 10:48:44 UTC 2020

Modified Files:
src/sys/arch/mips/mips: mips_machdep.c

Log Message:
Add SiByte SB-1 rev 0x11 cores and CN70xx CPUs to the CPU table.


To generate a diff of this commit:
cvs rdiff -u -r1.279 -r1.280 src/sys/arch/mips/mips/mips_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/evbarm/conf

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 12:22:57 UTC 2020

Removed Files:
src/sys/arch/evbarm/conf: VIRT std.virt

Log Message:
Use GENERIC instead.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r0 src/sys/arch/evbarm/conf/VIRT
cvs rdiff -u -r1.7 -r0 src/sys/arch/evbarm/conf/std.virt

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



CVS commit: src

2020-05-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat May 23 13:24:08 UTC 2020

Modified Files:
src/distrib/sets/lists/dtb: ad.earmv7 ad.earmv7hf ad.earmv7hfeb
src/sys/arch/arm/imx/fdt: files.imx6
src/sys/dtb/arm: Makefile
Removed Files:
src/sys/arch/arm/imx: files.imx6
src/sys/arch/evbarm/conf: CUBOX-I HUMMINGBOARD IMX6UL-STARTER
NITROGEN6X files.nitrogen6 mk.imx6ul mk.nitrogen6 std.imx6ul
std.nitrogen6
src/sys/arch/evbarm/nitrogen6: nitrogen6_iomux.c nitrogen6_machdep.c
nitrogen6_usb.c platform.h

Log Message:
imx6 kernels are part of GENERIC now


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/sets/lists/dtb/ad.earmv7 \
src/distrib/sets/lists/dtb/ad.earmv7hf \
src/distrib/sets/lists/dtb/ad.earmv7hfeb
cvs rdiff -u -r1.20 -r0 src/sys/arch/arm/imx/files.imx6
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/arm/imx/fdt/files.imx6
cvs rdiff -u -r1.26 -r0 src/sys/arch/evbarm/conf/CUBOX-I
cvs rdiff -u -r1.11 -r0 src/sys/arch/evbarm/conf/HUMMINGBOARD \
src/sys/arch/evbarm/conf/std.nitrogen6
cvs rdiff -u -r1.16 -r0 src/sys/arch/evbarm/conf/IMX6UL-STARTER
cvs rdiff -u -r1.24 -r0 src/sys/arch/evbarm/conf/NITROGEN6X
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbarm/conf/files.nitrogen6
cvs rdiff -u -r1.2 -r0 src/sys/arch/evbarm/conf/mk.imx6ul
cvs rdiff -u -r1.5 -r0 src/sys/arch/evbarm/conf/mk.nitrogen6
cvs rdiff -u -r1.6 -r0 src/sys/arch/evbarm/conf/std.imx6ul
cvs rdiff -u -r1.5 -r0 src/sys/arch/evbarm/nitrogen6/nitrogen6_iomux.c
cvs rdiff -u -r1.20 -r0 src/sys/arch/evbarm/nitrogen6/nitrogen6_machdep.c
cvs rdiff -u -r1.6 -r0 src/sys/arch/evbarm/nitrogen6/nitrogen6_usb.c
cvs rdiff -u -r1.2 -r0 src/sys/arch/evbarm/nitrogen6/platform.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dtb/arm/Makefile

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

2020-05-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May 23 13:39:24 UTC 2020

Modified Files:
src/sys/arch/arm/imx/fdt: files.imx6

Log Message:
Oops, two more missing clk dependencies...


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/imx/fdt/files.imx6

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

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 13:43:34 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: README.evbarm
Removed Files:
src/sys/arch/evbarm/conf: TOASTER

Log Message:
GC TOASTER kernel


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/evbarm/conf/README.evbarm
cvs rdiff -u -r1.3 -r0 src/sys/arch/evbarm/conf/TOASTER

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

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 13:46:36 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: files.tsarm
Removed Files:
src/sys/arch/evbarm/tsarm: toastersensors.c

Log Message:
GC toastersensors driver


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/conf/files.tsarm
cvs rdiff -u -r1.12 -r0 src/sys/arch/evbarm/tsarm/toastersensors.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/isa

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 13:48:08 UTC 2020

Modified Files:
src/sys/dev/isa: files.isa
Removed Files:
src/sys/dev/isa: toaster.c toasterlcd.c

Log Message:
GC toaster drivers


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 src/sys/dev/isa/files.isa
cvs rdiff -u -r1.13 -r0 src/sys/dev/isa/toaster.c
cvs rdiff -u -r1.11 -r0 src/sys/dev/isa/toasterlcd.c

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



CVS commit: src/etc/etc.evbarm

2020-05-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May 23 14:10:47 UTC 2020

Modified Files:
src/etc/etc.evbarm: Makefile.inc

Log Message:
Fix typo in comment: IMX21_OLINUXINO --> IMX23_OLINUXINO


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/etc/etc.evbarm/Makefile.inc

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

2020-05-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May 23 14:14:55 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: README.evbarm

Log Message:
sort


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/evbarm/conf/README.evbarm

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



CVS commit: src/sys/arch/xen/x86

2020-05-23 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat May 23 14:51:19 UTC 2020

Modified Files:
src/sys/arch/xen/x86: pintr.c

Log Message:
switch back to PHYSDEVOP_alloc_irq_vector for non-MSI interrupts - on my
computer it works the same as PHYSDEVOP_map_pirq, but seems it doesn't
on other systems

fixes PR port-xen/55285 for Patrick Welche, but not yet for another system
by Frank Kardel


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

2020-05-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May 23 14:51:49 UTC 2020

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

Log Message:
Fix typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/conf/OMAP5EVM

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

2020-05-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat May 23 14:52:45 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: README.evbarm

Log Message:
Add missing entries.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/evbarm/conf/README.evbarm

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

2020-05-23 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat May 23 16:40:42 UTC 2020

Modified Files:
src/sys/stand/efiboot: exec.c

Log Message:
If a device tree overlay does not have a "compatible" match, don't
load it.  (Oops, missing return statement.)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/stand/efiboot/exec.c

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



CVS commit: src

2020-05-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat May 23 17:26:32 UTC 2020

Modified Files:
src: build.sh

Log Message:
When MACHINE_ARCH is missing, give direction on how to get a list of valid 
options


To generate a diff of this commit:
cvs rdiff -u -r1.337 -r1.338 src/build.sh

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

2020-05-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 23 17:28:27 UTC 2020

Modified Files:
src/usr.bin/xlint/xlint: lint.1 xlint.c

Log Message:
Use -Z to pass arguments to ccp(1) directly. Can be used as:
-Z-include -Zfile.h


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/xlint/xlint/lint.1
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/xlint/xlint/xlint.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

2020-05-23 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sat May 23 18:08:59 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: cpufunc.c cpuswitch.S exec_machdep.c
genassym.cf netbsd32_machdep.c vectors.S vm_machdep.c
src/sys/arch/aarch64/include: armreg.h machdep.h proc.h

Log Message:
Not only the kernel thread, but also the userland PAC keys
(APIA,APIB,APDA,APDB,APGA) are now randomly initialized at exec, and switched
when context switch.
userland programs are able to perform pointer authentication on ARMv8.3+PAC cpu.

reviewd by maxv@, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/aarch64/aarch64/cpufunc.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/aarch64/cpuswitch.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/aarch64/exec_machdep.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/aarch64/aarch64/genassym.cf
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/aarch64/aarch64/netbsd32_machdep.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/aarch64/aarch64/vectors.S
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/aarch64/aarch64/vm_machdep.c
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/aarch64/include/armreg.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/include/machdep.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/include/proc.h

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



CVS commit: src/doc

2020-05-23 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat May 23 18:42:17 UTC 2020

Modified Files:
src/doc: TODO.smpnet

Log Message:
strip(4) was removed


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/doc/TODO.smpnet

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



CVS commit: src/sys/kern

2020-05-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 23 19:52:12 UTC 2020

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

Log Message:
thmap(9): merge changes from the upstream -- primarily, switch to the
C11-style memory fences and atomic primitives; in NetBSD, this translates
to using the atomic_loadstore(9) primitives.

To be pulled up (just in case).


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

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



CVS commit: src

2020-05-23 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Sat May 23 19:56:00 UTC 2020

Modified Files:
src/sys/net/npf: npf_conf.c npf_conn.c npf_conn.h npf_conndb.c
npf_inet.c npf_nat.c
src/usr.sbin/npf/npfctl: npf_build.c npf_show.c npfctl.h

Log Message:
Backport selected NPF fixes from the upstream (to be pulled up):

- npf_conndb_lookup: protect the connection lookup with pserialize(9),
  instead of incorrectly assuming that the handler always runs at IPL_SOFNET.
  Should fix crashes reported on high load (PR/55182).

- npf_config_destroy: handle partially initialized config; fixes crashes
  with some invalid configurations.

- NAT policy creation / destruction: set the initial reference and do not
  wait for reference draining on destruction; destroy the policy on the
  last reference drop instead.  Fixes a lockup with the dynamic NAT rules.

- npf_nat_{export,import}: fix a regression since dynamic NAT rules.

- npfctl: fix a regression and restore the default group behaviour.

- Add npf_cache_tcp() and validate the TCP data offset (from maxv@).


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/net/npf/npf_conf.c
cvs rdiff -u -r1.30 -r1.31 src/sys/net/npf/npf_conn.c
cvs rdiff -u -r1.18 -r1.19 src/sys/net/npf/npf_conn.h
cvs rdiff -u -r1.7 -r1.8 src/sys/net/npf/npf_conndb.c
cvs rdiff -u -r1.55 -r1.56 src/sys/net/npf/npf_inet.c
cvs rdiff -u -r1.48 -r1.49 src/sys/net/npf/npf_nat.c
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/npf/npfctl/npf_build.c
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/npf/npfctl/npf_show.c
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/npf/npfctl/npfctl.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

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 20:22:42 UTC 2020

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

Log Message:
uvm_pglistfree(): just use uvm_pagefree().


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/uvm/uvm_pglist.c

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



CVS commit: src/sys

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 20:45:11 UTC 2020

Modified Files:
src/sys/kern: kern_lwp.c kern_proc.c kern_turnstile.c sys_lwp.c
src/sys/rump/librump/rumpkern: lwproc.c
src/sys/sys: lwp.h proc.h sleepq.h

Log Message:
- Replace pid_table_lock with a lockless lookup covered by pserialize, with
  the "writer" side being pid_table expansion.  The basic idea is that when
  doing an LWP lookup there is usually already a lock held (p->p_lock), or a
  spin mutex that needs to be taken (l->l_mutex), and either can be used to
  get the found LWP stable and confidently determine that all is correct.

- For user processes LSLARVAL implies the same thing as LSIDL ("not visible
  by ID"), and lookup by ID in proc0 doesn't really happen.  In-tree the new
  state should be understood by top(1), the tty subsystem and so on, and
  would attract the attention of 3rd party kernel grovellers in time, so
  remove it and just rely on LSIDL.


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.251 -r1.252 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.39 -r1.40 src/sys/kern/kern_turnstile.c
cvs rdiff -u -r1.80 -r1.81 src/sys/kern/sys_lwp.c
cvs rdiff -u -r1.48 -r1.49 src/sys/rump/librump/rumpkern/lwproc.c
cvs rdiff -u -r1.209 -r1.210 src/sys/sys/lwp.h
cvs rdiff -u -r1.365 -r1.366 src/sys/sys/proc.h
cvs rdiff -u -r1.30 -r1.31 src/sys/sys/sleepq.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

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 21:14:56 UTC 2020

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

Log Message:
sched_bestcpu(): There is a fallback CPU, in case the user manages to set
the system up so no CPU is permitted to run a given LWP.  Fix a bug where
that fallback CPU would sometimes get picked even if there was another CPU
that could legitimately run the LWP.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/kern/kern_runq.c

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



CVS commit: src/sys/kern

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 21:24:41 UTC 2020

Modified Files:
src/sys/kern: kern_runq.c sched_4bsd.c sched_m2.c

Log Message:
Oops.  If a SCHED_RR thread is preempted and has exceeded its timeslice it
needs to go to the back of the run queue so round-robin actually happens,
otherwise it should go to the front.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/kern/kern_runq.c
cvs rdiff -u -r1.43 -r1.44 src/sys/kern/sched_4bsd.c
cvs rdiff -u -r1.38 -r1.39 src/sys/kern/sched_m2.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

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 21:49:43 UTC 2020

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

Log Message:
NetBSD 9.99.64 - struct lwp changed


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

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 22:16:17 UTC 2020

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

Log Message:
PR kern/55237: Panic: vrelel: bad ref count (9.99.54)

Adjust v_writecount with v_interlock held.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/kern/tty_ptm.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

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 23:37:17 UTC 2020

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

Log Message:
Oops.  If a SCHED_RR thread is preempted and has exceeded its timeslice it
needs to go to the back of the run queue so round-robin actually happens,
otherwise it should go to the front.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/sys/sched.h

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



CVS commit: src

2020-05-23 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat May 23 23:42:44 UTC 2020

Modified Files:
src/external/cddl/osnet/dist/uts/common/dtrace: dtrace.c
src/sys/arch/vax/vax: pmap.c
src/sys/arch/x68k/dev: event.c
src/sys/compat/common: kern_sig_16.c tty_43.c
src/sys/compat/linux/arch/arm: linux_ptrace.c
src/sys/compat/linux/arch/i386: linux_ptrace.c
src/sys/compat/linux/arch/powerpc: linux_ptrace.c
src/sys/compat/linux/common: linux_file.c linux_sched.c linux_signal.c
src/sys/compat/netbsd32: netbsd32_fs.c
src/sys/ddb: db_xxx.c
src/sys/dev: lockstat.c midi.c sequencer.c
src/sys/dev/audio: audio.c
src/sys/dev/pci/bktr: bktr_core.c
src/sys/dev/sbus: bpp.c
src/sys/dev/usb: uhid.c usb.c
src/sys/dev/wscons: wsdisplay_compat_usl.c wsevent.c
src/sys/external/bsd/drm/dist/bsd-core: drm_irq.c
src/sys/external/bsd/drm2/drm: drm_lock.c
src/sys/fs/autofs: autofs.c
src/sys/kern: core_elf32.c init_main.c init_sysctl.c kern_acct.c
kern_core.c kern_cpu.c kern_descrip.c kern_event.c kern_exec.c
kern_exit.c kern_fork.c kern_ktrace.c kern_lwp.c kern_proc.c
kern_prot.c kern_resource.c kern_sig.c kern_stub.c kern_synch.c
kern_syscall.c kern_tc.c kern_time.c subr_copy.c subr_exec_fd.c
subr_prf.c subr_time.c sys_aio.c sys_generic.c sys_lwp.c
sys_mqueue.c sys_pset.c sys_ptrace_common.c sys_sched.c sys_sig.c
tty.c tty_tty.c uipc_socket2.c uipc_syscalls.c vfs_mount.c
vfs_vnops.c
src/sys/miscfs/procfs: procfs_limit.c procfs_linux.c procfs_status.c
procfs_subr.c procfs_vfsops.c procfs_vnops.c
src/sys/miscfs/specfs: spec_vnops.c
src/sys/nfs: nfs_bio.c
src/sys/rump/librump/rumpkern: lwproc.c rump.c signals.c
src/sys/sys: proc.h
src/sys/ufs/chfs: chfs_vnops.c
src/sys/uvm: uvm_meter.c
src/tests/rump/kernspace: sendsig.c

Log Message:
Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 \
src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
cvs rdiff -u -r1.190 -r1.191 src/sys/arch/vax/vax/pmap.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/dev/event.c
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/common/kern_sig_16.c
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/common/tty_43.c
cvs rdiff -u -r1.21 -r1.22 src/sys/compat/linux/arch/arm/linux_ptrace.c
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/linux/arch/i386/linux_ptrace.c
cvs rdiff -u -r1.31 -r1.32 src/sys/compat/linux/arch/powerpc/linux_ptrace.c
cvs rdiff -u -r1.117 -r1.118 src/sys/compat/linux/common/linux_file.c
cvs rdiff -u -r1.77 -r1.78 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -u -r1.82 -r1.83 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -u -r1.89 -r1.90 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -u -r1.74 -r1.75 src/sys/ddb/db_xxx.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/lockstat.c
cvs rdiff -u -r1.89 -r1.90 src/sys/dev/midi.c
cvs rdiff -u -r1.71 -r1.72 src/sys/dev/sequencer.c
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/audio/audio.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/bktr/bktr_core.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/sbus/bpp.c
cvs rdiff -u -r1.113 -r1.114 src/sys/dev/usb/uhid.c
cvs rdiff -u -r1.183 -r1.184 src/sys/dev/usb/usb.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/wscons/wsdisplay_compat_usl.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/wscons/wsevent.c
cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/drm/dist/bsd-core/drm_irq.c
cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/drm2/drm/drm_lock.c
cvs rdiff -u -r1.5 -r1.6 src/sys/fs/autofs/autofs.c
cvs rdiff -u -r1.62 -r1.63 src/sys/kern/core_elf32.c
cvs rdiff -u -r1.525 -r1.526 src/sys/kern/init_main.c
cvs rdiff -u -r1.225 -r1.226 src/sys/kern/init_sysctl.c \
src/sys/kern/kern_fork.c
cvs rdiff -u -r1.96 -r1.97 src/sys/kern/kern_acct.c
cvs rdiff -u -r1.29 -r1.30 src/sys/kern/kern_core.c
cvs rdiff -u -r1.89 -r1.90 src/sys/kern/kern_cpu.c
cvs rdiff -u -r1.245 -r1.246 src/sys/kern/kern_descrip.c
cvs rdiff -u -r1.106 -r1.107 src/sys/kern/kern_event.c
cvs rdiff -u -r1.500 -r1.501 src/sys/kern/kern_exec.c
cvs rdiff -u -r1.289 -r1.290 src/sys/kern/kern_exit.c
cvs rdiff -u -r1.176 -r1.177 src/sys/kern/kern_ktrace.c
cvs rdiff -u -r1.238 -r1.239 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.252 -r1.253 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.121 -r1.122 src/sys/kern/kern_prot.c
cvs rdiff -u -r1.186 -r1.187 src/sys/kern/kern_resource.c
cvs rdiff -u -r1.389 -r1.390 src/sys/kern/kern_sig.c
cvs rdiff -u -r1.48 -r1.49 src/sys/kern/kern_stub.c src/sys/kern/sys_sched.c
cvs rdiff -u -r1.348 -r1.349 src/sys/kern/kern_synch.c
cvs rdiff -u -r1.19 -r1.20 src/sys/kern/kern_syscall.c
cvs rdiff -u -r1.54 -r1.55 src/sys/kern/kern_tc.c
cvs rdiff -u -r1.204

CVS commit: src/libexec/ld.elf_so/arch/powerpc

2020-05-23 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sun May 24 02:33:11 UTC 2020

Modified Files:
src/libexec/ld.elf_so/arch/powerpc: ppc_reloc.c

Log Message:
new binutils/gcc started emitting R_PPC_UADDR32 reloc entries, so for now
treat them like R_PPC_ADDR32
XXX
these relocs have been observed in the xf86-video-radeon driver, but only in
the AtomBios support code, which is unused on PowerPC. This allows the driver
to load but it's not clear if the affected parts would actually function.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c

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



CVS commit: src

2020-05-23 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun May 24 04:55:53 UTC 2020

Modified Files:
src: build.sh

Log Message:
Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm.


To generate a diff of this commit:
cvs rdiff -u -r1.338 -r1.339 src/build.sh

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