CVS commit: src/sys/dev/sdmmc

2020-07-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 20 06:47:03 UTC 2020

Modified Files:
src/sys/dev/sdmmc: if_bwfm_sdio.c

Log Message:
clear all interrupts, not just those we expect from the hostintmask.

this removes the final hard hang i have seen in pinebookpro wifi,
though one may still need to 'ifconfig bwfm0 down up' occasionally,
so we still have bugs to fix here (the hang is usually associated
with 'checksum error' from bwfm/sdio.)


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/sdmmc/if_bwfm_sdio.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/sdmmc

2020-07-19 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Jul 20 06:44:55 UTC 2020

Modified Files:
src/sys/dev/sdmmc: if_bwfm_sdio.c

Log Message:
only ask for SDPCMD_INTSTATUS_HMB_SW_MASK and SDPCMD_INTSTATUS_CHIPACTIVE
interrupts, not all of them.  we only ack these ones.

mostly fixes pinebookpro wifi hard hangs.  still is problematic and can
trigger interrupt storm that appears as a hard hang without NET_MPSAFE,
and a follow up, less clearly right, change will reduce that to a soft
hang of the interface that can be cleared with 'ifconfig bwfm0 down up',
and even often recovers itself now.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/sdmmc/if_bwfm_sdio.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

2020-07-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Jul 20 05:50:56 UTC 2020

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

Log Message:
Revert previous, to unbreak the build (NVMM declares the macro too).

There are hundreds of MSRs, we're not going to list them all, especially
when the majority are unused.


To generate a diff of this commit:
cvs rdiff -u -r1.169 -r1.170 src/sys/arch/x86/include/specialreg.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-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Jul 20 03:26:07 UTC 2020

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

Log Message:
Less magic numbers.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/mips/mips/cpu_subr.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-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Jul 20 03:24:59 UTC 2020

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

Log Message:
Remove check/limit for only 2 cores.
Use MIPS_EBASE_CPUNUM instead of magic numbers.


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

2020-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Jul 20 03:23:43 UTC 2020

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

Log Message:
Use MIPS_EBASE_CPUNUM instead of magic numbers.


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

2020-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Jul 20 03:22:39 UTC 2020

Modified Files:
src/sys/arch/mips/mips: genassym.cf

Log Message:
Expose MIPS_EBASE_CPUNUM.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/mips/mips/genassym.cf

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



CVS commit: src/sys/arch/mips/include

2020-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Jul 20 03:17:44 UTC 2020

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

Log Message:
Expose the width of the MIPS_EBASE_CPUNUM bitfield for asm code.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 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/arch/evbsh3/conf

2020-07-19 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Mon Jul 20 02:04:43 UTC 2020

Modified Files:
src/sys/arch/evbsh3/conf: NEXTVOD

Log Message:
Use COPY_SYMTAB to get kernel symbols.


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

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-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon Jul 20 01:10:38 UTC 2020

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

Log Message:
Add an extra bitfield in MIPS_COP_0_EBASE.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 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/arch/evbsh3/nextvod

2020-07-19 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Mon Jul 20 01:06:33 UTC 2020

Modified Files:
src/sys/arch/evbsh3/nextvod: stasc.c

Log Message:
Implement cngetc to be able to talk to DDB.


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

2020-07-19 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sun Jul 19 23:44:36 UTC 2020

Added Files:
src/sys/arch/evbsh3/conf: NEXTVOD files.nextvod mk.nextvod std.nextvod
src/sys/arch/evbsh3/nextvod: clock_machdep.c nextvod.c stasc.c

Log Message:
Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices.  This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbsh3/conf/NEXTVOD \
src/sys/arch/evbsh3/conf/files.nextvod \
src/sys/arch/evbsh3/conf/mk.nextvod src/sys/arch/evbsh3/conf/std.nextvod
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbsh3/nextvod/clock_machdep.c \
src/sys/arch/evbsh3/nextvod/nextvod.c src/sys/arch/evbsh3/nextvod/stasc.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 22:22:01 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): remove unnecessary UNCONST


To generate a diff of this commit:
cvs rdiff -u -r1.276 -r1.277 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 22:04:28 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: sysv.exp sysv.mk

Log Message:
make(1): make ampersand in ${VAR:from=to&} an ordinary character

In SysV substitutions, wildcards are expressed with % instead of &.  The
& is not mentioned in the manual page, and having another wildcard for
the whole word would be such an obscure feature that not even pkgsrc uses
it.  The easiest way to discover this feature had been to read the source
code of make(1) or to use a fuzzer and accidentally stumble upon this
edge case.


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 src/usr.bin/make/var.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/sysv.exp
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/sysv.mk

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 21:30:50 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): don't call VarSubstitute unnecessarily


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 21:14:56 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): remove wrong VarPattern from ApplyModifier_Exclam


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 21:10:35 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): remove wrong VarPattern from ApplyModifier_Assign


