Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (9m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 09:39:53 UTC Now

2019-02-25 19:28:01 UTC MAIN commitmail json YAML

Add SCF_NEED_BOUNCE command flag. Can be used by a driver to keep track of
which command(s) need data transfers to go through DMA bounce buffers.

(jmcneill)

2019-02-25 13:19:14 UTC MAIN commitmail json YAML

Fix typo in kcov.h

Should fix i386.

(kamil)

2019-02-25 10:49:16 UTC MAIN commitmail json YAML

Improve panic messages.

(maxv)

2019-02-25 10:25:40 UTC MAIN commitmail json YAML

Register missing CAT page spi.0 in distribution files

(kamil)

2019-02-25 10:23:01 UTC MAIN commitmail json YAML

Fix build of t_kcov

Correct the syntax that used to work in earlier uncommitted version.

(kamil)

2019-02-25 07:36:16 UTC MAIN commitmail json YAML

MMDACR_FN_{DATANPI,DATAPIRW,DATAPIW} are little hard to identify and might be
misread, so rename them to MMDACR_FN_{DATA,DATA_INC_RW,DATA_INC_W}.

(msaitoh)

2019-02-25 07:31:32 UTC MAIN commitmail json YAML

Fix the order in udp6_attach: soreserve should be called before
in6_pcballoc, otherwise if it fails there is still a PCB attached, and
we hit a KASSERT in socreate. In !DIAGNOSTIC this would have caused a
memory leak.

By the way I find the splsoftnet highly suspicious, in6_pcballoc already
does that.

Triggered by SyzKaller.

Reported-by: syzbot+7bace612ca3cc3e124f8@syzkaller.appspotmail.com

(maxv)

2019-02-25 06:59:37 UTC MAIN commitmail json YAML

It seems EEE support is not only on 8211F but on 8211D and newer.

(msaitoh)

2019-02-25 06:49:44 UTC MAIN commitmail json YAML

RIP6, CAN, SCTP and SCTP6 lack a length check in their _send() functions.
Fix RIP6 and CAN, add a big XXX in the SCTP ones.

Found by KASAN, triggered by SyzKaller.

Reported-by: syzbot+0b9692ae0f49f93b7dc7@syzkaller.appspotmail.com

(maxv)

2019-02-25 06:23:53 UTC MAIN commitmail json YAML

2019-02-25 06:23:33 UTC MAIN commitmail json YAML

Add non-xx'ed DAVICOM DM9101.

(msaitoh)

2019-02-25 06:00:40 UTC MAIN commitmail json YAML

Revert -r1.244-245 of ufs_vnops.c; they are wrong.
Fix the mistake in -r1.243 that made them look like reasonable changes.

(this does not affect whether the -r1.243 change works with the union
mount path in libc, but fixes an immediate hazard)

(dholland)

2019-02-25 04:56:30 UTC MAIN commitmail json YAML

- Add Broadcom BCM540[24], BCM5424 and BCM5466.
- Sort lines.

(msaitoh)

2019-02-25 04:26:22 UTC MAIN commitmail json YAML

Remove xxMARVELL E1000 and duplicated xxMARVELL E1000S to make functionality
the same as rev. 1.54.

(msaitoh)

2019-02-25 04:24:22 UTC MAIN commitmail json YAML

Fix previos to not to duplicate DM9101 entry. One is DAVICOM and another
is xxDAVICOM.

(msaitoh)

2019-02-25 02:31:58 UTC MAIN commitmail json YAML

2019-02-25 00:51:24 UTC MAIN commitmail json YAML

2019-02-25 00:11:13 UTC MAIN commitmail json YAML

remove junk assignment.

(christos)

2019-02-24 21:14:43 UTC MAIN commitmail json YAML

Add KCOV_LOAD() and KCOV_STORE() - new helper macros

New macros prefer 64-bit atomic operations whenever accessible.

As a fallback they use volatile move operations that are not known
to have negative effect in KCOV even if interrupted in the middle of
operation.

Enable kcov_basic and kcov_thread tests on targets without
__HAVE_ATOMIC64_OPS.

(kamil)

2019-02-24 21:07:59 UTC MAIN commitmail json YAML

Add missing FALLTHROUGH in sctp_input.c

Requested by GCC NetBSD/i386 kUBSan KCOC build.

(kamil)

2019-02-24 20:58:55 UTC MAIN commitmail json YAML

Enable kUBSan kASan and KCOV in NetBSD/amd64 kernel=ALL

Add disabled KLEAK as it conflicts right now with KCOV, using the same
compiler instrumentation.

(kamil)

2019-02-24 20:56:28 UTC MAIN commitmail json YAML

Enable kUBSan and KCOV in NetBSD/i386 kernel=ALL

(kamil)

2019-02-24 20:54:13 UTC MAIN commitmail json YAML

Add missing FALLTHROUGH in gpib/mt.c

Requested by GCC in NetBSD/i386 kUBSan KCOV build.

(kamil)

2019-02-24 20:50:03 UTC MAIN commitmail json YAML

Add missing FALLTHROUGH in isa/mcd.c

Requested by GCC in NetBSD/i386 kUBSan KCOV build.

Reviewed by <mgorny>

(kamil)

2019-02-24 20:20:18 UTC MAIN commitmail json YAML

2019-02-24 20:06:43 UTC MAIN commitmail json YAML

2019-02-24 20:04:01 UTC MAIN commitmail json YAML

2019-02-24 20:01:33 UTC MAIN commitmail json YAML

2019-02-24 19:25:35 UTC MAIN commitmail json YAML

2019-02-24 19:24:21 UTC MAIN commitmail json YAML

cnpollc needs to be called before cngetc

(jandberg)

2019-02-24 19:06:40 UTC MAIN commitmail json YAML

Reading a directory may trigger a panic when the buffer is too small.
Adjust necessary checks.

While here, also check for arithmetic overflow.

Reported-by: syzbot+88ecace8bff24169058f@syzkaller.appspotmail.com

(mlelstv)

2019-02-24 17:22:21 UTC MAIN commitmail json YAML

2019-02-24 17:01:52 UTC MAIN commitmail json YAML

Appease GCC7 in sctp_asconf.h

Do not declare types inside function parameter list.
Add decklarations of types before these function prototypes.

(kamil)

2019-02-24 16:11:24 UTC MAIN commitmail json YAML

Clear per-lwp entries whose mount is gone before the first return
from fstrans_done().

No longer leaks "struct mount" forever.

(hannken)

2019-02-24 12:34:00 UTC MAIN commitmail json YAML

Shorter than a season - The Soul Of A New Machine

(sevan)

2019-02-24 12:05:49 UTC MAIN commitmail json YAML

Pass 0xff instead of true to memset when setting "all PIDs" mode in the PID filter

(jmcneill)

2019-02-24 11:51:05 UTC MAIN commitmail json YAML

fix typo. From Evil_Bob.

(maya)

2019-02-24 10:55:50 UTC netbsd-7-0 commitmail json YAML

2019-02-24 10:55:24 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1196):

