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 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 19:24:34 UTC Now

2020-04-23 23:40:04 UTC MAIN commitmail json YAML

NetBSD 9.99.58 - ubc_uiomove needs to see new flag

(ad)

2020-04-23 23:22:41 UTC MAIN commitmail json YAML

Fix userland gprof profiling on aarch64.

Adjusts _PROF_PROLOGUE to match OpenBSD; reworks our MCOUNT to retrieve
frompc placed on stack by the prologue, and to streamline sp manipulation
when preserving argument registers.

(jakllsch)

2020-04-23 22:58:36 UTC MAIN commitmail json YAML

cache_lookup_linked(): We can't use the name to decide how to lock the dir,
since the name refers to the child (found object) not the parent (the thing
that's being locked).

Fix it by always doing rw_tryenter().  There's not much to be won by
optimising for the contended case, and were this routine doing lockless
lookups (the eventual goal) it wouldn't be hanging around waiting for
changes either.

(ad)

2020-04-23 21:53:01 UTC MAIN commitmail json YAML

Enable ubc_direct by default, but only on systems with no more than 2 CPUs
for now.

(ad)

2020-04-23 21:47:09 UTC MAIN commitmail json YAML

PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
  somewhere.  Use it to decide whether to do direct-mapped copy, rather than
  poking around directly in the vnode in ubc_uiomove(), which is ugly and
  doesn't work for tmpfs.  It would be nicer to contain all this in UVM but
  the filesystem provides the needed locking here (VV_MAPPED) and to
  reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS().  Pass in UBC_ISMAPPED where
  appropriate.

(ad)

2020-04-23 21:35:18 UTC MAIN commitmail json YAML

- Install HPET based DELAY() before going multiuser then recalibrate the TSC.
  Idea from joerg@.

- Take overhead into account when computing CPU frequency.

- Don't flush cache before computing TSC skew.

(ad)

2020-04-23 21:12:06 UTC MAIN commitmail json YAML

ubc_direct_release(): unbusy the pages directly since pg->interlock is
being taken.

(ad)

2020-04-23 20:38:33 UTC MAIN commitmail json YAML

When computing TSC skew make 8 measurements and use the average.

(ad)

2020-04-23 20:33:57 UTC MAIN commitmail json YAML

Implement a HPET based DELAY().

(ad)

2020-04-23 19:24:53 UTC MAIN commitmail json YAML

Swirch arm to the new binutils

(christos)

2020-04-23 17:21:53 UTC MAIN commitmail json YAML

2020-04-23 16:37:39 UTC MAIN commitmail json YAML

fix inverted logic in NETBSD32 user signal stack handling (PR evbarm/55200)

(tnn)

2020-04-23 16:16:15 UTC MAIN commitmail json YAML

use shortcut variables for readability.

(christos)

2020-04-23 16:05:16 UTC MAIN commitmail json YAML

Add the system binary paths too since tests use them.

(christos)

2020-04-23 15:55:14 UTC MAIN commitmail json YAML

2020-04-23 15:54:36 UTC MAIN commitmail json YAML

elaborate on why we don't support hardware checksum offloading, and probably
never will

(jdolecek)

2020-04-23 15:06:50 UTC MAIN commitmail json YAML

also let backend know that feature-ipv6-csum-offload is supported

(jdolecek)

2020-04-23 14:54:48 UTC MAIN commitmail json YAML

2020-04-23 14:18:09 UTC netbsd-7 commitmail json YAML

2020-04-23 14:16:01 UTC netbsd-7 commitmail json YAML

Apply patch, requested by he in ticket #1728:

src/external/bsd/bind/include/config.h (apply patch)

Fix BIND configuration for big-endian hosts.
This should make DNSSEC work on such hosts as well.

(martin)

2020-04-23 14:13:05 UTC netbsd-8 commitmail json YAML

2020-04-23 14:10:50 UTC netbsd-8 commitmail json YAML

Apply patch, requested by he in ticket #1539:

external/bsd/bind/include/config.h (apply patch)

Fix BIND configuration for big-endian hosts.
This should make DNSSEC work on such hosts as well.

(martin)

2020-04-23 13:59:32 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1538):

usr.sbin/rtsold/rtsold.8: revision 1.37
usr.sbin/rtsold/rtsold.8: revision 1.38
usr.sbin/rtsold/rtsold.8: revision 1.39
share/man/man5/ifconfig.if.5: revision 1.20
etc/rc.d/network: revision 1.77
etc/rc.d/network: revision 1.78 (plus patch)
usr.sbin/rtsold/rtsold.8: revision 1.40
usr.sbin/rtsold/rtsold.8: revision 1.41
usr.sbin/rtsold/rtsold.8: revision 1.42
share/man/man5/ifconfig.if.5: revision 1.19

