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

2024-05-10 07:51:18 UTC Now

2019-03-10 21:25:09 UTC MAIN commitmail json YAML

Register kcov(4) in CHANGES

kcov(4): Added driver for kernel coverage tracing

Register the entry with the current date as the driver has been just
finished.

Primary author of the port: Siddharth Muralee.
Review and major code improvements by <maxv>.
Various contributions by myself.

(kamil)

2019-03-10 19:47:03 UTC MAIN commitmail json YAML

Use syscon instead of bus_space_map

(jmcneill)

2019-03-10 19:34:30 UTC MAIN commitmail json YAML

Add noreturn where needed. In the prof case because of cassert() and return
in some functions we disable the cassert() for clang. We should really have
a JEMALLOC_PROF_NORETURN and a way to mark the remaining of the function
unreachable.

(christos)

2019-03-10 19:32:56 UTC MAIN commitmail json YAML

2019-03-10 18:03:40 UTC MAIN commitmail json YAML

2019-03-10 17:51:00 UTC MAIN commitmail json YAML

Add support for trace type selection in kcov(4)

Allow to specify mode in KCOV_IOC_ENABLE synchronizing the functionality
with Linux, FreeBSD and OpenBSD. As a NetBSD (and OpenBSD) specific of
the ioctl(2) interface, the mode argument has to be specified as &value
rather than value.

There are 3 modes available:
1. KCOV_MODE_NONE      -- no trace specified, useful for testing purposes
2. KCOV_MODE_TRACE_PC  -- trace the kernel program counter
3. KCOV_MODE_TRACE_CMP  -- trace comparison instructions and switch statements

Adapt the ATF tests and documentation for new API.

The KCOV_MODE_TRACE_CMP mode is implemented but still awaits for the
GCC 8.x upgrade or selection of Clang/LLVM as the kernel compiler.

Obtained from OpenBSD and adapted for NetBSD by myself.

(kamil)

2019-03-10 16:30:01 UTC MAIN commitmail json YAML

Two changes:

* Allow large pages to be passed in pmap_pdes_valid, this happens under
  DDB when it reads RIP (.text), called via pmap_extract.

* Invert a branch in pmap_extract, so that 'l_cpu' is not touched if we're
  dealing with the kernel pmap.

This fixes 'boot -d'.

(maxv)

2019-03-10 15:45:26 UTC MAIN commitmail json YAML

2019-03-10 15:32:42 UTC MAIN commitmail json YAML

turn on debugging to help find problems.

(christos)

2019-03-10 15:31:02 UTC MAIN commitmail json YAML

catch up with name change.

(christos)

2019-03-10 15:18:45 UTC MAIN commitmail json YAML

Deal with overflow when the sleep duration given is a simple
integer (previously it was just clamped at the max possible value).
This would have caused
sleep 10000000000000000000
(or anything bigger) to have only actually slept for 9223372036854775807
secs.  Someone would have noticed that happen, one day, in some other
universe.

This is now an error, as it was previously if this had been entered as
sleep 1e19

Also detect an attempt to sleep for so long that a time_t will no longer
be able to represent the current time when the sleep is done.

Undo the attempts to work around a broken kernel nanosleep()
implementation (by only ever issuing shortish sleep requests,
and looping).  That code was broken (idiot botch of mine) though
you would have had to wait a month to observe it happen.  I was going
to just fix it, but sanity prevailed, and the kernel got fixed instead.

That allows this to be much simplified, only looping as needed to
handle dealing with SIGINFO.  Switch to using clock_nanosleep()
to implement the delay, as while our nanosleep() uses CLOCK_MONOTONIC
the standards say it should use CLOCK_REALTIME, and if that we
ever changed that, the old way would alter "sleep 5" from
"sleep for 5 seconds" to "sleep until now + 5 secs", which is
subtly different.

Always use %g format to print the original sleep duration in reports of how
much time remains - this works best for both long and short durations.
A couple of other minor (frill) mods to the SIGINFO report message as well.

(kre)

2019-03-10 14:45:53 UTC MAIN commitmail json YAML

Fix the code that deals with very long sleeps (> 248 days) which
go beyond the maximum that the callout mechanism can handle.
[See the comments in tvtohz() in subr_sleep.c for the details.]

When that happens the timeout is clamped to MAX_INT (ticks), and the
code in nanosleep1() looped (or tried to) repeating the sleep (aka
kpause()) until the requested end time for the sleep was reached.

Unfortunately, the code assumed that kpause() would return 0 when
it returned after the timeout expired.  But it doesn't, it returns
EWOULDBLOCK instead (why is incomprehensible to me, but I assume
there is a reason.)  [That comes from sleepq_block() which returns
EWOULDBLOCK when callout_halt() indicates that the callout had fired,
which is exactly what has happened when the time has elapsed.]

There was already code to deal with that EWOULDBLOCK and return 0
instead of an error in that case - but it was placed after the
error code was tested against 0 for the purposes of the loop.

Simply move the EWOULDBLOCK->0 mapping earlier, so the code which
is expecting "error == 0" to mean "nothing went wrong" actually
gets to see that happen, and the loop can actually loop.

(Someday the loop should probably be rewritten as a loop, instead of
as a bunch of code followed by a "goto again"!)

(kre)

2019-03-10 13:52:11 UTC MAIN commitmail json YAML

only do vdpau headers on vdpau systems.

XXX: make this a common define in the few places

(mrg)

2019-03-10 13:44:49 UTC MAIN commitmail json YAML

Undo previous, in the name of "defined" behaviour, it breaks things.

This is all explained in the comment at the head of the file:

* Some of the "math" in here is a bit tricky.  We have to beware of
* wrapping ints.
*
* [...] but c->c_time can
* be positive or negative so comparing it with anything is dangerous.

In particular, "if (c->c_time > ticks)" is simply wrong.