sys/kern/kern_time.c: revision 1.196

The callout is used by any nonvirtual timer including CLOCK_MONOTONIC
and needs to be initialized.

Detected by [syzkaller].

(martin)

2019-02-24 10:54:59 UTC netbsd-7-1 commitmail json YAML

2019-02-24 10:54:36 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1196):

sys/kern/kern_time.c: revision 1.196

The callout is used by any nonvirtual timer including CLOCK_MONOTONIC
and needs to be initialized.

Detected by [syzkaller].

(martin)

2019-02-24 10:54:02 UTC netbsd-7 commitmail json YAML

2019-02-24 10:53:32 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1196):

sys/kern/kern_time.c: revision 1.196

The callout is used by any nonvirtual timer including CLOCK_MONOTONIC
and needs to be initialized.

Detected by [syzkaller].

(martin)

2019-02-24 10:50:50 UTC netbsd-8 commitmail json YAML

2019-02-24 10:49:53 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1196):

sys/kern/kern_time.c: revision 1.196

The callout is used by any nonvirtual timer including CLOCK_MONOTONIC
and needs to be initialized.

Detected by [syzkaller].

(martin)

2019-02-24 10:44:41 UTC MAIN commitmail json YAML

Improve the KASAN output, provide an error code, to help distinguish
classes of bugs.

(maxv)

2019-02-24 08:02:45 UTC MAIN commitmail json YAML

Add support for use-after-scope detection in KASAN. It is available since
GCC7, and we have GCC7 by default now.

Slightly reorder the code, and remove a duplicated KASSERT too.

Tested on amd64-KASAN. Not yet enabled on aarch64-KASAN, but it should
work as-is.

(maxv)

2019-02-24 07:39:33 UTC MAIN commitmail json YAML

Add a couple of (rather ancient) definitions for PTT

(pgoyette)

2019-02-24 07:23:12 UTC MAIN commitmail json YAML

The callout is used by any nonvirtual timer including CLOCK_MONOTONIC
and needs to be initialized.

Detected by [syzkaller].

(mlelstv)

2019-02-24 07:20:33 UTC MAIN commitmail json YAML

RIP, RIP6, DDP, SCTP and SCTP6 lack a length check in their _connect()
functions. Fix the first three, and add a big XXX in the SCTP ones.

Found by KASAN, triggered by SyzKaller.

Reported-by: syzbot+9eaf98dad6ca738c250d@syzkaller.appspotmail.com

(maxv)

2019-02-24 02:30:38 UTC MAIN commitmail json YAML

2019-02-24 02:29:56 UTC MAIN commitmail json YAML

Install spi.9 and friends.

(rin)

2019-02-24 02:29:09 UTC MAIN commitmail json YAML

Add ./usr/include/dev/spi

(rin)

2019-02-23 20:52:43 UTC MAIN commitmail json YAML

Drop signal5 test-case from ATF t_ptrace_wait*

This test is now duplicated with traceme_signalmasked_exec.

(kamil)

2019-02-23 20:46:27 UTC MAIN commitmail json YAML

Add signal masked and ignored variations of traceme_exec in ATF tests

All tests pass.

(kamil)

2019-02-23 19:56:51 UTC MAIN commitmail json YAML

Rearrange code in amdgpu_display.c to prevent build error

GCC reports that stat can be uninitialized when used, prevent this with
changing the construction of the code a little bit.

Keep original indent in order to not generate diff with upstream.

Solution suggested by <mrg>

Detected with GCC7 when building NetBSD/i386 with kUBSan.

(kamil)

2019-02-23 19:37:36 UTC MAIN commitmail json YAML

Add missing break in amdgpu_gfx_v8_0.c

Reviewed by <mrg>

Detected with GCC7 with kUBSan build for NetBSD/i386

(kamil)

2019-02-23 19:36:15 UTC MAIN commitmail json YAML

Add missing break in amdgpu_cz_smc.c

Reviewed by <mrg>

Detected with GCC7 with kUBSan build for NetBSD/i386

(kamil)

2019-02-23 18:07:47 UTC MAIN commitmail json YAML

Add signal masked and ignored variations of traceme_vfork_exec in ATF tests

All tests pass.

(kamil)

2019-02-23 17:37:11 UTC MAIN commitmail json YAML

New sentence, new line. Add missing Nd. Remove superfluous Rs.

(wiz)

2019-02-23 17:34:04 UTC MAIN commitmail json YAML

Sort SEE ALSO.

(wiz)

2019-02-23 17:33:01 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2019-02-23 17:18:39 UTC MAIN commitmail json YAML

2019-02-23 17:18:07 UTC MAIN commitmail json YAML

2019-02-23 12:28:22 UTC MAIN commitmail json YAML

Register kUBSan and KCOV in kernel=GENERIC of NetBSD/i386

Both options are disabled by default.

(kamil)

2019-02-23 12:27:00 UTC MAIN commitmail json YAML

Install the x86 RESET state at VCPU creation time, for convenience, so
that the libnvmm users can expect a functional VCPU right away.

(maxv)

2019-02-23 12:25:33 UTC MAIN commitmail json YAML

Reserve majors for HAXM and example loadable kernel modules

348-350 are reserved for HAXM
351 is reserved for sys/modules/examples

Discussed on tech-kern@

(kamil)

2019-02-23 12:07:40 UTC MAIN commitmail json YAML

Stop including <sys/atomic.h> in KCOV

This header is not needed.

Noted by <martin>

(kamil)

2019-02-23 12:03:07 UTC MAIN commitmail json YAML

Fix subr_kcov build on NetBSD/i386

Cast the pointer returned from __builtin_return_address() to intptr_t
before converting it to uint64_t.

(kamil)

2019-02-23 11:57:41 UTC MAIN commitmail json YAML

