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:58:27 UTC Now

2019-08-26 13:58:19 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #112):

sys/dev/pci/pcidevs: revision 1.1384

add micron/crucial SM2263 nvme.
add some device found on asus x570-p with ryzen 3200G cpu.
spell it "PCIe' when using the name.

(martin)

2019-08-26 13:55:36 UTC netbsd-9 commitmail json YAML

2019-08-26 13:54:42 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #111):

sys/dev/usb/usbdevs: revision 1.771
sys/dev/usb/usbdevs: revision 1.772
sys/dev/usb/usbdevs: revision 1.773

add 3 devices for upl(4) host-to-host networking:
- belkin F5U258
- national instruments USB host to host adapter
- prolific id 25a1

-

add two kue(4) adapters:
ACTIONTEC KL5KUSB101 USB Ethernet adapter
ALLIEDTELESYN AT-USB10 USB Ethernet Adapter

-

add MosChip MCS7730 and Sitecom Europe LN030 ethernet adapters.

(martin)

2019-08-26 13:42:36 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #109):

sys/net/route.h: revision 1.124
sys/netinet6/nd6.c: revision 1.258
sys/netinet6/nd6.c: revision 1.259
sys/net/rtsock.c: revision 1.251
sys/netinet/if_arp.c: revision 1.284
sys/netinet6/nd6_nbr.c: revision 1.167

rtsock: rework rt_clonedmsg to take a message type and lladdr

We will use this in a future patch to notify userland of lladdr
changes.

XXX pullup -8 -9

-

nd6: notify userland of neighbour lla updates once more

XXX pullup -8 -9

(martin)

2019-08-26 13:37:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #108):

sbin/route/route.c: revision 1.161

route(8): print RTM_CHANGE messages
XXX Pullup -9

(martin)

2019-08-26 13:36:01 UTC netbsd-9 commitmail json YAML

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

sys/external/gpl2/dts/dist/arch/arm/boot/dts/bcm2835-rpi.dtsi: revision 1.6

Revert a change I made to this file a long time ago so that is now matches
linux mainline again.  This fixes the rpi0w..

Tested on rpi0 and rpi0w by Jun Ebihara

PR/53284 (Support RPI3B+,RPI0W,RPI2-1.2)

(martin)

2019-08-26 13:33:08 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #106):

distrib/sets/lists/base/shl.mi: revision 1.867

Remove obsolete entry for libgomp.so.1.2.

Upgrading from netbsd-8 to netbsd-9 removes this library file, but some
programs (eg. packages compiled on netbsd-8) still use it.

(martin)

2019-08-26 13:26:07 UTC netbsd-9 commitmail json YAML

2019-08-26 13:24:19 UTC netbsd-9 commitmail json YAML

Backout pullup of rev.1.33, requested by kamil in ticket #22: this
will need further work, there is still on going discussion in -current,
and this intermediate state breaks 3rd party code.

(martin)

2019-08-26 13:17:02 UTC netbsd-8 commitmail json YAML

2019-08-26 13:15:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #1344):

sys/dev/sysmon/sysmon.c: revision 1.30

Module class of sysmon_envsys, sysmon_wdog and sysmon_power is
MODULE_CLASS_DRIVER, not MODULE_CLASS_MISC.

Fix that invoking envsys without sysmon_envsys kernel module failes with:
WARNING: module error: incompatible module class for `sysmon_envsys' (1 != 3)

(martin)

2019-08-26 12:14:06 UTC MAIN commitmail json YAML

Fix a bug when installing to pre-exising GPT partitions.
Handle GPT labels with spaces.

(martin)

2019-08-26 10:35:35 UTC MAIN commitmail json YAML

Revert r1.254, put back || for KASAN, some destructors like lwp_dtor()
caused false positives. Needs more work.

(maxv)

2019-08-26 10:24:39 UTC MAIN commitmail json YAML

Change buf_nbuf()'s return value from int to u_int to avoid undefined
behavior in wapbl_start() which extended int to size_t.

Error message was:
> UBSan: Undefined Behavior in ../../../../kern/vfs_wapbl.c:609:41, signed integer overflow: 3345138 * 1024 cannot be represented in type 'int'

>        /* XXX maybe use filesystem fragment size instead of 1024 */
>        /* XXX fix actual number of buffers reserved per filesystem. */
>        wl->wl_bufcount_max = (buf_nbuf() / 2) * 1024;

Need more work?

(msaitoh)

2019-08-26 10:19:08 UTC MAIN commitmail json YAML

Reject negative offsets, to prevent panics later in genfs_getpages().

(maxv)

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

Module class of sysmon_envsys, sysmon_wdog and sysmon_power is
MODULE_CLASS_DRIVER, not MODULE_CLASS_MISC.

Fix that invoking envsys without sysmon_envsys kernel module failes with:
WARNING: module error: incompatible module class for `sysmon_envsys' (1 != 3)

(nakayama)

2019-08-26 07:41:51 UTC MAIN commitmail json YAML

