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 (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 05:22:23 UTC Now

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

Adapt t_ptrace_wait* tests for recent kernel changes

Adapt AUXV reading loop to handle io.piod_len == 0 as EOF.

Temporarily disable trace_thread_lwpcreate until it will be verified that
it is stable.

(kamil)

2019-05-02 22:23:49 UTC MAIN commitmail json YAML

Introduce fixes for ptrace(2)

Stop disabling LWP create and exit events for PT_SYSCALL tracing.
PT_SYSCALL disabled EXEC reporting for legacy reasons, there is no need
to repeat it for LWP and CHLD events.

Pass full siginfo from trapsignal events (SEGV, BUS, ILL, TRAP, FPE).
This adds missing information about signals like fault address.

Set ps_lwp always.

Before passing siginfo to userland through p_sigctx.ps_info, make sure
that it was zeroed for unused bytes. LWP and CHLD events do not set si_addr
and si_trap, these pieces of information are passed for crashes (like
software breakpoint).

LLDB crash reporting works now correctly:

(lldb) r
Process 552 launched: '/tmp/a.out' (x86_64)
Process 552 stopped
* thread #1, stop reason = signal SIGSEGV: invalid address (fault address: 0x123456)

(kamil)

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

add NetMos NM9912 entries

PR kern/54149 by Mouse

(jdolecek)

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

2019-05-02 17:34:01 UTC MAIN commitmail json YAML

Add more code from FreeBSD, still needs work

(scole)

2019-05-02 17:31:56 UTC MAIN commitmail json YAML

Restore UC_MCONTEXT, UC_MCONTEXT, and clean up some whitespace

(scole)

2019-05-02 16:55:51 UTC MAIN commitmail json YAML

Remove some unused assembly and other variables to reduce compile warnings

(scole)

2019-05-02 15:37:10 UTC MAIN commitmail json YAML

It's the Normal Memory Remap Register (not Normal Region Remap Register)

(skrll)

2019-05-02 15:08:35 UTC MAIN commitmail json YAML

Explicitly indicate that nexttowardl() is identical to nextafterl().

Requested by kamil.

(mgorny)

2019-05-02 14:57:01 UTC MAIN commitmail json YAML

Fix one more writable directory check to "directory" in options seciton
when named is reloaded case.

(taca)

2019-05-02 11:49:04 UTC MAIN commitmail json YAML

Fix Normal Region Remap Register bitmask names

(skrll)

2019-05-02 09:19:28 UTC MAIN commitmail json YAML

take interrupt lock when closing backend.

(mlelstv)

2019-05-02 02:51:01 UTC MAIN commitmail json YAML

on netbsd when defaulting to the native system, also derived MACHINE_ARCH
from the uname -p value already fetched.

this means eg, build.sh on evbarm will build the native platform rather
than "earm" (armv5) -- which was the default even on arm64 hosts.

(mrg)

2019-05-02 00:34:06 UTC MAIN commitmail json YAML

Rename and partially enable trace_thread ATF ptrace(2) tests

Rename trace_thrad[1234] to more meaningful names:

- trace_thread_nolwpevents
- trace_thread_lwpexit
- trace_thread_lwpcreate
- trace_thread_lwpcreate_and_exit

In my local tests LWP CREATE events work as expected.
LWP EXIT ones are still racy and keep them disabled racy.

PR kern/51995

(kamil)

2019-05-02 00:23:01 UTC MAIN commitmail json YAML

Allow cancelled byte transfer in ptrace(2) again

Current GDB depends on it on NetBSD (which is probably a GDB support bug).

In future GDB will be examined for this and this code revisited.

(kamil)

2019-05-01 23:44:16 UTC MAIN commitmail json YAML

ATF ptrace(2) tests suspend1 and resume1 now pass

Verified on bare metal and in qemu.

PR kern/51995

(kamil)

2019-05-01 22:55:55 UTC MAIN commitmail json YAML

Call MD code in mi_startlwp() before MI check for debugger

This allows to get initialized mcontext.

(kamil)

2019-05-01 21:59:32 UTC MAIN commitmail json YAML

ATF ptrace(2) tests signal9 and signal10 now pass

PR kern/51918

(kamil)

2019-05-01 21:57:35 UTC MAIN commitmail json YAML

Correct passing debugger related events for LWP create and exit

Add MI toplevel startlwp function.

Switch all userland LWPs to go through lwp_create using a shared
mi_startlwp() function between all MD ABIs.

Add debugger related event handling in mi_startlwp() and continue with
standard p->p_emul->e_startlwp at the end of this routine.

Use eventswitch() to notify the event of LWP exit in lwp_exit().

ATF ptrace(2) tests signal9 and signal10 now pass.

(kamil)

2019-05-01 21:52:35 UTC MAIN commitmail json YAML

Assert that debugger event is triggered only for userland LWP

All passing ATF ptrace(2) tests still pass.

(kamil)

2019-05-01 18:20:23 UTC MAIN commitmail json YAML

Add new fork/vfork ATF trests in t_ptrace_wait*

Add new tests:

- fork_detach_forker
- vfork_detach_vforker
- vfork_detach_vforkerdone
- fork_kill_forker
- vfork_kill_vforker
- vfork_kill_vforkerdone

All tests pass with recent kernel changes.

(kamil)

2019-05-01 18:01:54 UTC MAIN commitmail json YAML

Correct handling of corner cases in fork1(9) code under a debugger

Correct detaching and SIGKILLing forker and vforker in the middle of its
operation.

(kamil)

2019-05-01 17:21:55 UTC MAIN commitmail json YAML

Add eventswitch() in signal code

Route all crash and debugger related signal through eventswitch(), that
calls sigswitch() with preprocessed arguments.

This code avoids code duplication and allows to introduce changes that
will affect all callers of sigswitch() in debugger-related events.

No functional change intended.

(kamil)

2019-05-01 17:02:40 UTC MAIN commitmail json YAML

Disallow resuming program with PC=0x0 in ptrace(2)

If the address parameter is 0, report error.
It's a popular mistake to set Program Counter to 0x0.
In certain kernels this is allowable parameter and causes
portability issue.

Disallow explicitly zeroed PC, instead of triggering
a harder to debug crash later.

(kamil)

2019-05-01 15:17:49 UTC MAIN commitmail json YAML

Start converting the x86 CPU functions to inlined ASM. Matters for NVMM,
where some are invoked millions of times.

(maxv)

2019-05-01 14:51:17 UTC netbsd-8 commitmail json YAML

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

sys/kern/sys_pipe.c: revision 1.147
sys/kern/sys_pipe.c: revision 1.148

Clean up pipe structure before recycling it.

Handle half-closed pipes in FIONWRITE and FIONSPACE.

(martin)

2019-05-01 14:29:15 UTC MAIN commitmail json YAML

2019-05-01 14:10:26 UTC MAIN commitmail json YAML

Add ether_ioctl() call for SIOCSIFADDR and SIOCSIFFLAGS to make behavior
the same as before.

XXX need cleanup.

(msaitoh)

2019-05-01 13:45:52 UTC isaki-audio2 commitmail json YAML

2019-05-01 13:09:34 UTC isaki-audio2 commitmail json YAML

Don't release sc_lock and sc_intr_lock in trigger_{input,output}.
In the past, sc_lock was IPL_SCHED and (probably) it had conflicted
with usb subroutines.  But at some point, sc_lock has changed to use
IPL_SOFTUSB so such problems should been gone.

(isaki)

2019-05-01 12:42:14 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Remove obsoleted or empty methods.
- Remove AUFMT_VALIDATE()/INVALIDATE().  At first, this flag is
  set/cleared but no one in the driver seems to refer at least now.
  And second, don't use such flag for other purpose.  If you need
  to do such thing, use .driver_data instead.

(isaki)

2019-05-01 12:31:51 UTC MAIN commitmail json YAML

Fix a wrong and extra ether_ioctl() call in alc_ioctl(). _IOWR types call
broke ifreq by the first ether_ioct() and the second ether_ioctl() caused
unexpected behavior. One of bug example is that SIOCGIFMEDIA always failed.
This bug was added in if_alc.c rev. 1.16.

XXX pullup-8

(msaitoh)

2019-05-01 12:18:59 UTC isaki-audio2 commitmail json YAML

Adapt dbri to audio2.
- Add some mutex_enter/exit.
- Remove DBRI_BIG_BUFFER option.  Such big buffer will not necessary
  in audio2.
Thank you, macallan@.

(isaki)

2019-05-01 10:43:55 UTC MAIN commitmail json YAML

Enable pwm1 and add a pwm-fan node to enable the +FAN- header on ROCKPro64

(jmcneill)

2019-05-01 10:41:54 UTC MAIN commitmail json YAML

2019-05-01 10:41:33 UTC MAIN commitmail json YAML

2019-05-01 09:50:53 UTC netbsd-7 commitmail json YAML

2019-05-01 09:48:56 UTC netbsd-7 commitmail json YAML

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

sys/kern/sys_pipe.c: revision 1.147
sys/kern/sys_pipe.c: revision 1.148

Clean up pipe structure before recycling it.

Handle half-closed pipes in FIONWRITE and FIONSPACE.

(martin)

2019-05-01 09:47:05 UTC netbsd-7 commitmail json YAML

Pull up following revision(s), via patch as options
differ on the branch (requested by sevan in ticket #1691):

sys/dev/veriexec.config: revision 1.1

Add a configuration file for enabling Veriexec in kernel config(5) files.

(martin)

2019-05-01 09:43:37 UTC netbsd-7-0 commitmail json YAML

2019-05-01 09:43:22 UTC netbsd-7-1 commitmail json YAML

2019-05-01 09:41:50 UTC isaki-audio2 commitmail json YAML

2019-05-01 09:26:23 UTC netbsd-7-0 commitmail json YAML

Apply patch, requested by roy in ticket #1690:

external/bsd/dhcpcd/dist/configure
external/bsd/dhcpcd/dist/src/auth.c
external/bsd/dhcpcd/dist/src/dhcp.c
external/bsd/dhcpcd/dist/src/dhcp6.c
external/bsd/dhcpcd/dist/compat/consttime_memequal.h

Security fixes for dhcpcd:
Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED.
Use consttime_memequal(3) to compare hashes.

(martin)

2019-05-01 09:25:16 UTC netbsd-7-1 commitmail json YAML

Apply patch, requested by roy in ticket #1690:

external/bsd/dhcpcd/dist/configure
external/bsd/dhcpcd/dist/src/auth.c
external/bsd/dhcpcd/dist/src/dhcp.c
external/bsd/dhcpcd/dist/src/dhcp6.c
external/bsd/dhcpcd/dist/compat/consttime_memequal.h

Security fixes for dhcpcd:
Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED.
Use consttime_memequal(3) to compare hashes.

(martin)

2019-05-01 09:20:21 UTC MAIN commitmail json YAML

Use the comm page to inject events, rather than ioctls, and commit them in
vcpu_run. This saves a few syscalls and copyins.

For example on Windows 10, moving the mouse from the left to right sides of
the screen generates ~500 events, which now don't result in syscalls.

The error handling is done in vcpu_run and it is less precise, but this
doesn't matter a lot, and will be solved with future NVMM error codes.

(maxv)

2019-05-01 09:13:31 UTC netbsd-8 commitmail json YAML

2019-05-01 09:09:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by alnsn in ticket #1252):

distrib/amd64/ramdisks/ramdisk-cgdroot/list: revision 1.2
distrib/i386/ramdisks/ramdisk-cgdroot/list: revision 1.2

Add a symlink to /altroot/stand to help the kernel find modules.

(martin)

2019-05-01 09:04:24 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) via patch, as options differ between
current and this branch (requested by sevan in ticket #1251):

sys/dev/veriexec.config: revision 1.1

Add a configuration file for enabling Veriexec in kernel config(5) files.

(martin)

2019-05-01 08:53:00 UTC MAIN commitmail json YAML

No need to define COMPAT_50 any longer.  All the compat decisions are
made with HOOKs.

(pgoyette)

2019-05-01 07:40:53 UTC MAIN commitmail json YAML

Fix casing in Dt. Fix typo.

(wiz)

2019-05-01 07:40:39 UTC MAIN commitmail json YAML

Fix casing in Dt. Fix SYNOPSIS. Fix typo.

(wiz)

2019-05-01 07:40:20 UTC MAIN commitmail json YAML

2019-05-01 07:26:28 UTC MAIN commitmail json YAML

Handle ISA/EISA interrupts like isa_machdep.c.

(mlelstv)

2019-05-01 07:23:22 UTC MAIN commitmail json YAML

slotdata might not be attached, don't use it then.

(mlelstv)

2019-05-01 07:17:18 UTC MAIN commitmail json YAML

allow NONE build

(mlelstv)

2019-05-01 06:47:45 UTC MAIN commitmail json YAML

2019-05-01 06:34:46 UTC isaki-audio2 commitmail json YAML

Reimplement emuxki driver.
- Use single voice per playback and per recording.
- Use fixed format, 2ch/48kHz, to simplify.
- Fix several problems in previous driver.
  And now it works even on alpha!
The driver is written by Y.Sugahara.  Thanks!

(isaki)

2019-05-01 06:03:14 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- XXX New set_format is not implemented at this point.
  This implementation can not adapt to audio2 (and it also has not
  worked since netbsd-8).
  The driver supports multiple hardware stream which is named 'voice'.
  This voice was allocated at open() and was deallocated at close().
  However, in order to support mixing, some interfaces such as
  set_params() (or set_format in audio2) has to be called before open().

(isaki)

2019-05-01 06:01:01 UTC MAIN commitmail json YAML

fix a locking botch in ucomhwiflow():

tty.c always calls t_hwiflow() with tty_lock held, and the caller
of this for ucom always holds sc->sc_lock when calling down into
the tty layer.

don't try to re-take the sc_lock in ucomhwiflow() (locking against
myself is triggered here currently), but instead assert that the
lock is already held _and_ that tty_lock is held.

in ucom_detach(), when closing pipes set sc_bulkin_pipe and
sc_bulkout_pipe to NULL.  fixes bug noticed by code inspection:
a failed detach would attempt to close them a second time.

(mrg)

2019-05-01 02:15:07 UTC MAIN commitmail json YAML

cvs.1 & cvs.texinfo: add various small corrections

Add various corrections mostly sourced from upstream's cvs.texinfo,
e.g., note NetBSD's local change to log admin commands in history
(subsequently added on upstream's HEAD, since it was noted in
r. 1.689), add some references to rannotate and rlog (from r. 1.686),
some amendments concerning rdiff (from r. 1.687), and miscellaneous
typo fixes.

(gutteridge)

2019-04-30 23:42:53 UTC MAIN commitmail json YAML

Use mainline dts for rockpro64 now.

(jmcneill)

2019-04-30 23:29:18 UTC MAIN commitmail json YAML

Use PRWORD for printing -m/-mW totals so fields don't run in to each other.

While here, update field widths for 'vmstat -mW' for modern machines.

(simonb)

2019-04-30 23:19:55 UTC MAIN commitmail json YAML

2019-04-30 23:10:33 UTC MAIN commitmail json YAML

Use correct size of softc in CFATTACH_DECL_NEW

(jmcneill)

2019-04-30 22:42:32 UTC MAIN commitmail json YAML

2019-04-30 22:39:31 UTC MAIN commitmail json YAML

Add new ATF ptrace(2) tests: bytes_transfer_eof

Assert that error is returned after attempt to read or write post EOF.

(kamil)

2019-04-30 22:32:01 UTC MAIN commitmail json YAML

Reject ptrace(2) PIOD_READ/WRITE operations with length 0

Return EINVAL for such invalid requests.

(kamil)

2019-04-30 22:24:27 UTC MAIN commitmail json YAML

Pull type value mappings are different for each pin, and not based on the bank number.

(jmcneill)

2019-04-30 20:56:32 UTC MAIN commitmail json YAML

Add the missing add.    (Return to the earlier state, done differently.)

When dl_print() was converted to use lla_snprintf() the offset to
the LLA in dl_addr.dl_data was forgotten (dl_data contains both
the interface name and the LL addr, we want the latter, not the former).

When there is no data (src_len == 0), still null terminate the output buffer
(provided there is space in it for the \0).

(kre)

2019-04-30 20:55:41 UTC MAIN commitmail json YAML

Whitespace consistency.  NFC.

(kre)

2019-04-30 20:50:30 UTC MAIN commitmail json YAML

Return EIO for empty memory transfer from ptrace(2)

Certain operations of PT_READ/PT_WRITE and PIOD_READ/PIOD_WRITE can result
in 0 byte transfer and the ptrace(2) call still returned success.

GDB had a special handling of this case for PT_IO checking piod_len != 0,
but in LLDB this corner case caused infinite loop and breakage. The LLDB
case has been enhanced.

Unfortunately the status of operation of PT_READ/PT_WRITE is not
distinguishable between successful operation and empty opeartion. This
renders this call into a questionable one.

Change the behavior and return error with EIO in scenarios of
truncated/empty byte transfers by PT_READ/PT_WRITE and empty byte transfers
from PT_IO.

No code changed is needed in GDB and LLDB.

(kamil)

2019-04-30 16:23:44 UTC MAIN commitmail json YAML

CARP, Veriexec, bufq_priocscan(9)

(sevan)

2019-04-30 10:10:45 UTC MAIN commitmail json YAML

turn on the "sun50i-a64-unstable-timer" workaround on "allwinner,sun8i-a83t"
compatible CPUs.  avoids triggering the KASSERT() on cubietruck plus.

idea from jmcneill.

(mrg)

2019-04-30 09:23:00 UTC MAIN commitmail json YAML

Format MAP_FMT so that it's more humanly readable - missed one bit in
previous.

(uwe)

2019-04-30 06:05:02 UTC isaki-audio2 commitmail json YAML

More adapt to audio2.
- Use set_format.
- Remove an empty method.
- XXX DAC1 and secondary audio device support should be removed.
  Now mixing two (or more) sources is done by audio layer.

(isaki)

2019-04-29 23:12:12 UTC MAIN commitmail json YAML

Format MAP_FMT so that it's more humanly readable.
Same object code is generated for kdump.

(uwe)

2019-04-29 20:11:44 UTC MAIN commitmail json YAML

Avoid incompatible function pointer casts in thrd_create(3)

Use an intermediate function trampoline to workaround different function
pointer prototypes.

While there, correct scenario returning thrd_nomem from thrd_create(3).
In practice ENOMEM is rarely returned from pthread(3).

Older code worked on tested ports, but was depending on unneeded UB.

(kamil)

2019-04-29 19:08:11 UTC MAIN commitmail json YAML

match definition of hexdigits[] to the declaration in <sys/systm.h>

(christos)

2019-04-29 19:03:17 UTC MAIN commitmail json YAML

sync with reality

(maxv)

2019-04-29 18:54:26 UTC MAIN commitmail json YAML

Stop taking care of the INT/NMI windows in the kernel, the emulator is
supposed to do that itself.

(maxv)

2019-04-29 17:27:57 UTC MAIN commitmail json YAML

Remove useless calls to nvmm_init().

(maxv)

2019-04-29 16:39:58 UTC MAIN commitmail json YAML

Rename ACPI_NAME_SIZE -> ACPI_NAMESEG_SIZE with acpica update, see
src/sys/external/bsd/acpica/dist/changes.txt

(scole)

2019-04-29 16:12:30 UTC MAIN commitmail json YAML

Introduce rt_addrmsg_src which adds RTA_AUTHOR to the message.
Use this when we notify userland of a duplicate address
and set RTA_AUTHOR to the hardware address of the sender.

While here, match the logging diagnostic of INET6 to the simpler one
of INET so it's consistent.

(roy)

2019-04-29 16:05:46 UTC MAIN commitmail json YAML

Move lla_snprintf from if_arp.c to dl_print.c

(roy)

2019-04-29 12:53:15 UTC MAIN commitmail json YAML

Catch up with constant name change.

(christos)

2019-04-29 11:57:22 UTC MAIN commitmail json YAML

2019-04-29 09:32:07 UTC isaki-audio2 commitmail json YAML

2019-04-29 09:30:18 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Drop INDEPENDENT property.  Both play and rec seems to share the
  sample rate (however, they require different calculations?).
- XXX It's better to modify frequency list more strictly.
- Remove obsoleted and empty methods.

(isaki)

2019-04-29 08:31:29 UTC MAIN commitmail json YAML

Move the set-up of the net.oroute... sysctl tree to compat_50 since
the new AF_ROUTE was introduced in NetBSD-6.0

(pgoyette)

2019-04-29 07:55:38 UTC MAIN commitmail json YAML

snprintb(3) says that, in the new(?) Torek format, all fields specs end with \0
The F spec is one of those, it should be terminated with \0 just like all
the others (irrelevant that it has no extra data to delimit).

Fix <sys/mman.h> to define the snprintb() format string correctly (include
the missing \0's).  Fix the copy of that definition included into
snprintb(3) to match the updated mman.h version (ride the date bump
from the day before yesterday .. this is the same change, just corrected).

Undo the previous snprintb.c change ("off by one" fix) which was an
attempt to make the broken mman.h usage work (and did, but not the way
it should be done).  Also, after using the new * format (instead of only
when something has already matched) skip the associated data so we don't
attempt to interpret it as more field specifiers.  This func needs lots of TLC!

Fix the ATF tests for snprintb() to not assume that F format is really
exactly like f format, and has data after the field specifier.  It doesn't.
Add several more tests (including testing the '*' field operator
recently added).

(kre)

2019-04-29 05:42:09 UTC MAIN commitmail json YAML

For the rtsock compat code, make sure we create the "oroute" sysctl
tree.  Otherwise a 5.2 version of getifaddrs(2) gets errors.

This makes the 5.2 version of ifconfig(8) behave the same on both
NetBSD-8 and -current.  HOWEVER, both of them print nothing (for
``ifconfig -l'' command) so there's still a bug somewhere.

As reported originally by der Mouse.

(pgoyette)

2019-04-29 02:49:35 UTC MAIN commitmail json YAML

acpica 20190405 changed some internal macros; update code to match

(dogcow)

2019-04-29 01:18:59 UTC MAIN commitmail json YAML

2019-04-29 01:18:08 UTC MAIN commitmail json YAML

src/sys/external/bsd/acpica/dist/common/dmtbdump.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/common/dmtbinfo.c@1.17 / diff / nxr@1.17
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c@1.16 / diff / nxr@1.16
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslerror.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/compiler/aslfileio.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslload.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/asllookup.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslopt.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/compiler/asloptions.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/asltree.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslutils.c@1.23 / diff / nxr@1.23
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c@1.12 / diff / nxr@1.12
      :
(more 93 files)
merge conflicts

(christos)

2019-04-28 21:36:20 UTC MAIN commitmail json YAML

Document that veriexec_file_add() also expects keep-filename and eval-on-load.

(alnsn)

2019-04-28 19:26:48 UTC MAIN commitmail json YAML

Add pcihost at fdt, qemufwcfg at fdt, nvme at pci, and virtio at pci

(jmcneill)

2019-04-28 14:45:13 UTC MAIN commitmail json YAML

2019-04-28 14:22:14 UTC MAIN commitmail json YAML

Modify the communication layer between the kernel NVMM driver and libnvmm:
introduce a bidirectionnal "comm page", a page of memory shared between
the kernel and userland, and used to transfer data in and out in a more
performant manner than ioctls.

The comm page contains the VCPU state, plus three flags:

- "wanted": the states the kernel must get/set when requested via ioctls
- "cached": the states that are in the comm page
- "commit": the states the kernel must set in vcpu_run

The idea is to avoid performing expensive syscalls, by using the VCPU
state cached, either explicitly or speculatively, in the comm page. For
example, if the state is cached we do a direct 1->5 with no syscall:

          +---------------------------------------------+
          |                    Qemu                    |
          +---------------------------------------------+
              |                                  ^
              | (0) nvmm_vcpu_getstate            | (6) Done
              |                                  |
              V                                  |
            +---------------------------------------+
            |                libnvmm                |
            +---------------------------------------+
                  |  ^          |              ^
        (1) State |  | (2) No  | (3) Ioctl:    | (5) Ok, state
        cached?  |  |          | "please cache | fetched
                  |  |          |  the state"  |
                  V  |          |              |
              +-----------+      |              |
              | Comm Page |------+---------------+
              +-----------+      |
                      ^        |
          (4) "Alright |        V
              babe"  |    +--------+
                      +-----| Kernel |
                            +--------+

The main changes in behavior are:

- nvmm_vcpu_getstate(): won't emit a syscall if the state is already
  cached in the comm page, will just fetch from the comm page directly
- nvmm_vcpu_setstate(): won't emit a syscall at all, will just cache
  the wanted state in the comm page
- nvmm_vcpu_run(): will commit the to-be-set state in the comm page,
  as previously requested by nvmm_vcpu_setstate()

In addition to this, the kernel NVMM driver is changed to speculatively
cache certain states known to be of interest, so that the future
nvmm_vcpu_getstate() calls libnvmm or the emulator will perform will use
the comm page rather than expensive syscalls. For example, if an I/O
VMEXIT occurs, the I/O Assist in libnvmm will want GPRS+SEGS+CRS+MSRS,
and now the kernel caches all of that in the comm page before returning
to userland.

Overall, in a normal run of Windows 10, this saves several millions of
syscalls. Eg on a 4CPU Intel with 4VCPUs, booting the Win10 install ISO
goes from taking 1min35 to taking 1min16.

The libnvmm API is not changed, but the ABI is. If we changed the API it
would be possible to save expensive memcpys on libnvmm's side. This will
be avoided in a future version. The comm page can also be extended to
implement future services.

(maxv)

2019-04-28 08:46:17 UTC netbsd-8 commitmail json YAML

2019-04-28 08:45:31 UTC netbsd-8 commitmail json YAML

Redo previous, this time actually using the patch requested in the ticket:
pull up following revision(s) (requested by skrl in ticket #1249):

sys/arch/cats/cats/cats_machdep.c: revision 1.87 (via patch)

The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail.  Adjust for this.

(martin)

2019-04-28 07:48:15 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- XXX In audio2, number of blocks must be 3 or greater, so
  modify round_blocksize() to return bufsize / 4.
- XXX Doesn't neo_trigger_input() need to subtract ssz from
  buffer end like trigger_output()?

(isaki)

2019-04-28 07:33:02 UTC MAIN commitmail json YAML

Remove undefined \*H

(wiz)

2019-04-28 07:13:16 UTC MAIN commitmail json YAML

cvs.1 & cvs.texinfo: add a missing section documenting the "tag" and
"rtag" commands. This is taken mostly from the upstream project's
cvs.texinfo revisions 1.686 and 1.687. Additionally, I've reflected
NetBSD's local changes to log "tag" as well as "rtag" in history, and
to require admin privileges for destructive tagging commands. This
addresses PR bin/33877.

(gutteridge)

2019-04-28 07:01:45 UTC isaki-audio2 commitmail json YAML

2019-04-28 06:36:50 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Searching nearest frequency is unnecessary in audio2.

(isaki)

2019-04-28 05:07:00 UTC isaki-audio2 commitmail json YAML

Don't release sc_lock on eso_halt_{input,output}.
halt_* is called with sc_lock && sc_intr_lock held.  This lock order
is first sc_lock and then sc_intr_lock.  So unlocking sc_lock with
sc_intr_lock held is wrong operation.  And cv_wait(sc_intr_lock) will
work even with sc_lock held.

(isaki)

2019-04-28 04:45:34 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Select a few typical frequencies which doesn't have rounding error
  instead of whole range.

(isaki)

2019-04-28 03:33:26 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Recording seems a bit tricky so I left it untouched.
  (It should work on audio2 as well if it works on -current/-8.)

(isaki)

2019-04-28 03:00:21 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Fix wrong round_blocksize() calculation. ~0x20 -> -0x20.

(isaki)

2019-04-28 02:19:35 UTC isaki-audio2 commitmail json YAML

2019-04-28 02:15:32 UTC isaki-audio2 commitmail json YAML

2019-04-28 02:07:42 UTC isaki-audio2 commitmail json YAML

Correct debug message in previous commit.

(isaki)

2019-04-28 00:05:11 UTC MAIN commitmail json YAML

2019-04-28 00:03:46 UTC MAIN commitmail json YAML

2019-04-28 00:01:16 UTC MAIN commitmail json YAML

src/external/mpl/bind/dist/bin/check/named-checkconf.c@1.4 / diff / nxr@1.4
src/external/mpl/bind/dist/bin/dnssec/dnssec-cds.c@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/dnssec/dnssec-dsfromkey.c@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/dnssec/dnssec-keygen.8@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/dnssec/dnssec-keygen.c@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/named/named.conf.5@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/named/server.c@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/nsupdate/nsupdate.c@1.4 / diff / nxr@1.4
src/external/mpl/bind/dist/bin/tests/system/checkconf/bad-allow-update-forwarding-view.conf deleted
src/external/mpl/bind/dist/bin/tests/system/checkconf/bad-allow-update-forwarding.conf deleted
src/external/mpl/bind/dist/bin/tests/system/checkconf/bad-allow-update-view.conf deleted
src/external/mpl/bind/dist/bin/tests/system/checkconf/bad-allow-update.conf deleted
src/external/mpl/bind/dist/bin/tests/system/dlz/prereq.sh.in deleted
src/external/mpl/bind/dist/bin/tests/system/dlzexternal/driver.c@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/tests/system/feature-test.c@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/bin/tools/dnstap-read.c@1.4 / diff / nxr@1.4
src/external/mpl/bind/dist/bind.keys.h@1.4 / diff / nxr@1.4
src/external/mpl/bind/dist/config.h.in@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/configure@1.5 / diff / nxr@1.5
src/external/mpl/bind/dist/contrib/dlz/drivers/dlz_filesystem_driver.c@1.4 / diff / nxr@1.4
      :
(more 56 files)
merge conflicts, bump versions, sync includes

(christos)

2019-04-27 23:04:32 UTC MAIN commitmail json YAML

Add a C99 symbol to libm: nexttowardl

It's an alias for an already existing symbol nextafterl.

Patch obtained from <mgorny>

Detected by the LLVM buildbot breakage in tests.

(kamil)

2019-04-27 22:00:29 UTC MAIN commitmail json YAML

s/three/multiple/

Adjust text for consistency.  There are already more than three interval
timers available, and who knows if even more might be added in the future.

(pgoyette)

2019-04-27 17:58:51 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2019-04-27 17:53:26 UTC MAIN commitmail json YAML

provide 1,2,4,8M entries since this are popular for loading text and data
in ELF.

(christos)

2019-04-27 17:48:13 UTC MAIN commitmail json YAML

2019-04-27 17:47:48 UTC MAIN commitmail json YAML

Add more cases for the small alignments (useful because they cover popular
page-sizes), and add a default case.

(christos)

2019-04-27 17:46:08 UTC MAIN commitmail json YAML

Document the '*' field and give a more complex example with F and *.

(christos)

2019-04-27 17:45:28 UTC MAIN commitmail json YAML

Fix an off-by-one in the F modifier that ended up skipping the first : or =
entry, and add a * specifier for a "default case".

(christos)

2019-04-27 17:30:38 UTC MAIN commitmail json YAML

Mmh, fix nvmm_vcpu_create(), the cpuid is given, and must not be chosen
from the free map. Looks like I forgot this after all my design rounds.
While here reorder the initialization.

(maxv)

2019-04-27 15:45:21 UTC MAIN commitmail json YAML

Reorder the NVMM headers, to make a clear(er) distinction between MI and
MD. Also use #defines for the exit reasons rather than an union. No ABI
change, and no API change except 'cap->u.{}' renamed to 'cap->arch'.

(maxv)

2019-04-27 15:43:09 UTC MAIN commitmail json YAML

2019-04-27 14:10:01 UTC MAIN commitmail json YAML

2019-04-27 13:52:55 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- auvia_set_params_sub is also renamed because caller auvia_set_params
  is renamed to auvia_set_format.

(isaki)

2019-04-27 13:44:32 UTC isaki-audio2 commitmail json YAML

More adapt to audio2.
- Shrink autri_formats[].  HW actually supports frequencies other
  than 48kHz but they may include (ignorable) rounding error in
  thier calculation.  So accept only 48kHz.  It's enough.
- Remove obsoleted and empty methods.

(isaki)

2019-04-27 13:25:33 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
Tested on sparc64 by macallan@.  Thank you.

(isaki)

2019-04-27 13:10:03 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Move auixp_formats' definition from header to source.
- Make compilable even with DEBUG_AUIXP.

(isaki)

2019-04-27 12:57:54 UTC isaki-audio2 commitmail json YAML

2019-04-27 12:53:37 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- Correct frequency_type in modem_audio_format.
- {spdif,modem}_audio_format in my previous commit (in this branch)
  was also wrong. :(

(isaki)

2019-04-27 12:28:40 UTC isaki-audio2 commitmail json YAML

More adapt to audio2.
- Replace set_params with new set_format.
- Remove sc_encodings which is no longer used.

(isaki)

2019-04-27 12:12:26 UTC MAIN commitmail json YAML

Skip CARP & Veriexec support to reduce size

(sevan)

2019-04-27 12:08:11 UTC MAIN commitmail json YAML

Skip CARP & Veriexec support in RAMDISK to reduce size

(sevan)

2019-04-27 12:05:28 UTC isaki-audio2 commitmail json YAML

Add audio_indexof_format().  It finds index matches with specified
audio_param_t from array of audio_format_t.
Formerly, it was auconv_set_converter() that convert userland
params to the hardware native (linear) format and such conversion
is unnecessary in audio2.  But some drivers have gotten index from
this format array using auconv_set_converter().  This function is
an alternative to such usage.

(isaki)

2019-04-27 11:58:03 UTC isaki-audio2 commitmail json YAML

2019-04-27 11:52:54 UTC isaki-audio2 commitmail json YAML

2019-04-27 10:57:12 UTC MAIN commitmail json YAML

2019-04-27 10:40:17 UTC MAIN commitmail json YAML

Add support for EnhancedIBRS, a more performant mitigation for SpectreV2,
available on future CPUs (or maybe they already exist now...).

(maxv)

2019-04-27 10:18:00 UTC isaki-audio2 commitmail json YAML

Adapt to audio2.
- XXX Name conflicts.  audio2 replaces set_params with set_format
  and audio_dai already have had its own set_format.
  I named newly introduced one audio_dai_mi_set_format for now.

(isaki)

2019-04-27 09:06:18 UTC MAIN commitmail json YAML

If guest events were being processed when a #VMEXIT occurred, reschedule
the events rather than dismissing them. This can happen for instance when a
guest wants to process an exception and an #NPF occurs on the guest IDT. In
practice it occurs only when the host swapped out specific guest pages.

(maxv)

2019-04-27 08:49:19 UTC MAIN commitmail json YAML

Semicolon not needed

(pgoyette)

2019-04-27 08:48:31 UTC MAIN commitmail json YAML

Oooppss - deleted too many chars.  Put them back.

Should fix the build break.

(pgoyette)

2019-04-27 08:16:19 UTC MAIN commitmail json YAML

Optimize nvmm-intel, use inlined GCC assembly rather than function calls.

(maxv)

2019-04-27 06:18:15 UTC MAIN commitmail json YAML

2019-04-27 05:30:37 UTC isaki-audio2 commitmail json YAML

2019-04-27 05:22:28 UTC isaki-audio2 commitmail json YAML

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

Use usbdevices.config & bluetooth.config to reduce duplication.

(sevan)

2019-04-27 01:55:06 UTC MAIN commitmail json YAML

Rename imask to intr_mask as imask is defined globally in
sys/arch/powerpc/include/intr.h:104 and this clashes.

Resolves build on macppc.
ok <pgoyette>

(sevan)

2019-04-27 01:23:26 UTC MAIN commitmail json YAML

fix uchcom(4) detach, like umodem(4) recently:

- use static normally in umodem_common.c
- add sc_refcnt, sc_lock and sc_detach_cv to softc.  usage is:
  - sc_dying is protected by sc_lock
  - sc_detach_cv is matched with sc_lock for cv operations
  - sc_refcnt is increased in open and decreased in close, any time
    it is decreased, it is checked for less than zero, and a broadcast
    performed on sc_detach_cv.  detach waits for sc_refcnt
- uchcom_param() and uchcom_set() check for sc_dying

this fixes pullout out an open ucom@uchcom.

XXX: pullup

(mrg)

2019-04-27 00:56:19 UTC MAIN commitmail json YAML

Use filesystems.config to reduce duplication

(sevan)

2019-04-27 00:37:40 UTC MAIN commitmail json YAML

2019-04-27 00:30:37 UTC MAIN commitmail json YAML

2019-04-27 00:23:18 UTC MAIN commitmail json YAML

Backport improvements into GCC's sanitizer_linux.cc from more recent LLVM

Backport fixups for syscall()/__syscall() routines from LLVM compiler-rt
dated October 1st 2018. The commit beffore switching LLVM compiler-rt
sycall calls to libc calls for NetBSD.

GCC8 will get part of these changes from upstream and GCC9 will operate on
libc calls directly for the NetBSD port.

This is intended to correct misuse of parameters of syscall()/__syscall()
that could break !x86 ports in UBSan.

(kamil)

2019-04-26 23:57:59 UTC MAIN commitmail json YAML

Enforce alignment also if the compiled in PAGE_SIZE is bigger than
getpagesize()

(christos)

2019-04-26 23:57:00 UTC MAIN commitmail json YAML

2019-04-26 22:46:04 UTC MAIN commitmail json YAML

2019-04-26 22:29:20 UTC MAIN commitmail json YAML

2019-04-26 22:28:41 UTC MAIN commitmail json YAML

Enable BUFQ_PRIOCSCAN, CARP, Veriexec

(sevan)

2019-04-26 21:40:33 UTC MAIN commitmail json YAML

Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.

(sevan)

2019-04-26 21:02:42 UTC MAIN commitmail json YAML

fix misleading error message

(macallan)

2019-04-26 20:44:07 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrl in ticket #1249):

sys/arch/cats/cats/cats_machdep.c: revision 1.87

The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail.  Adjust for this.

(martin)

2019-04-26 20:41:10 UTC MAIN commitmail json YAML

Use LDADD, which apparently puts the libraries at the end of the command,
and makes static builds (aka sun2) happier.

(maya)

2019-04-26 19:48:00 UTC netbsd-7 commitmail json YAML

2019-04-26 19:47:23 UTC netbsd-7 commitmail json YAML

Apply patch, requested by roy in ticket #1690:

external/bsd/dhcpcd/dist/configure
external/bsd/dhcpcd/dist/src/auth.c
external/bsd/dhcpcd/dist/src/dhcp.c
external/bsd/dhcpcd/dist/src/dhcp6.c
external/bsd/dhcpcd/dist/compat/consttime_memequal.h

Security fixes for dhcpcd:
Fix a potential buffer overflow reading NA/TA addresses.
Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED.
Use consttime_memequal(3) to compare hashes.

(martin)

2019-04-26 19:42:27 UTC MAIN commitmail json YAML

2019-04-26 19:39:19 UTC MAIN commitmail json YAML

for "countable" lwp names, try to display name*<count> instead of truncating.

(christos)

2019-04-26 19:20:57 UTC netbsd-8 commitmail json YAML

2019-04-26 19:18:22 UTC netbsd-8 commitmail json YAML

src/external/bsd/dhcpcd/dist/.arcconfig deleted
src/external/bsd/dhcpcd/dist/BUILDING.md@1.1.1.2.8.1 / diff / nxr@1.1.1.2.8.1
src/external/bsd/dhcpcd/dist/LICENSE@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/Makefile@1.1.1.4.2.2 / diff / nxr@1.1.1.4.2.2
src/external/bsd/dhcpcd/dist/compat/consttime_memequal.h@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
src/external/bsd/dhcpcd/dist/configure@1.1.1.3.2.4 / diff / nxr@1.1.1.3.2.4
src/external/bsd/dhcpcd/dist/hooks/20-resolv.conf@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/hooks/29-lookup-hostname@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/hooks/30-hostname@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/hooks/50-ntp.conf@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/hooks/50-yp.conf@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/hooks/50-ypbind.in@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/dhcpcd/dist/iconfig.mk@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/dhcpcd/dist/src/Makefile@1.1.1.3.2.2 / diff / nxr@1.1.1.3.2.2
src/external/bsd/dhcpcd/dist/src/arp.c@1.1.1.2.8.4 / diff / nxr@1.1.1.2.8.4
src/external/bsd/dhcpcd/dist/src/arp.h@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/bsd/dhcpcd/dist/src/auth.c@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/dhcpcd/dist/src/auth.h@1.1.1.1.8.3 / diff / nxr@1.1.1.1.8.3
src/external/bsd/dhcpcd/dist/src/bpf.c@1.3.8.3 / diff / nxr@1.3.8.3
      :
(more 50 files)
Sync to head, requested by roy in ticket #1250:

external/bsd/dhcpcd/dist/compat/consttime_memequal.h up to 1.1.1.1
external/bsd/dhcpcd/dist/.arcconfig            delete
external/bsd/dhcpcd/dist/BUILDING.md            up to 1.1.1.3
external/bsd/dhcpcd/dist/LICENSE                up to 1.1.1.3
external/bsd/dhcpcd/dist/Makefile              up to 1.1.1.6
external/bsd/dhcpcd/dist/configure              up to 1.1.1.11
external/bsd/dhcpcd/dist/iconfig.mk            up to 1.1.1.2
external/bsd/dhcpcd/dist/hooks/20-resolv.conf  up to 1.2
external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.2
external/bsd/dhcpcd/dist/hooks/30-hostname      up to 1.2
external/bsd/dhcpcd/dist/hooks/50-ntp.conf      up to 1.2
external/bsd/dhcpcd/dist/hooks/50-yp.conf      up to 1.2
external/bsd/dhcpcd/dist/hooks/50-ypbind.in    up to 1.2
external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.3
external/bsd/dhcpcd/dist/src/Makefile          up to 1.1.1.5
external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.10
external/bsd/dhcpcd/dist/src/arp.h              up to 1.1.1.7
external/bsd/dhcpcd/dist/src/auth.c            up to 1.1.1.7
external/bsd/dhcpcd/dist/src/auth.h            up to 1.1.1.4
external/bsd/dhcpcd/dist/src/bpf.c              up to 1.8
external/bsd/dhcpcd/dist/src/bpf.h              up to 1.1.1.5
external/bsd/dhcpcd/dist/src/common.c          up to 1.1.1.7
external/bsd/dhcpcd/dist/src/common.h          up to 1.1.1.7
external/bsd/dhcpcd/dist/src/control.c          up to 1.1.1.5
external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.3
external/bsd/dhcpcd/dist/src/defs.h            up to 1.1.1.20
external/bsd/dhcpcd/dist/src/dev.c              up to 1.1.1.4
external/bsd/dhcpcd/dist/src/dev.h              up to 1.1.1.3
external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.5
external/bsd/dhcpcd/dist/src/dhcp-common.h      up to 1.1.1.3
external/bsd/dhcpcd/dist/src/dhcp.c            up to 1.18
external/bsd/dhcpcd/dist/src/dhcp.h            up to 1.1.1.9
external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.6
external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.9
external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.3
external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.3
external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.12
external/bsd/dhcpcd/dist/src/dhcpcd.c          up to 1.18
external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in  up to 1.1.1.12
external/bsd/dhcpcd/dist/src/dhcpcd.h          up to 1.1.1.9
external/bsd/dhcpcd/dist/src/duid.c            up to 1.1.1.5
external/bsd/dhcpcd/dist/src/eloop.c            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/eloop.h            up to 1.1.1.4
external/bsd/dhcpcd/dist/src/if-bsd.c          up to 1.6
external/bsd/dhcpcd/dist/src/if-linux-wext.c    up to 1.1.1.3
external/bsd/dhcpcd/dist/src/if-linux.c        up to 1.1.1.12
external/bsd/dhcpcd/dist/src/if-options.c      up to 1.13
external/bsd/dhcpcd/dist/src/if-options.h      up to 1.1.1.8
external/bsd/dhcpcd/dist/src/if-sun.c          up to 1.1.1.7
external/bsd/dhcpcd/dist/src/if.c              up to 1.1.1.12
external/bsd/dhcpcd/dist/src/if.h              up to 1.1.1.7
external/bsd/dhcpcd/dist/src/ipv4.c            up to 1.1.1.13
external/bsd/dhcpcd/dist/src/ipv4.h            up to 1.1.1.7
external/bsd/dhcpcd/dist/src/ipv4ll.c          up to 1.1.1.7
external/bsd/dhcpcd/dist/src/ipv4ll.h          up to 1.1.1.6
external/bsd/dhcpcd/dist/src/ipv6.c            up to 1.1.1.16
external/bsd/dhcpcd/dist/src/ipv6.h            up to 1.1.1.10
external/bsd/dhcpcd/dist/src/ipv6nd.c          up to 1.6
external/bsd/dhcpcd/dist/src/ipv6nd.h          up to 1.1.1.9
external/bsd/dhcpcd/dist/src/logerr.c          up to 1.1.1.3
external/bsd/dhcpcd/dist/src/logerr.h          up to 1.1.1.4
external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.10
external/bsd/dhcpcd/dist/src/route.h            up to 1.1.1.6
external/bsd/dhcpcd/dist/src/sa.c              up to 1.1.1.4
external/bsd/dhcpcd/dist/src/sa.h              up to 1.1.1.3
external/bsd/dhcpcd/dist/src/script.c          up to 1.1.1.7
external/bsd/dhcpcd/dist/src/script.h          up to 1.1.1.3
external/bsd/dhcpcd/dist/src/dev/udev.c        up to 1.1.1.3
external/bsd/dhcpcd/dist/tests/Makefile        up to 1.1.1.2
external/bsd/dhcpcd/sbin/dhcpcd/Makefile        up to 1.45

Import dhcpcd-7.2.1 with the following changes:
*  auth: Use consttime_memequal to avoid latency attack
*  DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED
*  DHCPv6: Fix a potential buffer overflow reading NA/TA addresses

(martin)

2019-04-26 19:17:05 UTC MAIN commitmail json YAML

-frounding-math is gcc specific, help clang builds

(maya)

2019-04-26 19:08:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1248):

sys/arch/hppa/hppa/machdep.c: revision 1.9
sys/arch/hppa/hppa/fpu.c: revision 1.25

Some fixes for QEMU/hppa.

Don't call desidhash_l on pcxl2 as it doesn't support it.  QEMU emulates
this cpu and would trap on illegal instruction for the diag in desidhash_l

Allow a FPU to be missing... more fixes are likely here.

QEMU doesn't set C bit properly yet

(martin)

2019-04-26 19:04:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1247):

sys/dev/pci/mfii.c: revision 1.4

Clean up timeout logic. Now the system survives to a ccb timeout; before
the filesystem would stall because one I/O did never completes.

(martin)

2019-04-26 18:49:35 UTC MAIN commitmail json YAML

Amputate stack protector warnings, instead of trying more band-aids.

(christos)

2019-04-26 18:41:25 UTC MAIN commitmail json YAML

Add a configuration file for enabling Veriexec in kernel config(5) files.

(sevan)

2019-04-26 18:37:24 UTC MAIN commitmail json YAML

2019-04-26 18:25:08 UTC MAIN commitmail json YAML

Add mount_cd9660 and sysctl

(skrll)

2019-04-26 17:24:23 UTC MAIN commitmail json YAML

Handle half-closed pipes in FIONWRITE and FIONSPACE.

(mlelstv)

2019-04-26 17:20:49 UTC MAIN commitmail json YAML

Clean up pipe structure before recycling it.

(mlelstv)

2019-04-26 16:56:58 UTC MAIN commitmail json YAML

Follow the man page for EL_GETTC and not require a NULL terminated argument
list: https://reviews.llvm.org/D61191

(christos)

2019-04-26 14:58:56 UTC MAIN commitmail json YAML

Undo previous, it is moving us in the wrong direction.

(christos)

2019-04-26 14:36:40 UTC MAIN commitmail json YAML

Note import of dhcpcd-7.2.1

(roy)

2019-04-26 14:34:10 UTC MAIN commitmail json YAML

2019-04-26 14:28:40 UTC MAIN commitmail json YAML

Expose device type. You can query it with e.g. drvctl -p ld0 disk-info/type.

Missing in previous commit.

(mlelstv)

2019-04-26 11:51:57 UTC MAIN commitmail json YAML

2019-04-26 10:27:49 UTC MAIN commitmail json YAML

re-#if 0 some testing code.

(mrg)

2019-04-26 10:20:09 UTC MAIN commitmail json YAML

- implement sub-5degC interpolation.
- avoid setting TSADC_AUTO_CON_SRC*_EN twice

(mrg)

2019-04-26 10:11:14 UTC MAIN commitmail json YAML

Remove unused 387 implementations.

These were removed from the build for being wrong, but the implementation
stayed around. This is confusing, we have the attic for old code,
let's delete the unused implementations.

(maya)

2019-04-26 10:11:03 UTC MAIN commitmail json YAML

Remove Designware timer code. This was used by the old Rockchip port and
is no longer required.

(jmcneill)

2019-04-26 09:03:47 UTC MAIN commitmail json YAML

2019-04-26 08:52:16 UTC MAIN commitmail json YAML

2019-04-26 08:38:25 UTC MAIN commitmail json YAML

Set the "required modules" to NULL, not to an empty string.

It really doesn't make that much difference to the code, but the output
from modstat(8) is different!  (With an empty string in the MODULE() macro
modstat reports an empty string, but with a NULL in the macro, modstat
prints a '-' just like it does for other "empty" fields.)

(pgoyette)

2019-04-26 08:28:11 UTC MAIN commitmail json YAML

implement TSADC driver for rockchip RK3328 and RK3399.  so far, only
tested on RK3399 but the RK3328 looks mostly the same and has a good
chance of working too.

add clock entries for "clk_tsadc" and "pclk_tsadc" to cru.

exports "CPU" and "GPU" temp sensors.  these currently limited to 5
degC resolution but can be reduced to sub 1 degC resolution with some
interpolation.

todo list:

- handle setting various temp values
- add interpolation between the 5degC intervals in sample data
- handle DT trips/temp value defaults
- interrupts aren't triggered (test by lowering warn/crit values),
  and once they work, make the interrupt do something
- test on RK3328, and port to other rockchips (will require moving
  some part into per-chipset sections, such as code<->temp tables)

thanks to jmcneill for help.

(mrg)

2019-04-26 07:35:21 UTC MAIN commitmail json YAML

A couple of fixes so that NetBSD/cats builds (on linux), works, and
produces a symbol table that is readable (by 4.4BSD nm(1) at least)

- Change from OMAGIC to ZMAGIC
- Resize the a.out string table if we run out of space.
- output symbol table size as int32_t (the code already assumes no 64bit
  a.out.

(skrll)

2019-04-26 07:32:41 UTC MAIN commitmail json YAML

The free block after the kernel from arm32_bootmem_init doesn't
account for bt_memavail.  Adjust for this.

(skrll)

2019-04-26 06:33:34 UTC MAIN commitmail json YAML

2019-04-26 04:58:40 UTC MAIN commitmail json YAML

Fix a bug that read value of MII_EXTSR register on TBI mode always fails.
This bug was added in rev. 1.169.

(msaitoh)

2019-04-26 04:33:00 UTC MAIN commitmail json YAML

Remove duplicated inclusion of sys/bus.h.

(msaitoh)

2019-04-26 02:46:00 UTC MAIN commitmail json YAML

Fix argument parsing for mvinsch, last arg is a chtype not a string.

(blymn)