* The only way we can use the c->c_time value in any predictable way is
* when we calculate how far in the future `to' will timeout - "c->c_time
* - c->c_cpu->cc_ticks".  The result will always be positive for future
* timeouts and 0 or negative for due timeouts.

Go back to the old way.  But write the calculation of delta slightly
differently which will hopefully appease KUBsan.  Perhaps.  In any
case, this code works on any system that NetBSD has any hope of ever
running on, whatever the C standards say is "defined" behaviour.

(kre)

2019-03-10 13:24:51 UTC MAIN commitmail json YAML

Fix bug in kcov_multiple_threads in t_kcov

Spawn the expected number of threads rather than hardcoding one value for
all tests.

(kamil)

2019-03-10 12:59:03 UTC MAIN commitmail json YAML

Sync TODO.sanitizers with reality

Mark compiler-rt sanitizers as imported into src/, but still not
integrated (waiting for Clang/LLVM upgrade to 8.0 or newer).

ESan has been discontinued upstream, drop from plans.

lld ported to NetBSD by <mgorny>, but we need to keep local patches.

Mark kernel-msan as finished for Linux

Mark syzkaller and KCOV as finished projects.

(kamil)

2019-03-10 12:54:39 UTC MAIN commitmail json YAML

Add support for multiple threads in kcov(4)

Reuse the fd_clone() API to associate kcov descriptors (KD) with a file
descriptor. Each fd (/dev/kcov) can be reused for a single LWP.

Add new ATF regression tests and cleanup existing code there. All tests
pass.

Refresh the kcov(4) man page documentation.

Developed with help from <maxv>.

(kamil)

2019-03-10 12:49:48 UTC MAIN commitmail json YAML

Fix two oddities...

- remove extraneous semi-colons from do { } while (0) macro definitions
- actually wrap MUTEX_INITIALIZE_ADAPTIVE contents in do { }

Spotted by kre@

(skrll)

2019-03-10 12:44:58 UTC MAIN commitmail json YAML

libvdpau pkg-config file is called vdpau.pc.

this does not need a special rule, just to be named correctly.

(mrg)

2019-03-10 12:14:07 UTC MAIN commitmail json YAML

src/external/bsd/llvm/lib/libLLVMAMDGPUAsmParser/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMAMDGPUAsmPrinter/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMAMDGPUCodeGen/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMAMDGPUDisassembler/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMAMDGPUMCTargetDesc/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMAMDGPUTargetInfo/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMAMDGPUUtils/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/llvm/lib/libLLVMExecutionEngine/Makefile@1.7 / diff / nxr@1.7
src/external/bsd/llvm/lib/libLLVMIR/Makefile@1.14 / diff / nxr@1.14
src/external/bsd/llvm/lib/libLLVMInstCombine/Makefile@1.3 / diff / nxr@1.3
src/external/bsd/llvm/lib/libLLVMMCJIT/Makefile@1.9 / diff / nxr@1.9
src/external/bsd/llvm/lib/libLLVMRuntimeDyld/Makefile@1.10 / diff / nxr@1.10
src/tools/llvm-lib/libLLVMAMDGPUAsmParser/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMAMDGPUAsmPrinter/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMAMDGPUCodeGen/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMAMDGPUDisassembler/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMAMDGPUMCTargetDesc/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMAMDGPUTargetInfo/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMAMDGPUUtils/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMExecutionEngine/Makefile@1.1 / diff / nxr@1.1
src/tools/llvm-lib/libLLVMMCJIT/Makefile@1.1 / diff / nxr@1.1

add most of the AMDGPU target makefiles and stuff that don't
touch the build.  this comes from:

commit f90685c11d4460d3098fa35f48b58d1893e974e0
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Feb 23 09:46:14 2019 +0200

    Separate MKCLANG from MKLLVM.

    build LLVM libraries as PIC.
    Add AMDGPU target, and adjust tools accordingly.

(mrg)

2019-03-10 11:53:35 UTC MAIN commitmail json YAML

Update mandoc entry, and note new 1.14.5 release.

(wiz)

2019-03-10 11:18:03 UTC MAIN commitmail json YAML

- build and install libvdpau and x86 and evbarm.
- add khrplatform.h for mesa_ver=18 platforms.

need to enable libvdpau.pc generation (needs special rules)

this mostly comes from maya in the first one, and a small part
of the second:

commit 48eb746983a5a7967fba221e7b167808af36f44a
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 09:31:22 2019 +0200

    More of vdpau. Cogs spin.

commit d9fbba8f61a43648d32f160c5fa62626788566ff
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Feb 23 22:36:37 2019 +0200

    Adjust for MesaLib 18.

    Build llvmpipe driver on x86 (the driver itself is x86-only).
    build llvm on all x86, even on GCC builds.
    galahad driver removed (upstream).
    Don't build mesa 7 at all.

(mrg)

2019-03-10 11:10:21 UTC MAIN commitmail json YAML

2019-03-10 11:09:35 UTC MAIN commitmail json YAML

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

convert make's HAVE_MESA_VER into mesa_ver for set lists

(mrg)

2019-03-10 11:02:46 UTC MAIN commitmail json YAML

export HAVE_MESA_VER for use in makefiles and set lists.

(mrg)

2019-03-10 10:51:59 UTC MAIN commitmail json YAML

pull across most of the new build infrastruture for mesa18 from maya's
git tree.  this includes may of the changes from the changes below:

commit 52d85e74a1197aace38cc7acb705509e969120e6
Author: coypu <coypu@sdf.org>
Date:  Mon Mar 4 12:25:33 2019 +0200

    Make 32bit archs happier.

    except i386, which now suffers from locked atomics because we
    don't have clever ifunc tricks in libc.

commit ee9b4c19c58127934ed3548ad0d68934cc95ccc7
Author: coypu <coypu@sdf.org>
Date:  Mon Mar 4 09:08:35 2019 +0200

    Adjust includes, append rather than replace, appease clang ppc builds

commit a5341a3ad42572c78b6a2e6e5545bd323d7f2e4c
Author: coypu <coypu@sdf.org>
Date:  Sun Mar 3 11:52:19 2019 +0200

    Resolve i386 atomic issue and set lists.

    XXX libGL in i386 is still causing issues
    XXX pkgconfig file for vdpau
    XXX set lists for arm32

commit 27bffc20bc15186c92cc5b8d5cc08d7299966b34
Author: coypu <coypu@sdf.org>
Date:  Sat Mar 2 21:52:45 2019 +0200

    make llvm sources x86 specific

    hopefully not breaking non-x86 clang builds, which
    have MKLLVM set.

commit f9d34922619cc8f2a224c0138a73985e50daf87f
Author: coypu <coypu@sdf.org>
Date:  Sat Mar 2 21:33:31 2019 +0200

    move hack to build llvm libraries soon enough.

    add u_process.c to libGL specifically (dri, gallium and libGL all need
    it).

    Add some missing includes for pipe-loader when it moved to gallium

commit 2b1083d0d538bb5d5dd88ab2ca0ca6c331e5dd5b
Author: coypu <coypu@sdf.org>
Date:  Sat Mar 2 16:47:58 2019 +0200

    shuffle around:

    some files move from shared driver.mk/loader.mk into gallium.
    others move to shared.

    add i915 files.

    now i965 glxgears works (amd64).

commit 1897a90569b30b294bcbedadb3745092eca0bb33
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 23:36:26 2019 +0200

    Progress towards glxgears on i915

commit 28c9c99a236404de41ae74e88ea6d9578c088b92
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 21:55:56 2019 +0200

    rototill i965/i915 causing it to no longer startx.

    Now missing sw_screen_create in the dri driver.

commit 48eb746983a5a7967fba221e7b167808af36f44a
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 09:31:22 2019 +0200

    More of vdpau. Cogs spin.

commit d9fbba8f61a43648d32f160c5fa62626788566ff
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Feb 23 22:36:37 2019 +0200

    Adjust for MesaLib 18.

    Build llvmpipe driver on x86 (the driver itself is x86-only).
    build llvm on all x86, even on GCC builds.
    galahad driver removed (upstream).
    Don't build mesa 7 at all.

(mrg)

2019-03-10 10:00:29 UTC MAIN commitmail json YAML

Rename je_mallctltomib to je_mallctlnametomib

This unbreaks the build.

(kamil)

2019-03-10 04:25:39 UTC MAIN commitmail json YAML

merge this change from maya@:

commit 4fa18f04dce5333189004834c1183d7a14ee0ef5
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 09:32:11 2019 +0200

    Don't warn (-Werror) about secure_getenv, use getenv_wrapper.

    Does the same thing for netbsd.

(mrg)

2019-03-10 04:21:57 UTC MAIN commitmail json YAML

generated files for mesa 18.3.4.

this work from maya@ via this github commit:

commit 9eeee3fcb33a84ebc1653c032f57e7193b7b7236
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Feb 23 23:14:48 2019 +0200

    Generated files for mesa 18.3.4

(mrg)

2019-03-10 04:15:57 UTC MAIN commitmail json YAML

merge Mesa 18.3.4.

this work is mostly from maya@ with a little help from myself
via these github commits:

commit 57df9d9b59df14fd6ac8e30832ce4f29572a33c0
Author: coypu <coypu@sdf.org>
Date:  Mon Mar 4 12:24:37 2019 +0200

    Make GCC happier about prototype, include right header for __HAVE_ATOMIC64_OPS

commit 93c2f416aa316cc3d0665661c9f927f6949cdd37
Author: coypu <coypu@sdf.org>
Date:  Mon Mar 4 12:16:56 2019 +0200

    Make the u_atomic.c fallback locked 64bit atomics more suited

    for the netbsd case: we are using __GNUC__ compilers, but without
    libatomic. so we are emitting the __GNUC__ names.

    Use __HAVE_ATOMIC64_OPS which is the netbsd name for this condition
    (we don't run configure)

commit 84c2bf2f622f8a78f68ad1ca35b90bb991bdaab0
Author: coypu <coypu@sdf.org>
Date:  Sun Mar 3 20:02:38 2019 +0200

    Remove unused padding to struct.

    The extra space is in the flexible array member at the end of
    struct drm_i915_query_topology_info.

    Clang dislikes having an extra member to the struct after the flexible
    array member.

commit 00f432b0edf95a6e292e8259ad3096a07966b53c
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 23:36:09 2019 +0200

    Avoid left-shifting a negative, for clang

commit 84881d47e674b93b79f405326b3ae43af53fe611
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 21:30:43 2019 +0200

    avoid conflict with netbsd bswap32

commit d9bd43728cb5cf161d8501be6d53dee50f094df0
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Feb 24 21:30:30 2019 +0200

    cast enum to appease clang

commit a84ec26c89d08028800e74313ccbbf0a1a0753ed
Author: Maya Rashish <maya@NetBSD.org>
Date:  Wed Feb 6 13:07:55 2019 +0200

    Apply patches from pkgsrc mesa to avoid atexit on a library.

    This isn't safe to do on netbsd and results in segfaults on
    program exit.

commit 335ea9c725374db31fe809a7d7f33ad8a83edd3e
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Jan 19 16:32:28 2019 +0200

    Avoid left-shifting a negative (UB), appeases clang

commit 452e5dc79ee89292fe771cf0e1066d1fad55adfa
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Jan 12 17:02:04 2019 +0200

    radeon picture_type is h264 and the enums match, cast to avoid

    clang warning (we use -Werror)

commit 61b4bc2f7ca8d78bd4092df76daeb27621d2ea7d
Author: Maya Rashish <maya@NetBSD.org>
Date:  Fri Jan 11 19:57:34 2019 +0200

    Avoid redefinition, for clang.

commit c73fac417444cd79ee5a7a89b4a0fdf931e5122d
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sun Jan 6 19:52:12 2019 +0200

    Fix some printf specifiers.

    XXX more upstreaming
    radeon_dma.c: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/68

commit 09341f929e9d3b03a3caacaa630521bc76680344
Author: Maya Rashish <maya@NetBSD.org>
Date:  Sat Feb 23 11:51:50 2019 +0200

(mrg)

2019-03-10 03:54:08 UTC MAIN commitmail json YAML

add missing externs.

(christos)

2019-03-10 02:49:52 UTC MAIN commitmail json YAML

2019-03-10 02:29:54 UTC MAIN commitmail json YAML

move mesa10 build into .old scheme:

- add ${X11SRCDIR.MesaLib.old} and introduce ${X11SRCDIR.Mesa} as an
  alias for either the former or the non old.  this allows many of
  the makefiles to simply use ${X11SRCDIR.Mesa} (but does not really
  enable much sharing of makefiles, but reduces their diffs.)

- use mesa-which.mk to define ${OLD_PREFIX} to either "" or ".old",
  and to know if to build 'dri7' (.old only.)  ${OLD_PREFIX} is used
  by other code (eg, LIBDPLIBS) to pick the right subdir.

(mrg)

2019-03-09 23:46:34 UTC MAIN commitmail json YAML

remove 30-urw-aliases.conf and add 45-generic.conf and 60-generic.conf.

should fix build issues reported on current-users.

(mrg)

2019-03-09 19:41:26 UTC MAIN commitmail json YAML

Add Tegra124 "mselect" clock and two PCIe-related clocks it sources.

With mainline u-boot (not starting the pci subsystem in the firmware):
Gets to a root prompt instead of hanging during tegrapcie attach, but
PCIe remains non-functional without a modern "xusbpad" phy driver for
Tegra124 (needed to configure the lane map).

(jakllsch)

2019-03-09 18:53:52 UTC MAIN commitmail json YAML

Reserve DTrace sdt and fdt major numbers

Register cmajor 252 for fbt and 253 for sdt.

Previously the major number was picked randomly and it causes conflicts
with preallocated values for different devices.

(kamil)

2019-03-09 18:38:34 UTC MAIN commitmail json YAML

Fix MKCATPAGES=yes build

Register missing files in distribution sets.

(kamil)

2019-03-09 17:59:28 UTC MAIN commitmail json YAML

Switch i386 and aarch64 to jemalloc (really I could switch everyone at this
point).

(christos)

2019-03-09 17:13:18 UTC netbsd-8 commitmail json YAML

2019-03-09 17:10:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) via patch (requested by nonaka in ticket #1210):

sys/dev/hyperv/vmbusvar.h: revision 1.1
sys/dev/hyperv/hvs.c: revision 1.1
sys/dev/hyperv/if_hvn.c: revision 1.1
sys/dev/hyperv/vmbusic.c: revision 1.1
sys/arch/x86/x86/lapic.c: revision 1.69
sys/arch/x86/isa/clock.c: revision 1.34
sys/arch/x86/include/intrdefs.h: revision 1.22
sys/arch/i386/conf/GENERIC: revision 1.1201
sys/arch/x86/x86/hyperv.c: revision 1.1
sys/arch/x86/include/cpu.h: revision 1.105
sys/arch/x86/x86/x86_machdep.c: revision 1.124
sys/arch/i386/conf/GENERIC: revision 1.1203
sys/arch/amd64/amd64/genassym.cf: revision 1.74
sys/arch/i386/conf/GENERIC: revision 1.1204
sys/arch/amd64/conf/GENERIC: revision 1.520
sys/arch/x86/x86/hypervreg.h: revision 1.1
sys/arch/amd64/amd64/vector.S: revision 1.69
sys/dev/hyperv/hvshutdown.c: revision 1.1
sys/dev/hyperv/hvshutdown.c: revision 1.2
sys/dev/usb/if_urndisreg.h: file removal
sys/arch/x86/x86/cpu.c: revision 1.167
sys/arch/x86/conf/files.x86: revision 1.107
sys/dev/usb/if_urndis.c: revision 1.20
sys/dev/hyperv/vmbusicreg.h: revision 1.1
sys/dev/hyperv/hvheartbeat.c: revision 1.1
sys/dev/hyperv/vmbusicreg.h: revision 1.2
sys/dev/hyperv/hvheartbeat.c: revision 1.2
sys/dev/hyperv/files.hyperv: revision 1.1
sys/dev/ic/rndisreg.h: revision 1.1
sys/arch/i386/i386/genassym.cf: revision 1.111
sys/dev/ic/rndisreg.h: revision 1.2
sys/dev/hyperv/hyperv_common.c: revision 1.1
sys/dev/hyperv/hvtimesync.c: revision 1.1
sys/dev/hyperv/hypervreg.h: revision 1.1
sys/dev/hyperv/hvtimesync.c: revision 1.2
sys/dev/hyperv/vmbusicvar.h: revision 1.1
sys/dev/hyperv/if_hvnreg.h: revision 1.1
sys/arch/x86/x86/lapic.c: revision 1.70
sys/arch/amd64/amd64/vector.S: revision 1.70
sys/dev/ic/ndisreg.h: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.516
sys/dev/hyperv/hypervvar.h: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.518
sys/arch/amd64/conf/GENERIC: revision 1.519
sys/arch/i386/conf/files.i386: revision 1.400
sys/dev/acpi/vmbus_acpi.c: revision 1.1
sys/dev/hyperv/vmbus.c: revision 1.1
sys/dev/hyperv/vmbus.c: revision 1.2
sys/arch/x86/x86/intr.c: revision 1.144
sys/arch/i386/i386/vector.S: revision 1.83
sys/arch/amd64/conf/files.amd64: revision 1.112

separate RNDIS definitions from urndis(4) for use with Hyper-V NetVSC.

-

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.
graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

-

Add __diagused.

-

PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.

-

Update Hyper-V related drivers description.

-

Remove unused definition.

-

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.

-

commented out hvkvp entry.

-

fix typo. pointed out by pgoyette@n.o.

-

Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

-

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

(martin)

2019-03-09 16:18:37 UTC MAIN commitmail json YAML

2019-03-09 16:18:22 UTC MAIN commitmail json YAML

Fix another bug found by jemalloc: don't access dirent entry after closedir(3).

(christos)

2019-03-09 15:25:33 UTC MAIN commitmail json YAML

2019-03-09 15:24:00 UTC MAIN commitmail json YAML

Add DTS for Raspberry Pi Compute Module IO board rev1

(skrll)

2019-03-09 15:22:45 UTC MAIN commitmail json YAML

Add DTS for Raspberry Pi Compute Module 3 IO board V3.0

(skrll)

2019-03-09 13:16:42 UTC MAIN commitmail json YAML

Workaround a bug with ROCKPro64's U-Boot EFI implementation. The booted
device path when booting from SD card sometimes does not include a
MEDIA_DEVICE_PATH component, so in this case fallback to doing an exact
match on the booted device path with the block device path to detect the
default boot device.

(jmcneill)

2019-03-09 10:04:42 UTC MAIN commitmail json YAML

In acpi_md_OsRemoveInterruptHandler() redir and mpflags are only
relevant to the NIOAPIC > 0 case (not used without that).  Rearrange
#if's slightly to make that happen (avoid "set but not used" warnings
(aka errors) when NIOAPIC == 0 (or undefined)).

(kre)

2019-03-09 09:51:29 UTC MAIN commitmail json YAML

error in xen_resumeclocks() is __diagused.
Avoid compile warning (-->error) when ! options DIAGNOSTIC.

(kre)

2019-03-09 09:09:56 UTC MAIN commitmail json YAML

2019-03-09 09:02:38 UTC MAIN commitmail json YAML

Rumpkernel has its own thread deallocation.  Add missing fstrans_lwp_dtor()
to lwproc_freelwp().

PR bin/50350: rump/rumpkern/t_sp/stress_{long,short} fail on Core 2 Quad

(hannken)

2019-03-09 08:42:26 UTC MAIN commitmail json YAML

2019-03-09 07:53:12 UTC MAIN commitmail json YAML

More input validation. Fix off-by-1 for size limit.

(mlelstv)

2019-03-09 06:12:55 UTC MAIN commitmail json YAML

add copyright.

(christos)

2019-03-09 04:57:48 UTC MAIN commitmail json YAML

html3 suffixes are .html

(christos)

2019-03-09 03:52:11 UTC MAIN commitmail json YAML

PR/54050: Ryo ONODERA: Add the jemalloc-specific api prototypes and extern.

(christos)

2019-03-09 02:56:44 UTC MAIN commitmail json YAML

don't install 30-urw-aliases.conf anymore, it's gone.

my builds don't fail here for some reason, but this causes the
build cluster to fail and this file is gone so my builds should
be failing but i need to figure out why they aren't.

(mrg)

2019-03-09 02:50:08 UTC MAIN commitmail json YAML

Fix previous... We need to deal with a conditional branch.

(christos)

2019-03-09 02:33:02 UTC MAIN commitmail json YAML

We don't fit anymore thanks to jemalloc:
relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `cerror'

