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:57:15 UTC Now

2020-09-15 08:13:51 UTC MAIN commitmail json YAML

2020-09-15 07:15:22 UTC MAIN commitmail json YAML

2020-09-15 07:00:04 UTC MAIN commitmail json YAML

2020-09-15 06:22:34 UTC MAIN commitmail json YAML

2020-09-15 05:21:46 UTC MAIN commitmail json YAML

powerpc64, sh3 and vax builds now work.
sh3 and vax now works (workarounds commited.)

(mrg)

2020-09-15 05:19:35 UTC MAIN commitmail json YAML

2020-09-15 05:14:19 UTC MAIN commitmail json YAML

2020-09-15 05:08:07 UTC MAIN commitmail json YAML

2020-09-15 05:06:56 UTC MAIN commitmail json YAML

merge generic changes in eg rs6000/freebsd64.h into netbsd64.h

(mrg)

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

Do not build libtsan on sparc64

(martin)

2020-09-15 04:54:41 UTC MAIN commitmail json YAML

make everyone use gdb.old

(christos)

2020-09-15 02:05:31 UTC MAIN commitmail json YAML

2020-09-14 23:09:34 UTC MAIN commitmail json YAML

make(1): fix coverity annotation for CondParser_String

It had been broken since 2020-09-08, when CondLexer (now CondParser) was
added.

(rillig)

2020-09-14 21:55:53 UTC MAIN commitmail json YAML

2020-09-14 21:52:49 UTC MAIN commitmail json YAML

make(1): add test for wrong error in lint mode for undefined variable

(rillig)

2020-09-14 21:23:58 UTC MAIN commitmail json YAML

make(1): in lint mode, allow undefined variables in dependency lines

This is needed to get past the first few seconds in a src/build.sh run.

The nest obstacle is src/tools/Makefile.gnuhost:30, where the variable
MODULE is undefined even though that file says in line 3 that MODULE is
expected to be set.  It has been saying this since 2001, but since make
didn't have the corresponding check enabled, this didn't break the
build.

(rillig)

2020-09-14 20:43:44 UTC MAIN commitmail json YAML

make(1): inline character constants in var.c

This removes a level of indirection, and the macro names were quite
similar in appearance as well.  The macros may have been used by people
whose editors don't recognize C string and character literals when
navigating to the corresponding brace or parenthesis.  These editors had
already been confused before this commit since there are also string
literals with unbalanced parentheses, and there are far fewer
compensating comments such as /*{*/ or /*)*/ in the code.  In fact, the
only such comment that is left over was in for.c.

This way, there is now a single consistent way of writing these
character literals, which is without macros or comments, since that is
the simplest form.

(rillig)

2020-09-14 19:59:47 UTC MAIN commitmail json YAML

make(1): describe how Parse_Error might print stack traces

In deeply nested include chains and .for loops this may be a useful
feature.  It's a little tricky to generate an intuitive stack trace,
though not impossible.  This explanation also serves as a detailed
documentation about how the .include and .for directives are
implemented.

(rillig)

2020-09-14 19:51:54 UTC MAIN commitmail json YAML

2020-09-14 19:14:19 UTC MAIN commitmail json YAML

make(1): in debug mode, reset unused stack space to NULL

(rillig)

2020-09-14 19:00:28 UTC MAIN commitmail json YAML

Switch hppa to gcc 9.

Summary for 883 test programs:
    7487 passed test cases.
    644 failed test cases.
    51 expected failed test cases.
    582 skipped test cases.

(skrll)

2020-09-14 18:49:24 UTC MAIN commitmail json YAML

make(1): add test for nested .for loops with the same variable name

(rillig)

2020-09-14 18:27:16 UTC MAIN commitmail json YAML

make(1): in the deptgt test, describe what happens to the targets

(rillig)

2020-09-14 18:21:26 UTC MAIN commitmail json YAML

2020-09-14 17:47:05 UTC MAIN commitmail json YAML

make(1): fix documentation of ParseLinkSrcArgs.specType

That code is never called for .SUFFIXES, but for .END.

(rillig)

2020-09-14 17:44:58 UTC MAIN commitmail json YAML

make(1): clean up documentation and code of ParseLinkSrc

The previous documentation was focused on the implementation details,
which are already clear from the code.  Add some high-level
documentation to help readers understand how this function fits into the
overall picture.

(rillig)

2020-09-14 17:43:36 UTC MAIN commitmail json YAML

make(1): add test for combining several special targets

(rillig)

2020-09-14 17:14:12 UTC MAIN commitmail json YAML

2020-09-14 16:59:41 UTC MAIN commitmail json YAML

make(1): eliminate the global variable specType

This variable didn't have an intended lifetype of "whole application",
therefore it is better implemented as a local variable that is passed
around the few functions that really need it.  It's the same pattern as
in the ModifyWord functions in var.c, only this time without a typedef.

(rillig)

2020-09-14 16:40:06 UTC MAIN commitmail json YAML

make(1): extract ParseDependencyTargetWord from ParseDoDependency

(rillig)

2020-09-14 16:33:07 UTC MAIN commitmail json YAML

make(1): split "general GNode *" in ParseDoDepends

(rillig)

2020-09-14 16:27:07 UTC MAIN commitmail json YAML

make(1): fix type of parseKeywords.op

(rillig)

2020-09-14 16:23:33 UTC MAIN commitmail json YAML

make(1): extract some code out of ParseDoDependency

With its almost 600 lines, that function is way too long.

(rillig)

2020-09-14 16:16:52 UTC MAIN commitmail json YAML

make(1): inline LPAREN in parse.c

It's shorter and more readable, and the other characters don't have
named constants as well.

(rillig)

2020-09-14 16:13:19 UTC MAIN commitmail json YAML

(Re)Enable -Werror=array-bounds.

(skrll)

2020-09-14 16:12:41 UTC MAIN commitmail json YAML