Correct printing type of b_blkno (int64_t) in st.c

Fixes build with kUBSan on NetBSD/i386.

(kamil)

2019-02-23 11:41:08 UTC MAIN commitmail json YAML

Fix GCC7 "avoid ambiguous 'else'" build error in if_wm.c

Detected with kUBSan NetBSD/i386 build.

(kamil)

2019-02-23 11:33:31 UTC MAIN commitmail json YAML

Improve fallthrough statement wording in dev/gpib/ct.c

Fixes build with kUBSan on NetBSD/i386.

(kamil)

2019-02-23 11:24:53 UTC MAIN commitmail json YAML

Improve fallthrough statement wording

Fixes build with kUBSan on NetBSD/i386.

(kamil)

2019-02-23 11:23:07 UTC MAIN commitmail json YAML

add missing debug file for kcov.

(mlelstv)

2019-02-23 10:59:12 UTC MAIN commitmail json YAML

Move PATENTRY into pmap.h, will be used outside.

(maxv)

2019-02-23 10:43:37 UTC MAIN commitmail json YAML

Add support for CPUs that don't have the EPT_{A,D} bits.

On such CPUs, these bits are ignored by the hardware. We don't care about
setting them, however, we must always assume they are set. Modify the pmap
code to do that.

While here, in pmap_ept_remove_pte, don't flush the TLB when it's not
needed.

Tested on an old Intel Celeron.

(maxv)

2019-02-23 10:43:25 UTC MAIN commitmail json YAML

Add userland driver to spi framework.

Previously spi would configure the controller to use the lowest speed of
all connected devices since the kernel started and to fail attempted mode
changes. This is now improved to keep individual modes and speeds for each
slave and to reconfigure the controller as necessary for each transfer.

Added man page for spi(9).

(mlelstv)

2019-02-23 08:19:16 UTC MAIN commitmail json YAML

Reorder the functions, and constify setstate. No functional change.

(maxv)

2019-02-23 08:03:24 UTC MAIN commitmail json YAML

Fix build of kcov tests on CPUs without 64-bit atomics

Restrict the 64-bit atomics to ports defining __HAVE_ATOMIC64_OPS.

Using 64-bit atomics is still good for i586 fuzzing, but the tests are
build for earlier CPUs. This makes this code to be disabled in i386 builds.

There is a similar situation with few other ports that offer 64-bit atomics
in certain CPU models and ABIs.

(kamil)

2019-02-23 07:33:21 UTC MAIN commitmail json YAML

Reserve major number for spi driver

(mlelstv)

2019-02-23 07:18:00 UTC netbsd-7 commitmail json YAML

2019-02-23 07:17:37 UTC netbsd-7 commitmail json YAML

Apply patch, requested by sborrill in ticket #1680:

sys/net/rtsock.c (apply patch)

Fix locking for sysctl_rtable (fix in HEAD will be different).

(martin)

2019-02-23 07:17:03 UTC netbsd-7-1 commitmail json YAML

2019-02-23 07:16:38 UTC netbsd-7-1 commitmail json YAML

Apply patch, requested by sborrill in ticket #1680:

sys/net/rtsock.c (apply patch)

Fix locking for sysctl_rtable (fix in HEAD will be different).

(martin)

2019-02-23 07:16:06 UTC netbsd-7-0 commitmail json YAML

2019-02-23 07:14:40 UTC netbsd-7-0 commitmail json YAML

Apply patch, requested by sborrill in ticket #1680:

sys/net/rtsock.c (apply patch)

Fix locking for sysctl_rtable (fix in HEAD will be different).

(martin)

2019-02-23 07:05:41 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1679):
sys/compat/sys/ipc.h: revision 1.6
sys/compat/sys/ipc.h: revision 1.7
sys/compat/sys/shm.h: revision 1.8
sys/kern/sysv_shm.c: revision 1.133
sys/compat/sys/sem.h: revision 1.7
sys/compat/linux/common/linux_ipc.c: revision 1.56
sys/compat/netbsd32/netbsd32_conv.h: revision 1.38
sys/kern/sysv_sem.c: revision 1.96
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.28
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.29
sys/compat/linux32/common/linux32_ipccall.c: revision 1.12
sys/kern/sysv_msg.c: revision 1.73
sys/compat/sys/msg.h: revision 1.6

for sysv ipc stat operations, explicitly copy the exported parts
instead of the whole ds structure.
besides triggering a recently added assert in netbsd32, this stops
exposing kernel addresses.

copy the mode clamping to 0777 from sem to shm and msg.

while here, make sure that the compat callers to sysv_ipc clear
the contents of the compat structure before setting the result
members to ensure padding bytes are cleared.

don't set/copy _sem_base, _msg_first, _msg_last or _shm_internal.
even if used, which seems very dodgy, they leak KVAs as well.
possibly this may affect linux binaries, in particular, the
comments around _shm_internal ("XXX Oh well.") may mean apps
rely upon these but hopefully not -- the comments date back to
rev 1.1 in 1995.

the _key, _seq and _msg_cbytes members are exported as before as
i found multiple consumers of these (no less than ipcs(1), and
they appear to be useful for debugging and more.

XXX: the naming of compat functions have too many styles.  there
    are at least 3 different ones changed here.

fix naming errors in previous.  (this file is no longer compiled, but
this fix makes the pull up more obvious, before deleting this file.)

include libkern.h or strings.h.  should fix i386 build issues.

(martin)

2019-02-23 07:04:12 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1679):
sys/compat/sys/ipc.h: revision 1.6
sys/compat/sys/ipc.h: revision 1.7
sys/compat/sys/shm.h: revision 1.8
sys/kern/sysv_shm.c: revision 1.133
sys/compat/sys/sem.h: revision 1.7
sys/compat/linux/common/linux_ipc.c: revision 1.56
sys/compat/netbsd32/netbsd32_conv.h: revision 1.38
sys/kern/sysv_sem.c: revision 1.96
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.28
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.29
sys/compat/linux32/common/linux32_ipccall.c: revision 1.12
sys/kern/sysv_msg.c: revision 1.73
sys/compat/sys/msg.h: revision 1.6

for sysv ipc stat operations, explicitly copy the exported parts
instead of the whole ds structure.
besides triggering a recently added assert in netbsd32, this stops
exposing kernel addresses.

copy the mode clamping to 0777 from sem to shm and msg.