tests: add tests for IPv6 link-local addresses with a scope ID

Setting an address with a scope ID doesn't work for rump.ifconfig for some
reasons and needs $HIJACKING for now.  The bug should be fixed someday.

(ozaki-r)

2019-08-26 04:50:32 UTC MAIN commitmail json YAML

tests: explain how rump_server_check_memleaks works

(ozaki-r)

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

tests: restore rump_server_check_poolleaks for llentpl

It didn't work correctly because rumphijack for vmstat didn't work expectedly;
vmstat has the sgid bit for kvm(3) and that prevents rumphijack from working.

Address the issue by cloning a vmstat binary without the sgid bit temporarily
and using it for rumphijack.  Note that it's a workaround.  vmstat should stop
using kvm(3) for /dev/kmem and drop the sgid bit eventually.

(ozaki-r)

2019-08-26 04:49:47 UTC MAIN commitmail json YAML

Correct the build rules of LLVM sanitizers

Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.

(kamil)

2019-08-26 02:02:16 UTC MAIN commitmail json YAML

regen with new moschip/sitcom adapters.

(mrg)

2019-08-26 02:01:18 UTC MAIN commitmail json YAML

add MosChip MCS7730 and Sitecom Europe LN030 ethernet adapters.

(mrg)

2019-08-25 18:59:53 UTC MAIN commitmail json YAML

Fix feraiseexcept.

- Don't touch the trap flags (though on all ARMv8 I know they have no
  effect anyway).

- Don't clear any existing raised exception flags; just add to them.

XXX atf test
XXX pullup-9

(riastradh)

2019-08-25 18:31:30 UTC MAIN commitmail json YAML

Fix fesetenv and feupdateenv.

- fesetenv is supposed to set the stored rounding mode (and stored trap
  settings, but they have no effect on any ARMv8 I know).

- feupdateenv is supposed to re-raise the exceptions that were raised
  in the environment when it was called.

XXX atf test
XXX pullup-9

(riastradh)

2019-08-25 17:38:25 UTC MAIN commitmail json YAML

ake npfctl_switch() and pfil private to OS-specific module.

(rmind)

2019-08-25 16:38:21 UTC MAIN commitmail json YAML

Move PACKET_TAG_NPF where it belongs to.

(rmind)

2019-08-25 13:21:04 UTC MAIN commitmail json YAML

2019-08-25 07:10:30 UTC MAIN commitmail json YAML

Fix the size passed to memcpy, we only want 8 bytes. Found by KASAN.

(maxv)

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

Rework the LLVM compiler_rt build rules

Register external/bsd/compiler_rt as a _SUBDIR. This will allow to handle
properly includes specific for compiler_rt.

Centralize build_install target for external/bsd/compiler_rt.

With the above changes MKOBJDIR is now respected properly for me.

Do not install LLVM sanitizers into TOOLDIR for !HAVE_LLVM.

(kamil)

2019-08-24 14:21:13 UTC MAIN commitmail json YAML

I don't see the point in having this useless printf, but add a '\n' to it,
so that it at least displays useless stuff correctly.

(maxv)

2019-08-24 14:18:43 UTC MAIN commitmail json YAML

2019-08-24 14:08:35 UTC MAIN commitmail json YAML

Hum, don't pass an mbuf to realloc(). Inspired from copyin32_msg_control().

(maxv)

2019-08-24 13:20:52 UTC MAIN commitmail json YAML

libnpf fix: link the library itself to libnv; libnpf users should not be
expected to assume this dependency.

(rmind)

2019-08-24 12:59:34 UTC MAIN commitmail json YAML

Add missing dmu_zfetch_fini() when dnode_create() lost the race.

(hannken)

2019-08-24 12:59:06 UTC MAIN commitmail json YAML

2019-08-24 12:58:25 UTC MAIN commitmail json YAML

2019-08-24 12:33:25 UTC MAIN commitmail json YAML

Don't read data from userland directly. This simply does not work on any
recent x86 CPU (thanks to SMAP) and all architectures that forbid direct
access to userland from the kernel. But I guess no one noticed because no
one ever uses compat_linux, right?

(maxv)

2019-08-24 11:51:26 UTC MAIN commitmail json YAML

bus_dmamap_load_raw: support coherent mappings
bus_dmamap_sync: support syncing "raw" buffer types

(jmcneill)

2019-08-24 11:40:38 UTC MAIN commitmail json YAML

2019-08-24 11:40:22 UTC MAIN commitmail json YAML

Add Mellanox ConnectX-4, ConnectX-4 Lx, ConnectX-5, and ConnectX-5 Ex

(jmcneill)

2019-08-24 11:24:17 UTC MAIN commitmail json YAML

2019-08-24 11:24:00 UTC MAIN commitmail json YAML

2019-08-24 07:43:00 UTC MAIN commitmail json YAML

don't try to deref a maybe-NULL pointer.  instead of logging
potentially garbage (if not NULL), log the request length.

(mrg)