Add rtsol to the NAME section as well

rc.d/network: improve wording of waiting for DAD to finish

Revert unrelated changes to prior

Use .Dl for one line literal display.  Add SEE ALSO.

Remove trailing dot in SEE ALSO.

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.

Update date

(martin)

2020-04-23 13:43:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1537):

share/man/man5/rc.conf.5: revision 1.172
etc/rc.d/network: revision 1.75

Allow rc.conf to setup resolv.conf via resolvconf(8).

This allows all static network config to be in rc.conf rather than
spread across files.

(martin)

2020-04-23 13:40:36 UTC MAIN commitmail json YAML

Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.

(simonb)

2020-04-23 13:33:05 UTC netbsd-9 commitmail json YAML

2020-04-23 13:31:43 UTC netbsd-9 commitmail json YAML

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

sys/netinet6/nd6_nbr.c: revision 1.178

inet6: nd6_na_input() now considers ln_state <= ND6_LLINFO_INCOMPLETE

Otherwise if ln_state != ND6_LLINFO_INCOMPLETE and the is no lladdr
and this message was solicited then ln_state is set to ND6_LLINFO_REACHABLE
which could then cause a panic in nd6_resolve().

If ln_state > ND6_LLINFO_INCOMPLETE then it's assumed we have a lladdr.
Potentially this could have been triggered by the introduction of
ND6_LLINFO_PURGE in nd6.c r1.143 but also by the re-introduction of
ND6_LLINFO_INCOMPLETE in nd6.c r1.263.

Depending on the timing, it's technically possible to receive such
a message after the llentry is created with ND6_LLINFO_NOSTATE.

(martin)

2020-04-23 12:56:40 UTC MAIN commitmail json YAML

make this work properly:
- get rid of cargo-culted register assignments, I found the right ones by
  experiment, now both light sensors report sane values
- keyboard brightness seems to max out at 16, act like it
- do what MacOS does and fade keyboard brightness instead of just switching
- add sysctls to configure keyboard brightness and environmental light
  thresholds
- don't poll the chip more often than once a second

(macallan)

2020-04-23 12:06:10 UTC netbsd-9 commitmail json YAML

Apply patch, requested by roy in ticket #844:

external/bsd/dhcpcd/dist/src/defs.h       (apply patch)
external/bsd/dhcpcd/dist/src/dhcp.c       (apply patch)
external/bsd/dhcpcd/dist/src/dhcp6.c       (apply patch)
external/bsd/dhcpcd/dist/src/ipv6nd.c       (apply patch)
doc/3RDPARTY       (apply patch)

Update to dhcpcd-8.1.9 which fixes alignment issues.

(martin)

2020-04-23 11:41:28 UTC MAIN commitmail json YAML

Add -unknown- to "./netbsd" in modules/mi to fix "build.sh syspkgs" failure

(uki)

2020-04-23 09:58:37 UTC MAIN commitmail json YAML

fix obvious typo in error handling - buf error should go to b_error

(jdolecek)

2020-04-23 09:47:31 UTC MAIN commitmail json YAML

drop openfirm.h include

(macallan)

2020-04-23 09:40:08 UTC MAIN commitmail json YAML

pass b_flags B_PHYS and B_RAW when setting up the buf for underlying device

should fix misfired KASSERT() in xbd(4)

(jdolecek)

2020-04-23 09:38:17 UTC MAIN commitmail json YAML

If we're having Thai units, make them correct.  A tarangwah is a square wah,
which is ~4m^2 but not exactly (just as a wah is not exactly 2m, but close).
(wah apparently comes from the width of a person with hands outstretched...)

(kre)

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

fix too many zeroes in date entry

(jdolecek)

2020-04-23 09:17:37 UTC MAIN commitmail json YAML

xbdback(4) is MP-safe

(jdolecek)

2020-04-23 09:16:21 UTC MAIN commitmail json YAML

make xbdback actually MPSAFE and stop using KERNEL_LOCK()

remove no longer necessary atomics, the counters are now always
updated with held mutex

(jdolecek)

2020-04-23 09:01:33 UTC MAIN commitmail json YAML

Stop forcing the -e option off in the subshell createds for a command
substitution.  This was inherited in the big "-e" fixup patch set (rev 1.50)
of Jan 2000, which came from dash.  dash no longer acts this way.

(kre)

2020-04-23 08:09:25 UTC MAIN commitmail json YAML

allocate xbdback_io instances as part of struct xbdback_instance and
stop using pool_cache(9), to remove possibility for the allocation to sleep

(jdolecek)

2020-04-23 07:54:53 UTC MAIN commitmail json YAML

2020-04-23 07:39:07 UTC MAIN commitmail json YAML