To generate a diff of this commit:
cvs rdiff -u -r1.272 -r1.273 src/usr.bin/make/var.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/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 21:03:55 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: cond-short.mk

Log Message:
make(1): add test for assignment operators in conditions


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/cond-short.mk

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 20:56:34 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): flatten ApplyModifier_Assign


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/usr.bin/make/var.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/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 20:49:45 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk

Log Message:
make(1): add tests for the ::= modifiers


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/modmisc.mk

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



CVS commit: src/usr.bin/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 20:37:57 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: varmisc.mk

Log Message:
make(1): fix date in comment in unit test


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/unit-tests/varmisc.mk

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



CVS commit: src/usr.bin/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 19:36:20 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk

Log Message:
make(1): add tests for maximum number of capturing groups in :C


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/unit-tests/modmisc.mk

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 19:27:08 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: modmisc.exp

Log Message:
make(1): fix off-by-one error in :C modifier

Previously this off-by-one error had invoked undefined behavior.
Until today there was no corresponding unit test though.


To generate a diff of this commit:
cvs rdiff -u -r1.270 -r1.271 src/usr.bin/make/var.c
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/make/unit-tests/modmisc.exp

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



CVS commit: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k

2020-07-19 Thread Izumi Tsutsui
Module Name:xsrc
Committed By:   tsutsui
Date:   Sun Jul 19 19:11:05 UTC 2020

Modified Files:
xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k: x68kKbd.c

Log Message:
Sync with xorg-server.old: Remove #ifdef XKB conditional.

> It has been mandatory on Xorg:
>  
> https://cgit.freedesktop.org/xorg/xserver/commit/?id=40877c6680863bd6a8475f2bb0c54df55bcf0b0e


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c

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



CVS commit: xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k

2020-07-19 Thread Izumi Tsutsui
Module Name:xsrc
Committed By:   tsutsui
Date:   Sun Jul 19 19:05:20 UTC 2020

Modified Files:
xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k: x68kKbd.c

Log Message:
Remove #ifdef XKB conditional.

It has been mandatory on Xorg:
 
https://cgit.freedesktop.org/xorg/xserver/commit/?id=40877c6680863bd6a8475f2bb0c54df55bcf0b0e


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/x68kKbd.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 18:35:54 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): fix double free introduced this morning in r1.258


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 17:43:36 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): remove redundant loop control variable


To generate a diff of this commit:
cvs rdiff -u -r1.268 -r1.269 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 17:40:30 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): rename ApplyModifiersState.flags to eflags

There are just too many variables called "flags" in this file, and their
constants must not accidentally overlap.


To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/usr.bin/make/var.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/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 17:24:22 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk

Log Message:
make(1): demonstrate off-by-one bug in :C modifier


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/unit-tests/modmisc.mk

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 16:48:48 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): clean up VarLoop structure


To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 16:22:44 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): remove unused parameter from ParseModifierPart


To generate a diff of this commit:
cvs rdiff -u -r1.265 -r1.266 src/usr.bin/make/var.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/xen/x86

2020-07-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Jul 19 16:20:36 UTC 2020

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

Log Message:
add #ifdef __HAVE_PCI_MSI_MSIX so this still compiles with NO_PCI_MSI_MSIX


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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/x86/include

2020-07-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Jul 19 16:17:00 UTC 2020

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

Log Message:
add definition for MSR_IA32_FEATURE_CONTROL, just for information


To generate a diff of this commit:
cvs rdiff -u -r1.168 -r1.169 src/sys/arch/x86/include/specialreg.h

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 16:08:24 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: varmod-edge.mk

Log Message:
make(1): rename VarGetPattern to ParseModifierPart


To generate a diff of this commit:
cvs rdiff -u -r1.264 -r1.265 src/usr.bin/make/var.c
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/varmod-edge.mk

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 15:51:51 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): eliminate unused local variables


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 15:47:10 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): eliminate macro from VarGetPattern


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/usr.bin/make/var.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/make

2020-07-19 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 19 15:42:25 UTC 2020

Modified Files:
src/usr.bin/make: hash.c

Log Message:
Nix trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/make/hash.c

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



CVS commit: src/crypto/external/bsd/openssl/dist/crypto

2020-07-19 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 19 15:33:08 UTC 2020

Modified Files:
src/crypto/external/bsd/openssl/dist/crypto: ppccap.c

