CVS commit: src/sys/altq

2021-07-21 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Jul 21 07:34:44 UTC 2021

Modified Files:
src/sys/altq: altq_cbq.c altq_rmclass.c

Log Message:
altq: fix CBQ with RED and/or pf


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/altq/altq_cbq.c
cvs rdiff -u -r1.28 -r1.29 src/sys/altq/altq_rmclass.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

2021-07-21 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Jul 21 07:39:58 UTC 2021

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

Log Message:
Bump the version for ALTQ/CBQ changes

Welcome to 9.99.87


To generate a diff of this commit:
cvs rdiff -u -r1.698 -r1.699 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/lib/libm

2021-07-21 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Wed Jul 21 12:05:02 UTC 2021

Modified Files:
src/lib/libm: Makefile

Log Message:
libm: build fma(3), fmaf(3), fmal(3) on alpha

Alpha has no hardware-assisted fused multiply-add, so the fallback
C implementation must be used. A basic smoke test shows the
implementation works for
"x * x - 1.0f" vs "fmaf(x, x, -1.0f)" with "volatile float x = 1.0008f;"


To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/lib/libm/Makefile

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



CVS commit: src

2021-07-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 21 21:04:00 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: gcc_stmt_asm.c
src/usr.bin/xlint/lint1: cgram.y

Log Message:
lint: rename ignore_up_to_rparen to match the grammar rule

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/gcc_stmt_asm.c
cvs rdiff -u -r1.330 -r1.331 src/usr.bin/xlint/lint1/cgram.y

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

2021-07-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 21 21:11:19 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: cgram.y

Log Message:
lint: remove unnecessary assertion for type qualifier

If there is any new type qualifier that lint should support (such as
_Atomic from C11), the obvious place is to look in the grammar rule
type_qualifier, so there is no need to have an assertion.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/usr.bin/xlint/lint1/cgram.y

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



CVS commit: src

2021-07-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 21 21:17:57 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: decl_struct_member.c
src/usr.bin/xlint/lint1: cgram.y

Log Message:
lint: rename grammar rules for specifier-qualifier-list

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/tests/usr.bin/xlint/lint1/decl_struct_member.c
cvs rdiff -u -r1.332 -r1.333 src/usr.bin/xlint/lint1/cgram.y

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

2021-07-21 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Jul 21 21:24:45 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: cgram.y

Log Message:
lint: move assignments to $$ at the end of the action

They are closely related to return statements.

While here, add some more remarks from reviewing the grammar.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334 src/usr.bin/xlint/lint1/cgram.y

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



CVS commit: src/sys/dev/raidframe

2021-07-21 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Wed Jul 21 23:10:12 UTC 2021

Modified Files:
src/sys/dev/raidframe: rf_shutdown.c

Log Message:
Remove commented line that is a duplicate of a real line.


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

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



CVS commit: src/sys

2021-07-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul 21 23:16:09 UTC 2021

Modified Files:
src/sys/arch/i386/stand/lib: exec_multiboot2.c
src/sys/arch/x86/conf: files.x86
src/sys/arch/x86/x86: bios32.c platform.c x86_ipmi.c
src/sys/conf: files
src/sys/dev: files.dev
Added Files:
src/sys/arch/x86/include: smbios_machdep.h
src/sys/dev: smbios.c smbiosvar.h
Removed Files:
src/sys/arch/x86/include: smbiosvar.h

Log Message:
Separate MI smbios interface from MD specific code.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/stand/lib/exec_multiboot2.c
cvs rdiff -u -r1.120 -r1.121 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/include/smbios_machdep.h
cvs rdiff -u -r1.6 -r0 src/sys/arch/x86/include/smbiosvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x86/x86/bios32.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x86/x86/platform.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/x86_ipmi.c
cvs rdiff -u -r1.1286 -r1.1287 src/sys/conf/files
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/files.dev
cvs rdiff -u -r0 -r1.1 src/sys/dev/smbios.c src/sys/dev/smbiosvar.h

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



CVS commit: src/sys

2021-07-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jul 21 23:26:15 UTC 2021

Modified Files:
src/sys/arch/x86/conf: files.x86
Added Files:
src/sys/dev: smbios_platform.c
Removed Files:
src/sys/arch/x86/x86: platform.c

Log Message:
x86's platform.c no longer has any x86 specific code in it, so move it to
dev/smbios_platform.c to let other ports use it


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r1.17 -r0 src/sys/arch/x86/x86/platform.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/smbios_platform.c

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



CVS commit: src/sys/arch/arm/fdt

2021-07-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Jul 22 00:47:56 UTC 2021

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

Log Message:
Expose SMBIOS tables using sysctl machdep.dmi.*, same as x86.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/fdt/acpi_fdt.c
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/arm/fdt/files.fdt

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

2021-07-21 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Jul 22 01:31:55 UTC 2021

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

Log Message:
Use __BITS() to define MDLWP_FP_C.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/alpha/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/share/man/man9

2021-07-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jul 22 01:38:45 UTC 2021

Modified Files:
src/share/man/man9: module.9

Log Message:
module_hold() returns void, not int

XXX module_hold() and module_rele() should probably not be exposed, since
XXX they really aren't MP-safe.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/module.9

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

2021-07-21 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Thu Jul 22 01:39:18 UTC 2021

Modified Files:
src/sys/arch/alpha/alpha: fp_complete.c machdep.c
src/sys/arch/alpha/include: cpu.h fpu.h

Log Message:
Various minor cleanups and bug fixes to the FP software completion code:
- Use __CTASSERT() instead of rolling our own compile-time assertion
  using cpp.
- Use __BIT() &c instead of rolling our own.
- Improve some comments.
- Define a default FP_C and FPCR value that is self-consistent, and
  initialize it properly at process creation time.
- Fix signal information when the trap shadow cannot be resolved.
- Use defined constants rather than magic numbers for the exception
  summary bits.
- Add a machdep sysctl to enable FP software-completion debugging.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/alpha/alpha/fp_complete.c
cvs rdiff -u -r1.374 -r1.375 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/alpha/include/cpu.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/alpha/include/fpu.h

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



CVS commit: src/sys/sys

2021-07-21 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Thu Jul 22 04:46:29 UTC 2021

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

Log Message:
Minor shuffle to bring  and  in before
any  headers and for the COHERENCY_UNIT and CACHE_LINE_SIZE
defaults to be provided after the  includes, but before the
 includes.

COHERENCY_UNIT and CACHE_LINE_SIZE are used by a few  filss.

I checked a handful of kernel builds produce the same binary before and
after this change.  I'll check more.


To generate a diff of this commit:
cvs rdiff -u -r1.699 -r1.700 src/sys/sys/param.h

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