2019-08-24 07:39:42 UTC MAIN commitmail json YAML

Revert about index number changes.  It breaks its usage and output format.
Pointed out by mrg@.

(isaki)

2019-08-24 06:32:25 UTC MAIN commitmail json YAML

Create a waveform in hardware native sample rate which is more efficient.

(isaki)

2019-08-24 06:16:27 UTC MAIN commitmail json YAML

AUDIO_GETBUFINFO is more efficient for this purpose.

(isaki)

2019-08-24 06:13:01 UTC MAIN commitmail json YAML

Fix markup.  index of list command is optional.

(isaki)

2019-08-24 06:11:10 UTC MAIN commitmail json YAML

Make the same code that appears repeatedly a function.

(isaki)

2019-08-24 06:00:49 UTC MAIN commitmail json YAML

Use err(3)/warn(3) instead of perror(3)/fprintf(stderr,...).
Use getprogname(3) for usage().

(isaki)

2019-08-24 05:51:06 UTC MAIN commitmail json YAML

2019-08-24 05:45:25 UTC MAIN commitmail json YAML

Use device unit number for index.
The index number was too confusing such as
0: [ ] audio1 @ wss0
1: [*] audio0 @ yds0
in my PC for example.  Here is new format:
[*] audio0 @ yds0
[ ] audio1 @ wss0
In this style, devices are always listed in order of unit number
and 0 always means audio0, 1 always means audio1.

(isaki)

2019-08-24 04:04:10 UTC MAIN commitmail json YAML

Revert to use single descriptor for "audiocfg test" as before.

(isaki)

2019-08-24 03:28:38 UTC MAIN commitmail json YAML

Rename some members in adev for clarity.  No functional changes intended.

(isaki)

2019-08-23 19:26:03 UTC MAIN commitmail json YAML

Fix LLVM sanitizer build by GCC (HAVE_LLVM=no)

Do not error if a priority from 0 to 100 is used for constructor or
destructor.

Use -Wno-error to silence all errors from this warning type. There should
be used -Wno-prio-ctor-dtor, but it's not supported by GCC7.

(kamil)

2019-08-23 14:48:51 UTC MAIN commitmail json YAML

Avoids signedness bit shift in db_get_value()

Appease UBSan.

(kamil)

2019-08-23 14:12:39 UTC MAIN commitmail json YAML

2019-08-23 13:59:45 UTC MAIN commitmail json YAML

2019-08-23 13:49:12 UTC MAIN commitmail json YAML

Hum, don't forget the 'pid' argument, otherwise we're not gonna go very
far.

(maxv)

2019-08-23 13:36:45 UTC MAIN commitmail json YAML

2019-08-23 12:49:59 UTC MAIN commitmail json YAML

Put the printf under DEBUG_LINUX.

(maxv)

2019-08-23 12:42:14 UTC MAIN commitmail json YAML

Fix error handling, returns an errno, not -1.

(maxv)

2019-08-23 12:09:18 UTC MAIN commitmail json YAML

Add a default case, don't call sys_ioctl() with an uninitialized 'com'
argument.

(maxv)

2019-08-23 11:19:39 UTC MAIN commitmail json YAML

When dealing with an unknown value, set -1, to prevent (harmless)
uninitialized accesses later.

(maxv)

2019-08-23 11:09:14 UTC MAIN commitmail json YAML

2019-08-23 10:31:14 UTC MAIN commitmail json YAML

2019-08-23 10:22:15 UTC MAIN commitmail json YAML

Fix stupid bugs in linux_sys_shmctl(): the index could be out of bound
(page fault) and there was no proper locking.

Maybe we should just remove LINUX_SHM_STAT, like compat_linux32.

(maxv)

2019-08-23 09:41:26 UTC MAIN commitmail json YAML

Add missing mutex, we were hitting a KASSERT.

(maxv)

2019-08-23 08:45:25 UTC MAIN commitmail json YAML

aue depends upon usbnet

(mrg)

2019-08-23 08:31:12 UTC MAIN commitmail json YAML

2019-08-23 08:17:28 UTC MAIN commitmail json YAML

2019-08-23 08:01:43 UTC MAIN commitmail json YAML

2019-08-23 07:53:37 UTC MAIN commitmail json YAML

2019-08-23 07:29:29 UTC MAIN commitmail json YAML