(christos)

2019-03-09 01:59:47 UTC MAIN commitmail json YAML

ttm_bo_uvm_fault() is a netbsd API function and thus should return
netbsd errnos.  fix the one "return -ERESTART".

(mrg)

2019-03-08 23:35:01 UTC MAIN commitmail json YAML

Remove expected fail in various ATF t_ptrace_wait* tests

Tests for trap signal scenarios no longer fail.

(kamil)

2019-03-08 23:32:31 UTC MAIN commitmail json YAML

Stop resetting signal context on a trap signal under a debugger

In case of a crash signal, notify debugger immediately passing the signal
regardless of signal masking/ignoring.

While there pass signals emitted by a debugger to debuggee. Debugger calls
proc_unstop() that sets p_stat to SACTIVE and this signal wasn't passed
to tracee.

This scenario appeared to be triggered in recently added crash signal ATF
ptrace(2) tests.

(kamil)

2019-03-08 23:10:52 UTC MAIN commitmail json YAML

add html pages to match the previous (not tested)

(mrg)

2019-03-08 20:40:05 UTC MAIN commitmail json YAML

We don't need to depend on pthreads.

(christos)

2019-03-08 20:35:10 UTC MAIN commitmail json YAML

Back to using jemalloc for x86_64; all problems have been resolved.