make(1): flip conditions in ParseDoDependency

In the usual case where the character is a letter or another ordinary
character, each of the terminal conditions has to be evaluated,
therefore from the compiler's view the order doesn't matter.  For
humans, "a unless b" is easier to grasp and more common than "not b but
a", therefore switch to the common pattern.

(rillig)

2020-09-14 16:11:32 UTC MAIN commitmail json YAML

-Wno-error=array-bounds (missed from previous commit)

(skrll)

2020-09-14 16:11:00 UTC MAIN commitmail json YAML

2020-09-14 16:05:09 UTC MAIN commitmail json YAML

make(1): split complicated condition in ParseDoDependency

(rillig)

2020-09-14 15:17:53 UTC MAIN commitmail json YAML

2020-09-14 15:11:13 UTC MAIN commitmail json YAML

make(1): split confusing condition in ParseDoDependency

A while loop is easier to understand than a do-while loop.

An if statement of the form if-something-then-do-something is easier to
understand than if-complicated-condition-then-continue-doing-something.

(rillig)

2020-09-14 15:09:57 UTC MAIN commitmail json YAML

nd: Name l3addr union of llentry and use in-place of nd_addr.

Probably makes more sense and makes nd.h less messy.

(roy)

2020-09-14 15:01:58 UTC MAIN commitmail json YAML

Consistently, always link sanitizer runtime with libm and libpthread

This reflects the behavior from LLVM and avoids issues with dlsym(3) APIs.

(kamil)

2020-09-14 14:58:27 UTC MAIN commitmail json YAML

make(1): clean up documentation of ParseDoDependency

The documentation was too low-level in parts, essentially repeating the
code in prose.  Instead, add more examples and high-level context
information since that is something that the code cannot do.

(rillig)

2020-09-14 14:56:43 UTC MAIN commitmail json YAML

Undo local patch adding GNU-stack

This is unneeded on NetBSD.

(kamil)

2020-09-14 14:33:01 UTC MAIN commitmail json YAML

Avoid using dummy tsan_rtl_unimpl.cc

Instead of providing broken support, error during build to catch the
problem quickly.

(kamil)

2020-09-14 11:56:01 UTC MAIN commitmail json YAML

Catch unsupported LONG_JMP_SP_ENV_SLOT

A variation of this patch is pending upstream: https://reviews.llvm.org/D87602

(kamil)

2020-09-14 10:53:02 UTC MAIN commitmail json YAML

2020-09-14 10:06:35 UTC MAIN commitmail json YAML

PID_MAX is just an initial value (soft maximum). Don't use it for CTASSERT.
defined __HAVE_CPU_MAXPROC to use function cpu_maxproc().

pointed out by mrg@, thanks.

(ryo)

2020-09-14 09:47:43 UTC MAIN commitmail json YAML

Switch from register_t to unsigned long int

Removes dependency on _KERNTYPES.

(kamil)

2020-09-14 09:02:11 UTC MAIN commitmail json YAML

Fix typo in usage

(kim)

2020-09-14 07:27:19 UTC MAIN commitmail json YAML

2020-09-14 07:13:29 UTC MAIN commitmail json YAML

2020-09-14 07:04:56 UTC MAIN commitmail json YAML

make(1): don't require nested variables to be defined in conditions

This code only applies to lint mode (-dL) for now.  After a test phase
and a thorough check for possible side effects, it will be activated in
normal mode, too.  Having this code in lint mode is required to run
src/build.sh, which relies a lot on using variables with undefined
nested variables in conditions.

In the default mode, any errors about nested undefined variables are not
printed since in Var_Subst, oldVars is true.  Therefore, it is not urgent
to properly handle these nested variables correctly there.

(rillig)

2020-09-14 06:50:31 UTC MAIN commitmail json YAML

Sync with external/gpl3/gdb/dist/gdb by removing unused files:

- rust-exp.c is generated file.
- x86bsd-nat.[ch] were replaced by x86-bsd-nat.[ch] when 8.0.1 was merged.

(rin)

2020-09-14 06:44:50 UTC MAIN commitmail json YAML

2020-09-14 06:22:59 UTC MAIN commitmail json YAML

2020-09-14 05:04:05 UTC MAIN commitmail json YAML

apply some parens to make macros safe.  fixes GCC 9 sanitizer issues.

(mrg)

2020-09-14 04:57:21 UTC MAIN commitmail json YAML

wg: Add altq hooks.

While here, remove the IFQ_CLASSIFY bottleneck (takes the ifq lock,
so it would serialize all transmission to all peers on a single wg(4)
interface).

altq can be disabled at compile-time or at run-time; even if included
at comple-time the run-time impact should be negligible if disabled.

(riastradh)

2020-09-14 01:19:50 UTC MAIN commitmail json YAML

fixed armv7-eb build issue; as not gcc related.

(mrg)

2020-09-14 00:40:58 UTC MAIN commitmail json YAML

2020-09-14 00:40:03 UTC MAIN commitmail json YAML

Revert previous to make iscsi kernel headers optional again, as
required by kamil.

Now, sanitizer in GCC9 has been fixed differently for MKISCSI=no.

(rin)

2020-09-14 00:11:45 UTC MAIN commitmail json YAML

switch m68k and sh3 to binutils 2.34.  testing sun3 in tme
and landisk in gxemul shows them both to work as well as
binutils 2.31.

that's binutils 2.34 for everyone now.

(mrg)

2020-09-14 00:01:51 UTC MAIN commitmail json YAML

fix earmv7eb builds -- add the dtb set items.

(mrg)

2020-09-13 23:33:21 UTC MAIN commitmail json YAML

fix syntax errors in previous.

(mrg)

2020-09-13 23:32:04 UTC MAIN commitmail json YAML

switch riscv and ia64 to GCC 9.
switch riscv to binutils 2.34.

