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

2024-05-10 10:12:19 UTC Now

2020-02-29 04:27:01 UTC MAIN commitmail json YAML

ld.elf_so(1): Implement DT_GNU_HASH

(kamil)

2020-02-29 04:24:34 UTC MAIN commitmail json YAML

Implement DT_GNU_HASH

DT_GNU_HASH serves the same purpose as DT_HASH, however it is a distinct
and faster apprach implemented and designed in the GNU toolchain in 2006.

DT_GNU_HASH is preferred whenever available.

Original GNU benchmarks claim 50% faster dynamic linking time.
https://www.sourceware.org/ml/binutils/2006-06/msg00418.html

Code based on FreeBSD and OpenBSD, both were based on DragonFlyBSD.

(kamil)

2020-02-29 04:23:05 UTC MAIN commitmail json YAML

Implement and integrate GNU Hashing function

Define Elf_Hash struct that contains ELF/SYSV and GNU hash checksum.
Implement _rtld_gnu_hash() for DT_GNU_HASH.
Adapt existing code to compute all Elf_Hash types, instead of only
the ELF/SYSV one.
Rename _rtld_elf_hash() to _rtld_sysv_hash() to match the GNU toolchain
terminology.

_rtld_gnu_hash() uses Dan Bernstein's string hash function posted eons ago
on comp.lang.c.

(kamil)

2020-02-29 04:21:42 UTC MAIN commitmail json YAML

Separate matched symbol functionality out of _rtld_symlook_obj()

Simplifies the code and it will allow to use the matched symbol
functionality by other users.

(kamil)

2020-02-29 04:02:06 UTC MAIN commitmail json YAML

make sure to accept bcast frame all the time

(nisimura)

2020-02-29 02:51:14 UTC MAIN commitmail json YAML

iron out receive filter multicast/promisc logic

(nisimura)

2020-02-28 22:14:10 UTC MAIN commitmail json YAML

do what FreeBSD does and OF_quiesce() only on PowerMac11,2 and 12,1

(macallan)

2020-02-28 22:09:35 UTC MAIN commitmail json YAML

switch PowerMac7,* CPUs to full speed via OF
if we do this later we hang

(macallan)

2020-02-28 17:50:29 UTC MAIN commitmail json YAML

Remove unreferenced SSH_RELEASE

(kim)

2020-02-28 17:27:34 UTC MAIN commitmail json YAML

Fix duplicate entries in the keywords list.

(kim)

2020-02-28 14:57:55 UTC MAIN commitmail json YAML

Replace bnx_ifmedia_upd() in bnx_init() with mii_ifmedia_change() for future
locking changes.

(msaitoh)

2020-02-28 14:20:06 UTC MAIN commitmail json YAML

Replace bnx_ifmedia_upd() in bnx_mgmt_init() with mii_ifmedia_change() for
future locking changes. Suggested by thorpej@.

XXX Need more work for bnx_ifmedia_upd() itself.

(msaitoh)

2020-02-28 13:31:03 UTC MAIN commitmail json YAML

Drop 512 bytes limit on auvia_round_blocksize().
This fixes attach on 6 channels device.
PR kern/55017.

(isaki)

2020-02-28 13:18:25 UTC MAIN commitmail json YAML

- document the config register
- do some setup and send a start command
- mark the sensor as invalid if readings are out of range
now this works properly on my PCI-X G5

(macallan)

2020-02-28 13:00:51 UTC MAIN commitmail json YAML

Deal with sshkey_sign. I am going to fix this properly at some point, but
it needs coordination from upstream (Patrick Welche)

(christos)

2020-02-28 11:27:38 UTC MAIN commitmail json YAML

Avoid undefined behavior in left shift semantics

hfs_vfsops.c:477:19, left shift of 1 by 31 places cannot be represented in type 'int'

(kamil)

2020-02-28 10:59:58 UTC MAIN commitmail json YAML

Cleanup

- Match the case of the UsePAM keyword used in the manual page and code,
  to aid case-sensitive grep etc.
- Remove references to obsole UseLogin and UsePrivilegeSeparation keywords.
- Whitespace police

(kim)

2020-02-28 10:41:49 UTC MAIN commitmail json YAML

Move NetBSD.org-specific entry above the match-all entry

The first matching entry that sets an option "wins." Therefore more
specific matches should be provided before the "Host *" entry that
matches everything. This way options set in the more specific entry will
not be accidentally made ineffective by the match-all entry.

(kim)

2020-02-28 07:31:38 UTC MAIN commitmail json YAML

Typo fix (remove extra TPM)

(kim)

2020-02-28 07:30:51 UTC MAIN commitmail json YAML

Fix .Dt to match installed section

(kim)

2020-02-28 06:53:22 UTC MAIN commitmail json YAML

When a media change is requested, don't just all (*if_init)().  That's
needlessly disruptive and incompatible with future locking changes.
We can use ether_mediachange() instead.

(msaitoh)

2020-02-28 06:01:23 UTC MAIN commitmail json YAML

Update sc->sc_parent->dk_rawvp while the lock named dk_rawlock held
to prevent a race condition

Fixes PR kern/55026

OKed by mlelstv@, thanks

(yamaguchi)

2020-02-28 05:13:19 UTC MAIN commitmail json YAML

Move PHY_RESET() in the media change path from if_et.c to etphy.c.

I don't know if the reset is required or not. I tested some media
transitions without the reset and it worked. It might be OK to remove
but Linux does it only in et1011c_config_aneg(). So move the reset to
etphy_service(,,MII_MEDIACHG)'s autonego case. This change is also
required for future locking changes.

(msaitoh)

2020-02-28 03:52:26 UTC MAIN commitmail json YAML

Teach zfs bdevsw to do b_psize.

This is needed, among other things, to swap on zvols.

Attempting to swap on zvols currently deadlocks but that's a separate
issue that needs to be fixed too!

(riastradh)

2020-02-27 23:15:34 UTC MAIN commitmail json YAML

Cast to make up for the difference in type between our bus_dma_map(9) and
theirs. Where we expect kvap to be of void **, they expect caddr_t (typedef char *).

(sevan)

2020-02-27 22:58:58 UTC MAIN commitmail json YAML

Add an implementation of MCLGETI.
Borrowed from sys/dev/pci/if_bwfm_pci.c

(sevan)

2020-02-27 22:12:55 UTC MAIN commitmail json YAML

2020-02-27 20:54:24 UTC MAIN commitmail json YAML