(christos)

2019-03-08 20:34:24 UTC MAIN commitmail json YAML

Replace our buggy recallocarray implementation one with the portable one
from OpenBSD.

(christos)

2019-03-08 20:00:21 UTC MAIN commitmail json YAML

Arrange for the new man page to be installed.

(christos)

2019-03-08 12:25:39 UTC MAIN commitmail json YAML

2019-03-08 12:21:03 UTC MAIN commitmail json YAML

mark 30-urw-aliases.conf as obsolete.

(mrg)

2019-03-08 12:18:41 UTC MAIN commitmail json YAML

2019-03-08 11:14:49 UTC MAIN commitmail json YAML

remove damaging comment.

(mrg)

2019-03-08 10:51:55 UTC MAIN commitmail json YAML

2019-03-08 10:12:16 UTC MAIN commitmail json YAML

2019-03-08 10:00:06 UTC MAIN commitmail json YAML

2019-03-08 09:59:44 UTC MAIN commitmail json YAML

2019-03-08 09:59:15 UTC MAIN commitmail json YAML

2019-03-08 09:58:24 UTC MAIN commitmail json YAML

2019-03-08 09:49:46 UTC MAIN commitmail json YAML

2019-03-08 09:49:08 UTC MAIN commitmail json YAML

2019-03-08 09:14:54 UTC MAIN commitmail json YAML