while here, make sure that the compat callers to sysv_ipc clear
the contents of the compat structure before setting the result
members to ensure padding bytes are cleared.

don't set/copy _sem_base, _msg_first, _msg_last or _shm_internal.
even if used, which seems very dodgy, they leak KVAs as well.
possibly this may affect linux binaries, in particular, the
comments around _shm_internal ("XXX Oh well.") may mean apps
rely upon these but hopefully not -- the comments date back to
rev 1.1 in 1995.

the _key, _seq and _msg_cbytes members are exported as before as
i found multiple consumers of these (no less than ipcs(1), and
they appear to be useful for debugging and more.

XXX: the naming of compat functions have too many styles.  there
    are at least 3 different ones changed here.

fix naming errors in previous.  (this file is no longer compiled, but
this fix makes the pull up more obvious, before deleting this file.)

include libkern.h or strings.h.  should fix i386 build issues.

(martin)

2019-02-23 07:02:21 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1679):
sys/compat/sys/ipc.h: revision 1.6
sys/compat/sys/ipc.h: revision 1.7
sys/compat/sys/shm.h: revision 1.8
sys/kern/sysv_shm.c: revision 1.133
sys/compat/sys/sem.h: revision 1.7
sys/compat/linux/common/linux_ipc.c: revision 1.56
sys/compat/netbsd32/netbsd32_conv.h: revision 1.38
sys/kern/sysv_sem.c: revision 1.96
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.28
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.29
sys/compat/linux32/common/linux32_ipccall.c: revision 1.12
sys/kern/sysv_msg.c: revision 1.73
sys/compat/sys/msg.h: revision 1.6

for sysv ipc stat operations, explicitly copy the exported parts
instead of the whole ds structure.
besides triggering a recently added assert in netbsd32, this stops
exposing kernel addresses.

copy the mode clamping to 0777 from sem to shm and msg.

while here, make sure that the compat callers to sysv_ipc clear
the contents of the compat structure before setting the result
members to ensure padding bytes are cleared.

don't set/copy _sem_base, _msg_first, _msg_last or _shm_internal.
even if used, which seems very dodgy, they leak KVAs as well.
possibly this may affect linux binaries, in particular, the
comments around _shm_internal ("XXX Oh well.") may mean apps
rely upon these but hopefully not -- the comments date back to
rev 1.1 in 1995.

the _key, _seq and _msg_cbytes members are exported as before as
i found multiple consumers of these (no less than ipcs(1), and
they appear to be useful for debugging and more.

XXX: the naming of compat functions have too many styles.  there
    are at least 3 different ones changed here.

fix naming errors in previous.  (this file is no longer compiled, but
this fix makes the pull up more obvious, before deleting this file.)

include libkern.h or strings.h.  should fix i386 build issues.

(martin)

2019-02-23 06:59:28 UTC netbsd-8 commitmail json YAML

2019-02-23 06:58:14 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1195):
sys/compat/sys/ipc.h: revision 1.6
sys/compat/sys/ipc.h: revision 1.7
sys/compat/sys/shm.h: revision 1.8
sys/kern/sysv_shm.c: revision 1.133
sys/compat/sys/sem.h: revision 1.7
sys/compat/linux/common/linux_ipc.c: revision 1.56
sys/compat/netbsd32/netbsd32_conv.h: revision 1.38
sys/kern/sysv_sem.c: revision 1.96
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.28
sys/compat/netbsd32/netbsd32_compat_14.c: revision 1.29
sys/compat/linux32/common/linux32_ipccall.c: revision 1.12
sys/kern/sysv_msg.c: revision 1.73
sys/compat/sys/msg.h: revision 1.6

for sysv ipc stat operations, explicitly copy the exported parts
instead of the whole ds structure.
besides triggering a recently added assert in netbsd32, this stops
exposing kernel addresses.

copy the mode clamping to 0777 from sem to shm and msg.

while here, make sure that the compat callers to sysv_ipc clear
the contents of the compat structure before setting the result
members to ensure padding bytes are cleared.

don't set/copy _sem_base, _msg_first, _msg_last or _shm_internal.
even if used, which seems very dodgy, they leak KVAs as well.
possibly this may affect linux binaries, in particular, the
comments around _shm_internal ("XXX Oh well.") may mean apps
rely upon these but hopefully not -- the comments date back to
rev 1.1 in 1995.