(mrg)

2020-09-13 23:23:00 UTC MAIN commitmail json YAML

riscv64 vs xorg-server is solved (non-gcc specific issue.)

(mrg)

2020-09-13 23:01:03 UTC MAIN commitmail json YAML

2020-09-13 21:41:17 UTC MAIN commitmail json YAML

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

note some platforms switched and some are ready to switch.

(mrg)

2020-09-13 21:18:50 UTC MAIN commitmail json YAML

2020-09-13 21:14:02 UTC MAIN commitmail json YAML

merge riscv*-netbsd* target support.

(mrg)

2020-09-13 21:12:08 UTC MAIN commitmail json YAML

make(1): rename local variables in PrintLocation

For PrintLocation, there is no "current" filename or line number,
therefore the "c" in the variable names was confusing.

(rillig)

2020-09-13 21:03:15 UTC MAIN commitmail json YAML

make(1): in Var_Parse, replace bmake_strldup with bmake_strsedup

(rillig)

2020-09-13 21:00:34 UTC MAIN commitmail json YAML

make(1): add test for dynamic variable with modifiers in Var_Parse

(rillig)

2020-09-13 20:59:18 UTC MAIN commitmail json YAML

switch vax and ia64 to binutils 2.34.  reverse the list and leave
the remaining m68k (untested), riscv (riscv64 ld is missing emulations
for 32 bit targets), and sh3 (untested).

(mrg)

2020-09-13 20:38:47 UTC MAIN commitmail json YAML

make(1): fix documentation of VarParseErrors

It does not matter whether lint mode is enabled or not, Var_Parse must
reliably return whether an error message has been printed or not.

In the current phase where proper error handling is implemented only in
lint mode, this leads to code that looks a bit bloated since a few extra
branches are added, but that's ok.  Eventually the SILENT constants will
all be removed, and then the number of different cases will shrink
again.

(rillig)

2020-09-13 20:21:24 UTC MAIN commitmail json YAML

2020-09-13 20:04:27 UTC MAIN commitmail json YAML

make(1): explain why the dep-var test behaves differently in lint mode

(rillig)

2020-09-13 19:46:23 UTC MAIN commitmail json YAML

make(1): suppress wrong "Malformed conditional" for undefined variables

This only has an effect in lint mode right now.

(rillig)

2020-09-13 19:28:46 UTC MAIN commitmail json YAML

make(1): in lint mode, improve error handling for undefined variables

It's a first step for improving the error message that make prints.

(rillig)

2020-09-13 19:16:22 UTC MAIN commitmail json YAML

make(1): make documentation of VarParseErrors more precise

(rillig)

2020-09-13 18:27:39 UTC MAIN commitmail json YAML

make(1): prepare Var_Parse for proper error handling and reporting

Right now, Var_Parse swallows many errors during parsing and evaluation.
Ideally, these errors should propagate from the deeply nested
expressions where they occur up to the top-level expressions.  When such
an error occurs, the depending expressions should not be evaluated any
further.  They may still be parsed, but side effects should be
minimized.

The goal is to prevent incomplete expressions like the "xy}" in
moderrs.exp:106 from being evaluated and eventually passed to the shell
for execution.  This expression is a left-over from a parse error in the
mod-t-parse target in moderrs.mk:154.

This commit is a first step in analyzing and verifying the current state
of affairs. The modelling in VarParseErrors already looks complicated
but is expected to closely match reality.

(rillig)

2020-09-13 17:18:54 UTC MAIN commitmail json YAML

wg: Fix detach logic.

Not tested but this should be less of a rake to step on if anyone
made an unloadable wg module.

(riastradh)

2020-09-13 17:18:13 UTC MAIN commitmail json YAML

wg: Use RUN_ONCE to defer workqueue_create until after configure.

Should really fix workqueue(9) so workqueue_create can be done before
CPUs have been detected in configure, but this will serve as a stop-
gap measure.

(riastradh)

2020-09-13 17:17:31 UTC MAIN commitmail json YAML

wg: Add missing kpreempt_disable/enable around pktq_enqueue.

(riastradh)

2020-09-13 16:53:19 UTC MAIN commitmail json YAML

make(1): fix tests for .INCLUDES and .LIBS

Found by an early draft of a refactoring of Var_Parse to properly report
errors.

(rillig)

2020-09-13 16:47:24 UTC MAIN commitmail json YAML

make(1): shorten debug output of ApplyModifiers

Having the words "eflags" and "vflags" in the debug output was too
repetitive.  That they are flags is made obvious by the '|' separator,
and the flags have clearly distinguishable names (VARE_* vs. VAR_*),
which lowers the chance for confusion.

(rillig)

2020-09-13 15:52:03 UTC netbsd-9 commitmail json YAML

2020-09-13 15:51:06 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1084):

crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c: revision 1.8

Restore a local change for PR/54740 lost during openssl 1.1.1e merge.
syslogd(8) complains "Could not open /dev/crypto: Device not configured"
again when pseudo-device crypto(4) is not configured in a kernel.

http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.5
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.7

Should be pullued up to netbsd-9.

(martin)

2020-09-13 15:27:25 UTC MAIN commitmail json YAML

make(1): fix position of MAKE_ATTR_UNUSED in inline functions

The attribute needs to be before the return type, otherwise GCC 5
complains that Hash_GetValue is defined but not used, when compiling
with USER_CPPFLAGS=-Dinline=.  The other functions don't get any
warnings.  It's probably because Hash_GetValue is the only inline
function that returns a pointer.

(rillig)

2020-09-13 15:15:51 UTC MAIN commitmail json YAML

make(1): clean up RCSID blocks

These blocks mostly consisted of redundant structure, following the same
#ifndef pattern over and over, with only minimal variation.

It's easier to maintain if the common structure is only written once and
encapsulated in a macro.