update the list of splusb drivers (it's grown unfortunately) and
explicitly state that they should be converted.

(mrg)

2019-08-23 07:17:31 UTC MAIN commitmail json YAML

avoid using old bsd types (u_int etc) so that this compiles with
_POSIX_C_SOURCE as noted in PR#48339.

(mrg)

2019-08-23 07:14:35 UTC MAIN commitmail json YAML

Mark up NULL. Capitalize NetBSD.

(wiz)

2019-08-23 07:13:03 UTC MAIN commitmail json YAML

- remove items that are fixed (usually in the distant past)
- usbnet is (almost) done for non wifi
- non trivial usbdi documentation exists now

(mrg)

2019-08-23 06:59:52 UTC MAIN commitmail json YAML

2019-08-23 06:54:54 UTC MAIN commitmail json YAML

2019-08-23 06:47:58 UTC MAIN commitmail json YAML

2019-08-23 06:39:54 UTC MAIN commitmail json YAML

2019-08-23 06:38:27 UTC MAIN commitmail json YAML

Enhance MKSANITIZER support

Add i386 support for LLVM sanitizers.

Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as sanitizers need
to link with libs and sanitized programs must link with sanitizer runtimes.

(kamil)

2019-08-23 05:37:05 UTC MAIN commitmail json YAML

update for usbnet_mii and read/write reg return change.

(mrg)

2019-08-23 04:34:51 UTC MAIN commitmail json YAML

convert aue(4) to usbnet(9).

besides the not-enabled umb(4), this completes the conversion
of all the non-wifi usb network devices.

(mrg)

2019-08-23 04:34:01 UTC MAIN commitmail json YAML

convert a debug message to an error message.  will help more quickly
identify next time xhci version changes.

(mrg)

2019-08-23 04:32:57 UTC MAIN commitmail json YAML

2019-08-23 04:29:28 UTC MAIN commitmail json YAML

- remove unused uncd_rx_cnt
- add USBNETHIST_CALLARGSN and use it in many places
- add more history logs
- add a log if watchdog abort leaves uncd_tx_cnt non zero
- add a unique (32-bit) number for a each usbnet device and
  use it for logging
- explicitly check for full tx ring in usbnet_start_locked()
  and return early, which avoids setting the 5 second timer
  and triggering a watchdog
- reset uncd_tx_prod and uncd_tx_cnt to zero in stop

(mrg)

2019-08-23 04:24:01 UTC netbsd-9 commitmail json YAML

2019-08-23 04:22:49 UTC netbsd-9 commitmail json YAML

Pullup the following revision (requested by martin in ticket #105):

distrib/evbarm/instkernel/sshramdisk/Makefile 1.18
distrib/evbarm/instkernel/sshramdisk/list 1.2
distrib/evbarm/instkernel/sshramdisk/sshd_config 1.2
distrib/evbarm/instkernel/sshramdisk/ssh_host_dsa_key delete
distrib/evbarm/instkernel/sshramdisk/ssh_host_rsa_key 1.1

Update to newer sshd (the host key is the same as before, it already
was a rsa key). From Harold Gutch

(msaitoh)

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

- kmem_alloc(,KM_SLEEP) never return NULL, so remove NULL check.
- VLAN ID is never duplicated, so break the loop when found. Also move
  kmen_free() outside of ETHER_LOCK(ec)/ETHER_UNLOCK(ec) to reduce the hold
  time. suggested by ozaki-r.
- Whitespace fix.

(msaitoh)

2019-08-22 22:51:47 UTC MAIN commitmail json YAML

2019-08-22 21:30:47 UTC MAIN commitmail json YAML

2019-08-22 21:22:50 UTC MAIN commitmail json YAML

nd6: notify userland of neighbour lla updates once more

XXX pullup -8 -9

(roy)

2019-08-22 21:14:46 UTC MAIN commitmail json YAML

rtsock: rework rt_clonedmsg to take a message type and lladdr

We will use this in a future patch to notify userland of lladdr
changes.

XXX pullup -8 -9

(roy)

2019-08-22 20:28:08 UTC MAIN commitmail json YAML

Use getdiskrawname to find the device name

Reviewed by Christos

(brad)

2019-08-22 20:26:07 UTC MAIN commitmail json YAML

Use getdiskrawname to find the device name.

Reviewed by Christos

(brad)

2019-08-22 20:23:43 UTC MAIN commitmail json YAML

Teach getdiskrawname and getdiskcookedname about zvols.

Reviewed by Christos

(brad)

2019-08-22 18:15:44 UTC MAIN commitmail json YAML

2019-08-22 16:10:48 UTC MAIN commitmail json YAML

route(8): print RTM_CHANGE messages

XXX Pullup -9

(roy)

2019-08-22 14:57:00 UTC MAIN commitmail json YAML

Remove adbsys.c, which has been unused since 1998!

(rin)

2019-08-22 14:52:58 UTC MAIN commitmail json YAML

2019-08-22 14:40:14 UTC MAIN commitmail json YAML

Fix assertion of "audiocfg list <n>" when n is an illegal index.

(isaki)

2019-08-22 12:47:57 UTC MAIN commitmail json YAML

Adjust GMT bias automatically by using data obtained from Mac OS,
unless RTC_OFFSET is set explicitly.

(rin)

2019-08-22 09:16:08 UTC MAIN commitmail json YAML

- move software parts into if_aue.c.
- s/Static/static/.

(mrg)

2019-08-22 08:32:34 UTC MAIN commitmail json YAML

Revert a change I made to this file a long time ago so that is now matches
linux mainline again.  This fixes the rpi0w..

Tested on rpi0 and rpi0w by Jun Ebihara

PR/53284 (Support RPI3B+,RPI0W,RPI2-1.2)

(skrll)

2019-08-22 07:38:06 UTC MAIN commitmail json YAML

fix more kernhist vs 32 bit issues.

(mrg)

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

Set NOSANITIZER in i386 ramdisk image

(kamil)

2019-08-22 00:25:18 UTC MAIN commitmail json YAML

like most things: turn debug off by default, sysctl to enable

(mrg)

2019-08-22 00:24:07 UTC MAIN commitmail json YAML

usbhist(9):
- add a USBHIST_CALLARGSN() that only prints the message if debug level is N

aue(4):
- switch from printf() to usbhist for debugging

(mrg)

2019-08-21 21:45:47 UTC MAIN commitmail json YAML

2019-08-21 21:41:54 UTC MAIN commitmail json YAML

- npftest: fix a memleak in a unit test (standalone path only).
- Minor style fixes.  No functional change.

(rmind)

2019-08-21 20:31:23 UTC MAIN commitmail json YAML

Fix the pmap_bootstrap.o dependency (it was spelt pmap_boostrap.o before)

(skrll)

2019-08-21 20:30:36 UTC MAIN commitmail json YAML

2019-08-21 17:14:26 UTC MAIN commitmail json YAML

Note import of dhcpcd-8.0.3

(roy)

2019-08-21 17:14:05 UTC MAIN commitmail json YAML

2019-08-21 17:12:19 UTC MAIN commitmail json YAML

2019-08-21 17:06:36 UTC MAIN commitmail json YAML

Remove the single-step check, it is wrong. There is no way we could
single-step on these entry points. If there were, we would be running
with the wrong GS.base, and we would have died long before.

(maxv)

2019-08-21 16:35:10 UTC MAIN commitmail json YAML

Switch from printf to panic. These messages were notorious for being
unreadable, and at least a clean panic allows the user to inspect the
system via DDB. Also simplify the output, EAX gets overwritten with
the error code so it indicates nothing meaningful.

(maxv)

2019-08-21 14:35:49 UTC netbsd-9 commitmail json YAML

2019-08-21 14:34:56 UTC netbsd-9 commitmail json YAML

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

sys/dev/usb/xhci.c: revision 1.108

typo in error message

(martin)

2019-08-21 14:33:26 UTC netbsd-8 commitmail json YAML

2019-08-21 14:32:11 UTC netbsd-8 commitmail json YAML

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

sys/uvm/uvm_aobj.c: revision 1.128

Avoid undefined behavior in uao_pagein_page(). Found by kUBSan. OK'd by
riastradh. I think this is a real bug on amd64 at least.

(martin)

2019-08-21 14:30:24 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #103):

distrib/hpcsh/miniroot/list: revision 1.11
distrib/hpcarm/miniroot/list: revision 1.11
distrib/hpcmips/miniroot/list: revision 1.19

sysctl(8) is useful to have in the install env when debugging

(martin)

2019-08-21 14:28:34 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #1341):

distrib/hpcsh/miniroot/list: revision 1.11
distrib/hpcarm/miniroot/list: revision 1.11
distrib/hpcmips/miniroot/list: revision 1.19

sysctl(8) is useful to have in the install env when debugging

(martin)

2019-08-21 13:48:37 UTC MAIN commitmail json YAML

Remove obsolete entry for libgomp.so.1.2.

Upgrading from netbsd-8 to netbsd-9 removes this library file, but some
programs (eg. packages compiled on netbsd-8) still use it.

(nakayama)

2019-08-21 12:46:56 UTC MAIN commitmail json YAML

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

Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on
whether the proc uses a user-set LDT. Same as check_sigcontext32().

(maxv)

2019-08-21 12:16:07 UTC MAIN commitmail json YAML

2019-08-21 11:11:48 UTC MAIN commitmail json YAML

Increment offset when adding an element to history to keep it aligned with
the last element entered (Sandy Li Changqing)

(christos)

2019-08-21 10:48:37 UTC MAIN commitmail json YAML

convert pairs of USBHIST_CALLED()+USBHIST_LOG*() into
USBHIST_CALLARGS() calls.  this reduces the number of
kernel history lines consumed by these callers, and
for the +LOGN versions, add useful log info to a
message that just says "called!".

reduces the line spam which means the total info in a
full log is significantly increased.

(mrg)

2019-08-21 10:01:53 UTC MAIN commitmail json YAML

Simplify ix{gbe,v}_[un]register_vlan() API suggestesd by knakahara.

The API was the same as FreeBSD's pre-iflib's. They use iflib now and it's
not required for us to keep the old API.

(msaitoh)

2019-08-21 08:28:53 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #80):
usr.sbin/installboot/Makefile: revision 1.53
usr.sbin/installboot/Makefile: revision 1.54
usr.sbin/installboot/machines.c: revision 1.41
usr.sbin/installboot/machines.c: revision 1.42
Replace black voodo linker magic (sometimes failing) with some
makefile + macro magic to trim the list of available machines on size
restricted install media.
Never trust a compiler that predefines i386 as 1 - do the symbol name
concatenation at the make level instead.

(msaitoh)

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

Make this at least compile - I have no way to test.

(martin)

2019-08-21 06:19:43 UTC MAIN commitmail json YAML

match xhci version 3.10.  allows properly finding all the USB
busses on new ryzen 3 based systems.

unfortunately, the USB busses are still non-functional.

(mrg)

2019-08-21 06:04:45 UTC MAIN commitmail json YAML

regen for new micron/crucial/amd entries, and PCIe spelling.

(mrg)

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

add micron/crucial SM2263 nvme.
add some device found on asus x570-p with ryzen 3200G cpu.
spell it "PCIe' when using the name.

(mrg)

2019-08-21 06:00:07 UTC MAIN commitmail json YAML

2019-08-21 04:51:41 UTC MAIN commitmail json YAML

2019-08-21 04:17:41 UTC MAIN commitmail json YAML

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

Whitespace fixes. No functional change.

(msaitoh)

2019-08-20 23:32:33 UTC MAIN commitmail json YAML

rk3399_iomux: add some #ifdef'd out code to enable the on-chip debug port

(tnn)

2019-08-20 21:18:10 UTC MAIN commitmail json YAML

Clean up debugging cruft that somehow made it into my previous commit.

(perseant)

2019-08-20 21:07:21 UTC MAIN commitmail json YAML

Sort options in usage.

filesystem -> file system

(wiz)

2019-08-20 20:18:54 UTC MAIN commitmail json YAML

Allow the user to specify the filesystem ID for umapfs at mount time,
allowing a consistent filesystem ID across reboots.  Closes PR #54471.

(perseant)

2019-08-20 18:43:57 UTC MAIN commitmail json YAML

Fix info leak, not all of 'pev' is initialized.

(maxv)

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

add now required includes for memcpy prototypes analogue to other hash functions

(fix the build)

(para)

2019-08-20 14:26:06 UTC MAIN commitmail json YAML

From maxv@:

1) In compat_drm_agp_info(), seems like it should be info64to32.
2) In compat_drm_getstats(), the assignments in the loop are inverted, it's
  st32 which should be set to the values of st64, not the other way around.