the _key, _seq and _msg_cbytes members are exported as before as
i found multiple consumers of these (no less than ipcs(1), and
they appear to be useful for debugging and more.

XXX: the naming of compat functions have too many styles.  there
    are at least 3 different ones changed here.

fix naming errors in previous.  (this file is no longer compiled, but
this fix makes the pull up more obvious, before deleting this file.)

include libkern.h or strings.h.  should fix i386 build issues.

(martin)

2019-02-23 06:54:45 UTC MAIN commitmail json YAML

pull out libstdc++ config.h as-is, for gnu.ver processing.
pull out the cxx11_sources and cxx98_sources values to avoid hard coding.

(mrg)

2019-02-23 03:10:06 UTC MAIN commitmail json YAML

Add KCOV - kernel code coverage tracing device

The KCOV driver implements collection of code coverage inside the kernel.
It can be enabled on a per process basis from userland, allowing the kernel
program counter to be collected during syscalls triggered by the same
process.

The device is oriented towards kernel fuzzers, in particular syzkaller.

Currently the only supported coverage type is -fsanitize-coverage=trace-pc.

The KCOV driver was initially developed in Linux. A driver based on the
same concept was then implemented in FreeBSD and OpenBSD.

Documentation is borrowed from OpenBSD and ATF tests from FreeBSD.

This patch has been prepared by Siddharth Muralee, improved by <maxv>
and polished by myself before importing into the mainline tree.

All ATF tests pass.

(kamil)

2019-02-22 23:01:25 UTC MAIN commitmail json YAML

some register bits are defined differently by SunOS's sxreg.h and the SPAM
manual, upon investigation the hardware appears to agree with the SunOS header,
so adapt accordingly

(macallan)

2019-02-22 22:25:22 UTC MAIN commitmail json YAML

Check getchar() result for EOF.

Call cleanup(SIGHUP) if we get local EOF, as if we've got SIGHUP.
While here, use EOF constant instead of literal -1 in an existing
check.

PR bin/53996

(uwe)

2019-02-22 22:20:18 UTC MAIN commitmail json YAML

Explicitly use ${TOOL_AWK} instead of system's awk.

(tsutsui)

2019-02-22 22:13:58 UTC MAIN commitmail json YAML

Reduce diffs between common and amd64 uefi Makefile.bootimage files.

No functional change.

(tsutsui)

2019-02-22 18:17:23 UTC MAIN commitmail json YAML

Default our libm to -frounding-math, if built with GCC.

The long-standing GCC default is to not respect rounding mode.
it looks like GCC 7 optimizes rint to a builtin, causing our few
rounding mode tests to fail.

Fixes PR port-amd64/54000: FP tests failing on amd64 since gcc7 import

(maya)

2019-02-22 12:24:34 UTC MAIN commitmail json YAML

Fix omission: if we receive a guest trap on CR0, and if the original
instruction would have resulted in Long Mode being enabled, we need to
manually enable Long Mode ourselves. We were already doing that correctly
in setstate, but not in the CR0 trap handler.

Problem initially reported by Aymeric Vincent; ArchLinux wouldn't boot,
now it does and works correctly.

While here, add CR0_ET in the CR0 mask, for the associated shadow to
be taken into account. Normally this shadow bit shouldn't be necessary,
but for now I keep it regardless.

(maxv)

2019-02-22 09:01:32 UTC MAIN commitmail json YAML

Always set "cn_namelen" in addition to "cn_nameptr".

Fix vnode locking for REMOVE, RMDIR and RENAME.

(hannken)

2019-02-22 06:49:15 UTC MAIN commitmail json YAML

Fix a bug that if_link_state_change(ifp, LINK_STATE_DOWN) isn't called unless
link goes up at least one time. Without this change, never linkup-ed media
keeps LINK_STATE_UNKNOWN instead of LINK_STATE_DOWN.

(msaitoh)

2019-02-21 21:54:09 UTC MAIN commitmail json YAML

Mention that ENOSPC can be returned if we exhausted the max number of
semaphores.

(christos)

2019-02-21 21:49:23 UTC MAIN commitmail json YAML

PR/53998: Joel Bertrand: Return ENOSPC when SEM_NSEMS_MAX is exceeded
instead of -1.

(christos)

2019-02-21 21:34:05 UTC MAIN commitmail json YAML

add a lint(1) comment to nothing.

(christos)

2019-02-21 21:33:34 UTC MAIN commitmail json YAML

- KNF return
- be careful with errno, only set it when it is possibly set and not before
  a system call.
- factor out a common mask comparison.

(christos)

2019-02-21 15:41:56 UTC MAIN commitmail json YAML

Revision 2..5 == RTL8211B...F

(msaitoh)

2019-02-21 14:56:23 UTC MAIN commitmail json YAML

Add a TODO list for NVMM, just to list some known issues.

(maxv)

2019-02-21 14:31:55 UTC MAIN commitmail json YAML

Remove wrong KASSERT in EPT, and reorder the code to reduce duplication.

(maxv)

2019-02-21 13:25:44 UTC MAIN commitmail json YAML

Reorder the detection in vmx_ident(), to fix panic on old CPUs. We must
read MSR_IA32_VMX_EPT_VPID_CAP _after_ ensuring EPT is there, because if
it's not, the rdmsr faults.

(maxv)

2019-02-21 12:17:52 UTC MAIN commitmail json YAML

Another locking issue in NVMM: the {svm,vmx}_tlb_flush functions take VCPU
mutexes which can sleep, but their context does not allow it.

Rewrite the TLB handling code to fix that. It becomes a bit complex. In
short, we use a per-VM generation number, which we increase on each TLB
flush, before sending a broadcast IPI to everybody. The IPIs cause a
#VMEXIT of each VCPU, and each VCPU Loop will synchronize the per-VM gen
with a per-VCPU copy, and apply the flushes as neededi lazily.

The behavior differs between AMD and Intel; in short, on Intel we don't
flush the hTLB (EPT cache) if a context switch of a VCPU occurs, so now,
we need to maintain a kcpuset to know which VCPU's hTLBs are active on
which hCPU. This creates some redundancy on Intel, ie there are cases
where we flush the hTLB several times unnecessarily; but hTLB flushes are
very rare, so there is no real performance regression.

The thing is lock-less and non-blocking, so it solves our problem.

(maxv)

2019-02-21 11:58:04 UTC MAIN commitmail json YAML

2019-02-21 08:52:53 UTC MAIN commitmail json YAML

Fix bad assertion: vfs_suspend(dead_rootmount) may happen and
must return EOPNOTSUPP.

(hannken)

2019-02-21 08:25:00 UTC MAIN commitmail json YAML

include libkern.h or strings.h.  should fix i386 build issues.

(mrg)

2019-02-21 08:10:22 UTC MAIN commitmail json YAML

Fix panic when wm(4) is reattached. ok by msaitoh@n.o.

This panic occured after kern_rndq.c:r1.90.

(knakahara)

2019-02-21 05:02:21 UTC MAIN commitmail json YAML

fix naming errors in previous.  (this file is no longer compiled, but
this fix makes the pull up more obvious, before deleting this file.)

(mrg)

2019-02-21 03:37:19 UTC MAIN commitmail json YAML

for sysv ipc stat operations, explicitly copy the exported parts
instead of the whole ds structure.

besides triggering a recently added assert in netbsd32, this stops
exposing kernel addresses.

copy the mode clamping to 0777 from sem to shm and msg.

while here, make sure that the compat callers to sysv_ipc clear
the contents of the compat structure before setting the result
members to ensure padding bytes are cleared.

don't set/copy _sem_base, _msg_first, _msg_last or _shm_internal.
even if used, which seems very dodgy, they leak KVAs as well.
possibly this may affect linux binaries, in particular, the
comments around _shm_internal ("XXX Oh well.") may mean apps
rely upon these but hopefully not -- the comments date back to
rev 1.1 in 1995.

the _key, _seq and _msg_cbytes members are exported as before as
i found multiple consumers of these (no less than ipcs(1), and
they appear to be useful for debugging and more.

XXX: the naming of compat functions have too many styles.  there
    are at least 3 different ones changed here.

(mrg)

2019-02-21 01:20:45 UTC MAIN commitmail json YAML

Sometimes negative acknowledgement also shows up as NAK

(sevan)

2019-02-20 19:42:14 UTC MAIN commitmail json YAML

handle O_NOSIGPIPE too.

(christos)

2019-02-20 18:19:46 UTC MAIN commitmail json YAML

moar match string

(macallan)

2019-02-20 17:48:31 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2019-02-20 17:08:06 UTC MAIN commitmail json YAML

Add support for BCM5762, BCM5725, BCM5727, BCM57764, BCM57767 and BCM57787.

(msaitoh)

2019-02-20 17:00:20 UTC MAIN commitmail json YAML

- Add support for BCM5762 ASIC devices.
- Add BCM5762, BCM5725, BCM5727, BCM57764, BCM57767 and BCM57787.

(msaitoh)

2019-02-20 15:56:51 UTC MAIN commitmail json YAML

Add BCM5702FE, another BCM5704S and SysKonnect SK-9Mxx support.

(msaitoh)

2019-02-20 11:40:41 UTC MAIN commitmail json YAML

Unify the style of t_ubsan tests

Apply similar change for load_invalid_value_bool in
test_load_invalid_value_enum.

Follow up of PR bin/53968 by Michael van Elst

(kamil)

2019-02-20 10:09:45 UTC MAIN commitmail json YAML

- Make the fstrans mount info part of the per-lwp state and replace
  most accesses to the mount with fstrans mount info.

- Add "fmi_gone" to be true after unmount and add a counter of
  outstanding mount infos so fstrans_clear_lwp_info() only runs
  if there may be something to do.

- Move lookup of base mounts into per-lwp state.

- Keep a list of valid mounts for DIAGNOSTIC checks.

(hannken)

2019-02-20 10:08:38 UTC MAIN commitmail json YAML

Move fstrans_unmount() to vfs_rele(), just before it would free the mount.
Don't take a mount reference for fstrans as it gets notified about the release.

Defer the final free of the mount to fstrans_mount_dtor() when fstrans
has released all references to this mount.  Prevents the mount's memory
to be reused as a new mount before fstrans released all references.

Address PR kern/53928 modules/t_builtin:disable test case randomly fails.

(hannken)

2019-02-20 10:07:27 UTC MAIN commitmail json YAML

Attach "mnt_transinfo" to "dead_rootmount" so every mount has a
valid "mnt_transinfo" and remove now unneeded flag IMNT_HAS_TRANS.

Run fstrans_start()/fstrans_done() on dead_rootmount if FSTRANS_DEAD_ENABLED.
Should become the default for DIAGNOSTIC in the future.

(hannken)

2019-02-20 10:06:33 UTC MAIN commitmail json YAML

Assign vnode to dead_rootmount before vcache_dealloc() releases it.

Now v_mount is never NULL.

(hannken)

2019-02-20 10:06:00 UTC MAIN commitmail json YAML

2019-02-20 10:05:20 UTC MAIN commitmail json YAML

Bracket do_sys_renameat() and nfsrv_rename() with fstrans.

The v_mount field for vnodes on the same file system as "from"
is now stable for referenced vnodes.

VFS_RENAMELOCK no longer may use lock from an unreferenced and
freed "struct mount".

(hannken)

2019-02-20 10:04:28 UTC MAIN commitmail json YAML

Fix vnode locking, must lock for VOP_OPEN() and VOP_UNLOCK() when done.

(hannken)

2019-02-20 10:03:56 UTC MAIN commitmail json YAML

Remove superfluous VOP_UNLOCK(), vnode will be unlocked from spec_reclaim().

(hannken)

2019-02-20 10:03:25 UTC MAIN commitmail json YAML

Make FSS_ERROR a flag to prevent bogus fscow_disestablish() after error.

(hannken)

2019-02-20 10:02:52 UTC MAIN commitmail json YAML

Fix vnode locking for opendisk(), must lock for VOP_OPEN().

(hannken)

2019-02-20 09:59:39 UTC MAIN commitmail json YAML

compat70_ocreds_valid is not a pointer to a boolean, it is the boolean
itself which controls whether or not we recognize the OCRED options.

Should fix the panic identified in PR kern/53991 (awaiting confirmation
from submitter).

(pgoyette)

2019-02-20 09:51:25 UTC netbsd-8 commitmail json YAML

2019-02-20 09:50:09 UTC MAIN commitmail json YAML

Try to make load_invalid_value_bool portable to Big-Endian

PR bin/53968 by Michael van Elst

(kamil)

2019-02-20 09:49:49 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1194):

sys/dev/usb/if_axen.c: revision 1.26
sys/dev/usb/if_axenreg.h: revision 1.7

Remove unused variable in axen_softc.

Drop AXEN_MEDIUM_ALWAYS_ONE (from Linux), which reduces drop erros in RX.

(martin)

2019-02-20 09:25:12 UTC MAIN commitmail json YAML

Replace signal4 (PT_STEP) test with refactored ones with extra asserts

New tests: step_signalmasked and step_signalignored.

Assert that signal context is not reset upon PT_STEP trap.

Mark new tests as expecting to fail.

(kamil)

2019-02-20 08:03:58 UTC MAIN commitmail json YAML

Simplify PCI device table. No functional change.

(msaitoh)

2019-02-20 07:47:35 UTC MAIN commitmail json YAML

2019-02-20 07:47:11 UTC MAIN commitmail json YAML

Add SK-NET SK-9Mxx Gigabit Ethernet.

(msaitoh)

2019-02-20 07:18:18 UTC MAIN commitmail json YAML

Add more tests for variations of unrelated_tracer_sees_crash in ATF

New tests:
- unrelated_tracer_sees_signalmasked_crash_trap
- unrelated_tracer_sees_signalmasked_crash_segv
- unrelated_tracer_sees_signalmasked_crash_ill
- unrelated_tracer_sees_signalmasked_crash_fpe
- unrelated_tracer_sees_signalmasked_crash_bus
- unrelated_tracer_sees_signalignored_crash_trap
- unrelated_tracer_sees_signalignored_crash_segv
- unrelated_tracer_sees_signalignored_crash_ill
- unrelated_tracer_sees_signalignored_crash_fpe
- unrelated_tracer_sees_signalignored_crash_bus

All these tests are failing with the current kernel.

(kamil)

2019-02-20 06:04:28 UTC MAIN commitmail json YAML

use KASSERTMSG() in netbsd32_ptr32i().

(mrg)

2019-02-20 05:25:12 UTC MAIN commitmail json YAML

Export atomic_cas_32_ni in a similar manner to its 64-bit counterpart.

Compile test only, but seems trivial enough for me.

Fix build error due to test/lib/libc/atomic/t_atomic_cas.

Note that mips32 does not use atomic_cas.S.

(rin)

2019-02-20 05:20:05 UTC MAIN commitmail json YAML

Add minor improvements in unrelated_tracer_sees_crash in t_ptrace_wait*

Switch forkee commands with asserts to be aligned for the purpose of being
used by forkees.

(kamil)

2019-02-20 05:11:32 UTC MAIN commitmail json YAML

2019-02-20 04:49:08 UTC MAIN commitmail json YAML

Add BCM5717's another device ID support.

(msaitoh)

2019-02-20 04:32:51 UTC MAIN commitmail json YAML

Add an entry to remind someone(tm) to review the need for WARNS=3 in
more than 100 modules' Makefile.

(pgoyette)

2019-02-20 03:57:28 UTC MAIN commitmail json YAML

2019-02-20 03:57:04 UTC MAIN commitmail json YAML

Add some Broadcom Ethernet devices from {Open,Free}BSD.

(msaitoh)

2019-02-20 03:50:06 UTC MAIN commitmail json YAML

try using COPTS instead of CPPFLAGS

(christos)

2019-02-20 01:20:16 UTC MAIN commitmail json YAML

Another WARNS=3 module

(pgoyette)

2019-02-20 00:55:03 UTC MAIN commitmail json YAML

Another module that needs WARNS=3 to allow signed-vs-unsigned compares

(pgoyette)

2019-02-20 00:22:29 UTC MAIN commitmail json YAML

POWERMAC_G5 and POWERMAC_G5.MP kernels

(sevan)

2019-02-20 00:10:26 UTC MAIN commitmail json YAML

Document the netbsd-POWERMAC_G5 and netbsd-POWERMAC_G5.MP kernels.

(sevan)

2019-02-19 23:46:33 UTC MAIN commitmail json YAML

Build the UP & SMP kernels for G5s to ease testing.
Currently these kernels have to be netbooted directly from Open Firmware.
Warning: SMP kernel still has issues.

(sevan)

2019-02-19 21:08:21 UTC MAIN commitmail json YAML

add X11MOTIFPATH and note that MKX11MOTIF needs motif installed.

(mrg)

2019-02-19 18:17:46 UTC MAIN commitmail json YAML

2019-02-19 16:31:38 UTC MAIN commitmail json YAML

2019-02-19 15:13:03 UTC netbsd-8 commitmail json YAML

2019-02-19 15:11:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1193):