To avoid "defined but unused" warnings from GCC in the case where
MAKE_NATIVE is not defined, I had to add volatile.  Adding
MAKE_ATTR_UNUSED alone would not preserve the rcsid variable in the
resulting binary.

(rillig)

2020-09-13 14:36:32 UTC MAIN commitmail json YAML

arp test: Use the ndp cache expiration test in place of the old one

As the logic is the same.
While here, GC some variables and comment out a redundant sleep.

(roy)

2020-09-13 13:53:55 UTC MAIN commitmail json YAML

make(1): fix parameter type of CondEvalExpression

(rillig)

2020-09-13 13:50:27 UTC MAIN commitmail json YAML

make(1): clean up API for evaluating conditions

There was no need to make struct If publicly visible.

There was no need to have parameters in the public API that were passed
the same constants all the time.

The former function names had not been distinctive.

(rillig)

2020-09-13 13:31:36 UTC MAIN commitmail json YAML

Elf64_Phdr::p_offset is 64 bits, not 32

(jmcneill)

2020-09-13 13:25:07 UTC MAIN commitmail json YAML

make(1): clean up comments for ParseErrorInternal and ParseMessage

(rillig)

2020-09-13 13:22:29 UTC MAIN commitmail json YAML

make(1): fix comment for ParseVErrorInternal

(rillig)

2020-09-13 13:17:44 UTC MAIN commitmail json YAML

make(1): reduce complexity of PrintLocation

Analyzing a printf statement that is split into several small pieces is
harder than necessary in this case.  Joing the printf statements into
simple strings.  While here, remove the needless casts to int and add a
few empty lines for visual guidance.

(rillig)

2020-09-13 13:03:16 UTC MAIN commitmail json YAML

make(1): add recently added tests to distrib file list

(rillig)

2020-09-13 12:26:36 UTC netbsd-9 commitmail json YAML

2020-09-13 12:25:29 UTC netbsd-9 commitmail json YAML

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

sys/miscfs/genfs/genfs_rename.c: revision 1.5
tests/fs/vfs/t_renamerace.c: revision 1.37
tests/fs/vfs/t_renamerace.c: revision 1.38

tests/fs/vfs/t_renamerace: Test a screw case hannken@ found.

genfs_rename: Fix deadlocks in cross-directory cyclic rename.

Reproducer:
A: for (;;) { mkdir("c", 0600); mkdir("c/d", 0600); mkdir("c/d/e", 0600);
    rmdir("c/d/e"); rmdir("c/d"); }
B: for (;;) { mkdir("c", 0600); mkdir("c/d", 0600); mkdir("c/d/e", 0600);
    rename("c", "c/d/e"); }
C: for (;;) { mkdir("c", 0600); mkdir("c/d", 0600); mkdir("c/d/e", 0600);
    rename("c/d/e", "c"); }

Deadlock:
- A holds c and wants to lock d; and either
- B holds . and d and wants to lock c, or
- C holds . and d and wants to lock c.

The problem with these is that genfs_rename_enter_separate in B or C
tried lock order .->d->c->e (in A/B, fdvp->tdvp->fvp->tvp; in A/C,
tdvp->fdvp->tvp->fvp) which violates the ancestor->descendant order
.->c->d->e.

The resolution is to change B to do fdvp->fvp->tdvp->tvp and C to do
tdvp->tvp->fdvp->fvp.  But there's an edge case: tvp and fvp might be
the same (hard links), and we can't detect that until after we've
looked them both up -- and in some file systems (I'm looking at you,
ufs), there is no mere lookup operation, only lookup-and-lock, so we
can't even hold the lock on one of tvp or fvp when we look up the
other one if there's a chance they might be the same.

Fortunately the cases
(a) tvp = fvp
(b) tvp or fvp is a directory
are mutually exclusive as long as directories cannot be hard-linked.

In case (a) we can just defer locking {tvp, fvp} until the end, because
it can't possibly have {fdvp or fvp, tdvp or tvp} as descendants.  In
case (b) we can just lock them in the order fdvp->fvp->tdvp->tvp or
tdvp->tvp->fdvp->fvp if the first one of {fvp, tvp} is a directory,
because it can't possibly coincide with the second one of {fvp, tvp}.

With this change, we can now prove that the locking order is consistent
with the ancestor->descendant partial ordering.  Where two nodes are
incommensurate under that partial ordering, they are only ever locked
by rename and there is only ever one rename at a time.

Proof:
- For same-directory renames, genfs_rename_enter_common locks the
  directory first and then the children.  The order
  directory->child[i] is consistent with ancestor->descendant and
  child[0]/child[1] are incommensurate.
- For cross-directory renames:
  . While a rename is in progress and the fs-wide rename lock is held,
    directories can be created or removed but not changed, so the
    outcome of gro_genealogy -- which, given fdvp and tdvp, returns
    the node N relating fdvp/N/.../tdvp or null if there is none --
    can only transition from finding N to not finding N, if one of
    the directories is removed while any of the vnodes are unlocked.
    Merely creating directories cannot change the ancestry of tdvp,
    and concurrent renames are not possible.
    Thus, if a gro_genealogy determined the operation to have the
    form fdvp/N/.../tdvp, then it might cease to have that form, but
    only because tdvp was removed which will harmlessly cause the
    rename to fail later on.  Similarly, if gro_genealogy determined
    the operation _not_ to have the form fdvp/N/.../tdvp then it
    can't begin to have that form until after the rename has
    completed.
    The lock order is,
    => for fdvp/.../tdvp:
      1. lock fdvp
      2. lookup(/lock/unlock) fvp (consistent with fdvp->fvp)
      3. lock fvp if a directory (consistent with fdvp->fvp)
      4. lock tdvp (consistent with fdvp->tdvp and possibly fvp->tdvp)
      5. lookup(/lock/unlock) tvp (consistent with tdvp->tvp)
      6. lock fvp if a nondirectory (fvp->t* or fvp->fdvp is impossible)
      7. lock tvp if not fvp (tvp->f* is impossible unless tvp=fvp)
    => for incommensurate fdvp & tdvp, or for tdvp/.../fdvp:
      1. lock tdvp
      2. lookup(/lock/unlock) tvp (consistent with tdvp->tvp)
      3. lock tvp if a directory (consistent with tdvp->tvp)
      4. lock fdvp (either incommensurate with tdvp and/or tvp, or
          consistent with tdvp(->tvp)->fdvp)
      5. lookup(/lock/unlock) fvp (consistent with fdvp->fvp)
      6. lock tvp if a nondirectory (tvp->f* or tvp->tdvp is impossible)
      7. lock fvp if not tvp (fvp->t* is impossible unless fvp=tvp)