3) In compat_drm_dma(), again inverted 32<->64, and there is no copyout (?).
4) In compat_drm_agp_enable(), m64 is uninitialized, everything is wrong in
  this function it seems.

(christos)

2019-08-20 14:12:33 UTC MAIN commitmail json YAML

2019-08-20 14:03:56 UTC MAIN commitmail json YAML

Don't say that makeoptions DEBUG="-g" also turns on options DEBUG,
because it does not.  Fixes PR kern/54438.

(gson)

2019-08-20 12:40:19 UTC MAIN commitmail json YAML

typo in error message

(skrll)

2019-08-20 12:33:26 UTC MAIN commitmail json YAML

Fix byte order bug in murmurhash and pacify sanitizers.

(riastradh)

2019-08-20 12:33:05 UTC MAIN commitmail json YAML

New macro ALIGNED_POINTER_LOAD.

To be used with ALIGNED_POINTER(p,t) instead of writing *(const t *)p
directly.  This way, on machines without strict alignment, we can use
memcpy to pacify sanitizers, while getting the same compiled code in
the end with a single (say) MOV instruction.

(riastradh)

2019-08-20 12:26:39 UTC MAIN commitmail json YAML

2019-08-20 12:25:41 UTC MAIN commitmail json YAML

Disable netbsd32_drm.c until it receives proper review.