g/c no longer used xbdi_same_page and xbdi_lastfragio_time

(jdolecek)

2020-04-23 07:24:40 UTC MAIN commitmail json YAML

g/c no longer needed xbdi_io structure member, just pass it as continuation
parameter

(jdolecek)

2020-04-23 06:28:34 UTC MAIN commitmail json YAML

sort product table, and tabify

(ryo)

2020-04-23 06:27:21 UTC MAIN commitmail json YAML

On FIBRE devices, there are times when linkstat interrupt doesn't occur?
reported from Andrius V. thanks.

- use polling instead of linkstat interrupt when FIBRE
- add AQ_FORCE_POLL_LINKSTAT options (not by default)

(ryo)

2020-04-23 04:21:13 UTC MAIN commitmail json YAML

2020-04-23 04:18:07 UTC MAIN commitmail json YAML

2020-04-23 04:17:37 UTC MAIN commitmail json YAML

Remove duplicated entry.

(msaitoh)

2020-04-23 03:15:47 UTC MAIN commitmail json YAML

Fix outdated comment. We've enabled crashme for non-DEBUG kernels.

(rin)

2020-04-23 03:12:49 UTC MAIN commitmail json YAML

Remove "#ifndef __mc68010__ #error" I added when these {,u}divsi3.S and
{,u}modsi3.S were moved here (It was better to split the commit, sorry);
bootloader for sun3 still depends on them.

(rin)

2020-04-23 03:09:18 UTC MAIN commitmail json YAML

For m68k, do not compile in {,u}divsi3 and {,u}modsi3 since codes
generated by gcc do not depend on them.

We should not have unused functions in libkern for MODULAR.

(rin)

2020-04-23 00:35:14 UTC MAIN commitmail json YAML

Avoid using common symbol definitions.

(joerg)

2020-04-23 00:34:29 UTC MAIN commitmail json YAML

rump doesn't own pnbuf_cache, externalize it

(joerg)

2020-04-23 00:31:52 UTC MAIN commitmail json YAML

Replace noatf global with conditional compilation

(joerg)

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

saved_output is owned by director.c

(joerg)

2020-04-23 00:29:00 UTC MAIN commitmail json YAML

lineno, states and allocated should be owned by the parser

(joerg)

2020-04-23 00:27:45 UTC MAIN commitmail json YAML

npftest_mbufops and npftest_ifops are owned by npf_mbuf_subr.c

(joerg)

2020-04-23 00:24:50 UTC MAIN commitmail json YAML

2020-04-23 00:24:16 UTC MAIN commitmail json YAML

sockb is only used locally, so move it into the function

(joerg)

2020-04-23 00:23:31 UTC MAIN commitmail json YAML

Avoid global scope for variables only used locally

(joerg)

2020-04-23 00:22:01 UTC MAIN commitmail json YAML

Rename debug to mountd_debug to avoid overlap in rump tests

(joerg)

2020-04-23 00:17:34 UTC MAIN commitmail json YAML

2020-04-23 00:12:28 UTC MAIN commitmail json YAML

bootfile is owned by libsa

(joerg)

2020-04-23 00:11:29 UTC MAIN commitmail json YAML

2020-04-23 00:09:26 UTC MAIN commitmail json YAML

2020-04-23 00:03:41 UTC MAIN commitmail json YAML

Don't play #define games with extern, just have a separate list to avoid commons

(joerg)

2020-04-22 23:57:56 UTC MAIN commitmail json YAML

2020-04-22 23:55:29 UTC MAIN commitmail json YAML

2020-04-22 23:54:32 UTC MAIN commitmail json YAML

Mark _rtld_invalid_paths static as ldd can end up with two copies

(joerg)

2020-04-22 23:53:27 UTC MAIN commitmail json YAML

2020-04-22 23:51:34 UTC MAIN commitmail json YAML

Externalize yytext, it belongs to the lexer

(joerg)

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

_rpcpmstart is defined by rpcgen, so externalize it here

(joerg)

2020-04-22 23:46:03 UTC MAIN commitmail json YAML

2020-04-22 23:43:12 UTC MAIN commitmail json YAML

2020-04-22 23:40:40 UTC MAIN commitmail json YAML

Externalize variables owned logically by pf_ruleset.c

(joerg)

2020-04-22 23:36:26 UTC MAIN commitmail json YAML

2020-04-22 23:32:25 UTC MAIN commitmail json YAML

Explicitly use -fcommon for globals shared between libc and CSU.

(joerg)

2020-04-22 22:56:13 UTC MAIN commitmail json YAML

2020-04-22 22:54:44 UTC MAIN commitmail json YAML

2020-04-22 21:35:52 UTC MAIN commitmail json YAML