sys/arch/evbppc/obs405/obs600_autoconf.c: revision 1.8

Fix compile error reported by Kazuhiro Ito in PR kern/52704.

(martin)

2019-02-19 15:09:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1192):

sys/dev/usb/if_axen.c: revision 1.27
sys/dev/usb/if_axenreg.h: revision 1.6
sys/dev/usb/if_axen.c: revision 1.32
sys/dev/usb/if_axen.c: revision 1.35
sys/dev/usb/if_axen.c: revision 1.37
sys/dev/usb/if_axenreg.h: revision 1.10
sys/dev/usb/if_axenreg.h: revision 1.11
sys/dev/usb/if_axen.c: revision 1.24

Correct error bits in RX packet header:
- Drop error is bit 31.
- CRC error is bit 29.
- Distinguish the two errors in debug printf.

Cosmetic changes; no functional changes.

Add couple of error printf.

XXX We should not to use aprint_xxx() for non-autoconf staffs.

Add ratecheck for TX errors for axen(4) and mue(4).

Remove unused.

(martin)

2019-02-19 15:05:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1191):

sys/dev/usb/if_axen.c: revision 1.28
sys/dev/usb/if_axen.c: revision 1.29
sys/dev/usb/if_axenreg.h: revision 1.4
sys/dev/usb/if_axenreg.h: revision 1.5
sys/dev/usb/if_axen.c: revision 1.19
sys/dev/usb/if_axenreg.h: revision 1.8
sys/dev/usb/if_axen.c: revision 1.30
sys/dev/usb/if_axen.c: revision 1.31
sys/dev/usb/if_axen.c: revision 1.36
sys/dev/usb/if_axen.c: revision 1.20
sys/dev/usb/if_axen.c: revision 1.23
sys/dev/usb/if_axen.c: revision 1.25