Module compat_netbsd32_50 requires module compat_50_quota

(pgoyette)

2020-02-27 20:52:25 UTC MAIN commitmail json YAML

Remove an unneeded ifdef MULTIPROCESSOR.

(ad)

2020-02-27 20:16:39 UTC MAIN commitmail json YAML

when reporting events to devmon, pass location info along if we find it

(macallan)

2020-02-27 19:08:09 UTC netbsd-9 commitmail json YAML

2020-02-27 19:06:23 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/arm32/pmap.c: revision 1.388
sys/arch/arm/arm32/armv7_generic_space.c: revision 1.11
sys/arch/arm/arm/cpufunc.c: revision 1.176
sys/arch/arm/conf/Makefile.arm: revision 1.54 (via patch)
sys/arch/arm/include/arm32/pmap.h: revision 1.161

Fix the armv[67] memory attributes for uncached memory.  Previously it was
mapped as strongly-ordered which meant that unaligned accesses would fault.
armv7_generic_bs_map now maps pages with PMAP_DEV which is treated as SO
bus_dma continues to use PMAP_NOCACHE as appropriate, but this now get
mapped to the correct memory attribute bits for armv[67]

DEVMAP_ENTRY usees a new flag PTE_DEV.

The workaround for the unaligned access faults is now removed.
XXX Other armv[67] boards bus_space implementations should be checked.
XXX There is scope to reduce the difference to aarch64

(martin)

2020-02-27 19:00:05 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #741):

sys/compat/common/vfs_syscalls_43.c: revision 1.65

Include all of the vfs syscalls in the syscall_package, not just oquota.
Should fix PR kern/55025

XXX pullup-9

(martin)

2020-02-27 18:57:21 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #740):

sys/external/bsd/drm2/dist/drm/radeon/radeon_irq_kms.c: revision 1.5

Take a mutex around mode config logic as the comment advises.
XXX pullup

(martin)

2020-02-27 18:55:05 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #739):

sys/ufs/ufs/ufs_vnops.c: revision 1.249

Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as
ufs_makedirentry().

Found by kMSan: the unzeroed bytes of the pool_cache were getting copied
to the disk via a DMA write operation, and there kMSan was noticing
uninitialized memory leaving the system.

(martin)

2020-02-27 18:53:04 UTC netbsd-9 commitmail json YAML

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

usr.sbin/postinstall/postinstall.in: revision 1.15

Fix the fixup script to follow the URL change in /etc/motd (http->https).
PR install/54990, pullup-9

(martin)

2020-02-27 18:50:43 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/powerpc/trap.c: revision 1.157
sys/arch/powerpc/powerpc/locore_subr.S: revision 1.60

Comment out do_ucas_32(), only user of which, _ucas_32(), is commented out
since powerpc/trap.c rev 1.156:
    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/powerpc/trap.c#rev1.156

(martin)

2020-02-27 18:48:12 UTC netbsd-9 commitmail json YAML

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

lib/libpthread/arch/powerpc/pthread_md.h: revision 1.8
sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.47

libpthread sets initial value of MSR for lwp's. However, appropriate
value differs b/w oea/booke/ibm4xx, and there's no way to obtain it
from userland. Therefore, this initial value should be corrected by
cpu_setmcontext().

- Comment this in libpthread
- Add KASSERT in cpu_mcontext_validate()

(martin)

2020-02-27 18:43:41 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/ibm4xx/trap.c: revision 1.71
sys/arch/powerpc/ibm4xx/trap.c: revision 1.72
sys/arch/powerpc/ibm4xx/trap.c: revision 1.73
sys/arch/powerpc/ibm4xx/trap.c: revision 1.74
sys/arch/powerpc/ibm4xx/trap.c: revision 1.75
sys/arch/powerpc/ibm4xx/trap.c: revision 1.76
sys/arch/powerpc/ibm4xx/trap.c: revision 1.77
sys/arch/powerpc/ibm4xx/trap.c: revision 1.78

Sort headers.
-
Sort more headers...
-
Convert mi_userret(9) into powerpc-specific userret().

This is necessary in order to support RAS.

There are some sanity checks in userret() as well.
-
Oops, sort header again. My bad...
-
Comment out badaddr() and badaddr_read() on ibm4xx for now.

They are not used nor exposed externally in any header file; these
functions may have never been tested so far.

Enable them again when necessary.

Note that badaddr() for oea is used by macppc port, where it is
declared as an external function.
-
Cosmetic changes for assembler codes. No binary changes.
-
Tiny improvements to copyin() and copyout():
- Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which
  support unaligned word load/store by hardware. In many cases, both
  source and destination are aligned on word boundaries.
- Use dcbst instead of dcbf to flush cache. The former does not
  invalidate the cache line. Copied data should be used soon after.
-
Do not try to recovery from data page fault in interrupt context;
catch up belatedly with powerpc/trap.c rev 1.49 and etc.:
    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/powerpc/trap.c#rev1.49

(martin)

2020-02-27 18:34:12 UTC netbsd-9 commitmail json YAML

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

sys/net/if_bridge.c: revision 1.167
sys/net/if_bridge.c: revision 1.168

disable the DEBUG bridge_calc_csum_flags() printf
-
Remove debug printf I put into bridge_calc_csum_flags().

Sorry for noise.

(martin)

2020-02-27 18:32:08 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/powerpc/fpu.c: revision 1.39
sys/arch/powerpc/powerpc/powerpc_machdep.c: revision 1.77

Provide no-op's as pcu_ops_md_defs[PCU_FPU] even if !PPC_HAVE_FPU.

This is required by subr_pcu.c rev 1.21 and later:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_pcu.c#rev1.21

Otherwise, panic occurs when FP instruction is emulated on machines
without FPU.

Note that PowerPC UISA as well as SVR4 ABI require FP instructions,
and emulation is enabled unconditionally on machines without FPU.

(martin)

2020-02-27 18:24:44 UTC netbsd-9 commitmail json YAML

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

sys/uvm/uvm_pglist.c: revision 1.80

Make this compile again with PGALLOC_VERBOSE.

(martin)

2020-02-27 18:23:10 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/ibm4xx/pmap.c: revision 1.80
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.77
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.78
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.79

Fix NULL dereference; "pap" argument of pmap_extract(9) can be NULL.

-

Fix off-by-one error for ctx (ASID).

-

Note that NUM_CTX = 256 = 0 stands for disabling protection by ASID.
Clear ti_ctx when flushing a TLB entry for clarity.