lookup_fastforward(): handle dotdot lookups and give up less often in
the union mount case.

(ad)

2020-04-22 21:28:03 UTC MAIN commitmail json YAML

Remove unit tests for the never-exposed _lwp_gettid(2).

(thorpej)

2020-04-22 21:27:06 UTC MAIN commitmail json YAML

Remove man page for the never-exposed _lwp_gettid(2) call.

(thorpej)

2020-04-22 21:25:18 UTC MAIN commitmail json YAML

2020-04-22 21:22:21 UTC MAIN commitmail json YAML

Remove _lwp_gettid(2) system call.  This problem is going to be solved
another way.  (Note: this call was never exposed in libc, so we can just
recycle the syscall number.)

(thorpej)

2020-04-22 20:49:08 UTC bouyer-xenpvh commitmail json YAML

Don't try to attach vcpu on !XENPV
remove debug printf and other misc cosmetic changes

(bouyer)

2020-04-22 19:32:11 UTC MAIN commitmail json YAML

inet6: nd6_na_input() now considers ln_state <= ND6_LLINFO_INCOMPLETE

Otherwise if ln_state != ND6_LLINFO_INCOMPLETE and the is no lladdr
and this message was solicited then ln_state is set to ND6_LLINFO_REACHABLE
which could then cause a panic in nd6_resolve().
If ln_state > ND6_LLINFO_INCOMPLETE then it's assumed we have a lladdr.

Potentially this could have been triggered by the introduction of
ND6_LLINFO_PURGE in nd6.c r1.143 but also by the re-introduction of
ND6_LLINFO_INCOMPLETE in nd6.c r1.263.
Depending on the timing, it's technically possible to receive such
a message after the llentry is created with ND6_LLINFO_NOSTATE.

(roy)

2020-04-22 18:26:06 UTC netbsd-9 commitmail json YAML

2020-04-22 18:25:10 UTC netbsd-9 commitmail json YAML

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

external/gpl3/gcc/lib/libsupc++/Makefile: revision 1.13

pull in atomicity.h (atomicity.cc) on sparc.  3 of the objects
use these interfaces and this avoids link errors

fixes PR#54660.

(martin)

2020-04-22 18:22:24 UTC netbsd-9 commitmail json YAML

2020-04-22 18:21:41 UTC netbsd-8 commitmail json YAML

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