Fix HW checksum offloading.
- Enable ones specified in if_capenable and remove AXEN_TOE macro.
- Check correct bit and set appropriate csum_flags.
- Pass packets of wrong checksum to upper layer instead of dropping them.
- Fix value of AXEN_RXHDR_L3_TYPE_MASK.

Tested on ASIX Elec. Corp. (0xb95) AX88179 (0x1790).

Fix previous:
- axen_coe() should be called from axen_init(), not axen_ax88179_init().
- Simplify logic in axen_coe(); AXEN_[RT]XCOE_OFF = 0.

Enable hash-table-based multicast filter:
- Drop AXEN_RXCTL_ACPT_PHY_MCAST bit (neither Linux nor FreeBSD sets it).
- 0x0010 bit is not AXEN_RXCTL_ACPT_BCAST ("accept broadcast") but
  AXEN_RXCTL_ACPT_MCAST ("accept multicast (hash-table-based)").

Remove useless memset.

Fix padding for a full length USB packet in TX:
- Update boundary length for SS mode, taken from OpenBSD.
- Make sure everything passed to the adapter is little endian.
- Specify padding bits in a similar manner to Linux.

XXX I wonder whether this is really necessary...

Support TSOv4 (They call it LSOv1).
The adapter does not support TSOv6 (aka LSOv2).

Fix previous.

Oops, fix previous again. Really support TSOv4.

Use unsigned variables for buffer length to avoid compiler warnings.

(martin)

2019-02-19 14:51:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1190):

sys/dev/usb/if_axen.c: revision 1.21
sys/dev/usb/if_axen.c: revision 1.22

Enable AXEN_RXCTL_START bit only when RX is ready. Otherwise,
the adapter eventually falls into "no carrier" state while it
is not running.

In axen_tick_task(), call axen_miibus_statchg() when link is lost
(like other drivers). Otherwise, link can be lost forever, which
results in sysmtem freeze.

Drop AXEN_MEDIUM_ALWAYS_ONE (from Linux), which reduces drop erros in RX.

(martin)

2019-02-19 13:51:17 UTC MAIN commitmail json YAML

2019-02-19 12:51:44 UTC MAIN commitmail json YAML