rbtree: Add a define to mark function arguments as unused for non debug

This allows rbtree to be used outside of NetBSD without any compile
warnings and removes the need for the lint comment.

(roy)

2019-03-08 08:47:18 UTC MAIN commitmail json YAML

2019-03-08 08:35:59 UTC MAIN commitmail json YAML

2019-03-08 08:24:41 UTC MAIN commitmail json YAML

Remove Pp without effect.

(wiz)

2019-03-08 08:19:56 UTC MAIN commitmail json YAML

XDM Xresources has been extended and the new values are important for proper
working of newer XDM. Check for the missing values and ask the user to
fix manually.

(martin)

2019-03-08 08:12:40 UTC MAIN commitmail json YAML

2019-03-08 07:10:55 UTC MAIN commitmail json YAML

2019-03-08 07:10:27 UTC MAIN commitmail json YAML

Add yyASIX and AX88772* devices.

(msaitoh)

2019-03-08 07:08:49 UTC MAIN commitmail json YAML

Cleanup xx or yy OUIs. Sort by number.

(msaitoh)

2019-03-08 05:26:21 UTC MAIN commitmail json YAML

2019-03-08 05:26:04 UTC MAIN commitmail json YAML

Fix I82578 OUI. This change only affects to MIIVERBOSE.
See also if_wm.c rev. 1.599.

(msaitoh)

2019-03-08 03:44:47 UTC MAIN commitmail json YAML

2019-03-08 03:44:19 UTC MAIN commitmail json YAML

- Add other two Core 8G host bridges.
- Add Intel Xeon E devices.

(msaitoh)

2019-03-08 03:12:28 UTC MAIN commitmail json YAML

on m68010 set BOZO_WRSZ to 16k and BOZO_WRSZ to 64k.

(mrg)

2019-03-08 03:05:15 UTC MAIN commitmail json YAML

2019-03-08 02:53:22 UTC MAIN commitmail json YAML

drm_gem_cma_fault() is a UVM fault function.  return netbsd errnos.

(mrg)

2019-03-07 22:08:59 UTC MAIN commitmail json YAML

fix memory allocation problems detected by jemalloc...

(christos)

2019-03-07 18:32:10 UTC MAIN commitmail json YAML

Mmh, fix len, mh_size includes the malloc header, but we don't redzone it.

(maxv)

2019-03-07 17:43:03 UTC netbsd-8 commitmail json YAML

2019-03-07 17:38:59 UTC netbsd-8 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1209:

sys/dev/pci/if_bge.c 1.323-1.327
sys/dev/pci/if_bgereg.h 1.95
sys/dev/mii/brgphy.c 1.80
share/man/man4/bge.4 1.16

- Add BCM5717's another device ID support.
- Add BCM5702FE, another BCM5704S and SysKonnect SK-9Mxx support.
- Add support for BCM5762 ASIC devices.
- Add BCM5762, BCM5725, BCM5727, BCM57764, BCM57767 and BCM57787.
- Simplify PCI device table.
- Add /* FALLTHROUGH */

(martin)

2019-03-07 17:22:19 UTC netbsd-8 commitmail json YAML

2019-03-07 17:19:38 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/makphy.c: revision 1.53

- Add 88E1240.
- Rename E1116R_29 to E1318S

(martin)

2019-03-07 17:17:09 UTC netbsd-8 commitmail json YAML

2019-03-07 17:16:40 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/miidevs: revision 1.140
sys/dev/mii/miidevs: revision 1.141
sys/dev/mii/miidevs: revision 1.142
sys/dev/mii/miidevs: revision 1.143
sys/dev/mii/miidevs: revision 1.144
sys/dev/mii/miidevs: revision 1.133
sys/dev/mii/miidevs: revision 1.134
sys/dev/mii/miidevs: revision 1.135
sys/dev/mii/miidevs: revision 1.136
sys/dev/mii/miidevs: revision 1.137
sys/dev/mii/miidevs: revision 1.138
sys/dev/mii/miidevs: revision 1.139

- Add Marvell 88E1240.
- Marvell model 0x0029 is not 88E1116R but E1318S.

Add RTL8201E from OpenBSD.

From OpenBSD:
  - Add ASIX OUI.
  - Add VIA OUI and devices.
  - Add Vitesse OUI and devices.
From FreeBSD:
  - Add BROADCOM4.

- Add Tridium, Data Track Technology, Netas, Ralink Technology,
  Sunplus Technology and ADMtek's OUI.

- Sort by OUI.
  Sort by model number.

From FreeBSD:
  - Add Broadcom BCM540[24], BCM5424, BCM5466 and BCM54[78]8.
  - Add ICS1893C.
  - Add Micrel KSZ8081 and KSZ9031.