-

In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of
TLBF_USED. This should be originally intended behavior of this code
segment, because
- TLBF_USED is already checked just before, so marking this page
  TLBF_USED is no-op.
- TLBF_REF flag exempts that page from being flushed from TLB in next
  scan, when kernel stack may be still there with high probability.

(martin)

2020-02-27 18:19:16 UTC MAIN commitmail json YAML

Include all of the vfs syscalls in the syscall_package, not just oquota.

Should fix PR kern/55025

XXX pullup-9

(pgoyette)

2020-02-27 17:42:33 UTC MAIN commitmail json YAML

Ooppss - SYSCTL_SETUP() functions return void.

(pgoyette)

2020-02-27 17:30:07 UTC MAIN commitmail json YAML

Explicit format string for snprintf, spotted by tnn@

(jmcneill)

2020-02-27 17:28:57 UTC netbsd-9 commitmail json YAML

2020-02-27 17:24:13 UTC netbsd-9 commitmail json YAML

2020-02-27 17:22:56 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #719):

sys/dev/usb/usbdevs: revision 1.776
sys/dev/usb/u3g.c: revision 1.40
sys/dev/usb/umodeswitch.c: revision 1.5

Add UE version of D-Link DWM-157
-
Add support for D-Link DWM-157 3G USB modem

(martin)

2020-02-27 17:17:34 UTC MAIN commitmail json YAML

Unfortunately libssh has an undefined symbol sshsk_sign(), which is provided
by different implementations depending if we are a server or a client. While
the clients we compile in, provide that symbol, it is getting hidden by
crunchhide, so we provide it again. It would have been a lot simpler to
use a function pointer instead in the library...

(christos)

2020-02-27 16:59:23 UTC MAIN commitmail json YAML

Create some more cgd device nodes.

(riastradh)

2020-02-27 16:41:59 UTC MAIN commitmail json YAML

Remove explicit calls to the sysctl setup routines, since this is now
handled by the module infrastructure.

(pgoyette)

2020-02-27 16:35:40 UTC MAIN commitmail json YAML

Add cgd to evbarm GENERIC.common.

(riastradh)

2020-02-27 15:41:47 UTC MAIN commitmail json YAML

Take a mutex around mode config logic as the comment advises.

XXX pullup

(riastradh)

2020-02-27 14:45:30 UTC netbsd-8 commitmail json YAML

2020-02-27 14:41:05 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1511):

sys/ufs/ufs/ufs_vnops.c: revision 1.249

Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as
ufs_makedirentry().

Found by kMSan: the unzeroed bytes of the pool_cache were getting copied
to the disk via a DMA write operation, and there kMSan was noticing
uninitialized memory leaving the system.

(martin)

2020-02-27 14:34:13 UTC netbsd-8 commitmail json YAML

2020-02-27 14:32:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1508):

sys/dev/usb/usbdevs: revision 1.776
sys/dev/usb/u3g.c: revision 1.40
sys/dev/usb/umodeswitch.c: revision 1.5

Add UE version of D-Link DWM-157
-
Add support for D-Link DWM-157 3G USB modem

(martin)

2020-02-27 13:50:06 UTC MAIN commitmail json YAML

Register DT_GNU_HASH

GNU-style hash table is supported in GNU and LLVM toolchains.

https://sourceware.org/ml/binutils/2006-10/msg00377.html

(kamil)

2020-02-27 12:52:20 UTC MAIN commitmail json YAML

ZFS works fine on my v210, so let's enable it for sparc64

(macallan)

2020-02-27 10:35:08 UTC MAIN commitmail json YAML

Fix undefined behavior in archive_read_support_format_xar()

Cherry-pick upstream patch:

From 2cfda000bc5159d46fd8ead7d1bd3ea1f66f7948 Mon Sep 17 00:00:00 2001
From: Martin Matuska <martin@matuska.org>
Date: Thu, 27 Feb 2020 01:54:19 +0100
Subject: [PATCH] XAR reader: initialize file_queue with 0 and memcpy() if
allocated only

Fixes #1338

(kamil)

2020-02-27 10:32:35 UTC MAIN commitmail json YAML

Fix undefined behavior in from_hex()

Cherry-pick upstream patch:

From 4a5fc0b980a23d1a317c7a564a94cca090e111c2 Mon Sep 17 00:00:00 2001
From: Martin Matuska <martin@matuska.org>
Date: Thu, 27 Feb 2020 10:42:27 +0100
Subject: [PATCH] bsdcpio_test: from_hex() needs to be an uint32_t

Fixes #1339

https://github.com/libarchive/libarchive/commit/4a5fc0b980a23d1a317c7a564a94cca090e111c2

(kamil)

2020-02-27 06:30:56 UTC MAIN commitmail json YAML

2020-02-27 06:17:50 UTC MAIN commitmail json YAML

2020-02-27 06:17:28 UTC MAIN commitmail json YAML

Use xxVIA instead of VIA.

0x004063 is VIA's official OUI but VT6103 use 0x0002c6.
0x0002c6 is non-bitreversed value of 0x004063. Reported by Andrius V.

(msaitoh)

2020-02-27 03:25:09 UTC MAIN commitmail json YAML

2020-02-27 02:56:46 UTC MAIN commitmail json YAML

2020-02-27 00:29:17 UTC MAIN commitmail json YAML

2020-02-27 00:27:44 UTC MAIN commitmail json YAML

2020-02-27 00:25:49 UTC MAIN commitmail json YAML

2020-02-27 00:24:41 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssh/Makefile@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssh/bin/scp/Makefile@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssh/bin/sftp-server/Makefile@1.3 / diff / nxr@1.3
src/crypto/external/bsd/openssh/bin/sftp/Makefile@1.8 / diff / nxr@1.8
src/crypto/external/bsd/openssh/bin/ssh-add/Makefile@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssh/bin/ssh-agent/Makefile@1.4 / diff / nxr@1.4
src/crypto/external/bsd/openssh/bin/ssh-keygen/Makefile@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssh/bin/ssh-keyscan/Makefile@1.4 / diff / nxr@1.4
src/crypto/external/bsd/openssh/bin/ssh-keysign/Makefile@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssh/bin/ssh-pkcs11-helper/Makefile@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssh/bin/ssh/Makefile@1.16 / diff / nxr@1.16
src/crypto/external/bsd/openssh/bin/sshd/Makefile@1.20 / diff / nxr@1.20
src/crypto/external/bsd/openssh/dist/PROTOCOL.certkeys@1.12 / diff / nxr@1.12
src/crypto/external/bsd/openssh/dist/auth-options.c@1.22 / diff / nxr@1.22
src/crypto/external/bsd/openssh/dist/auth-options.h@1.13 / diff / nxr@1.13
src/crypto/external/bsd/openssh/dist/auth.c@1.27 / diff / nxr@1.27
src/crypto/external/bsd/openssh/dist/auth2-chall.c@1.17 / diff / nxr@1.17
src/crypto/external/bsd/openssh/dist/auth2-gss.c@1.14 / diff / nxr@1.14
src/crypto/external/bsd/openssh/dist/auth2-hostbased.c@1.18 / diff / nxr@1.18
src/crypto/external/bsd/openssh/dist/auth2-kbdint.c@1.12 / diff / nxr@1.12
      :