Sort STRONG_ALIAS's in the same manner as ATOMIC_OP_ALIAS's.
No functional changes.

(rin)

2019-02-19 12:47:36 UTC MAIN commitmail json YAML

Export _atomic_cas_64 as atomic_cas_64_ni.

Note that _atomic_cas_64 is already exported as atomic_cas_{ulong,prt}_ni.

Fix build error of test/lib/atomic/t_atomic_cas, which is successfully
passed on RPI3B+ now.

(rin)

2019-02-19 07:59:17 UTC MAIN commitmail json YAML

Modify PHY tree in comment.

(msaitoh)

2019-02-19 07:49:58 UTC MAIN commitmail json YAML

Match 82580(I340) and I350.

(msaitoh)

2019-02-19 06:55:28 UTC MAIN commitmail json YAML

Don't allow MNT_UNION on the root, there is no covered filesystem.

Fixes PR 53850

(mlelstv)

2019-02-19 05:47:08 UTC MAIN commitmail json YAML

- Match Intel I21[01]. These chips' model number is wrongly set to 0
  (== 88E1000 with model number 0). It seems the PHY function is almost the
  same as 88E1512. When we add 88E1512 related change to makphy.c, I21[01]
  should be take into account.
- KNF.

(msaitoh)

2019-02-19 02:51:02 UTC MAIN commitmail json YAML

Fix duplicated LEVEL1_LXT1000_OLD entry. I suspect one of them is
LEVEL1_LXT1000.

(msaitoh)

2019-02-19 00:34:50 UTC MAIN commitmail json YAML

convert 'extern long intrnames' to 'extern char intrnames[MAX_INAME_LENGTH]'.
also, assert that MAX_INAME_LENGTH is not larger than eintrnames - intrnames.

fixes gcc 7's object size checker checks.  tested by martin@.

(mrg)

2019-02-19 00:30:16 UTC MAIN commitmail json YAML

2019-02-19 00:26:58 UTC MAIN commitmail json YAML

revert previous. we don't want to change upstream code.

(christos)

2019-02-18 23:23:41 UTC MAIN commitmail json YAML

2019-02-18 23:19:36 UTC MAIN commitmail json YAML

2019-02-18 23:13:14 UTC MAIN commitmail json YAML

add fallthrough's

(christos)

2019-02-18 20:27:20 UTC MAIN commitmail json YAML

appease string + int warning.

(christos)

2019-02-18 19:35:44 UTC MAIN commitmail json YAML

2019-02-18 19:30:18 UTC MAIN commitmail json YAML

Avoid clang errors about atomics on arm

(christos)

2019-02-18 19:03:12 UTC MAIN commitmail json YAML

Fix stupid mistake, I didn't reflect correctly the behavior of pmap_sync_pv
in the EPT callback, 'optep' can be NULL.

(maxv)

2019-02-18 12:17:45 UTC MAIN commitmail json YAML

Ah, finally found you. Fix scheduling bug in NVMM.

When processing guest page faults, we were calling uvm_fault with
preemption disabled. The thing is, uvm_fault may block, and if it does,
we land in sleepq_block which calls mi_switch; so we get switched away
while we explicitly asked not to be. From then on things could go really
wrong.

Fix that by processing such faults in MI, where we have preemption enabled
and are allowed to block.

A KASSERT in sleepq_block (or before) would have helped.

(maxv)

2019-02-18 11:22:56 UTC MAIN commitmail json YAML

2019-02-18 07:27:15 UTC MAIN commitmail json YAML

Fix typo in comment.

(msaitoh)

2019-02-18 06:27:10 UTC MAIN commitmail json YAML

Fix compile error reported by Kazuhiro Ito in PR kern/52704.

(msaitoh)

2019-02-18 05:41:20 UTC MAIN commitmail json YAML

- Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig.
- Move AMD 0x80000008 ebx's ibpb, ibrs and stibp to x86_features[8] linux
  mapping.

(msaitoh)

2019-02-18 02:42:27 UTC MAIN commitmail json YAML

Fix copy/paste issue that resulted in tcon0 ch0/ch1 crtc clk mixup.

(jakllsch)

2019-02-18 01:12:25 UTC MAIN commitmail json YAML

Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback().  It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.

Tested by rjs@ on a Quadra 950.  (Thanks!)

(thorpej)

2019-02-18 00:42:55 UTC MAIN commitmail json YAML

2019-02-17 23:54:08 UTC MAIN commitmail json YAML

make libnv not LIBISPRIVATE when RUMPRUN=yes.

include bsd.init.mk earlier to pick up MAKECONF for RUMPRUN.

(bad)

2019-02-17 23:50:53 UTC MAIN commitmail json YAML

npfctl needs externalbsd/libnv.

(bad)

2019-02-17 23:35:50 UTC MAIN commitmail json YAML

Linux doesn't have paccept().

(bad)

2019-02-17 23:33:20 UTC MAIN commitmail json YAML

compile hijack.c with -D_INCOMPLETE_XOPEN_C063 so that AT_FDCWD is alwasy
defined for rumpkernels.

(bad)

2019-02-17 23:17:42 UTC MAIN commitmail json YAML

rename module_name to strategy_module_name to avoid fatal shadowing of
module_name() when compiled with older external gcc. NFC

(bad)

2019-02-17 20:50:25 UTC MAIN commitmail json YAML

ifwatchd(8): remove lingering references to dhclient(8). In this case,
its replacement handles carrier detection itself. Addresses part of
PR misc/53669.

(gutteridge)

2019-02-17 20:45:47 UTC MAIN commitmail json YAML

pf.boot.conf: remove lingering references to dhclient(8), and while
here, capitalize acronyms. Addresses part of PR misc/53669.

(gutteridge)

2019-02-17 20:25:46 UTC MAIN commitmail json YAML

Fix handling of SIB instructions. We were jumping to the SIB node _before_
fetching the displacement, so the node would always think there was no
displacement.

This didn't alter the final GPA we would be touching - because it is
fetched from the kernel directly and not from the computation -, but it
altered the instruction length, and on some guests (like Fedora 64bit),
the VCPU would resume execution at the wrong RIP and crash.

Now these guests work.

(maxv)

2019-02-17 14:04:31 UTC MAIN commitmail json YAML

For vax, GCC 6.5 and 7.4 cannot compile lfs_inode.c with
-DDIAGNOSTIC and -O2/-O1.

(rin)