Pull up following revision(s) (requested by gdt in ticket #1534):

sys/kern/vfs_syscalls.c: revision 1.544
lib/libc/sys/fdatasync.2: revision 1.17

Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX.  Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users.  Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.

(martin)

2020-04-22 18:15:12 UTC netbsd-8 commitmail json YAML

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

sys/compat/ossaudio/ossaudio.c: revision 1.83

ossaudio: Avoid giving userland uninitialized memory. Noticed by maxv.

The uninitalized field in this structure is `fillers`, an array that
simply reserves space for later changes in OSSv4, which this version
of the OSS compat layer (specifically for Linux applications) makes no
effort to implement.

(martin)

2020-04-22 18:12:26 UTC netbsd-9 commitmail json YAML

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

sys/compat/ossaudio/ossaudio.c: revision 1.83

ossaudio: Avoid giving userland uninitialized memory. Noticed by maxv.

The uninitalized field in this structure is `fillers`, an array that
simply reserves space for later changes in OSSv4, which this version
of the OSS compat layer (specifically for Linux applications) makes no
effort to implement.

(martin)

2020-04-22 18:07:37 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by gdt in ticket #840):

sys/kern/vfs_syscalls.c: revision 1.544
lib/libc/sys/fdatasync.2: revision 1.17

Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX.  Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users.  Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.

(martin)

2020-04-22 18:05:11 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by gson in ticket #839):

sys/kern/vfs_mount.c: revision 1.79

Destroy anonymous device vnodes on reboot once the last file system
got unmounted and the mount list is empty.

PR kern/54969: Disk cache is no longer flushed on shutdown

(martin)

2020-04-22 17:55:16 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #838):

share/man/man5/ifconfig.if.5: revision 1.20
etc/rc.d/network: revision 1.78 (plus patch)
usr.sbin/rtsold/rtsold.8: revision 1.42

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.
Update date

(martin)

2020-04-22 16:57:58 UTC MAIN commitmail json YAML

2020-04-22 16:51:56 UTC bouyer-xenpvh commitmail json YAML

Remove HZ=20, it was to testing only.

(bouyer)

2020-04-22 16:35:47 UTC MAIN commitmail json YAML

On second thought, don't include more than one spelling for thai units

(scole)

2020-04-22 16:24:15 UTC MAIN commitmail json YAML

We have USER_LDT tests in ATF, remove the ones from regress.

(maxv)

2020-04-22 16:21:37 UTC MAIN commitmail json YAML

Add more Thai length, area and weight units

(scole)

2020-04-22 15:55:55 UTC MAIN commitmail json YAML

2020-04-22 15:55:41 UTC MAIN commitmail json YAML

make variable constant since it is assigned from a string literal

(christos)

2020-04-22 15:40:28 UTC MAIN commitmail json YAML

2020-04-22 15:39:59 UTC MAIN commitmail json YAML

Add an eclectic mix of
GeForce GTX 680, RTS522A PCI-E Card Reader, intel wifi 9560
+ whitespace

(prlw1)

2020-04-22 15:03:46 UTC MAIN commitmail json YAML

2020-04-22 14:26:27 UTC MAIN commitmail json YAML

show the 'interrupting at ...' info on boot

(jdolecek)

2020-04-22 11:58:26 UTC MAIN commitmail json YAML

Restrict usage of m68k assembler versions of {,u}divsi3 and {,u}divsi3 to
kernel and bootloader for 68010.

They requires a special calling convention to udivsi3, and cannot to be
mixed up in normal routines provided by libgcc or compiler_rt. Although,
there's no problem for using in a controlled situation, i.e., kernel and
standalone programs.

Note that this does not affect m68k ports other than sun2, since codes
generated by gcc do not call these routines.

Assembler files are moved from common/lib/libc/arch/m68k/gen to
sys/lib/libkern/arch/m68k in order not to be compiled in libc.

Revert hack introduced to lib/libc/compiler_rt/Makefile.inc rev 1.37:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/compiler_rt/Makefile.inc#rev1.37

Proposed on port-sun2@ with no response...
(Again, this does not affect m68k ports other than sun2.)
http://mail-index.netbsd.org/port-sun2/2020/03/10/msg000102.html

(rin)

2020-04-22 09:23:21 UTC MAIN commitmail json YAML

For NO_KERNEL_RCSIDS, strip __RCSID() also for src/common/*.

(rin)

2020-04-22 09:18:42 UTC MAIN commitmail json YAML

At the moment, we need kern/uipc_mbufdebug.c only if DDB is enabled.

(rin)

2020-04-22 09:15:40 UTC MAIN commitmail json YAML

Make crypto/rijindael optional again as cprng_strong does no longer
depend on it. Dependency is explicitly declared in files.foo if a
component requires it.

(rin)

2020-04-22 08:48:12 UTC MAIN commitmail json YAML

Use __mc68010__ to distinguish m68000 (sun2) from other m68k ports;
__mc68000__ is defined both for m68000 and m68k.

(rin)

2020-04-22 08:45:06 UTC MAIN commitmail json YAML

Fix previous for libhack, where _REENTRANT is not defined;
arenas_map_key is used only when NO_TLS && _REENTRANT.

(rin)

2020-04-22 07:17:02 UTC MAIN commitmail json YAML

Add Whiskey Lake U and Amber Lake Y support.

(msaitoh)

2020-04-22 06:36:32 UTC MAIN commitmail json YAML

2020-04-22 06:35:58 UTC MAIN commitmail json YAML

Add Intel Whiskey Lake U and Amber Lake Y devices.

(msaitoh)

2020-04-22 06:35:01 UTC MAIN commitmail json YAML

Add Aquantia AQC100, AQC100S and D100.

(msaitoh)

2020-04-21 22:27:09 UTC MAIN commitmail json YAML

2020-04-21 22:22:55 UTC MAIN commitmail json YAML

Switch to using TLS in old jemalloc for everywhere but VAX and sun2.

(joerg)

2020-04-21 21:53:53 UTC MAIN commitmail json YAML

NetBSD 9.99.57 - cwdinfo changed

(ad)

2020-04-21 21:46:07 UTC MAIN commitmail json YAML

- Give cwdi_lock its own cache line, for multithreaded processes.
- Comments.

(ad)

2020-04-21 21:42:47 UTC MAIN commitmail json YAML

Revert the changes made in February to make cwdinfo use mostly lockless,
which relied on taking extra vnode refs.

Having benchmarked various experimental changes over the past few months it
seems that it's better to avoid vnode refs as much as possible.  cwdi_lock
as a RW lock already did that to some extent for getcwd() and will permit
the same for namei() too.

(ad)

2020-04-21 21:39:07 UTC MAIN commitmail json YAML

Use -Wno-error=address-of-packed-member for a number of more boot
loaders.

(joerg)

2020-04-21 20:20:39 UTC MAIN commitmail json YAML

two more files to convert to newer HYPERVISOR_physdev_op() interface

(jdolecek)

2020-04-21 20:13:40 UTC MAIN commitmail json YAML

convert to newer HYPERVISOR_physdev_op() interface, now command and the
arg are separate arguments - this is needed for newer physdev_op commands

remove code for PHYSDEVOP_IRQ_UNMASK_NOTIFY, it is obsolete since
interface version 0x00030202 and is unsupported by newer versions of Xen

confirmed working on amd64 Dom0, i386 compile-tested only

(jdolecek)

2020-04-21 19:37:57 UTC phil-wifi commitmail json YAML

2020-04-21 19:03:51 UTC MAIN commitmail json YAML

adjust so that this at least compiles and links with __HAVE_PCI_MSI_MSIX

(jdolecek)

2020-04-21 18:42:49 UTC phil-wifi commitmail json YAML

2020-04-21 18:25:12 UTC MAIN commitmail json YAML

XEN_IPI_KICK was replaced by XEN_IPI_AST.

(ad)

2020-04-21 18:24:05 UTC MAIN commitmail json YAML

Remove spurious reference to XEN_IPI_KICK - it represents the absence of
a specific IPI type.

(ad)

2020-04-21 18:22:29 UTC MAIN commitmail json YAML

Follow convention and put entire predicate inside __predict_false()

(ad)

2020-04-21 17:50:19 UTC MAIN commitmail json YAML

vmem_list_lock needs to be an adaptive lock.  Fixes LOCKDEBUG panic.

(ad)

2020-04-21 16:58:57 UTC netbsd-8 commitmail json YAML

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

sys/arch/macppc/stand/ofwboot/Locore.c: revision 1.34 (via patch)
sys/arch/powerpc/oea/ofw_consinit.c: revision 1.18

When boot up with auto-boot? == true, some systems do not provide stdout
if the normal output is screen.

Open screen explicitly as stdout in this case, both for ofwboot and kernel,
which fixes problems with auto-boot? == true for Mac mini G4:
- messages from ofwboot do not appear
- kernel freeze during early boot stage

Taken from OpenBSD:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/ofw_machdep.c#rev1.3
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/stand/Locore.c#rev1.3

XXX
pullup to netbsd-9 and -8

(martin)

2020-04-21 16:57:40 UTC bouyer-xenpvh commitmail json YAML

It is possible to use grant_v2 with HVM guest; but the status table has
to be mapped using XENMEM_add_to_physmap.

(bouyer)

2020-04-21 16:54:52 UTC netbsd-9 commitmail json YAML

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

sys/arch/macppc/stand/ofwboot/Locore.c: revision 1.34
sys/arch/powerpc/oea/ofw_consinit.c: revision 1.18

When boot up with auto-boot? == true, some systems do not provide stdout
if the normal output is screen.

Open screen explicitly as stdout in this case, both for ofwboot and kernel,
which fixes problems with auto-boot? == true for Mac mini G4:
- messages from ofwboot do not appear
- kernel freeze during early boot stage

Taken from OpenBSD:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/ofw_machdep.c#rev1.3
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/stand/Locore.c#rev1.3

XXX
pullup to netbsd-9 and -8

(martin)

2020-04-21 15:04:13 UTC MAIN commitmail json YAML

use %s/__func__ so that the strings can be shared.

(christos)

2020-04-21 14:51:07 UTC MAIN commitmail json YAML

add blkif_x86_{32,64}_request_indirect types

(jdolecek)

2020-04-21 14:29:00 UTC MAIN commitmail json YAML

also note the 64KB MAXPHYS for xbd(4)

(jdolecek)

2020-04-21 14:26:15 UTC MAIN commitmail json YAML

note indirect segment support for xbd(4) and xbdback(4)

(jdolecek)

2020-04-21 13:57:12 UTC MAIN commitmail json YAML

PR/55193: Jose Luis Duran: Fix wrong location for the db file.

(christos)

2020-04-21 13:56:18 UTC MAIN commitmail json YAML

add support for indirect segments, which makes it possible to pass
up to MAXPHYS (implementation limit, interface allows more) using
single request

request using indirect segment requires 1 extra copy hypercall per
request, but saves 2 shared memory hypercalls (map_grant/unmap_grant),
so should be net performance boost due to less TLB flushing

this also effectively doubles disk queue size for xbd(4)

(jdolecek)

2020-04-21 13:39:26 UTC MAIN commitmail json YAML

2020-04-21 13:31:09 UTC MAIN commitmail json YAML

adjust the condition for max indirect segments to make it clear what
is really needed (enough to map MAXPHYS + 1 page); no functional difference

(jdolecek)

2020-04-21 12:23:13 UTC MAIN commitmail json YAML

Remove dst variable that was only set but not used.

(This broke the build for me.)

(wiz)

2020-04-21 12:21:27 UTC MAIN commitmail json YAML

Update getopt string.

Remove -M. Add -C (the code is there and documented, even if noone could
activate it...).
Sync usage with manpage.

(wiz)

2020-04-21 12:19:44 UTC MAIN commitmail json YAML

Remove -M from SYNOPSIS as well.

(wiz)

2020-04-21 12:16:47 UTC MAIN commitmail json YAML

rtadvd: Remove disabled use of SIOCGIFPREFIX_IN6

It's not been enabled since the functionality was added to ifconfig(8)
many many years ago.

(roy)

2020-04-21 12:05:54 UTC MAIN commitmail json YAML

2020-04-21 11:35:02 UTC MAIN commitmail json YAML

LLVM is a bit stricter and wants the ARM variant of %progbits.

(joerg)

2020-04-21 09:58:07 UTC MAIN commitmail json YAML

2020-04-21 09:55:33 UTC MAIN commitmail json YAML

2020-04-21 09:20:17 UTC MAIN commitmail json YAML

postfix-3.5.1 out.

(wiz)

2020-04-21 09:02:33 UTC MAIN commitmail json YAML

Fix garbages in dmesg caused by uninitialized variables slipped in r1.228.

Noticed in HP9000/362 dmesg:
https://dmesgd.nycbug.org/index.cgi?do=view&id=5459

Should be pulled up to netbsd-8 and netbsd-9.

(tsutsui)

2020-04-21 07:08:12 UTC MAIN commitmail json YAML

2020-04-21 06:45:16 UTC MAIN commitmail json YAML

There is no fast spoon^Wfast path in pmap_clearbit.

PR port-arm/55186: tests crash arm pmap

Tested by martin@

(skrll)

2020-04-21 05:23:42 UTC MAIN commitmail json YAML

pull in atomicity.h (atomicity.cc) on sparc.  3 of the objects
use these interfaces and this avoids link errors

fixes PR#54660.

(mrg)

2020-04-21 05:18:14 UTC MAIN commitmail json YAML

Whitespace fix. No functional change.

(msaitoh)

2020-04-21 02:56:37 UTC MAIN commitmail json YAML

Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.

- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
  can take TSC/core crystal clock ratio but core crystal clock frequency
  can't be taken. Intel SDM give us the values for some processors.
- It also required to change lapic_per_second to make LAPIC timer correctly.
- Add new file x86/x86/identcpu_subr.c to share common subroutines between
  kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
  will be moved to this file in future.
- Add comment to clarify.

(msaitoh)

2020-04-20 21:57:22 UTC MAIN commitmail json YAML

when sorting all_extensions_by_on[] be sure to keep the NULL
entry last.  correct the sizeof() to use the right variable
(they were the same size at least.)  as-was, with the NULL
entry first, all loops across this array were no-ops.

this should fix PR#55158's arm64 side.

(mrg)

2020-04-20 21:39:05 UTC MAIN commitmail json YAML

Rename buf_syncwait() to vfs_syncwait(), and have it wait on v_numoutput
rather than BC_BUSY.  Removes the dependency on bufhash.

(ad)

2020-04-20 20:19:07 UTC bouyer-xenpvh commitmail json YAML

channel %d -> chan %d, for the benefit of 'systat vm'

(bouyer)

2020-04-20 20:03:21 UTC MAIN commitmail json YAML

Pull from bouyer-xenpvh:
Bad news:
* grant table v2 is not supported for HVM guests on 4.11 at last.
* see xen/arch/x86/hvm/hypercall.c in Xen sources (missing
* GNTTABOP_get_status_frames)

So restore grant table v1 for !XENPV

(bouyer)

2020-04-20 19:46:44 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 19:46:04 UTC bouyer-xenpvh commitmail json YAML

Thanks do jdolecek@, MAXPHYS is not restricted to 32k now.
Nothing prevents merging GENERIC_XENHVM in GENERIC now

(bouyer)

2020-04-20 19:43:33 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 19:42:10 UTC bouyer-xenpvh commitmail json YAML

Bad news:
* grant table v2 is not supported for HVM guests on 4.11 at last.
* see xen/arch/x86/hvm/hypercall.c in Xen sources (missing
* GNTTABOP_get_status_frames)

So restore grant table v1 for !XENPV

(bouyer)

2020-04-20 19:40:51 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 19:40:24 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 19:38:54 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 19:38:11 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 19:29:09 UTC MAIN commitmail json YAML

xbdback_fragio_intvl is also no longer used

(jdolecek)

2020-04-20 19:20:36 UTC MAIN commitmail json YAML

Fix build with DIAGNOSTIC

(bouyer)

2020-04-20 18:50:46 UTC bouyer-xenpvh commitmail json YAML

Bring in 1.82 and 1.83 from HEAD

(bouyer)

2020-04-20 18:10:10 UTC MAIN commitmail json YAML

- Allow root to set system attributes, samba does this
- Fix locking issue, perhaps we should use our own mutex; does not seem worth
  it for this simple case.

(christos)

2020-04-20 16:32:03 UTC MAIN commitmail json YAML

Add three KASSERTs, to detect refcount bugs.

This narrows down an unknown bug in some place near, that has manifested
itself in various forms (use-after-frees, uninit accesses, page faults,
segmentation faults), all pointed out by syzbot.

The first KASSERT in fixjobc() fires when the bug is encountered.

(maxv)

2020-04-20 16:12:28 UTC MAIN commitmail json YAML

remove I/O defragmentation logic, pass requests straight to the
underlying block device without trying to coalesce them

it seems rarely useful, and it makes the handling logic unnecessarily complex -
ultimately it's the DomU operating system responsibility to issue optimal I/O

might also help with the ZFS problem reported on port-xen, and will surely
simplify eventual indirect segment support

(jdolecek)

2020-04-20 14:11:05 UTC MAIN commitmail json YAML

do not retry when xen_shm_map() fails after having returned error for it,
it corrupts the ring; just go to next request

should fix the problem with ZFS causing failscade when req fails,
reported by Brian Buhrow on port-xen

(jdolecek)

2020-04-20 13:56:07 UTC MAIN commitmail json YAML

2020-04-20 13:30:34 UTC MAIN commitmail json YAML

Add missing include of <sys/atomic.h> to fix the build

(martin)

2020-04-20 13:04:10 UTC MAIN commitmail json YAML

2020-04-20 13:02:57 UTC MAIN commitmail json YAML

Don't mix sign and unsigned operands. Just use size_t for the loop.

(joerg)

2020-04-20 12:08:08 UTC MAIN commitmail json YAML

Provide SHLIBINSTALLDIR explicitly as it defauls to /lib otherwise and
makes ld complain about the 64bit libc.

(joerg)

2020-04-20 12:01:44 UTC MAIN commitmail json YAML

ossaudio: removed outdated comment

(nia)

2020-04-20 11:29:15 UTC bouyer-xenpvh commitmail json YAML

2020-04-20 11:09:48 UTC MAIN commitmail json YAML

Note that these drivers are present on some newer AMD Family 15h
processors.

(simonb)

2020-04-20 11:03:02 UTC MAIN commitmail json YAML

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.

XXX: Some code duplication between this driver and amdtemp as
    parts of the 15h refresh code share more in common with
    older CPUs while accessing the device more like 17h.

(simonb)

2020-04-20 05:22:28 UTC MAIN commitmail json YAML

2020-04-20 05:11:01 UTC MAIN commitmail json YAML

Add missing include to fix build.

(htodd)

2020-04-20 04:23:24 UTC MAIN commitmail json YAML

Whitespace fix. No functional change.

(msaitoh)

2020-04-20 04:17:52 UTC MAIN commitmail json YAML

Whitespace fix. No functional change.

(msaitoh)

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

handle negative small block numbers for extattr

(christos)

2020-04-20 03:00:33 UTC MAIN commitmail json YAML

Fix typo to make compilable.

(msaitoh)

2020-04-20 02:04:44 UTC MAIN commitmail json YAML

More -Wno-error=address-of-packed-member to placate clang.

(riastradh)

2020-04-20 00:35:42 UTC MAIN commitmail json YAML

Understand xattr ktruser records

(christos)

2020-04-20 00:34:58 UTC MAIN commitmail json YAML

Fix the ktrace calls, the data is in user space.

(christos)

2020-04-19 23:05:05 UTC MAIN commitmail json YAML

lwp_wait(): don't need to check for process exit, cv_wait_sig() does it.

(ad)

2020-04-19 22:10:24 UTC MAIN commitmail json YAML

postinstall: ensure contents_owner fix fails on find errors

The issue is that find won't pass anything to xargs and that returns 0.
So replace the usage of xargs with -exec.

(roy)

2020-04-19 21:55:37 UTC MAIN commitmail json YAML

2020-04-19 21:53:38 UTC MAIN commitmail json YAML

uvm_aio_aiodone_pages(): only call uvm_pageout_done() if work was done for
the page daemon.

(ad)

2020-04-19 21:37:00 UTC MAIN commitmail json YAML

ossaudio: Avoid giving userland uninitialized memory. Noticed by maxv.

The uninitalized field in this structure is `fillers`, an array that
simply reserves space for later changes in OSSv4, which this version
of the OSS compat layer (specifically for Linux applications) makes no
effort to implement.

(nia)

2020-04-19 21:24:36 UTC MAIN commitmail json YAML

PR port-arm/55186: tests crash arm pmap

pmap_clearbit(): take execbits into account in the fastpath.

(ad)