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

2024-05-10 18:16:43 UTC Now

2020-12-19 08:51:03 UTC MAIN commitmail json YAML

Fix previous; define missing lfs_version.

(rin)

2020-12-19 08:09:32 UTC MAIN commitmail json YAML

Various clean ups
- cache node where possible
- remove a compiler warning
- improve a comment (the round_page might not be needed)

(skrll)

2020-12-19 07:19:30 UTC MAIN commitmail json YAML

ufs_open(): Check fs->lfs_version ifdef LIBSA_*L*FS, not LIBSA_*F*FS.

This was harmless for FFS variants, that define LIBSA_FFSv[12], not LIBSA_FFS.

(rin)

2020-12-19 01:18:59 UTC MAIN commitmail json YAML

2020-12-19 01:12:21 UTC MAIN commitmail json YAML

malloc(9) -> kmem(9)

(thorpej)

2020-12-19 00:27:34 UTC MAIN commitmail json YAML

make(1): clean up ParseRawLine

(rillig)

2020-12-19 00:20:57 UTC MAIN commitmail json YAML

make(1): extract ParseRawLine from ParseGetLine

(rillig)

2020-12-19 00:02:35 UTC MAIN commitmail json YAML

make(1): clean up another local variable in ParseGetLine

(rillig)

2020-12-18 23:18:08 UTC MAIN commitmail json YAML

make(1): clean up UnescapeBackslash

(rillig)

2020-12-18 23:13:45 UTC MAIN commitmail json YAML

make(1): remove unused parameter from UnescapeBackslash

(rillig)

2020-12-18 20:07:40 UTC MAIN commitmail json YAML

2020-12-18 19:02:37 UTC MAIN commitmail json YAML

make(1): split ParseGetLine into separate functions

(rillig)

2020-12-18 18:23:29 UTC MAIN commitmail json YAML

make(1): separate ParseGetLine into paragraphs

(rillig)

2020-12-18 18:17:45 UTC MAIN commitmail json YAML

make(1): support using C99 bool for Boolean

(rillig)

2020-12-18 17:32:42 UTC MAIN commitmail json YAML

Merge pkg-install-20201218

(maya)

2020-12-18 15:47:34 UTC MAIN commitmail json YAML

2020-12-18 15:33:34 UTC MAIN commitmail json YAML

While we are inside ddb, allow all memory access.

(martin)

2020-12-18 14:46:44 UTC MAIN commitmail json YAML

make(1): use symbolic time for 0 in Make_Recheck

This makes the test depsrc-optional independent from the current time
zone.

(rillig)

2020-12-18 14:36:46 UTC MAIN commitmail json YAML

2020-12-18 12:29:41 UTC netbsd-9 commitmail json YAML

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

Apply patch, requested by roy in ticket #1154:

external/bsd/dhcpcd/dist/src/dhcp.c (apply patch)

Fix reading of UDP messages via inet socket rather than BPF.
This fixes RENEW messages not being read correctly.

(martin)

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

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

usr.bin/vmstat/vmstat.c: revision 1.232 (patch)

move the time nlist fetches into their own namelist and only
fetch them when necessary.  allow for fallback uses of older
time sources if others are not present.

this stops vmstat from exiting if it can't get the addresses
of these time values it often doesn't need (eg, running kernels
use the sysctl method), which has cropped up recently wit the
removal of boottime variable.

a slighly modified version of this patch (modified to handle
the old boottime variable over the new one) works against a
netbsd-9 vmstat in -current too.
XXX: pullup

(martin)

2020-12-18 07:40:27 UTC MAIN commitmail json YAML

Make this compile on arm

(skrll)

2020-12-18 07:37:21 UTC MAIN commitmail json YAML

2020-12-18 07:34:31 UTC MAIN commitmail json YAML

Make EFI_RUNTIME compile on arm

(skrll)

2020-12-18 07:21:58 UTC MAIN commitmail json YAML

2020-12-18 02:55:32 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 02:54:34 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 02:41:36 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 02:29:50 UTC MAIN commitmail json YAML

Minor typo - do I really need to bump the date for this?  :)

(pgoyette)

2020-12-18 02:04:17 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 01:55:22 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 01:54:22 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 01:46:40 UTC MAIN commitmail json YAML

Use sel{remove,record}_knote().

(thorpej)

2020-12-18 01:41:23 UTC MAIN commitmail json YAML

Use sel{record,remove}_knote().

(thorpej)

2020-12-18 01:40:20 UTC MAIN commitmail json YAML

2020-12-18 01:31:49 UTC MAIN commitmail json YAML

2020-12-18 01:08:13 UTC MAIN commitmail json YAML

Update information about thorpej-futex.

(thorpej)

2020-12-18 00:45:53 UTC MAIN commitmail json YAML

remove unused and #if 0'd since introduced in 1996 struct kvm_cpustate.
sparc kvm was handled differently for the sun4m port.

(mrg)

2020-12-17 08:47:18 UTC MAIN commitmail json YAML