- Sort by model number.

- Add missing white space.

  Change CS8244's OUI from xxCICADA to CICADA. I don't know whether this
change is correct or not...
  Sort in alphabetical order a bit.
  Add non-xx'ed DAVICOM DM9101.

- Add SMSC LAN83C185 10/100 PHY from OpenBSD
- Add SMSC LAN8740 10/100 media interface
  Add SMSC(now Microchip) LAN8741A and LAN8742

(martin)

2019-03-07 17:11:53 UTC netbsd-8 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1206:

sys/dev/pci/if_wmreg.h 1.113
sys/dev/pci/if_wmvar.h 1.43-1.44
sys/dev/pci/if_wm.c 1.626-1.627, 1.629-1.636 via patch

- Add support for I210 SGMII Flash-less device.
- Add I219 variations for Cannon Lake.
- Add missing rnd_detach_source().
- Use  do { ... } while (0) for DPRINTF(x, y).
- Swap enumeration of 82578 and 82577 PHY in if_wmvar.h. No functional
  change.
- Add KASSERT.
- Update TODO list. Add comment. Fix typo in comment.

(martin)

2019-03-07 17:05:43 UTC netbsd-8 commitmail json YAML

2019-03-07 17:03:52 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1363
sys/dev/pci/pcidevs: revision 1.1364
sys/dev/pci/pcidevs: revision 1.1365
sys/dev/pci/pcidevs: revision 1.1366

  Add Tundra (now IDT) TSI381 and PEB383 from OpenBSD.

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

  Add SK-NET SK-9Mxx Gigabit Ethernet.

  Add Intel I219 variations for Cannon Lake.

(martin)

2019-03-07 17:01:18 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c: revision 1.28

- 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.

(martin)

2019-03-07 16:59:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1203):

sys/net/rtsock.c: revision 1.247

Protect sysctl_rtable with KERNEL_LOCK and softnet_lock

In the function the routing table could be accessed without any locks, which was
unsafe.  Actually, on netbsd-7, a kernel panic happened(*).  The situation of
locking hasn't changed since netbsd-7 so we still need to hold the big locks on
-current (and netbsd-8) too.

Note that if NET_MPSAFE is enabled, the routing table is protected by its own
lock and we don't need the locks.

Reported and tested on netbsd-7 by sborrill@
(*) http://mail-index.netbsd.org/tech-net/2018/11/08/msg007153.html

(martin)

2019-03-07 16:56:51 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1169):

bin/sleep/sleep.c: revision 1.25

Allow the decimal radix character '.' to work, regardless of
what the current locale's radix character happens to be,
while still allowing locale specific entry of fractional
seconds (ie: if you're in locale where the radix character
is ',' you san use "sleep 2.5" or "sleep 2,5" and they
accomplish the same thing).

This avoids issues with the "sleep 0.05" in rc.subr which
generated usage messages when a locale that does not use
'.' as its radix character was in use.

Reported on netbsd-users by Dima Veselov, with the problem
diagnosed by Martin Husemann

While here, tighten the arg validity checking (3+4 is
no longer permitted as a synonym of 3) and allow 0.0
to mean the same thing as 0 rather than being an error.

Also, make the SIGINFO reports a little nicer (IMO).

The ATF tests for sleep all pass (not that that means a lot).

(martin)

2019-03-07 16:52:15 UTC netbsd-7-0 commitmail json YAML

2019-03-07 16:51:51 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1682):

sys/dev/scsipi/st.c: revision 1.236 (patch)
sys/dev/scsipi/st.c: revision 1.237
sys/dev/scsipi/files.scsipi: revision 1.42

Fix PR kern/53949:
Fix inconsistent/incomplete file mark handling to conform again
to mtio(4) at close(2) time. This was necessary as the PREVENT/ALLOW
bracket was reduced from a whole mount session to cover only the
open(2)/close(2) time on ~2002-03-22. The rationale was to allow
robots and humans to change the media during a mount session.

Unfortunately this lead to file marks being written to potentially other
media at the beginning on drives that used the two file marks as EOM
pattern. In order for that to happen the media had to be removed after
data and at most one file mark had been written before removal.

The mount error message has been clarified and a warning about
potential data/file mark lossage on UNIT ATTENTION
during an active mount session with unfinished file marks has been
added.

While there, fix, but disable the commented SUN compatibility to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.

It can now be enabled with options ST_SUNCOMPAT.

Additionally debug output coverage has been extended.

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

Fixes build with kUBSan on NetBSD/i386.

Fix, but disable the commented SUN compatibility in st.c to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.
It can now be enabled with options ST_SUNCOMPAT.

(martin)

2019-03-07 16:51:23 UTC netbsd-7-1 commitmail json YAML

2019-03-07 16:50:58 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1682):

sys/dev/scsipi/st.c: revision 1.236 (patch)
sys/dev/scsipi/st.c: revision 1.237
sys/dev/scsipi/files.scsipi: revision 1.42

Fix PR kern/53949:
Fix inconsistent/incomplete file mark handling to conform again
to mtio(4) at close(2) time. This was necessary as the PREVENT/ALLOW
bracket was reduced from a whole mount session to cover only the
open(2)/close(2) time on ~2002-03-22. The rationale was to allow
robots and humans to change the media during a mount session.

Unfortunately this lead to file marks being written to potentially other
media at the beginning on drives that used the two file marks as EOM
pattern. In order for that to happen the media had to be removed after
data and at most one file mark had been written before removal.

The mount error message has been clarified and a warning about
potential data/file mark lossage on UNIT ATTENTION
during an active mount session with unfinished file marks has been
added.

While there, fix, but disable the commented SUN compatibility to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.

It can now be enabled with options ST_SUNCOMPAT.

Additionally debug output coverage has been extended.

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

Fixes build with kUBSan on NetBSD/i386.

Fix, but disable the commented SUN compatibility in st.c to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.
It can now be enabled with options ST_SUNCOMPAT.

(martin)

2019-03-07 16:49:40 UTC netbsd-7 commitmail json YAML

2019-03-07 16:49:10 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1682):

sys/dev/scsipi/st.c: revision 1.236 (patch)
sys/dev/scsipi/st.c: revision 1.237
sys/dev/scsipi/files.scsipi: revision 1.42

Fix PR kern/53949:
Fix inconsistent/incomplete file mark handling to conform again
to mtio(4) at close(2) time. This was necessary as the PREVENT/ALLOW
bracket was reduced from a whole mount session to cover only the
open(2)/close(2) time on ~2002-03-22. The rationale was to allow
robots and humans to change the media during a mount session.

Unfortunately this lead to file marks being written to potentially other
media at the beginning on drives that used the two file marks as EOM
pattern. In order for that to happen the media had to be removed after
data and at most one file mark had been written before removal.