(maxv)

2019-08-20 12:08:17 UTC MAIN commitmail json YAML

Give syspkg name to xbase mi files

(uki)

2019-08-20 11:46:44 UTC netbsd-9 commitmail json YAML

2019-08-20 11:45:35 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #102):

external/cddl/osnet/sys/kern/taskq.c: revision 1.11

task_executor: prevent use after free, the task function may free
the tasq entry.

(martin)

2019-08-20 11:44:15 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #101):

external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c: revision 1.12

Rearrange the evaluation of "dvd_maxphys" so it works for wedges too.

(martin)

2019-08-20 11:42:35 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #100):

external/cddl/osnet/dist/lib/libzfs/common/libzfs_import.c: revision 1.5

Always open the raw block devices as "<device><unit>" like it
comes from sysctl "hw.disknames" without attaching the raw
partition letter.  Now pools on wedges get imported too.

(martin)

2019-08-20 11:31:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #99):

sys/arch/x86/pci/if_vmx.c: revision 1.46
sys/arch/x86/pci/if_vmx.c: revision 1.47
sys/arch/x86/pci/if_vmx.c: revision 1.48

vmx(4) uses interrupt distribution for each queue like ixg(4).

fix panic when vmx(4) is detached.

add vmx(4) basic statistics counters.
Sorry, I have forgotten this TODO in r1.40 commit message.

(martin)

2019-08-20 10:59:00 UTC MAIN commitmail json YAML