No need for PMAP_WRITE_BACK here (also aa32 pmap doesn't know about it)

(skrll)

2020-12-17 05:33:06 UTC MAIN commitmail json YAML

Change second gc.interval_min to gc.interval_max.

Obviously, second gc.interval_min should be gc.interval_max.

Should be pulled up to netbnsd-9.

(taca)

2020-12-17 03:14:36 UTC thorpej-futex commitmail json YAML

src/sys/compat/linux/arch/alpha/linux_syscall.h@1.110.2.2 / diff / nxr@1.110.2.2
src/sys/compat/linux/arch/alpha/linux_syscallargs.h@1.109.2.2 / diff / nxr@1.109.2.2
src/sys/compat/linux/arch/alpha/linux_syscalls.c@1.111.2.2 / diff / nxr@1.111.2.2
src/sys/compat/linux/arch/alpha/linux_sysent.c@1.110.2.2 / diff / nxr@1.110.2.2
src/sys/compat/linux/arch/amd64/linux_syscall.h@1.71.2.2 / diff / nxr@1.71.2.2
src/sys/compat/linux/arch/amd64/linux_syscallargs.h@1.71.2.2 / diff / nxr@1.71.2.2
src/sys/compat/linux/arch/amd64/linux_syscalls.c@1.71.2.2 / diff / nxr@1.71.2.2
src/sys/compat/linux/arch/amd64/linux_sysent.c@1.71.2.2 / diff / nxr@1.71.2.2
src/sys/compat/linux/arch/amd64/linux_systrace_args.c@1.15.2.2 / diff / nxr@1.15.2.2
src/sys/compat/linux/arch/arm/linux_syscall.h@1.82.2.2 / diff / nxr@1.82.2.2
src/sys/compat/linux/arch/arm/linux_syscallargs.h@1.82.2.2 / diff / nxr@1.82.2.2
src/sys/compat/linux/arch/arm/linux_syscalls.c@1.82.2.2 / diff / nxr@1.82.2.2
src/sys/compat/linux/arch/arm/linux_sysent.c@1.82.2.2 / diff / nxr@1.82.2.2
src/sys/compat/linux/arch/arm/linux_systrace_args.c@1.15.2.2 / diff / nxr@1.15.2.2
src/sys/compat/linux/arch/i386/linux_syscall.h@1.116.2.2 / diff / nxr@1.116.2.2
src/sys/compat/linux/arch/i386/linux_syscallargs.h@1.116.2.2 / diff / nxr@1.116.2.2
src/sys/compat/linux/arch/i386/linux_syscalls.c@1.117.2.2 / diff / nxr@1.117.2.2
src/sys/compat/linux/arch/i386/linux_sysent.c@1.116.2.2 / diff / nxr@1.116.2.2
src/sys/compat/linux/arch/i386/linux_systrace_args.c@1.11.2.2 / diff / nxr@1.11.2.2
src/sys/compat/linux/arch/m68k/linux_syscall.h@1.108.2.2 / diff / nxr@1.108.2.2
      :
(more 11 files)
Regen for preadv(2) and pwritev(2).

(thorpej)

2020-12-17 03:14:16 UTC thorpej-futex commitmail json YAML

2020-12-17 03:05:50 UTC thorpej-futex commitmail json YAML

2020-12-17 03:05:32 UTC thorpej-futex commitmail json YAML

2020-12-17 03:02:07 UTC thorpej-futex commitmail json YAML

2020-12-17 03:00:28 UTC thorpej-futex commitmail json YAML

2020-12-17 02:52:41 UTC thorpej-futex commitmail json YAML

Re-factor the code that maps the clockid_t in timer_create() and
the flags in timerfd_settime() into separate functions.

(thorpej)

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

2020-12-16 03:08:01 UTC thorpej-futex commitmail json YAML

2020-12-16 03:07:43 UTC thorpej-futex commitmail json YAML

2020-12-16 01:35:39 UTC MAIN commitmail json YAML

-O0 hack was reintroduced to jemalloc/rtree.c for GCC9 on alpha.

(rin)

2020-12-16 01:21:32 UTC MAIN commitmail json YAML

For alpha, apply -O0 hack again to rtree.c for GCC9.
Otherwise, GDB11 crashes in strange ways.

(rin)

2020-12-16 01:20:19 UTC MAIN commitmail json YAML

Correct and extend comments on VA for alpha. No binary changes.

(rin)

2020-12-15 21:19:47 UTC MAIN commitmail json YAML

make(1): format function definitions consistently

(rillig)

2020-12-15 20:39:15 UTC MAIN commitmail json YAML

make(1): indent nonints.h and util.c with tabs instead of spaces

(rillig)

2020-12-15 20:17:08 UTC MAIN commitmail json YAML

make(1): indent make.c with tabs instead of spaces

(rillig)

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

make(1): extract MakeChildren from MakeStartJobs

(rillig)

2020-12-15 16:30:56 UTC MAIN commitmail json YAML

make(1): indent job.h with tabs instead of spaces

(rillig)

2020-12-15 16:24:18 UTC MAIN commitmail json YAML

make(1): indent for.c using tabs instead of spaces

(rillig)

2020-12-15 15:20:05 UTC MAIN commitmail json YAML

make(1): clean up hash function for HashTable

Expressing a multiplication as a bit shifts and subtraction is the job
of the compiler.  For humans, a multiplication is easier to read.

(rillig)

2020-12-15 14:07:52 UTC thorpej-futex commitmail json YAML

src/sys/compat/linux/arch/alpha/linux_syscall.h@1.110.2.1 / diff / nxr@1.110.2.1
src/sys/compat/linux/arch/alpha/linux_syscallargs.h@1.109.2.1 / diff / nxr@1.109.2.1
src/sys/compat/linux/arch/alpha/linux_syscalls.c@1.111.2.1 / diff / nxr@1.111.2.1
src/sys/compat/linux/arch/alpha/linux_sysent.c@1.110.2.1 / diff / nxr@1.110.2.1
src/sys/compat/linux/arch/amd64/linux_syscall.h@1.71.2.1 / diff / nxr@1.71.2.1
src/sys/compat/linux/arch/amd64/linux_syscallargs.h@1.71.2.1 / diff / nxr@1.71.2.1
src/sys/compat/linux/arch/amd64/linux_syscalls.c@1.71.2.1 / diff / nxr@1.71.2.1
src/sys/compat/linux/arch/amd64/linux_sysent.c@1.71.2.1 / diff / nxr@1.71.2.1
src/sys/compat/linux/arch/amd64/linux_systrace_args.c@1.15.2.1 / diff / nxr@1.15.2.1
src/sys/compat/linux/arch/arm/linux_syscall.h@1.82.2.1 / diff / nxr@1.82.2.1
src/sys/compat/linux/arch/arm/linux_syscallargs.h@1.82.2.1 / diff / nxr@1.82.2.1
src/sys/compat/linux/arch/arm/linux_syscalls.c@1.82.2.1 / diff / nxr@1.82.2.1
src/sys/compat/linux/arch/arm/linux_sysent.c@1.82.2.1 / diff / nxr@1.82.2.1
src/sys/compat/linux/arch/arm/linux_systrace_args.c@1.15.2.1 / diff / nxr@1.15.2.1
src/sys/compat/linux/arch/i386/linux_syscall.h@1.116.2.1 / diff / nxr@1.116.2.1
src/sys/compat/linux/arch/i386/linux_syscallargs.h@1.116.2.1 / diff / nxr@1.116.2.1
src/sys/compat/linux/arch/i386/linux_syscalls.c@1.117.2.1 / diff / nxr@1.117.2.1
src/sys/compat/linux/arch/i386/linux_sysent.c@1.116.2.1 / diff / nxr@1.116.2.1
src/sys/compat/linux/arch/i386/linux_systrace_args.c@1.11.2.1 / diff / nxr@1.11.2.1
src/sys/compat/linux/arch/m68k/linux_syscall.h@1.108.2.1 / diff / nxr@1.108.2.1
      :
(more 11 files)
Regen for eventfd, timerfd, POSIX timers.

(thorpej)

2020-12-15 14:07:21 UTC thorpej-futex commitmail json YAML

2020-12-15 08:35:52 UTC MAIN commitmail json YAML

it's cpu_switchto (not cpu_switch)

(skrll)

2020-12-15 08:17:31 UTC MAIN commitmail json YAML

Fixup the big mutex_exit comment a little. It's actually, cpu_switchto
that posts a store fence and it's AFTER setting curlwp.

More to come.

(skrll)

2020-12-15 05:48:30 UTC MAIN commitmail json YAML

Make comments are not C comments - use # instead of /* ... */

(martin)

2020-12-15 01:23:55 UTC MAIN commitmail json YAML

make(1): indent hash.h and make_malloc.h with tabs instead of spaces

(rillig)

2020-12-15 00:32:26 UTC MAIN commitmail json YAML

make(1): document how to detect typos in .elif directives

(rillig)

2020-12-14 23:48:03 UTC MAIN commitmail json YAML

make(1): clean up ParseReadLine

In function names, the word "get" was not used consistently to look up
or compute data, in several cases "get" was a synonym for "read", just
like in the standard C library (fgetc).

The really confusing part is that there are two functions now, called
ParseGetLine and ParseReadLine, and both were underdocumented.

(rillig)

2020-12-14 23:12:12 UTC MAIN commitmail json YAML

when updating the per-uid "semcnt", decrement the counter for the uid
that created the ksem, not the uid of the process freeing the ksem.
fixes PR 55509.

Reported-by: syzbot+9d04b3ef2ca180ef9b06@syzkaller.appspotmail.com

(chs)

2020-12-14 22:17:11 UTC MAIN commitmail json YAML

2020-12-14 21:56:17 UTC MAIN commitmail json YAML

2020-12-14 21:35:21 UTC MAIN commitmail json YAML

make(1): make structure of the code in Cond_EvalLine clearer

(rillig)

2020-12-14 21:02:25 UTC MAIN commitmail json YAML

2020-12-14 20:57:32 UTC MAIN commitmail json YAML

2020-12-14 20:39:35 UTC MAIN commitmail json YAML

make(1): don't pretend to expand CondParser_Eval

At that point, the variable expression has already been expanded.  To
avoid the impression that the token might be relevant, pass FALSE
instead of TRUE.  No change of behavior.

(rillig)

2020-12-14 20:28:09 UTC MAIN commitmail json YAML

make(1): add test for variable expressions after a parse error

These variable expressions don't need to be expanded, and they aren't.

(rillig)

2020-12-14 20:23:50 UTC MAIN commitmail json YAML

2020-12-14 19:42:51 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-12-14 19:32:29 UTC MAIN commitmail json YAML

Add a note about completion vs ordering barrier as well.

(skrll)

2020-12-14 19:25:28 UTC MAIN commitmail json YAML

Add a big comment in generic_bs_barrier about mappings and what barriers
are really required and why we cheat.  Inspired by a similar comment in
x86/bus_space.c

(skrll)

2020-12-14 17:30:35 UTC netbsd-9 commitmail json YAML

2020-12-14 17:29:35 UTC netbsd-9 commitmail json YAML

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

sys/arch/hp300/conf/RAMDISK: revision 1.16
sys/arch/hp300/conf/INSTALL: revision 1.66

Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.

Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.

(martin)

2020-12-14 17:26:37 UTC netbsd-9 commitmail json YAML

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

distrib/miniroot/install.sub: revision 1.54
distrib/miniroot/install.sub: revision 1.55
distrib/miniroot/install.sub: revision 1.56
distrib/miniroot/install.sub: revision 1.57
distrib/miniroot/install.sub: revision 1.58
distrib/miniroot/install.sub: revision 1.59
distrib/hp300/miniroot/install.md: revision 1.20
distrib/miniroot/list: revision 1.36
distrib/mvme68k/miniroot/install.md: revision 1.9
distrib/mvme68k/miniroot/install.md: revision 1.10
distrib/sun3/miniroot/install.md: revision 1.6
distrib/sun3/miniroot/install.md: revision 1.7
distrib/sun2/miniroot/install.md: revision 1.6
distrib/sun2/miniroot/install.md: revision 1.7
distrib/amiga/miniroot/install.md: revision 1.31
distrib/mac68k/miniroot/install.md: revision 1.6
distrib/mac68k/miniroot/install.md: revision 1.7
distrib/mac68k/miniroot/install.md: revision 1.8
distrib/hp300/miniroot/install.md: revision 1.18
distrib/hp300/miniroot/install.md: revision 1.19
distrib/miniroot/install.sub: revision 1.53

test ! -n "$foo"  is just a quaint way of saying test -z "$foo"
and test ! -z "$foo" is really just test -n "$foo"  so let's just
use the simple (and more obvious) forms.

NFCI.

-

Add modules set for default sets on miniroot installation.
Should be pulled up to netbsd-9 and netbsd-8.

-

The kernel and X sets should be specified in MD miniroot scripts.

Otherwise they are not listed at least on ftp installation.

The problem was reported by Martin Trusler on port-hp300@:
https://mail-index.netbsd.org/port-hp300/2020/11/21/msg000174.html

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

-

Appease awk warnings on suppressing dmesg timestamps.
awk: warning: escape sequence `\[' treated as plain `['
source line number 1
context is
{ h=$0; >>>  gsub("^[ <<<
awk: warning: escape sequence `\]' treated as plain `]'
source line number 1

Should be pulled up to netbsd-9.

-

Explicitly sort set names fetched via ftp nlist.

Several binary sets are stored as symbolic links on releases and
it seems some ftpd doesn't sort nlist outputs by name in such case.

Worth to pullup to netbsd-9 and netbsd-8.

-

Use proper release version strings ("9.1" rather than "91") in banners.

Also define and use "MACHINE" variable to describe port names
(no uname(1) or sysctl(8) in miniroot binary list by default).

I guess the short format like "91" by ${DISTRIBREV} was used only
for split sets for floppies in 1990's releases.

Worth to pullup to netbsd-9.

-

Inform the default installation directory in the official ftp server.

-

Fetch files via ftp using auto-fetching with URL per each binary set.

On slower machines, it takes more than five minutes to get a large
set binary and it could cause timeout of ftp control session, so
getting multiple binary sets in a single ftp session always fails.

Briefly tested on HP 9000/425e with 9.1 tree and ftp.netbsd.org binaries.

No particular comments on tech-install@ and port-hp300@.

Maybe should be pulled up to netbsd-9.

-

Add missing md_get_partition_range() that causes installation failure.

Also reported by Martin Trusler on testing hp300 miniroot.

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

(martin)

2020-12-14 16:55:51 UTC thorpej-futex commitmail json YAML

2020-12-14 16:54:05 UTC thorpej-futex commitmail json YAML

2020-12-14 16:53:37 UTC thorpej-futex commitmail json YAML

2020-12-14 16:01:38 UTC thorpej-futex commitmail json YAML

2020-12-14 16:01:17 UTC thorpej-futex commitmail json YAML

2020-12-14 16:00:51 UTC thorpej-futex commitmail json YAML

2020-12-14 14:38:18 UTC thorpej-futex commitmail json YAML

2020-12-14 12:34:07 UTC MAIN commitmail json YAML

2020-12-14 11:42:44 UTC MAIN commitmail json YAML

Use full system DSB ops for bs barrier.

(jmcneill)

2020-12-14 11:16:33 UTC MAIN commitmail json YAML

The bus_space(9) man page is not clear whether barriers should enforce
ordering or completion. To be safe, use dsb here instead of dmb.

(jmcneill)

2020-12-14 10:58:08 UTC MAIN commitmail json YAML

t_ossaudio: More descriptive failure cases

(nia)

2020-12-14 10:18:28 UTC MAIN commitmail json YAML

MAsk -> Mask, spotted by rillig@

(jmcneill)

2020-12-14 02:05:08 UTC MAIN commitmail json YAML

Add some precautions for platforms without PT_STEP support.

"nat/gdb_ptrace.h" defines PT_STEP as 9, if it is not defined. nat-ptrace.c
depends on this; inf_ptrace_target::resume() uses PT_STEP unconditionally
when its ``step'' argument is non-zero. Therefore,

- Add comment that nbsd-nat.c should include <sys/ptrace.h> directly,
  instead of "nat/gdb_ptrace.h".

- Add gdb_assert(step == 0) in nbsd_nat_target::resume() ifndef PT_STEP,
  before calling inf_ptrace_target::resume().

(rin)

2020-12-14 02:01:03 UTC MAIN commitmail json YAML

Revert previous as per request from kamil; now, arm/ptrace.h does not
expose unimplemented PT_STEP.

(rin)

2020-12-14 01:58:48 UTC MAIN commitmail json YAML

Obsolete PT_STEP and friends, that have never been implemented.

PT_STEP was exposed to userland for NetBSD 1.6 to 9, and
PT_SETSTEP and PT_CLEARSTEP was for 8 to 9. Therefore, they cannot be
reused for other purposes.

PT_STEP was introduced to arm/ptrace.h rev 1.2:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/include/ptrace.h#rev1.2

This was for workaround against GDB, which assumes PT_STEP is 9 (even
today!!), if it is undefined. But, this should have been dealt with
differently...

(rin)

2020-12-13 21:55:25 UTC MAIN commitmail json YAML

PR/55875 - Valentin -- "gpt recover -r" does nothing

Delete do nothing undocumented option, that was there from initial
import.  No idea what it was intended to do and there is no longer
an "upstream".

(jnemeth)

2020-12-13 21:27:46 UTC MAIN commitmail json YAML

make(1): replace %zu with %u in printf calls

This is needed to compile bmake with GCC 2.8.1 on SunOS 5.9.

To support ancient systems like this, the whole code of usr.bin/make is
supposed to use only ISO C90 features, except for filemon, which is not
used on these systems.

(rillig)

2020-12-13 20:57:17 UTC MAIN commitmail json YAML

make(1): rename Vector.priv_cap to cap

There is no use case for accessing or even modifying the capacity of a
vector, therefore there is no need to hide it using the prefix "priv_".
This way, the member names are aligned between Buffer and Vector.

(rillig)

2020-12-13 20:40:38 UTC MAIN commitmail json YAML

SBBR says that the CPPC interface should be used on AArch64 instead of
P-states and T-states. Enable acpipcc and acpicppc, and disable acpicpu.

(jmcneill)

2020-12-13 20:39:20 UTC MAIN commitmail json YAML

acpi: Add support for Collaborative Processor Performance Control (CPPC).

CPPC is the modern replacement for processor performance controls (P-states
and T-states). The _CPC method on a processor device contains information
about supported performance levels of the device.

This driver reports the supported performance levels and allows for
setting the desired level using the machdep.cpufreq.cpuN.* sysctls. Note
that a "performance level" value is not guaranteed to represent a CPU
frequency, so treat the numbers reported as such.

(jmcneill)

2020-12-13 20:27:53 UTC MAIN commitmail json YAML

acpi: Add support for ACPI Platform Communications Channel (PCC).

(jmcneill)

2020-12-13 20:24:26 UTC MAIN commitmail json YAML

Add MI support for attaching drivers to arbitrary System Description
Tables.

(jmcneill)

2020-12-13 20:14:48 UTC MAIN commitmail json YAML

make(1): add str_basename to reduce duplicate code

The function basename from POSIX has a few unfortunate properties, it is
allowed to return a pointer to static memory.  This is too unreliable,
therefore this trivial own implementation.

(rillig)

2020-12-13 20:09:02 UTC MAIN commitmail json YAML

2020-12-13 19:33:54 UTC MAIN commitmail json YAML

2020-12-13 19:22:02 UTC MAIN commitmail json YAML

Disable use of UBC_FAULTBUSY in tmpfs_write() for now,
which brings back zeroing of all new tmpfs data pages.
The existing code that enables this optimization skips the zeroing
in numerous cases where it is needed, resulting in corrupted files
and data leaks from the page's previous identity.

(chs)

2020-12-13 19:08:20 UTC MAIN commitmail json YAML

2020-12-13 18:57:44 UTC MAIN commitmail json YAML

make(1): document variable expansion in the .END node

(rillig)

2020-12-13 18:12:29 UTC MAIN commitmail json YAML

2020-12-13 17:44:31 UTC MAIN commitmail json YAML

2020-12-13 16:50:47 UTC MAIN commitmail json YAML

Improve previous: generated names end with .[[:digits:]] so look for that
instead.

(christos)

2020-12-13 16:47:19 UTC MAIN commitmail json YAML

make(1): add comments for strange error handling in Compat_Run

(rillig)

2020-12-13 16:32:57 UTC MAIN commitmail json YAML

make(1): extract InitSignals from Compat_Run

(rillig)

2020-12-13 16:30:08 UTC MAIN commitmail json YAML

make(1): extract MakeBeginNode from Compat_Run

The comment "execute the commands" had once been correct but not
anymore.  Since a few years, not only the commands of the .BEGIN and
.END nodes are executed, instead the nodes are made as usual, including
their dependencies.

(rillig)

2020-12-13 16:14:40 UTC MAIN commitmail json YAML

make(1): extract UseShell from Compat_RunCommand

(rillig)

2020-12-13 08:23:52 UTC MAIN commitmail json YAML

2020-12-13 08:20:56 UTC MAIN commitmail json YAML

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

Revise comments.

(isaki)

2020-12-13 05:44:09 UTC MAIN commitmail json YAML

Fix a return value of audiopoll().
fo_poll is expected to return revents rather than errno on error.

(isaki)

2020-12-13 05:29:20 UTC MAIN commitmail json YAML

Avoid a dead lock in audiodetach, since rev 1.63.
audio_unlink() must be called without exlock held (and
audio_mixer_destroy() must be called with exlock held).
This makes unplugging during playing/recording work (again).
Reported by Julian Coleman on current-users:
http://mail-index.netbsd.org/current-users/2020/12/10/msg040050.html

(isaki)

2020-12-13 05:21:12 UTC MAIN commitmail json YAML

Add missing newline.

(isaki)

2020-12-13 05:13:38 UTC MAIN commitmail json YAML

Prune job debug output that may appear out of order.

A race between child and parent means that we cannot
guarantee whether all child output is seen before we call
JobClosePipes, thus intervening debug output can appear
before or after the last child output.

(sjg)

2020-12-13 02:15:49 UTC MAIN commitmail json YAML

make(1): remove dead code from GetVarnamesToUnexport

Now that the parsing of the directives is unified and strict, there is
no need anymore for the dispatched functions to check for unknown
directives.  These functions don't even get the information to decide
that since this decision is already done.

(rillig)

2020-12-13 02:09:55 UTC MAIN commitmail json YAML

Avoid noise when csh does not exist

(sjg)

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

Ensure we have a value for .MAKE.UID

(sjg)

2020-12-13 02:01:43 UTC MAIN commitmail json YAML

make(1): replace *line with line[0]

Since a line is not an iterator and since the expression *line typically
means "the current element", not "the first character", replacing *line
with line[0] more directly expresses the idea of accessing the first
character of a string.

(rillig)

2020-12-13 01:51:08 UTC MAIN commitmail json YAML

make(1): clean up comment for ParseDirective

(rillig)

2020-12-13 01:41:12 UTC MAIN commitmail json YAML

2020-12-13 01:33:17 UTC MAIN commitmail json YAML

make(1): replace bitset VarExportFlags with enum VarExportMode

The previous flags were not combined at all.

(rillig)

2020-12-13 01:10:22 UTC MAIN commitmail json YAML

2020-12-13 01:07:54 UTC MAIN commitmail json YAML

2020-12-13 00:46:25 UTC MAIN commitmail json YAML

make(1): add test for misspelled directives

This test allows the other directive-* tests to focus on the purpose of
the individual directive, allowing these tests to continue after
parsing, without errors.

(rillig)

2020-12-13 00:37:43 UTC MAIN commitmail json YAML

t_ossaudio was installed for clang, so remove gcc marking

(roy)

2020-12-13 00:04:40 UTC MAIN commitmail json YAML

diffutils: execl requires a NULL sentinel

(roy)

2020-12-12 21:35:21 UTC MAIN commitmail json YAML

make(1): reduce indentation of ParseDirective

(rillig)

2020-12-12 21:20:30 UTC MAIN commitmail json YAML

2020-12-12 20:31:57 UTC netbsd-8 commitmail json YAML

2020-12-12 20:30:57 UTC netbsd-8 commitmail json YAML

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

sys/dev/usb/ohci.c: revision 1.311
sys/dev/usb/ohci.c: revision 1.312
sys/dev/usb/ohcivar.h: revision 1.62

Restructure the abort code for TD based transfers (ctrl, bulk, intr).

In PR kern/22646 some TDs can be on the done queue when the abort start
and, if this is the case, they need to processed after the WDH interrupt.
Instead of waiting for WDH we release TDs that have been touched by the
HC and replace them with new ones.  Once WDH happens the floating TDs
will be returned to the free list.

Also addresses the issue seen in PR kern/55835

Thanks to both Andreas Gustafsson and Edgar Fu=C3=9F for testing.  Apologi=
es to
Andreas Gustafsson for not committing this to HEAD for 4y6m.w

Remove leading space that crept in in the last change

(martin)

2020-12-12 20:30:03 UTC netbsd-9 commitmail json YAML

2020-12-12 20:29:11 UTC netbsd-9 commitmail json YAML

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

sys/dev/usb/ohci.c: revision 1.311
sys/dev/usb/ohci.c: revision 1.312
sys/dev/usb/ohcivar.h: revision 1.62

Restructure the abort code for TD based transfers (ctrl, bulk, intr).

In PR kern/22646 some TDs can be on the done queue when the abort start
and, if this is the case, they need to processed after the WDH interrupt.
Instead of waiting for WDH we release TDs that have been touched by the
HC and replace them with new ones.  Once WDH happens the floating TDs
will be returned to the free list.

Also addresses the issue seen in PR kern/55835

Thanks to both Andreas Gustafsson and Edgar Fu=C3=9F for testing.  Apologi=
es to
Andreas Gustafsson for not committing this to HEAD for 4y6m.w

Remove leading space that crept in in the last change

(martin)

2020-12-12 20:00:52 UTC MAIN commitmail json YAML

make(1): extract ExportVarsExpand from Var_Export

(rillig)

2020-12-12 19:39:34 UTC MAIN commitmail json YAML

make(1): fix undefined behavior when exporting ${:U }

(rillig)

2020-12-12 19:31:18 UTC MAIN commitmail json YAML

2020-12-12 19:13:48 UTC MAIN commitmail json YAML

make(1): remove redundant call to strlen in Str_Words

(rillig)

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

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

Use the NetBSD-specific back-end.

(christos)

2020-12-12 18:44:38 UTC MAIN commitmail json YAML

Add a NetBSD-specific back-end. (riastradh@)

(christos)

2020-12-12 18:41:13 UTC MAIN commitmail json YAML

Be more clear and don't rely on cur being the first member.

(christos)

2020-12-12 18:35:59 UTC MAIN commitmail json YAML

vfs_cache - do not write outside allocated memory.

In cache_cpu_init allocate struct nchcpu, not struct nchstats_percpu.
cache_update_stats expects the former (that contains two percpu
structs).  Stat updates where smashing whatever was in the next pool
allocation.

Reported by martin@ as crashes in ptyfs on Krups.

(uwe)

2020-12-12 18:19:34 UTC MAIN commitmail json YAML

Don't try to memcpy (size_t)-1 bytes!

(christos)

2020-12-12 18:11:42 UTC MAIN commitmail json YAML

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

2020-12-12 16:54:21 UTC MAIN commitmail json YAML

make(1): add number of uncovered lines to coverage report

(rillig)

2020-12-12 16:08:39 UTC MAIN commitmail json YAML

Add support for decoding Platform Communications Channel Tables ("PCCT").

(jmcneill)

2020-12-12 16:06:27 UTC MAIN commitmail json YAML

make(1): add target test-coverage

(rillig)

2020-12-12 15:06:11 UTC MAIN commitmail json YAML

make(1): add test for a shell with error control

None of the predefined shells has error control, and the corresponding
code had not been covered by the existing unit tests.

(rillig)

2020-12-12 13:13:34 UTC MAIN commitmail json YAML

make(1): clean up comments around JobPrintSpecials

(rillig)

2020-12-12 13:04:48 UTC netbsd-9 commitmail json YAML

2020-12-12 13:03:47 UTC netbsd-9 commitmail json YAML

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

sys/dev/fdt/pwm_backlight.c: revision 1.7

save the new current level when set by the user.

stops PBP display from going back to default brightness after
dpms, etc.

ok jmcneill.

(martin)

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

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

sbin/atactl/atactl.c: revision 1.84

micron SMART 202 is percent lifetime used not remaining.

almost gave myself a heart attack when my server said 7% remaining!

(martin)

2020-12-12 13:00:18 UTC netbsd-8 commitmail json YAML

2020-12-12 12:58:51 UTC netbsd-8 commitmail json YAML

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

sys/dev/usb/ucom.c: revision 1.128

properly wait for refcounts to drain.
fixes panic at detach that jmnceill saw.

XXX: pullup-[89].

(martin)

2020-12-12 12:56:56 UTC MAIN commitmail json YAML

make(1): rename ParseRunOptions to ParseCommandFlags

(rillig)

2020-12-12 12:56:40 UTC netbsd-9 commitmail json YAML

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

sys/dev/usb/ucom.c: revision 1.128

properly wait for refcounts to drain.
fixes panic at detach that jmnceill saw.

XXX: pullup-[89].

(martin)

2020-12-12 12:54:58 UTC MAIN commitmail json YAML

make(1): extract ShellWriter_ErrOn from JobPrintCommand

It had been conceptually wrong to modify cmdFlags.echo just to suppress
echoing while enabling error checking.

Now the code in JobPrintCommand speaks for itself and no longer needs
any comments.  The few lines at the end have the sole purpose of
restoring the default state (echo + errChk) in the shell file.

(rillig)

2020-12-12 12:28:07 UTC MAIN commitmail json YAML

make(1): fix typo in comment of JobPrintCommand

(rillig)

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

make(1): reduce number of test cases in sh-flags.mk

The field job->echo is initialized in JobStart (and in JobOpenTmpFile).
After that, it is not modified anymore.  Therefore it is not necessary
to run these test cases redundantly.

The field job->ignerr, on the other hand, is modified later on.  For
these cases, the many remaining test cases are still needed.

(rillig)

2020-12-12 12:13:12 UTC MAIN commitmail json YAML

make(1): demonstrate that -s and .SILENT have the same effect

(rillig)

2020-12-12 11:33:10 UTC MAIN commitmail json YAML

make(1): make Job_Touch simpler

(rillig)

2020-12-12 11:28:29 UTC MAIN commitmail json YAML

make(1): split JobFinishDone into smaller functions

(rillig)

2020-12-12 11:03:43 UTC MAIN commitmail json YAML

make(1): extract JobFinishDone from JobFinish

(rillig)

2020-12-12 11:02:06 UTC MAIN commitmail json YAML

Mention pkg_install-20201212

(wiz)

2020-12-12 11:00:57 UTC MAIN commitmail json YAML

2020-12-12 10:58:14 UTC MAIN commitmail json YAML

make(1): clean up comments in JobFinish

(rillig)

2020-12-12 10:45:25 UTC MAIN commitmail json YAML

make(1): inline ShellWriter_PrintCmd

The parameter name escCmd was wrong for the call in JobPrintCommand.

(rillig)

2020-12-12 10:40:42 UTC MAIN commitmail json YAML

make(1): rename Shell.exitFlag to errFlag

Now its name matches the user-visible .SHELL parameter again, reducing a
tiny bit of that mapping chaos.

(rillig)

2020-12-12 10:21:50 UTC MAIN commitmail json YAML

make(1): move Job.xtraced to ShellWriter

This flag was placed wrong in the Job since it is only necessary as long
as the shell commands are written to the shell file.

Resetting it in JobStart and JobExec was completely misguided since that
is far away from writing the shell commands; this should have been done
in JobPrintCommands instead.

The status of this flag doesn't need to be printed in debugging mode
since it is controlled by a single command line option (-dx) and does
not interact with all the other switches.

(rillig)

2020-12-12 10:05:15 UTC MAIN commitmail json YAML

make(1): in jobs mode, extract echo control into separate functions

This removes the clutter from the code that calls these functions.  That
code is still complicated enough since it modifies variables it
shouldn't.

(rillig)

2020-12-12 09:27:32 UTC MAIN commitmail json YAML

2020-12-12 05:48:55 UTC MAIN commitmail json YAML

Remove options (NVNODE, NBUF, and BUFPAGES) for small RAM machines.

These options make extracting binary sets much slower even on miniroot.
Instead, use "options BUFCACHE=5" (use 5% of memory for buffercache) and
also specify "-fno-unwind-tables" for COPTS to shrink INSTALL kernel.

Worth to pullup to netbsd-9.

(tsutsui)

2020-12-12 05:23:21 UTC MAIN commitmail json YAML

Fetch files via ftp using auto-fetching with URL per each binary set.

On slower machines, it takes more than five minutes to get a large
set binary and it could cause timeout of ftp control session, so
getting multiple binary sets in a single ftp session always fails.

Briefly tested on HP 9000/425e with 9.1 tree and ftp.netbsd.org binaries.
No particular comments on tech-install@ and port-hp300@.

Maybe should be pulled up to netbsd-9.

(tsutsui)

2020-12-12 03:03:14 UTC MAIN commitmail json YAML

2020-12-12 02:50:26 UTC MAIN commitmail json YAML

Add directory entry for new libossaudio test

(pgoyette)

2020-12-12 02:03:37 UTC MAIN commitmail json YAML

make(1): make printing of shell commands independent from the job

(rillig)

2020-12-12 01:42:33 UTC MAIN commitmail json YAML

make(1): in jobs mode, extract writing of shell commands

Right now, the test sh-flags.mk demonstrates many variants to configure
echoing of the shell commands (-s, .SILENT, '@'), error handling (-i,
.IGNORE, '-') and whether the commands are run (-n, -N, .MAKE,
.RECURSIVE, '+').

Even more variants are possible by configuring the shell to have error
control.  None of the built-in shell definitions has error control, so
it is unlikely that anybody uses them, but who knows.

Being able to configure these details at 3 levels is good, but what
makes all this really hard to understand is that some of these switches
interact in non-obvious ways.  For example, in jobs mode, a single
command can change job->ignerr (in JobPrintSpecialsEchoCtl), which will
affect all further commands of that job.

The goal of this refactoring is to make the code easier to understand by
making the switches on the job level constant and by moving all
modifications to them to the ShellWriter.

(rillig)

2020-12-12 00:53:23 UTC MAIN commitmail json YAML

make(1): inline local variable in ApplyModifiersIndirect

(rillig)

2020-12-12 00:42:35 UTC MAIN commitmail json YAML

make(1): in ApplyModifiersIndirect, rename local variable

In other places, the parsing position is abbreviated as pp as well.

(rillig)

2020-12-12 00:33:25 UTC MAIN commitmail json YAML

make(1): remove const from function parameters

These have been left-overs from refactoring, when these pieces were
extracted to separate functions.

(rillig)

2020-12-12 00:05:05 UTC MAIN commitmail json YAML

make(1): inline Targ_Ignore and Targ_Silent

Each of these functions was only used 2 times, and each of these calls
used a different part of the whole expression.

(rillig)

2020-12-11 23:01:00 UTC MAIN commitmail json YAML

make(1): clean up comments for command line options

(rillig)

2020-12-11 22:53:08 UTC MAIN commitmail json YAML

make(1): fix documentation of POSIX configuration

Empty commands are always allowed, whether in POSIX mode or not.

(rillig)

2020-12-11 22:48:31 UTC MAIN commitmail json YAML

make(1): remove DEFMAXLOCAL and DEFMAXJOBS

These have been hard-wired all the time.  The word LOCAL doesn't make
sense anymore since the code for running jobs remotely has gone.

(rillig)

2020-12-11 22:42:31 UTC MAIN commitmail json YAML

Simplify gits_command by getting rid of the _BYTE_ORDER test and just
always use the loop + htole64 path.

(jmcneill)

2020-12-11 22:33:06 UTC MAIN commitmail json YAML

make(1): mark strange code that calls exit(signo)

In other places, the exit status of make is carefully chosen to be 0
(success), 1 (did not make everything), 2 (other error).  Using a signal
number is not guaranteed to be consistent among operating systems and is
therefore a weird choice.

(rillig)

2020-12-11 21:52:19 UTC MAIN commitmail json YAML

Touch up cgdconfig(8) man page.

- Suggest adiantum first.
- Remove references to Blowfish.
- Clarify that ivmethod is relevant only for ancient compatibility.

(riastradh)

2020-12-11 21:40:50 UTC MAIN commitmail json YAML

Preserve ST Lower and Upper fields when clearing Mask bit in the MSI-X
vector control register.

(jmcneill)