Log Message:
Expand on importance of not using fpu for crypto if there's no fpu.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
src/crypto/external/bsd/openssl/dist/crypto/ppccap.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/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 15:16:22 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk

Log Message:
make(1): add test for stray dollar signs in :@ modifier


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/unit-tests/modmisc.mk

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



CVS commit: src/sbin/brconfig

2020-07-19 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Jul 19 14:43:35 UTC 2020

Modified Files:
src/sbin/brconfig: brconfig.8

Log Message:
Remove unused Pp. Sort SEE ALSO.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sbin/brconfig/brconfig.8

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



CVS commit: src/sbin/brconfig

2020-07-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 19 14:39:42 UTC 2020

Modified Files:
src/sbin/brconfig: brconfig.8

Log Message:
sync with reality


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sbin/brconfig/brconfig.8

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



CVS commit: src

2020-07-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 19 14:31:31 UTC 2020

Modified Files:
src/sys/arch/amd64/conf: ALL GENERIC
src/sys/arch/x86/x86: x86_machdep.c
src/tests/lib/libi386: t_user_ldt.c

Log Message:
Compile USER_LDT by default, but, put it behind a privileged sysctl that
defaults to disabled. To enable:

# sysctl -w machdep.user_ldt=1


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.572 -r1.573 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.144 -r1.145 src/sys/arch/x86/x86/x86_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libi386/t_user_ldt.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

2020-07-19 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Jul 19 14:27:07 UTC 2020

Modified Files:
src/sys/arch/x86/pci: pci_msi_machdep.c
src/sys/arch/xen/include: intr.h
src/sys/arch/xen/x86: pintr.c

Log Message:
for Xen MSI, fallback to INTx when PHYSDEVOP_map_pirq fails for the device

apparently Xen requires VT-d to be enabled in BIOS for PHYSDEVOP_map_pirq
to work, this change makes it work on systems with VT-d disabled or missing

adresses the panic part of PR port-xen/55285 by Patrick Welche


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/pci/pci_msi_machdep.c
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/xen/include/intr.h
cvs rdiff -u -r1.17 -r1.18 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/usr.bin/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 14:23:02 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: sysv.exp sysv.mk

Log Message:
make(1): add test for ampersand in SysV substitution modifier


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/sysv.exp
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/sysv.mk

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 14:05:39 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): replace ApplyModifiersState field with local variable


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/usr.bin/make/var.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

2020-07-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 19 13:58:27 UTC 2020

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

Log Message:
we're already in an #ifdef USER_LDT block, so no need to #ifdef again


To generate a diff of this commit:
cvs rdiff -u -r1.400 -r1.401 src/sys/arch/x86/x86/pmap.c

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



CVS commit: src/sys

2020-07-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 19 13:55:09 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64: netbsd32_machdep_13.c
src/sys/arch/i386/include: pmap.h
src/sys/arch/x86/include: cpu.h
src/sys/arch/xen/x86: xen_pmap.c
src/sys/compat/linux/arch/i386: linux_exec_machdep.c

Log Message:
don't include opt_user_ldt.h when it is not needed


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amd64/amd64/netbsd32_machdep_13.c
cvs rdiff -u -r1.125 -r1.126 src/sys/arch/i386/include/pmap.h
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/xen/x86/xen_pmap.c
cvs rdiff -u -r1.18 -r1.19 \
src/sys/compat/linux/arch/i386/linux_exec_machdep.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 13:21:56 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): rename flags for :S and :C pattern matching

Renaming these flags makes it obvious that VarPattern is used in a few
places where it doesn't belong.  These will be fixed in follow-up
commits.


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 12:51:06 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): convert VarFind flags to typed enum


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 12:35:30 UTC 2020

Modified Files:
src/usr.bin/make: cond.c main.c meta.c

Log Message:
make(1): clean up unnecessary snprintf and multi-line function calls


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/usr.bin/make/cond.c
cvs rdiff -u -r1.281 -r1.282 src/usr.bin/make/main.c
cvs rdiff -u -r1.87 -r1.88 src/usr.bin/make/meta.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 12:26:17 UTC 2020

Modified Files:
src/usr.bin/make: arch.c compat.c cond.c for.c job.c main.c make.c
meta.c nonints.h parse.c suff.c var.c

Log Message:
make(1): rename Varf_Flags to VarEvalFlags

In var.c there are lots of different flag types.  To make any accidental
mixture obvious, each flag group gets its own prefix.