if: announce flag changes other than up or down

For example toggling promiscuous mode or disabling ARP.

XXX Pullup -9

(roy)

2019-08-20 09:55:49 UTC MAIN commitmail json YAML

2019-08-20 09:53:45 UTC MAIN commitmail json YAML

Disable rump_server_check_memleaks for now

It doesn't work in some cases.

(ozaki-r)

2019-08-20 09:36:41 UTC MAIN commitmail json YAML

Add netbsd32 drm support from Surya Shankar at GSoC 2019

(christos)

2019-08-20 09:32:21 UTC MAIN commitmail json YAML

2019-08-20 09:28:00 UTC MAIN commitmail json YAML

Include <net/if.h> for IFNAMSIZ

(christos)

2019-08-20 08:12:50 UTC MAIN commitmail json YAML

task_executor: prevent use after free, the task function may free
the tasq entry.

(hannken)

2019-08-20 08:12:14 UTC MAIN commitmail json YAML

Rearrange the evaluation of "dvd_maxphys" so it works for wedges too.

(hannken)

2019-08-20 08:11:21 UTC MAIN commitmail json YAML

Always open the raw block devices as "<device><unit>" like it
comes from sysctl "hw.disknames" without attaching the raw
partition letter.  Now pools on wedges get imported too.

(hannken)

2019-08-20 06:38:18 UTC MAIN commitmail json YAML

PR install/54480: when upgrading a system and re-mounting the target /
with proper options, and the installed system does not use NAME= syntax
in fstab(5), use the device name we used to get here, instead of the
name from fstab, it might be different to what the real system calls the
device (compact flash root showing up as wd0 native, but sd? on the
card reader used for updating it right now).

This is an abuse of the upgrade functionality and in general pretty dangerous
when multiple devices are used in the upgraded fstab (e.g. separate /usr),
and it used to work more by accident with the old code.

However, it is a quite usefull way to upgrade tiny systems with compact flash
root, and it used to work - so support it properly (as far as we can).

(martin)

2019-08-20 06:37:06 UTC MAIN commitmail json YAML

couple more changes to usbnet(9):

- MII read/write reg return int instead of usbd_status (requested by skrll)
- usbnet_attach_ifp(9) changes arg, two mii-specific flags are placed by a
  pointer to new struct usbnet_mii.  if not NULL, then attach an MII to this
  interface like previous have_mii parameter.  use this to allow ure(4) to
  properly pass PHY location to mii_attach().

welcome netbsd 9.99.10.

(mrg)

2019-08-20 06:18:54 UTC MAIN commitmail json YAML

properly fix the kernhist calls.

one must cast and cast and cast and maybe a fish will be caught...

(mrg)

2019-08-20 04:11:22 UTC MAIN commitmail json YAML

Fix a bug that VLAN HW "tagging" enable/disable may not refrect correctly.

  - Always call ec_vlan_cb() if it exists.
  - Some (or all?) ethernet drivers don't enable HW tagging if no any vlan is
    attached. ixgbe is one of them. Check the the transition and update
    VLAN HW tagging function.

XXX pullup-9

(msaitoh)

2019-08-20 03:56:59 UTC MAIN commitmail json YAML

Add missing IFNET_LOCK() and IFNET_UNLOCK() in vlan_config().

XXX pullup-9

(msaitoh)

2019-08-20 03:50:55 UTC MAIN commitmail json YAML

Check ec_capenable instead of ec_capabilities to control TX side of VLAN HW
tagging correctly.

XXX pullup-9

(msaitoh)

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

Fix year in previous entry's datestamp

(pgoyette)

2019-08-20 01:56:22 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior. Found by kUBSan.

(msaitoh)

2019-08-20 01:48:48 UTC MAIN commitmail json YAML

boot(8): GPT and RAIDframe support for x86 bootstrap [manu 20180818]

(manu)

2019-08-19 18:12:50 UTC MAIN commitmail json YAML

Add -D flag to allow the user to specify an alternate dumpdates file.
Closes PR #54469.

(perseant)

2019-08-19 16:12:04 UTC netbsd-9 commitmail json YAML

2019-08-19 16:10:35 UTC netbsd-9 commitmail json YAML

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

sys/net/if.c: revision 1.458
tests/net/if/t_ifconfig.sh: revision 1.21

Restore if_ioctl on error of ifc_destroy

Otherwise subsequence ioctls won't work.

Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me)
tests: check if ifconfig (ioctl) works after a failure of ifconfig destroy

This is a test for PR kern/54434.

(martin)

2019-08-19 16:08:19 UTC netbsd-9 commitmail json YAML

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

sys/netinet6/nd6.c: revision 1.257

Add missing IFNET_LOCK for regen_tmpaddr
Reported by ryo@

(martin)

2019-08-19 16:01:52 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #96):