(more 102 files)
Merge conflicts

(christos)

2020-02-27 00:02:57 UTC MAIN commitmail json YAML

probably fix previous: it wants mod.mk's PARSEDIR/.., not ../..,
so it picks up the libpam/Makefile.inc.

(mrg)

2020-02-26 23:38:09 UTC MAIN commitmail json YAML

2020-02-26 19:33:30 UTC MAIN commitmail json YAML

Handle pam modules that are not in this subtree.

(christos)

2020-02-26 18:39:24 UTC MAIN commitmail json YAML

Make .Bl -width match the actual .It usage.

(uwe)

2020-02-26 18:32:57 UTC MAIN commitmail json YAML

Minor formatting tweaks.

(uwe)

2020-02-26 18:25:39 UTC MAIN commitmail json YAML

Fix unedited pasto.

(uwe)

2020-02-26 18:00:12 UTC MAIN commitmail json YAML

Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as
ufs_makedirentry().

Found by kMSan: the unzeroed bytes of the pool_cache were getting copied
to the disk via a DMA write operation, and there kMSan was noticing
uninitialized memory leaving the system.

Reported-by: syzbot+382c9dffc06a9683abb5@syzkaller.appspotmail.com

(maxv)

2020-02-26 16:12:44 UTC MAIN commitmail json YAML

Register groups.0 and users.0 in distribution sets

Fixes MKCATPAGES=yes build.

(kamil)

2020-02-26 16:00:48 UTC MAIN commitmail json YAML

2020-02-26 15:44:57 UTC MAIN commitmail json YAML

2020-02-26 10:06:08 UTC MAIN commitmail json YAML

2020-02-26 10:04:32 UTC MAIN commitmail json YAML

2020-02-26 07:57:24 UTC MAIN commitmail json YAML

Correct PPID of "show all procs/n"

(hikaru)

2020-02-26 07:31:51 UTC MAIN commitmail json YAML

Draft man pages for the standard users and groups.

These are currently listed in order of uid because I went through
src/etc/group and src/etc/master.passwd line by line, and sorting any
other way after the fact -- like lexicographically, how it should be
-- was kinda inconvenient.

Feel free to sort, add information, add historical references,
correct any mistakes, &c., so that these remain living documents
describing NetBSD's standard users and groups and practices around
them.

(riastradh)

2020-02-26 07:14:47 UTC MAIN commitmail json YAML

Add some commas.

(wiz)

2020-02-26 05:55:27 UTC MAIN commitmail json YAML

update ftp version to 20190622

(lukem)

2020-02-26 02:09:46 UTC MAIN commitmail json YAML

echo.1: add a note about other echo implementations