Deadlocks found by hannken@; resolution worked out with dholland@.

XXX I think we could improve concurrency somewhat -- with a likely
big win for applications like tar and rsync that create many files
with temporary names and then rename them to the permanent one in the
same directory -- by making vfs_renamelock a reader/writer lock: any
number of same-directory renames, or exactly one cross-directory
rename, at any one time.

(martin)

2020-09-13 12:20:22 UTC netbsd-9 commitmail json YAML

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

share/man/man9/atomic_loadstore.9: revision 1.6
share/man/man9/ipi.9: revision 1.5
lib/libc/atomic/membar_ops.3: revision 1.6

Spell out acronyms in title for clarity.

Update membar_ops(3) man page with examples and relation to C11.

Add exhortation to always always always document how membars come in
pairs for synchronization between two CPUs when you use them.

atomic_load/store_* appeared in NetBSD 9, not 10.

Pullup preceded release of 9.0.

(martin)

2020-09-13 12:18:16 UTC netbsd-9 commitmail json YAML

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

sys/netinet/tcp_input.c: revision 1.420

PR/kern 55567
fix the data-only fast path. RCV.UP and SND.WL1 could be left behind
on long sequences of data only packets. pull them along to avoid relative
sequence wraps.
consistent with FreeBSD

addresses second failure mode of PR/kern 55567.
pullup to netbsd-8
pullup to netbsd-9

(martin)

2020-09-13 12:17:25 UTC netbsd-8 commitmail json YAML

2020-09-13 12:16:34 UTC netbsd-8 commitmail json YAML

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

sys/netinet/tcp_input.c: revision 1.420

PR/kern 55567
fix the data-only fast path. RCV.UP and SND.WL1 could be left behind
on long sequences of data only packets. pull them along to avoid relative
sequence wraps.
consistent with FreeBSD

addresses second failure mode of PR/kern 55567.
pullup to netbsd-8
pullup to netbsd-9

(martin)

2020-09-13 12:13:13 UTC netbsd-8 commitmail json YAML

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

etc/rc.d/motd: revision 1.10
etc/rc.d/motd: revision 1.11
share/man/man5/rc.conf.5: revision 1.186
share/man/man5/rc.conf.5: revision 1.187
etc/defaults/rc.conf: revision 1.159

Add optional release info in /etc/motd

My personal preferencese for /etc/rc.conf:

    update_motd_release=YES
    motd_release_tag='Binaries: '

This provides an explanation to users about the second version in motd.

Document update_motd_release and motd_release_tag

New sentence, new line.

Make a ": " suffix a fixed part of the release info tag

This results in correct updates to /etc/motd even when the value of
motd_release_tag is changed (a likely event).

Add safe quoting to outputting the read kernel version.

Thanks to kre@ for the feedback.

(martin)

2020-09-13 12:11:07 UTC netbsd-9 commitmail json YAML

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

etc/rc.d/motd: revision 1.10
etc/rc.d/motd: revision 1.11
share/man/man5/rc.conf.5: revision 1.186
share/man/man5/rc.conf.5: revision 1.187
etc/defaults/rc.conf: revision 1.159

Add optional release info in /etc/motd

My personal preferencese for /etc/rc.conf:

    update_motd_release=YES
    motd_release_tag='Binaries: '

This provides an explanation to users about the second version in motd.

Document update_motd_release and motd_release_tag

New sentence, new line.

Make a ": " suffix a fixed part of the release info tag

This results in correct updates to /etc/motd even when the value of
motd_release_tag is changed (a likely event).

Add safe quoting to outputting the read kernel version.

Thanks to kre@ for the feedback.

(martin)

2020-09-13 12:00:46 UTC netbsd-9 commitmail json YAML

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

usr.bin/sockstat/sockstat.c: revision 1.22
usr.bin/sockstat/Makefile: revision 1.5
usr.bin/sockstat/Makefile: revision 1.6

RR/54971: scole_mail: sockstat command output incorrect for normal
user As the PR hints, it is not enough to have kern.expose_address=1
to see kernel addresses, we also need to have the PK_KMEM bit set
which we achieve by installing sockstat setgid kmem and opening
and closing /dev/mem. (/usr/src/sys/kern/kern_proc.c:311). It is
unfortunate that we need to give the program more privilege, to
prove to the kernel that we have the privilege to see the data.

turn on fortify since it is setgid (from scole_mail)

(martin)

2020-09-13 11:56:44 UTC netbsd-9 commitmail json YAML

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

sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.73
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.73
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.74

nvmm-x86-vmx: improve the handling of CR4
- Filter out certain features we don't want the guest to enable. This is
  for general correctness, and future-proofness.
- Flush the guest TLB when certain flags change.

nvmm-x86: improve the handling of RFLAGS.RF
- When injecting certain exceptions, set RF. For us to have an up-to-date
  view of RFLAGS, we commit the state before the event.
- When advancing RIP, clear RF.

(martin)

2020-09-13 11:54:10 UTC netbsd-9 commitmail json YAML

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

sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.68
sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.74
sys/dev/nvmm/x86/nvmm_x86.c: revision 1.16