usr.bin/sockstat/sockstat.c: revision 1.21
usr.bin/sockstat/prog_ops.h: revision 1.2
usr.bin/sockstat/sockstat_rumpops.c: revision 1.2
usr.bin/sockstat/sockstat_hostops.c: revision 1.2
usr.bin/sockstat/Makefile: revision 1.4

sockstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlgetmibinfo and sysctlnametomib.

(martin)

2019-08-19 16:00:04 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #95):

sbin/sysctl/prog_ops.h: revision 1.3
sbin/sysctl/sysctl_rumpops.c: revision 1.2
sbin/sysctl/sysctl_hostops.c: revision 1.2
sbin/sysctl/Makefile: revision 1.22
sbin/sysctl/sysctl.c: revision 1.162

sysctl: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname and sysctlgetmibinfo.

(martin)

2019-08-19 15:56:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #94):

usr.bin/netstat/netstat_rumpops.c: revision 1.2
usr.bin/netstat/netstat_hostops.c: revision 1.2
usr.bin/netstat/inet6.c: revision 1.73
usr.bin/netstat/bpf.c: revision 1.14
usr.bin/netstat/Makefile: revision 1.46
usr.bin/netstat/prog_ops.h: revision 1.3
usr.bin/netstat/pfsync.c: revision 1.2
usr.bin/netstat/pfkey.c: revision 1.2
usr.bin/netstat/fast_ipsec.c: revision 1.23
usr.bin/netstat/atalk.c: revision 1.17
usr.bin/netstat/inet.c: revision 1.110

netstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.

(martin)

2019-08-19 15:53:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #93):

share/mk/bsd.prog.mk: revision 1.322

Add PAXCTL_FLAG rules for MKSANITIZER

Add per-program rules to disable ASLR for ASan, TSan and MSan in all
sanitized programs. This flag is not needed for other supported sanitizers.

Without this change, sanitized init(8) dies early on startup.
Approach originally suggested by <joerg>

(martin)

2019-08-19 15:49:52 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #92):

usr.sbin/traceroute/ifaddrlist.c: revision 1.11
usr.sbin/traceroute/traceroute_rumpops.c: revision 1.2
usr.sbin/traceroute/traceroute_hostops.c: revision 1.2
usr.sbin/traceroute/Makefile: revision 1.20
usr.sbin/traceroute/prog_ops.h: revision 1.2

traceroute: Add indirection of symbol to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of getifaddrs.

(martin)

2019-08-19 15:47:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #91):

tests/rump/modautoload/Makefile: revision 1.9

Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers

Set SANITIZER_RENAME_SYMBOL.t_modautoload to:

* sysctlbyname
* sysctlgetmibinfo

(martin)

2019-08-19 15:43:54 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #90):

external/bsd/compiler_rt/lib/clang/lib/netbsd/common.mk: revision 1.2
Set NODEBUG for LLVM sanitizers

The sanitizers are special purpose piece of software that needs customized
build rules. Do not bother with generating debuginfo files for them.

Fixes MKDEBUG=yes build

(martin)

2019-08-19 14:32:14 UTC netbsd-8 commitmail json YAML

2019-08-19 14:28:13 UTC netbsd-8 commitmail json YAML

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

sys/netinet6/nd6.c: revision 1.257

Add missing IFNET_LOCK for regen_tmpaddr
Reported by ryo@

(martin)

2019-08-19 14:27:16 UTC netbsd-8 commitmail json YAML

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

sys/net/if.c: revision 1.458
tests/net/if/t_ifconfig.sh: revision 1.21

Restore if_ioctl on error of ifc_destroy

Otherwise subsequence ioctls won't work.

Patch from Harold Gutch on PR kern/54434 (tweaked a bit by me)
tests: check if ifconfig (ioctl) works after a failure of ifconfig destroy

This is a test for PR kern/54434.

(martin)

2019-08-19 14:09:12 UTC MAIN commitmail json YAML

- KNF more
- print the full path in error messages

(christos)

2019-08-19 11:41:36 UTC MAIN commitmail json YAML

2019-08-19 10:56:33 UTC MAIN commitmail json YAML

2019-08-19 10:53:31 UTC MAIN commitmail json YAML

Use a unique name for the acpi ARM_PLATFORM definition

(jmcneill)

2019-08-19 10:44:35 UTC MAIN commitmail json YAML

2019-08-19 09:32:42 UTC MAIN commitmail json YAML

If we could not start extattr for some reason, don't advertise extattr in the
mount.

(christos)

2019-08-19 09:31:31 UTC MAIN commitmail json YAML

2019-08-19 09:30:30 UTC MAIN commitmail json YAML

- return (foo) -> return foo
- normalize all error messages to use __func__
- add more messages for startup failure (should perhaps auto-create
  the attributes directory and the user and system subdirs?)
- factor out common code

(christos)

2019-08-19 08:07:55 UTC MAIN commitmail json YAML

axe, udav, url, cue, kue, smsc, udav[*], upl, url and urdnis
are now all ported to usbmp and mpsafe interfaces, and have
all been tested too.

[*] udav has an issue with usbnet port for some devices.

(mrg)