The other BSDs all have a note reminding that many shells have their
own internal echo implementations which may vary from this utility, so
add one. (Much of the wording is borrowed from FreeBSD's man page.)

(The other BSDs also have notes about the -n option not really being
portable, and printf[1] being preferable, we might want to add
something about that, too.)

(gutteridge)

2020-02-25 21:41:38 UTC MAIN commitmail json YAML

Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead for another 2 messages.

(ryoon)

2020-02-25 21:38:42 UTC MAIN commitmail json YAML

Messages in pms_synaptics_input() should not start with "pms_input"

Use "pms_synaptics_input" instead.

(ryoon)

2020-02-25 21:36:13 UTC MAIN commitmail json YAML

Do not enter extended W mode conditional for non extended W mode device

Even without extended W mode, sp_w can be 2. This causes
"invalid extended w mode N" warning messages.
Restrict extended W mode conditional for hardwares with extended W
support.

Tested with Synaptics 6.2 device on Panasonic CF-Y8, however it does
not work with X.

(ryoon)

2020-02-25 20:29:30 UTC netbsd-9 commitmail json YAML

2020-02-25 20:22:14 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/conf/files.powerpc: revision 1.93
sys/arch/powerpc/include/pio.h: revision 1.8
sys/arch/powerpc/pic/intr.c: revision 1.27
sys/arch/powerpc/powerpc/bus_dma.c: revision 1.50
sys/arch/powerpc/powerpc/pio_subr.S: revision 1.17

Add PPC_IBM440 flag as 440 is significantly different from 40x processors.
(It may be more easily supported by booke than by ibm4xx.)

-

eieio is implemented as sync on 40x. Therefore, "sync; eieio" and
"eieio; sync" can be replaced by a single sync.

(martin)

2020-02-25 20:14:04 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/include/intr.h: revision 1.15

Fix !__HAVE_FAST_SOFTINTS build for debugging.

(martin)

2020-02-25 20:12:20 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/ibm4xx/dev/com_opb.c: revision 1.23

Belatedly catch up with MI com(4) change in com.c rev. 1.351:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/com.c#rev1.351

XXX
pullup to netbsd-9

(martin)

2020-02-25 20:08:38 UTC netbsd-9 commitmail json YAML

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

sys/arch/powerpc/include/db_machdep.h: revision 1.27

Do not mask out LK bit (bit 31) from M_BCTR, which distinguishes
bcctr and bcctrl.

Fix build failure for ibm4xx kernels with GCC8.

XXX
pullup to netbsd-9, -8, and -7

(martin)

2020-02-25 20:05:48 UTC netbsd-9 commitmail json YAML

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

external/gpl3/binutils/dist/bfd/elf.c: revision 1.14

Fix 'nm /dev/ksyms' (noticed by ryo).

Since binutils 2.15, nm(1) cannot be used for character devices.

We worked around this by a local patch:
http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/binutils/Attic/bucomm.c?r1=1.1.1.2&hideattic=0#rev1.2

With recent update of binutils, 'nm /dev/ksyms' got broken again.

This is due to a consistency check involving file size reported by
stat(2), which is always zero for character devices. So, skip this
check if file size is zero.

(martin)

2020-02-25 20:05:10 UTC MAIN commitmail json YAML

ramdisk-zfsroot: Remove the module loading magic

It's been determined that it's too magical and it's either the job
of the bootloader or you compile it into the kernel yourself.

This entry works in /boot.cfg:

menu=Boot ZFS Root:load solaris;load zfs;fs /ramdisk-zfsroot.fs;boot

(roy)

2020-02-25 20:03:13 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #725):

etc/rc.d/mountall: revision 1.12
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.59
external/cddl/osnet/sys/kern/misc.c: revision 1.8
external/cddl/osnet/dist/uts/common/fs/zfs/spa_history.c: revision 1.5
external/cddl/osnet/dist/uts/common/fs/zfs/spa_history.c: revision 1.6
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.60
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c: revision 1.61

Define VOP_STRATEGY on zfs device nodes too.
Fixes eternal hangs in attempts to do I/O on device nodes on zfs.
XXX pullup

Teach zfs spec nodes to VOP_BWRITE too.
Fixes hang on writing to, e.g., ffs mounted on a device node that
lives on zfs.
XXX pullup

Teach device nodes on zfs to handle fsync by calling spec_fsync too.
If zfs=YES, unconditioally do zfs mount/unmount -a.

If you set zfs=YES, presumably you positively want the automatic rc.d
actions, so if there's no /sbin/zfs or if zfs can't find pools with
/etc/zfs/zpool.cache, presumably you would like feedback about that
in rc.log.

Report the OS name and release appropriately for NetBSD.
We are not OpenSolaris or uts!

Mark previous #ifdef __NetBSD__, per request from hannken.

(martin)

2020-02-25 19:34:37 UTC MAIN commitmail json YAML

Previous commit resolves:
netbsd boot error: panic: ASan: Unauthorized Access In ADDR: Addr
ADDR [8 bytes, read, PoolUseAfterFree]

Reported-by: syzbot+43111d810160fb4b978b@syzkaller.appspotmail.com

(jdolecek)

2020-02-25 19:33:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tnn in ticket #724):

xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86_tls.h: revision 1.6
xsrc/external/mit/MesaLib/dist/src/mapi/entry_x86-64_tls.h: revision 1.5

mesa: sync w/ pkgsrc: don't assume the current gl dispatch table points
to noop if NULL, instead call the ENTRY_CURRENT_TABLE_GET function.

Additionally the previous i386 implementation probably never worked
because it looks like it used the wrong asm label when computing GOT ptr.

Likely relevant to PR port-i386/54782.
XXX pullup -9

(martin)

2020-02-25 19:25:19 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #723):

sys/arch/i386/stand/efiboot/eficons.c: revision 1.10
sys/arch/i386/stand/efiboot/eficons.c: revision 1.11

If the default GOP mode is unavailable, fallback to the first mode defined.
PR# port-amd64/55000

Remove check for bestmode==-1 (shouldn't happen)

(martin)

2020-02-25 19:22:18 UTC netbsd-8 commitmail json YAML

2020-02-25 19:20:43 UTC netbsd-8 commitmail json YAML

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

sys/arch/arm/arm32/bus_dma.c: revision 1.119
sys/arch/arm/arm32/bus_dma.c: revision 1.120

Make sure to convey a failure to the calling function
Likely fix for PR kern/54999, but that was a one-off panic.
-
Fix previous for non-_ARM32_NEED_BUS_DMA_BOUNCE builds

(martin)

2020-02-25 19:16:23 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/arm32/bus_dma.c: revision 1.119
sys/arch/arm/arm32/bus_dma.c: revision 1.120

Make sure to convey a failure to the calling function
Likely fix for PR kern/54999, but that was a one-off panic.
-
Fix previous for non-_ARM32_NEED_BUS_DMA_BOUNCE builds

(martin)

2020-02-25 19:14:05 UTC MAIN commitmail json YAML

fix use-after-free in config_interrupts_thread() found by KASAN, introduced
with addition of the locking; problem pointed out by kamil@

(jdolecek)

2020-02-25 19:12:14 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1509):

sys/kern/uipc_socket.c: revision 1.288

Zero out 'tv', to prevent uninitialized bytes in its padding from leaking
to userland. Found by kMSan.

(martin)

2020-02-25 19:10:52 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #720):

sys/kern/uipc_socket.c: revision 1.288

Zero out 'tv', to prevent uninitialized bytes in its padding from leaking
to userland. Found by kMSan.

(martin)

2020-02-25 19:00:00 UTC netbsd-9 commitmail json YAML

2020-02-25 18:52:44 UTC netbsd-8 commitmail json YAML

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

sys/dev/usb/ohci.c: revision 1.296
sys/dev/usb/uhci.c: revision 1.294
sys/external/bsd/dwc2/dwc2.c: revision 1.72
sys/arch/mips/adm5120/dev/ahci.c: revision 1.21
sys/dev/usb/ehci.c: revision 1.274

Fix a memory leak.  Spotted by nat@

(martin)

2020-02-25 18:50:29 UTC netbsd-9 commitmail json YAML

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

sys/dev/usb/ohci.c: revision 1.296
sys/dev/usb/uhci.c: revision 1.294
sys/external/bsd/dwc2/dwc2.c: revision 1.72
sys/arch/mips/adm5120/dev/ahci.c: revision 1.21
sys/dev/usb/ehci.c: revision 1.274

Fix a memory leak.  Spotted by nat@

(martin)

2020-02-25 18:40:44 UTC netbsd-9 commitmail json YAML

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

sys/dev/fdt/dwcmmc_fdt.c 1.11
sys/dev/ic/bwfm.c 1.15-1.18
sys/dev/ic/bwfmreg.h 1.4-1.6
sys/dev/ic/bwfmvar.h 1.4,1.5
sys/dev/ic/dwc_mmc.c 1.21,1.22
sys/dev/ic/dwc_mmc_reg.h 1.8,1.9,1.12,1.13
sys/dev/pcmcia/pcmciareg.h 1.11
sys/dev/sdmmc/if_bwfm_sdio.c 1.4,1.6-1.12
sys/dev/sdmmc/if_bwfm_sdio.h 1.1,1.2
sys/dev/sdmmc/sdhc.c 1.105,1.106
sys/dev/sdmmc/sdmmc.c 1.37,1.39
sys/dev/sdmmc/sdmmc_cis.c 1.6,1.8
sys/dev/sdmmc/sdmmc_io.c 1.15-1.19
sys/dev/sdmmc/sdmmc_ioreg.h 1.4,1.5
sys/dev/sdmmc/sdmmc_mem.c 1.69-1.71
sys/dev/sdmmc/sdmmcdevs 1.5-1.8
sys/dev/sdmmc/sdmmcvar.h 1.31,1.33,1.34
sys/net/if_media.h 1.66

Add Broadcom devices
-
Fix typo
-
add PCMCIA_CISTPL_SDIO definition.
-
From OpenBSD:
- move event handling to workqueue
- check for save/restore capability
-
Tag work queue as MPsafe and increase length.
-
Juse use bpf_mtap(), the 802.11 encapsulation is handled by firmware.
-
From OpenBSD:
- support block length per function
- add functions to read/write regions
-
Decode (but not use) SDIO tuple in CIS.
-
Fix locking.
-
Add more SDIO defines (partially from version 3.0).
-
From OpenBSD:
- All the missing pieces (firmware load, chip setup, protocol handling)
TX queue and interrupt handling via sdmmc_task.
-
Fix locking.
-
Fix packet parsing.
-
Add parser for original firmware config files.
-
tagging work queue as MPSAFE was premature. Revert.
-
SD_IO_RW_EXTENDED is a data transfer command, so set ADTC flag instead of AC
Use correct function to verify if a task has been queued. Avoids race
that can corrupt the task queue.
-
More register definitions.
-
Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions
-
If firmware is connected in HT or VHT mode, report it to SIOCGIFMEDIA
-
white space police.

Skip setting power when the voltage doesn't change.
Also increase some timeouts.
-
Add and use sdmmc_pause to avoid long-term busy waits.
-
Add sdio abort function.
-
Additional error messages.
-
Print parameters for SDIO devices.
-
Minor cosmetics.
-
Simplyfy sdmmc_io_set_blocklen function signature by dropping the
extra softc pointer. Aligns with OpenBSD.
-
Missing commit for sdio abort function.
-
More code from OpenBSD
-
no need to splnet() when enqueing packets
-
explicit structure padding
-
make internal functions static
-
also prepare for GPIO interrupts.
-
Avoid warnings for tautological shifts as sole conditional.
-
Follow the Linux driver an use the FDT "compatible" property to build a
filename for the nvram config file, fall back to the standard filename.
E.g.
[Caching 123 nodes and 1093 properties]
compatible              73696e6f 766f6970 2c627069 2d6d322d  "sinovoip,bpi-m2-
            0010:      7a65726f 00...... ........ ........  zero"
            0015:      616c6c77 696e6e65 722c7375 6e38692d  "allwinner,sun8i-
            0025:      68322d70 6c757300 ........ ........  h2-plus"
interrupt-parent        00000001 ........ ........ ........  ....
model                  42616e61 6e612050 69204250 492d4d32  "Banana Pi BPI-M2
            0010:      2d5a6572 6f00.... ........ ........  -Zero"
name                    00...... ........ ........ ........  ""
serial-number          30326330 30303432 65636431 36376566  02c00042ecd167ef
            0010:      00...... ........ ........ ........  .
-rw-r--r--  1 root  wheel    875 Nov  2 12:06 brcmfmac43430-sdio.AP6212.txt
lrwxr-xr-x  1 root  wheel      29 Dec 30 16:19 brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt
-rw-r--r--  1 root  wheel    874 Jun 30  2019 brcmfmac43430-sdio.raspberrypi,3-model-b.txt
-rw-r--r--  1 root  wheel    1864 Jun 30  2019 brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
lrwxr-xr-x  1 root  wheel      29 Dec 30 11:24 brcmfmac43455-sdio.raspberrypi,4-model-b-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
-
Add product ID for Broadcom BCM43455
-
Use correct firmware for BCM43456
-
size check was backwards.
-
Be less noisy for some commands.
-
Fix DWC_MMC_INT_SDIO_INT bit
-
dwc_mmc fixes:
- Rockchip uses a different SDIO int bit, so take this into consideration
- Avoid unnecessary resets and always wait for resets to complete
- kpause instead of delay while holding spinlock
- Do not attempt autostop for SD_IO_RW_EXTENDED commands
- Allow for sub-blklen byte counts for single block transfers
  -
More SDIO stability and performance fixes

(martin)

2020-02-25 16:24:47 UTC MAIN commitmail json YAML

Remove a trailing tab.

(ryoon)

2020-02-25 11:36:48 UTC MAIN commitmail json YAML

Add one more: Buffalo BSUSRC06.

(rin)

2020-02-25 11:32:09 UTC MAIN commitmail json YAML

Add CableCreation CD0487 to supported adapter list.
Bump date.

(rin)

2020-02-25 10:27:01 UTC MAIN commitmail json YAML

Fix the fixup script to follow the URL change in /etc/motd (http->https).

PR install/54990, pullup-9

(nakayama)

2020-02-25 09:01:25 UTC MAIN commitmail json YAML

Avoid NULL pointer arithmetic

Cherry-pick upstream patch:

From ec5b86b48e99c5501374b01606f1ccdae6a8a93e Mon Sep 17 00:00:00 2001
From: Kamil Rytarowski <n54@gmx.com>
Date: Mon, 24 Feb 2020 22:58:00 +0100
Subject: [PATCH] archive_read.c: silence UBSan warning about undefined
behavior

Fixes #1335

https://github.com/libarchive/libarchive/commit/ec5b86b48e99c5501374b01606f1ccdae6a8a93e.patch

(kamil)

2020-02-25 08:05:24 UTC MAIN commitmail json YAML

Add a comment about RSS and remove a wrong comment

pointed out and reviewed by knakahara@n.o., thanks

(yamaguchi)

2020-02-25 08:02:29 UTC MAIN commitmail json YAML

Use IFM_25G_ACC

pointed out and reviewed by msaitoh@n.o., thanks

(yamaguchi)

2020-02-25 07:58:44 UTC MAIN commitmail json YAML

Use kmem_alloc instead of malloc

pointed out and reviewed by knakahar@n.o., thanks

(yamaguchi)

2020-02-25 07:53:55 UTC MAIN commitmail json YAML

Change the number of retry to be the same as FreeBSD and Linux

pointed out and reviewed by knakahara@n.o., thanks.

(yamaguchi)

2020-02-25 07:50:25 UTC MAIN commitmail json YAML

Disable all queues before waiting for the completion
on each queue to reduce the number of delays

pointed out and reviewed by knakahara@n.o., thanks

(yamaguchi)

2020-02-25 07:45:28 UTC MAIN commitmail json YAML

Use callout_halt() instead of callout_stop for safety

pointed out and reviewed by knakahara@n.o., thanks

(yamaguchi)

2020-02-25 07:41:32 UTC MAIN commitmail json YAML

Stop callout for statistics while the interface is not running

(yamaguchi)

2020-02-25 07:35:54 UTC MAIN commitmail json YAML

Change position of the cpuid::ixl_hmc_txq
to be same with ixl_hmc_pack_txq[]

This has no functionality impact because the position on memory
is defined in ixl_hmc_pack_txq[].

pointed out and reviewed by knakahara@n.o., thanks

(yamaguchi)

2020-02-25 07:31:19 UTC MAIN commitmail json YAML

Hold per-queue locks when clearing config of queues for safety

(yamaguchi)

2020-02-25 07:22:18 UTC MAIN commitmail json YAML

Add defines for the max number of queue

pointed out and reviewed by knakahara@n.o., thanks

(yamaguchi)

2020-02-25 07:17:19 UTC MAIN commitmail json YAML

Set 0 to txr_{prod,cons} and rxr_{prod,cons} when HMC objects
are cleared

Those values should be the same as head and tail in an HMC object

(yamaguchi)

2020-02-25 07:10:10 UTC MAIN commitmail json YAML

Use workqueue API directly, without the wrapper in ixl(4)
to improve performace by removing atomic_ops(3)

pointed out and reviewed by knakahara@n.o., thanks

(yamaguchi)

2020-02-25 07:05:58 UTC MAIN commitmail json YAML

Remove WQ_PERCPU flag for the workqueue that does configurations
such as link up and down

And added kpreempt_disable and kpreempt_enable around
workqueue_enqueue to call it in non-WQ_PERCPU thread context.

pointed out and reviewed by knakahara@n.o., thanks.

(yamaguchi)

2020-02-25 07:00:27 UTC MAIN commitmail json YAML

Added __KERNEL_RCSID

(yamaguchi)

2020-02-25 03:26:18 UTC MAIN commitmail json YAML

shmif: reduce the number of calls of cprng(9)

(ozaki-r)

2020-02-25 03:25:36 UTC MAIN commitmail json YAML

shmif: s/sc_uuid/sc_uid/

It's not UUID :-/

(ozaki-r)

2020-02-25 03:24:48 UTC MAIN commitmail json YAML

shmif: use cprng_strong64 instead of cprng_fast64 to generate a unique ID

shmif uses random bytes generated by cprng(9) as a unique device ID
between rump kernels to identify packets fed by itself and not receive
them.  So if generated bytes are identical between shmif interfaces on
different rump kernels, shmif may drop incoming packets unintentionally.
This is one cause of recent ATF test failures of IPsec.

Fix it by using cprng_strong64 instead of cprng_fast64.  This is a
workaround and we should also investigate why cprng_fast64 starts
failing on rump kernels, although using cprng_strong64 in initialization
itself is feasible.

Fix PR kern/54897

(ozaki-r)

2020-02-25 00:42:12 UTC MAIN commitmail json YAML

Comment out do_ucas_32(), only user of which, _ucas_32(), is commented out
since powerpc/trap.c rev 1.156:

    http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/powerpc/trap.c#rev1.156

(rin)

2020-02-24 23:46:45 UTC MAIN commitmail json YAML

Add new test in t_ptrace_wait*

New test: syscall_killed_on_sce

Test passes correctly.

(kamil)

2020-02-24 21:06:11 UTC MAIN commitmail json YAML

uvm_unloanpage(): fix a screwup in previous.  slock must be set NULL if
it can't be acquired.

(ad)

2020-02-24 20:53:11 UTC MAIN commitmail json YAML

v_interlock -> vmobjloc

(ad)

2020-02-24 20:49:51 UTC MAIN commitmail json YAML

v_interlock -> vmobjlock

(ad)

2020-02-24 20:47:47 UTC MAIN commitmail json YAML

move config_init_mi() call before vfsinit(), which can trigger loading
of VFS modules

fixes crash with LOCKDEBUG due to uninitialized mutex when zfs
module is loaded in boot, because zfs's spa_init() calls config_mountroot()
which now requires the config init having been done

(jdolecek)

2020-02-24 20:47:41 UTC MAIN commitmail json YAML

v_interlock -> vmobjlock

(ad)

2020-02-24 20:44:25 UTC MAIN commitmail json YAML

v_interlock -> vmobjlock

(ad)

2020-02-24 20:42:18 UTC MAIN commitmail json YAML

2020-02-24 20:31:56 UTC MAIN commitmail json YAML

2020-02-24 20:18:53 UTC MAIN commitmail json YAML

v_interlock -> vmobjlock

(ad)

2020-02-24 20:11:46 UTC MAIN commitmail json YAML

v_interlock -> vmobjlock

(ad)

2020-02-24 18:39:47 UTC MAIN commitmail json YAML

2020-02-24 16:19:35 UTC MAIN commitmail json YAML

Rearrange the code to make UNALIGNED_OK available for __NetBSD__

(kamil)

2020-02-24 12:38:58 UTC MAIN commitmail json YAML

2020-02-24 12:20:30 UTC MAIN commitmail json YAML

2020-02-24 12:08:09 UTC MAIN commitmail json YAML

Fix previous; we need <uvm/uvm_extern.h> for machines with
!ARM_HAS_VBAR && !__ARM_FIQ_INDIRECT.

(rin)

2020-02-24 11:59:33 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for previous.

(wiz)

2020-02-24 11:49:17 UTC MAIN commitmail json YAML

Oops, revert previous; fix build for PPC_OEA64 || PPC_OEA64_BRIDGE.
oea and booke seem to work without direct-mapped and physically
contiguous u-area.

(rin)

2020-02-24 11:45:30 UTC MAIN commitmail json YAML

2020-02-24 09:32:31 UTC MAIN commitmail json YAML

for now, limit glamor to TAHITI and newer chipsets only.

(mrg)

2020-02-24 00:47:38 UTC MAIN commitmail json YAML

Remove debug printf I put into bridge_calc_csum_flags().
Sorry for noise.

(rin)

2020-02-24 00:02:55 UTC MAIN commitmail json YAML

2020-02-23 23:56:15 UTC MAIN commitmail json YAML

2020-02-23 23:54:52 UTC MAIN commitmail json YAML

Fix a comment.

(ad)

2020-02-23 23:32:57 UTC MAIN commitmail json YAML

bsd-family-tree

(sevan)

2020-02-23 23:31:55 UTC MAIN commitmail json YAML

Sync with r358264 which fixes NetBSD 9.0 release

(sevan)

2020-02-23 23:18:01 UTC MAIN commitmail json YAML

sync from pkgsrc:

> libxshmfence: improve performance of semaphore backend. Bump rev.
>
> It used more locking than necessary. We only need two semaphores.
> One to tell waiters to wake up and one to let the last waiter that
> wakes up notify xshmfence_trigger() it may now return.

(tnn)

2020-02-23 22:56:41 UTC MAIN commitmail json YAML

Mistake in previous - lwp_t *l was not meant to be static.

(ad)

2020-02-23 22:28:53 UTC MAIN commitmail json YAML

The PV locking changes are expensive and not needed yet, so back them
out for the moment.  I want to find a cheaper approach.

(ad)

2020-02-23 22:15:19 UTC MAIN commitmail json YAML

2020-02-23 22:14:04 UTC MAIN commitmail json YAML

Merge from ad-namecache:

- Have a stab at clustering the members of vnode_t and vnode_impl_t in a
  more cache-conscious way.  With that done, go back to adjusting v_usecount
  with atomics and keep vi_lock directly in vnode_impl_t (saves KVA).

- Allow VOP_LOCK(LK_NONE) for the benefit of VFS_VGET() and VFS_ROOT().
  Make sure LK_UPGRADE always comes with LK_NOWAIT.

- Make cwdinfo use mostly lockless.

(ad)

2020-02-23 21:50:21 UTC MAIN commitmail json YAML

disable the DEBUG bridge_calc_csum_flags() printf

(jdolecek)

2020-02-23 21:36:29 UTC MAIN commitmail json YAML

Use rw_lock_op().

(ad)

2020-02-23 20:41:41 UTC MAIN commitmail json YAML

2020-02-23 20:16:10 UTC MAIN commitmail json YAML

fix reversed logic for Remote Port Negotiation, pointed out by maxv@

(plunky)

2020-02-23 20:08:35 UTC MAIN commitmail json YAML

shutdown_all: take kernel_lock now that kern_reboot() doesn't.

(ad)

2020-02-23 20:06:30 UTC MAIN commitmail json YAML

- If concurrent calls to kern_reboot(), only let the first do the deed.
- Don't need kernel_lock for this (either OK, or suspendsched() called).

(ad)

2020-02-23 19:14:03 UTC ad-namecache commitmail json YAML

Turns out there's no point adjusting v_holdcnt with atomics.

(ad)

2020-02-23 18:57:28 UTC MAIN commitmail json YAML

Adjustment to previous: TP_SET_DONE() was wiping out the VA to shoot,
instead of ORing the flag into the array element.  This caused the CPU
initiating the shootdown to occasionally miss an INVLPG.

(ad)

2020-02-23 16:27:09 UTC MAIN commitmail json YAML

kpause(): is only awoken via timeout or signal, so use SOBJ_SLEEPQ_NULL like
_lwp_park() does, and dispense with the hashed sleepq & lock.

(ad)

2020-02-23 16:04:58 UTC MAIN commitmail json YAML

NetBSD 9.99.48 - UVM locking changes

(ad)

2020-02-23 15:57:09 UTC MAIN commitmail json YAML

Don't bother with kernel_lock for kern_reboot().

(ad)

2020-02-23 15:46:43 UTC MAIN commitmail json YAML

UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart.  v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap.  Others to follow later.

(ad)

2020-02-23 15:23:08 UTC MAIN commitmail json YAML

Fix missing <sys/evcnt.h> by removing the evcnts instead.

Just wanted to confirm that a race might happen, and indeed it did.
These serve little diagnostic value otherwise.

(riastradh)

2020-02-23 15:12:19 UTC MAIN commitmail json YAML

2020-02-23 15:11:33 UTC MAIN commitmail json YAML

Fix userland references to LFS_ORPHAN_NEXTFREE.

Forgot to grep for these or do a full distribution build, oops!

(riastradh)

2020-02-23 15:09:55 UTC MAIN commitmail json YAML

Fix !DIAGNOSTIC compile

(ad)

2020-02-23 14:44:24 UTC MAIN commitmail json YAML

Do not replay the msgbuf if we are booting silent or quiet.

(martin)

2020-02-23 11:31:07 UTC MAIN commitmail json YAML

2020-02-23 11:17:03 UTC MAIN commitmail json YAML

2020-02-23 11:14:18 UTC MAIN commitmail json YAML

2020-02-23 11:09:41 UTC MAIN commitmail json YAML

2020-02-23 10:58:12 UTC MAIN commitmail json YAML

2020-02-23 10:56:03 UTC MAIN commitmail json YAML

RPi4 has a different root device, so use config.txt conditionals to load
an alternate cmdline txt file (cmdline-pi4.txt) on these boards.

(jmcneill)

2020-02-23 10:51:12 UTC MAIN commitmail json YAML

ramdisk-zfsroot: We no longer need to have /etc/zfs in mtree

Now that mountall doesn't rely on /etc/zfs/zpool.cache being present.

(roy)

2020-02-23 10:42:57 UTC MAIN commitmail json YAML

2020-02-23 10:39:59 UTC MAIN commitmail json YAML

2020-02-23 10:30:43 UTC MAIN commitmail json YAML

2020-02-23 10:28:16 UTC MAIN commitmail json YAML

update for xorg-server 1.20.6.

(mrg)

2020-02-23 10:26:56 UTC MAIN commitmail json YAML

2020-02-23 10:26:23 UTC MAIN commitmail json YAML

2020-02-23 10:22:07 UTC MAIN commitmail json YAML

2020-02-23 10:10:10 UTC MAIN commitmail json YAML

merge font-util 1.3.2 and fonttosfnt 1.1.0.

(mrg)

2020-02-23 09:59:00 UTC MAIN commitmail json YAML

2020-02-23 09:53:42 UTC MAIN commitmail json YAML

Change the previous cast from unsigned int to unsigned long

This code produces the same result and is consistent with the previous
lines. Only the least significant 16 bites (unsigned short) are meaningful.

(kamil)