The mount error message has been clarified and a warning about
potential data/file mark lossage on UNIT ATTENTION
during an active mount session with unfinished file marks has been
added.

While there, fix, but disable the commented SUN compatibility to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.

It can now be enabled with options ST_SUNCOMPAT.

Additionally debug output coverage has been extended.

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

Fixes build with kUBSan on NetBSD/i386.

Fix, but disable the commented SUN compatibility in st.c to write
final file marks by opening and immediately closing the device
in O_WRONLY mode. That code has not been working since around 1998.
It can now be enabled with options ST_SUNCOMPAT.

(martin)

2019-03-07 15:47:34 UTC MAIN commitmail json YAML

Micro optimizations:

- Compress x86_rexpref, x86_regmodrm, x86_opcode and x86_instr.
- Cache-align the register, opcode and group tables.
- Modify the opcode tables to have 256 entries, and avoid a lookup.

(maxv)

2019-03-07 15:22:22 UTC MAIN commitmail json YAML

Rename the internal NVMM HVA table entries from "segment" to "hmapping",
less confusing. Also fix the error handling in nvmm_hva_unmap().

(maxv)

2019-03-07 15:06:37 UTC MAIN commitmail json YAML

Parse EXC_NMI on nvmm-intel, and don't return NVMM_EXIT_INVALID if we
received a host NMI, otherwise the guest could get killed if an NMI comes
in, typically when the host runs tprof at the same time.

Already handled on nvmm-amd.

(maxv)

2019-03-07 14:55:49 UTC MAIN commitmail json YAML

add SIOCS80211CHANNEL special handling in monitor mode (from OpenBSD)

(christos)

2019-03-07 14:40:35 UTC MAIN commitmail json YAML

Introduce a new set of PTE bits, with a different naming convention.

PG_V      -> PTE_P        /* Present */
PG_RW    -> PTE_W        /* Write */
PG_u      -> PTE_U        /* User */
PG_WT    -> PTE_PWT      /* Write-Through */
PG_N      -> PTE_PCD      /* Cache-Disable */
PG_U      -> PTE_A        /* Accessed */
PG_M      -> PTE_D        /* Dirty */
PG_PAT    -> PTE_PAT      /* PAT on 4KB Pages */
PG_PS    -> PTE_PS      /* Large Page Size */
PG_G      -> PTE_G        /* Global Translation */
PG_AVAIL1 -> PTE_AVL1    /* Ignored by Hardware */
PG_AVAIL2 -> PTE_AVL2    /* Ignored by Hardware */
PG_AVAIL3 -> PTE_AVL3    /* Ignored by Hardware */
PG_LGPAT  -> PTE_LGPAT    /* PAT on Large Pages */
PG_NX    -> PTE_NX      /* No Execute */

Until now we were using "PG_BIT". The "BIT" part of the naming did not
follow the x86 naming convention in the spec, and was very confusing. We
don't want the "PG_" part of it either, because UVM has similar flags
(ie PG_BUSY).

(maxv)

2019-03-07 14:39:21 UTC MAIN commitmail json YAML

Case to uintptr_t instead of using __BIT to fix 32-bit builds.

(roy)

2019-03-07 14:02:16 UTC MAIN commitmail json YAML

Fix previous. Pass phy_id correctly.

(msaitoh)

2019-03-07 14:00:25 UTC MAIN commitmail json YAML

2019-03-07 13:26:25 UTC MAIN commitmail json YAML

2019-03-07 13:02:13 UTC MAIN commitmail json YAML

Style, and remove useless comments.

(maxv)

2019-03-07 12:29:14 UTC MAIN commitmail json YAML

2019-03-07 12:22:43 UTC MAIN commitmail json YAML

2019-03-07 12:07:42 UTC MAIN commitmail json YAML

rbtree: Use __BIT macro to avoid a lot of compiler warnings

(roy)

2019-03-07 12:05:54 UTC MAIN commitmail json YAML

rbtree(3): Implement _FOREACH_SAFE macros

And _NEXT and _PREV as well.

(roy)

2019-03-07 11:09:48 UTC MAIN commitmail json YAML

Change vn_openchk() to fail VNON and VBAD with error ENXIO.

Reported-by: syzbot+d66b1be08516a4d2d2b2@syzkaller.appspotmail.com
Reported-by: syzbot+c5eaef5a8af535c3b217@syzkaller.appspotmail.com

(hannken)

2019-03-07 11:09:10 UTC MAIN commitmail json YAML

Change "fli_alias" to point to the corresponding "fstrans_lwp_info".

Fix fstrans_clear_lwp_info() list traversal, remove already advanced
the list pointer.

(hannken)

2019-03-07 10:16:07 UTC MAIN commitmail json YAML

Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

(nonaka)

2019-03-07 03:56:16 UTC MAIN commitmail json YAML

build libutil_ul and link it into fontconfig.  this should not change
the output as no functions will be consumed by fontconfig yet, but
will be used in an update shortly.

(mrg)

2019-03-07 03:53:51 UTC MAIN commitmail json YAML

build glue libuuid_ul from util-linux's libuuid, with renamed functions,
as a private library so that fontconfig can link it in.

provide a randutils.h compat as the generic util-linux one is GPL.

(mrg)

2019-03-07 03:51:39 UTC MAIN commitmail json YAML

remove some unnecessary code:
- win32
- other comapt code
- uuid daemon code
- TLS code
- unused functions and features

(mrg)

2019-03-07 03:27:14 UTC MAIN commitmail json YAML

2019-03-07 03:26:54 UTC MAIN commitmail json YAML

Add SMSC(Microchip) LAN911X and LAN75XX.

(msaitoh)

2019-03-07 00:35:22 UTC MAIN commitmail json YAML

Add RK3399 PCIe host bridge support.

Not enabled yet due to occasional hangs during boot, and needing
__BUS_SPACE_HAS_PROBING_METHODS enabled.

Uses slightly non-standard DT bindings to avoid suboptimality of the
Linux binding.  This allows for much more flexibility and efficency
in allotment of the limited apertures into PCI spaces.

(jakllsch)

2019-03-06 19:36:59 UTC MAIN commitmail json YAML

Enable WSDISPLAY_SCROLLSUPPORT in evbarm GENERICs.

(jakllsch)

2019-03-06 19:16:53 UTC MAIN commitmail json YAML

Hint more strongly that "#if maybenever" is also "#if notyet".

(jakllsch)

2019-03-06 19:09:36 UTC MAIN commitmail json YAML

2019-03-06 12:40:23 UTC MAIN commitmail json YAML

2019-03-06 11:05:18 UTC MAIN commitmail json YAML

2019-03-06 10:58:36 UTC MAIN commitmail json YAML

2019-03-06 08:08:25 UTC MAIN commitmail json YAML

Make m_devget()'s 3rd argument to 0 again.

(msaitoh)