The only flag group that is visible outside of var.c is concerned with
evaluating variables, therefore the "e", which replaces the former "f"
that probably just meant "flag".


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/usr.bin/make/arch.c
cvs rdiff -u -r1.113 -r1.114 src/usr.bin/make/compat.c
cvs rdiff -u -r1.79 -r1.80 src/usr.bin/make/cond.c src/usr.bin/make/nonints.h
cvs rdiff -u -r1.54 -r1.55 src/usr.bin/make/for.c
cvs rdiff -u -r1.201 -r1.202 src/usr.bin/make/job.c
cvs rdiff -u -r1.280 -r1.281 src/usr.bin/make/main.c
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/make/make.c
cvs rdiff -u -r1.86 -r1.87 src/usr.bin/make/meta.c
cvs rdiff -u -r1.236 -r1.237 src/usr.bin/make/parse.c
cvs rdiff -u -r1.88 -r1.89 src/usr.bin/make/suff.c
cvs rdiff -u -r1.258 -r1.259 src/usr.bin/make/var.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

2020-07-19 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Jul 19 11:47:48 UTC 2020

Modified Files:
src/sys/arch/arm/arm: armv6_start.S
src/sys/arch/arm/include: asan.h

Log Message:
Fix RPI boot which needs more early stack

XXX centralise INIT_ARM_STACK_{SHIFT,SIZE}
XXX how to protect against this breaking again?


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/arm/armv6_start.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/include/asan.h

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



CVS commit: src/usr.bin/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 10:38:02 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): clean up handling of :? modifier

The VarPattern type had nothing to do with parsing conditions.


To generate a diff of this commit:
cvs rdiff -u -r1.257 -r1.258 src/usr.bin/make/var.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 10:28:44 UTC 2020

Modified Files:
src/usr.bin/make: var.c

Log Message:
make(1): clean up code in var.c

* use canonical comparison to zero in more cases
* omit unnecessary snprintf for string literal concatenation
* omit a few redundant parentheses and braces


To generate a diff of this commit:
cvs rdiff -u -r1.256 -r1.257 src/usr.bin/make/var.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-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Jul 19 09:30:08 UTC 2020

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

Log Message:
A little KNF.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/mips/mips/cpu_subr.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/make

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 09:26:19 UTC 2020

Modified Files:
src/usr.bin/make: nonints.h str.c var.c

Log Message:
make(1): move SysV string matching to var.c

This kind of string matching is only used in variable modifiers, and only
if this feature is enabled by SYSVVARSUB.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.51 -r1.52 src/usr.bin/make/str.c
cvs rdiff -u -r1.255 -r1.256 src/usr.bin/make/var.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/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 09:13:22 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: modts.exp modts.mk

Log Message:
make(1): add more tests for :ts modifier


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/modts.exp \
src/usr.bin/make/unit-tests/modts.mk

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

2020-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Jul 19 08:58:35 UTC 2020

Modified Files:
src/sys/arch/mips/cavium: octeon_cpunode.c

Log Message:
KNF whitespace nits.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/cavium/octeon_cpunode.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/evbmips/cavium

2020-07-19 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Jul 19 08:53:24 UTC 2020

Modified Files:
src/sys/arch/evbmips/cavium: machdep.c

Log Message:
Reserve space for all CPU cores (incorrect logic).
Reserve a full page for each core, not incorrect 4096 (from skrll@).


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

2020-07-19 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sun Jul 19 07:35:08 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64: cpufunc.S
src/sys/arch/amd64/include: frameasm.h
src/sys/arch/i386/i386: cpufunc.S
src/sys/arch/x86/include: pmap.h
src/sys/arch/x86/x86: svs.c

Log Message:
Revert most of ad's movs/stos change. Instead do a lot simpler: declare
svs_quad_copy() used by SVS only, with no need for instrumentation, because
SVS is disabled when sanitizers are on.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/amd64/amd64/cpufunc.S
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amd64/include/frameasm.h
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/i386/i386/cpufunc.S
cvs rdiff -u -r1.124 -r1.125 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/x86/svs.c

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



CVS commit: src/sys/crypto/aes/arch/arm

2020-07-19 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sun Jul 19 07:32:43 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: aes_armv8_64.S

Log Message:
fix build with clang/llvm.

clang aarch64 assembler doesn't accept optional number of lanes of vector 
register.
(but ARMARM says that an assembler must accept it)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/aes/arch/arm/aes_armv8_64.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/aarch64/aarch64

2020-07-19 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sun Jul 19 07:18:07 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: cpufunc_asm_armv8.S

Log Message:
fix build error with LLVM.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/aarch64/cpufunc_asm_armv8.S

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



CVS commit: src/usr.bin/make/unit-tests

2020-07-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jul 19 07:08:10 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: modts.exp modts.mk

Log Message:
make(1): demonstrate inconsistent :ts behavior among modifiers


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/modts.exp \
src/usr.bin/make/unit-tests/modts.mk

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