Improve emulation of MSR_IA32_ARCH_CAPABILITIES: publish only the *_NO
bits. Initially they were the only ones there, but Intel then added other
bits we aren't interested in, and they must be filtered out.

nvmm-x86-svm: improve the handling of MSR_EFER

Intercept reads of it as well, just to mask EFER_SVME, which the guest
doesn't need to see.

nvmm-x86: improve the CPUID emulation

- Mask DTES64, DS_CPL, CID, SDBG, xTPR, PN.
- B10, B20 and IA64 do not exist, so just remove them.

(martin)

2020-09-13 11:48:45 UTC MAIN commitmail json YAML

nd needs arp or inet6. inet is not enough.

(roy)

2020-09-13 11:47:12 UTC MAIN commitmail json YAML

inet: Fix build without ARP

(roy)

2020-09-13 11:09:02 UTC MAIN commitmail json YAML

Elf64_Phdr::p_flags is 32 bits, not 64

(jmcneill)

2020-09-13 10:20:11 UTC MAIN commitmail json YAML

make(1): test another attempt at resuming from fatal errors

(rillig)

2020-09-13 09:43:01 UTC MAIN commitmail json YAML

make(1): inline strchr call in IsInclude

(rillig)

2020-09-13 09:35:10 UTC MAIN commitmail json YAML

Initialize endc unconditionally, gcc complains and it is not obvious
whether this is a false positive.

(martin)

2020-09-13 09:25:52 UTC MAIN commitmail json YAML

make(1): clean up the documentation for Parse_File

(rillig)

2020-09-13 09:23:48 UTC MAIN commitmail json YAML

make(1): fix explanations in test for exporting variables

(rillig)

2020-09-13 09:23:14 UTC MAIN commitmail json YAML

make(1): fix line number in expected test result for .include

(rillig)

2020-09-13 09:20:23 UTC MAIN commitmail json YAML

2020-09-13 09:17:47 UTC MAIN commitmail json YAML

make(1): fix sync-mi helper target, at least for adding tests

(rillig)

2020-09-13 08:51:59 UTC MAIN commitmail json YAML

Add missing dkbad.h include and define _KERNTYPES so we get all internal
types (like register_t) that we need for ptrace.
Fixes the build on sparc64.

(martin)

2020-09-13 08:17:14 UTC MAIN commitmail json YAML

make(1): rename ApplyModifier_Exclam

The names of all other ApplyModifier functions already describe the
effect instead of the spelling.

(rillig)

2020-09-13 08:11:40 UTC MAIN commitmail json YAML

make(1): inline call to strchr in ValidShortVarname

It's a pity that neither GCC 5 nor GCC 10 nor Clang 9 inline this code
themselves, even though it would be easy to do.

Clang 9 at least replaces strchr with memchr, but that is still too
complicated for a simple "is this character one of these" question.

For a repeated "if (varname != ...)" instead of the switch, GCC 10
generates really boring and inefficient code, even though it is easy to
see that the order of the comparisons doesn't matter.

(rillig)

2020-09-13 07:42:20 UTC MAIN commitmail json YAML

make(1): in lint mode, complain about erroneous $$

Since 2008-12-21, make has silently ignored strange variable names in
constructs like '$$', '$}', '$' followed by nothing.  Ignoring these
bugs in makefiles instead of reporting them is not a good idea.

To improve the situation, make complains about these errors now, but
only in lint mode (-dL).  This preserves existing behavior while still
allowing to validate existing makefiles that they don't depend on this
bug.

If the test phase goes well, these error messages may be enabled
unconditionally.

https://mail-index.netbsd.org/pkgsrc-users/2020/09/12/msg032229.html

(rillig)

2020-09-13 07:36:55 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2020-09-13 07:35:15 UTC MAIN commitmail json YAML

Document keyboard mode ioctls and let wsconsctl manage it.

(mlelstv)

2020-09-13 07:32:32 UTC MAIN commitmail json YAML

make(1): add test for empty variable name in :@var@...@ modifier

(rillig)

2020-09-13 06:36:54 UTC MAIN commitmail json YAML

make(1): reduce indentation in Compat_RunCommand

The while (1) had been there since the initial import on 1993-03-21, and
in all that time there had never been a good reason for having it.

(rillig)

2020-09-13 06:15:29 UTC MAIN commitmail json YAML

2020-09-13 06:05:56 UTC MAIN commitmail json YAML

make(1): remove redundant VARARGS comments

These had been necessary at a time when the functions were declared with
"unknown parameter types".

On 1994-03-05, conditional support for function prototypes was added,
for those compilers that already supported this feature.

On 2002-06-15, the prototypes were made mandatory, and since then the
VARARGS comments had been completely redundant, or worse, simply wrong
(for ParseVErrorInternal).

(rillig)

2020-09-13 06:04:53 UTC MAIN commitmail json YAML

Allow components to be specified by wedge name.

(mlelstv)

2020-09-13 05:56:32 UTC MAIN commitmail json YAML

make(1): consense documentation for Fatal

(rillig)

2020-09-13 05:55:39 UTC MAIN commitmail json YAML

make(1): improve implementation comment in Var_Parse

(rillig)

2020-09-13 05:36:26 UTC MAIN commitmail json YAML

make(1): fix comments in test for the :M variable modifier

One mistake per sentence is pretty much, I must have been quite
unconcentrated.

The other commits from around that time are fine though.

(rillig)

2020-09-13 04:14:49 UTC MAIN commitmail json YAML