2019-03-06 07:21:55 UTC MAIN commitmail json YAML

Apply fix for CVE-2016-3189 bzip2: heap use after free in bzip2recover

(martin)

2019-03-06 05:59:25 UTC MAIN commitmail json YAML

don't use ERE in sed.  fortunately, thes strings are all at the
end of the line so we can anchor them with (make processed) $$.

i now have fonts that i can see again in xdm.

(mrg)

2019-03-06 05:21:50 UTC MAIN commitmail json YAML

- clean up a little and avoid leaving partial files
- put SEDSCRIPTS into FILES vs CONFIGFILES, so they're install properly

(mrg)

2019-03-06 05:11:13 UTC MAIN commitmail json YAML

make ext2fs rev1 the default.  this enables LARGEFILES support.

(mrg)

2019-03-06 05:08:21 UTC MAIN commitmail json YAML

merge our changes and their changes across the last few xdm releases.

(mrg)

2019-03-06 04:46:41 UTC MAIN commitmail json YAML

2019-03-06 04:46:17 UTC MAIN commitmail json YAML

Add SMSC(now Microchip) LAN8741A and LAN8742

(msaitoh)

2019-03-06 04:43:50 UTC MAIN commitmail json YAML

2019-03-06 03:38:30 UTC MAIN commitmail json YAML

2019-03-06 02:44:05 UTC MAIN commitmail json YAML

2019-03-06 01:20:15 UTC MAIN commitmail json YAML

2019-03-06 01:14:10 UTC MAIN commitmail json YAML

2019-03-06 01:13:39 UTC MAIN commitmail json YAML

2019-03-05 22:51:36 UTC MAIN commitmail json YAML

2019-03-05 22:49:38 UTC MAIN commitmail json YAML

Jemalloc initializes mutexes before we become threaded and expects to use
them later.

(christos)

2019-03-05 22:45:11 UTC MAIN commitmail json YAML

2019-03-05 22:39:21 UTC MAIN commitmail json YAML

Add some XXX for things I need to fix later, and fix some of the hard-coding.

(christos)

2019-03-05 22:37:39 UTC MAIN commitmail json YAML

2019-03-05 22:35:45 UTC MAIN commitmail json YAML

2019-03-05 15:18:59 UTC MAIN commitmail json YAML

Check that the previous link exists before merging it.
XXX: Is that right? Fixing this makes the h_resolve test work.

(christos)

2019-03-05 11:44:22 UTC MAIN commitmail json YAML

Add bcm2837-rpi-cm3-io3.dts, rk3399-ficus.dts, rk3399-gru-bob.dts, rk3399-roc-pc.dts, rk3399-rock960.dts, sun50i-h5-bananapi-m2-plus-v1.2.dts, sun50i-h5-bananapi-m2-plus.dts, sun50i-h6-orangepi-one-plus.dts

(jmcneill)

2019-03-05 11:41:13 UTC MAIN commitmail json YAML

Add meson8b-ec100.dts, sun8i-h3-bananapi-m2-plus-v1.2.dts, sun8i-h3-orangepi-zero-plus2.dts, tegra124-apalis-v1.2-eval.dts

(jmcneill)

2019-03-05 11:25:01 UTC MAIN commitmail json YAML

Add DTS for Raspberry Pi Compute Module 3 IO board V3.0

(jmcneill)

2019-03-05 10:26:08 UTC MAIN commitmail json YAML

It's not required to calculate unused queues' statistics.

(msaitoh)

2019-03-05 09:42:36 UTC MAIN commitmail json YAML

NetBSD currently uses traffic class 0 only. Other traffic classes aren't used
yet. When IXGBE_TC_COUNTER_NUM is set to lower than IXGBE_DCB_MAX_TRAFFIC_CLASS
(e.g. 1), other traffic classes' counters are not used. It means we don't
generate evcnt for them and don't add the values in
ixgbe_update_stats_counters().

(msaitoh)

2019-03-05 09:08:51 UTC MAIN commitmail json YAML

2019-03-05 08:35:35 UTC MAIN commitmail json YAML

update for xdm 1.1.12:

- streams.c is gone (hello 2019!)
- man pages other file convert from cpp to sed processing

(mrg)

2019-03-05 08:34:27 UTC MAIN commitmail json YAML

2019-03-05 08:25:03 UTC MAIN commitmail json YAML

2019-03-05 08:17:44 UTC MAIN commitmail json YAML

Avoid unitialized use warning.

(martin)

2019-03-05 08:16:53 UTC MAIN commitmail json YAML

Catch up with MI pci changes to fix compile error.

(msaitoh)

2019-03-05 06:03:27 UTC MAIN commitmail json YAML

2019-03-05 03:49:06 UTC MAIN commitmail json YAML

Add Intel I219 variations for Cannon Lake.

(msaitoh)

2019-03-05 03:48:24 UTC MAIN commitmail json YAML

2019-03-05 03:47:57 UTC MAIN commitmail json YAML

Add Intel I219 variations for Cannon Lake.

(msaitoh)

2019-03-05 02:13:15 UTC MAIN commitmail json YAML

mii_phy_add_media() automatically install power handler, but if_media_add()
doesn't. When mii_phy_add_media() isn't used, call pmf_device_register().

(msaitoh)

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

Transfer all the keys that were created in the libc stub implementation
to the pthread tsd implementation when the main thread is created.
This corrects a problem where a process created keys before libpthread
was loaded (either from the libc constructor or because libpthread
was dlopened later). This fixes a problem with jemalloc which creates
keys in the constructor.

(christos)

2019-03-04 23:03:10 UTC MAIN commitmail json YAML

2019-03-04 21:19:58 UTC MAIN commitmail json YAML

Switch back amd64 to the old jemalloc. We have some pthread unit-tests
failing.

(christos)

2019-03-04 20:22:04 UTC MAIN commitmail json YAML

2019-03-04 20:21:18 UTC MAIN commitmail json YAML

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

2019-03-04 20:06:31 UTC MAIN commitmail json YAML

2019-03-04 20:06:11 UTC MAIN commitmail json YAML

2019-03-04 20:05:19 UTC MAIN commitmail json YAML

2019-03-04 20:05:01 UTC MAIN commitmail json YAML

2019-03-04 20:04:43 UTC MAIN commitmail json YAML

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

2019-03-04 20:04:09 UTC MAIN commitmail json YAML

2019-03-04 20:03:53 UTC MAIN commitmail json YAML

2019-03-04 20:03:00 UTC MAIN commitmail json YAML

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

2019-03-04 20:01:59 UTC MAIN commitmail json YAML

2019-03-04 20:01:42 UTC MAIN commitmail json YAML

use __format_arg__ to check format arguments.

(christos)

2019-03-04 19:41:51 UTC MAIN commitmail json YAML

no need to elide format-non-literal

(christos)