Support audio descriptor for fstat(1).
sys/dev/audio/*.h: export only what we need for fstat.

(isaki)

2020-09-13 03:43:16 UTC MAIN commitmail json YAML

2020-09-13 03:03:57 UTC MAIN commitmail json YAML

gcc(1): Install TSan for 64bit CPUs.

(kamil)

2020-09-13 03:00:12 UTC MAIN commitmail json YAML

Sync netbsd_syscall_hooks.h with LLVM r. 74760bb00fb9b78a

Update the syscall definitionss from a snapshot 2.5 years old to the
current one.

(kamil)

2020-09-13 02:37:32 UTC MAIN commitmail json YAML

2020-09-12 23:12:44 UTC MAIN commitmail json YAML

make(1): fix assertion failure in Dir_Destroy in -DCLEANUP mode

When the openDirectories path list is cleaned up, each path from it is
first dequeued and then freed via Dir_Destroy.  At this point, the path
is no longer in openDirectories, which triggered an assertion in
Lst_Remove, called by Dir_Destroy.

(rillig)

2020-09-12 23:04:44 UTC MAIN commitmail json YAML

Always link TSan runtime with librt and libm

With these changes, TSan/amd64 works.

(kamil)

2020-09-12 22:52:24 UTC MAIN commitmail json YAML

Disable GetNamedMappingFd for NetBSD

Analogous logic is in LLVM rev. 74760bb00fb9b78a2fe122.

Removes undefined symbol linkage to shm_unlink and shm_open.

(kamil)

2020-09-12 22:35:43 UTC MAIN commitmail json YAML

make(1): add test for escaping dollars in the :M variable modifier

(rillig)

2020-09-12 22:24:22 UTC MAIN commitmail json YAML

Ignore unused functions in tsan_interceptors.cc

(kamil)

2020-09-12 22:23:57 UTC MAIN commitmail json YAML

Sync chunks of tsan_interceptors.cc with LLVM rev. 74760bb00fb9b78a2fe122

Sync tsan_interceptors.cc with upstream file tsan_interceptors_posix.cpp.

Changes:
- define fileno_unlocked() for NetBSD
- use defined __sanitizer_FILE for NetBSD
- handle symbol indirection for vfork and nanosleep
- delete sem_* API, currently moved to common code with sanitizers
- undef SANITIZER_INTERCEPT_PTHREAD_SIGMASK to fix build
- remove locally introduced SANITIZER_NETBSD

With these changes, TSan for GCC builds.

(kamil)

2020-09-12 22:12:18 UTC MAIN commitmail json YAML

make(1): fix return type of ApplyModifier_Localtime

(rillig)

2020-09-12 21:30:36 UTC MAIN commitmail json YAML

Remove dead code block (from a local patch)

(kamil)

2020-09-12 20:03:37 UTC MAIN commitmail json YAML

make(1): move buffer from Var_Parse to ParseVarname

There's no reason to keep the buffer in memory after the variable name
has been parsed.

(rillig)

2020-09-12 19:41:20 UTC MAIN commitmail json YAML

make(1): reword variable invocation to variable expression

Variables are a passive thing.  They cannot be invoked, they can only be
evaluated.

(rillig)

2020-09-12 19:33:02 UTC MAIN commitmail json YAML

make(1): extract ShortVarValue from Var_Parse

(rillig)

2020-09-12 19:24:59 UTC MAIN commitmail json YAML

make(1): extract ParseVarname from Var_Parse

This was an easy part since it affects only a few variables.  250 lines
for a single function is still quite a lot, so further refactorings will
follow.

(rillig)

2020-09-12 19:15:20 UTC MAIN commitmail json YAML

make(1): rename local variable in Var_Subst

(rillig)

2020-09-12 19:13:43 UTC MAIN commitmail json YAML

make(1): remove double negation in Var_Parse

(rillig)

2020-09-12 18:45:24 UTC MAIN commitmail json YAML

make(1): clean up Var_Parse

(rillig)

2020-09-12 18:39:37 UTC MAIN commitmail json YAML

make(1): rename local variables in Var_Parse

The main property of the former "str" is not being a string but pointing
at the start of the expression to be parsed.

The main property of the former "tstr" is not being a string but being
the moving pointer, the current parsing position.  No idea what the "t"
in "tstr" stood for.

(rillig)

2020-09-12 18:19:50 UTC MAIN commitmail json YAML

make(1): rename Var_ParsePP back to Var_Parse

The migration to the "parsing position" pointer has been done.

(rillig)

2020-09-12 18:12:53 UTC MAIN commitmail json YAML

respond to keyboard brightness control PMF events

(macallan)

2020-09-12 18:10:38 UTC MAIN commitmail json YAML

send PMF events for keyboard brightness hotkeys on apple laptops

(macallan)

2020-09-12 18:08:38 UTC MAIN commitmail json YAML

add event types for keyboard brightness control

(macallan)

2020-09-12 18:04:45 UTC MAIN commitmail json YAML

2020-09-12 18:02:43 UTC MAIN commitmail json YAML

make(1): use correct character literals in TryParseNumber

(rillig)

2020-09-12 18:01:51 UTC MAIN commitmail json YAML

make(1): add test for Infinity and NaN

Neither is recognized by the make parser, which is good since the main
task of make is dependency resolution and text processing, not
calculating.

(rillig)

2020-09-12 17:47:24 UTC MAIN commitmail json YAML

2020-09-12 17:14:40 UTC MAIN commitmail json YAML

make(1): clean up code in CondParser_String

The two parts of the for loop were not related in any way, which made
the code more confusing than necessary.

(rillig)

2020-09-12 16:46:24 UTC MAIN commitmail json YAML

make(1): add typedef for signal handler

Without this typedef, both the declaration and the definition of
bmake_signal were as unreadable as the declaration in the signal(3)
manual page.

(rillig)

2020-09-12 16:44:41 UTC MAIN commitmail json YAML

Restrict stic_xmap to the kernel namespace

Otherwise this header is not includable on ports without the definition
of NBPG. This fixes build of sanitizers. In practice only pmax might be
interested in using this device driver.

(kamil)

2020-09-12 16:38:19 UTC MAIN commitmail json YAML

make(1): fix API of Targ_PrintNode

There was no need to export Targ_PrintNode at all.  All the callers need
is a high-level API for printing a single node or a list of nodes.  The
implementation detail that Targ_PrintNode was used as a callback to
Lst_ForEach should have never leaked into the API.

(rillig)

2020-09-12 16:24:20 UTC MAIN commitmail json YAML

make(1): remove unintended noinline from previous commit

(rillig)

2020-09-12 16:22:32 UTC MAIN commitmail json YAML

make(1): fix trailing space in output of related node names (-dg2)

(rillig)

2020-09-12 16:13:48 UTC MAIN commitmail json YAML

make(1): fix API for Targ_PrintCmd

The previous API was too low-level and not strictly typed.

(rillig)

2020-09-12 15:25:42 UTC MAIN commitmail json YAML

2020-09-12 15:21:25 UTC MAIN commitmail json YAML

2020-09-12 15:15:51 UTC MAIN commitmail json YAML

2020-09-12 15:10:55 UTC MAIN commitmail json YAML

2020-09-12 15:03:40 UTC MAIN commitmail json YAML

make(1): fix name and prototype of Compat_RunCommand

By convention, exported identifiers are written with underscore.

The prototype of an exported function must not use void * just because
it is used in Lst_ForEach.  This is an implementation detail and must
remain so.

(rillig)

2020-09-12 15:01:38 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_common_interceptors_netbsd_compat.inc@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_fuchsia.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_glibc_version.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_internal_defs.h@1.14 / diff / nxr@1.14
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_libc.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc@1.38 / diff / nxr@1.38
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_mac.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_netbsd.cc@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_freebsd.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.cc@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_rtems.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_win.cc@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/Makefile.sanitizer@1.15 / diff / nxr@1.15

Sync interceptors of sanitizers with LLVM rev. 00460ae520

Use the 2020-09-10 snapshot to replace two-years-old GCC9 copy of
interceptors.

With this change, ASan works with the locally patched GCC tree (as there
were IOCTL operations not properly defined).

(kamil)

2020-09-12 14:44:25 UTC MAIN commitmail json YAML

bozohttpd: correct .m4a to audio/mp4.

(rhialto)

2020-09-12 14:41:00 UTC MAIN commitmail json YAML

2020-09-12 12:39:28 UTC MAIN commitmail json YAML

bozohttpd: add .m4a and .m4v file extensions.

(rhialto)

2020-09-12 12:24:21 UTC MAIN commitmail json YAML

make(1): fix indentation in dir.c

(rillig)

2020-09-12 12:15:22 UTC MAIN commitmail json YAML

make(1): rename local variable in Dir_FindFile

The name "cp" is not appropriate for a variable containing the basename
of a path.

(rillig)

2020-09-12 12:11:19 UTC MAIN commitmail json YAML

2020-09-12 11:55:28 UTC MAIN commitmail json YAML

2020-09-12 11:45:48 UTC MAIN commitmail json YAML

2020-09-12 11:21:16 UTC MAIN commitmail json YAML

make(1): split ParseVErrorInternal into 2 functions

(rillig)

2020-09-12 10:44:32 UTC MAIN commitmail json YAML

rump: Add nd.c to libnet

(roy)

2020-09-12 10:41:43 UTC MAIN commitmail json YAML

make(1): inline local variable in Cond_Eval

(rillig)

2020-09-12 10:39:34 UTC MAIN commitmail json YAML

make(1): fix wording of parse error in conditionals

The word "should" is not appropriate for situations that eventually lead
to a parse error.

(rillig)

2020-09-12 10:38:52 UTC MAIN commitmail json YAML

make(1): fix wording of parse error in conditionals

The word "should" is not appropriate for situations that eventually lead
to a parse error.

(rillig)

2020-09-12 10:14:16 UTC MAIN commitmail json YAML

make(1): use proper return type for For_Accum

(rillig)

2020-09-12 10:12:09 UTC MAIN commitmail json YAML

make(1): update the comment about .for loops to match the code

(rillig)

2020-09-12 09:37:01 UTC MAIN commitmail json YAML

Restore a local change for PR/54740 lost during openssl 1.1.1e merge.

syslogd(8) complains "Could not open /dev/crypto: Device not configured"
again when pseudo-device crypto(4) is not configured in a kernel.
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.5
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.7

Should be pullued up to netbsd-9.

(tsutsui)

2020-09-12 08:39:37 UTC MAIN commitmail json YAML

Update gcc entry.

(wiz)

2020-09-12 08:39:31 UTC MAIN commitmail json YAML

Fix typo in gcc version.

(wiz)

2020-09-12 08:31:39 UTC MAIN commitmail json YAML

switch to GCC 9 on arm and x86.

note GCC 8.3, 8.4 and 9.3 import dates.  add an UPDATING entry.

(mrg)

2020-09-12 07:04:51 UTC MAIN commitmail json YAML

make(1): add tests for combining the :D and :U variable modifiers

(rillig)

2020-09-12 06:09:17 UTC MAIN commitmail json YAML

Improve slinear16-to-mulaw conversion calculation.
It's about 2~3 times faster on my amd64 and x68k(68030).

(isaki)

2020-09-12 05:19:16 UTC MAIN commitmail json YAML

Improve am7930 family drivers to share more code.
audioamd(4) on sparc, vsaudio(4) on vax, and bba(4) are.
- Remove complex and useless callbacks: onopen, onclose, and
  indirect_{read,write}.  This makes audioamd and vsaudio almost the same.
- Remove (already disabled) assembly fast interrupt path from audioamd(4).
  cf. http://mail-index.netbsd.org/source-changes/2009/12/19/msg004585.html
- Use trigger_* method rather than start_* method.  It's more suitable.
vsaudio(4) was tested by naru@, bba(4) was tested by tsutsui@.

(isaki)