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 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-10 02:24:18 UTC Now

2022-09-16 18:37:48 UTC netbsd-9 commitmail json YAML

2022-09-16 18:36:43 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c: revision 1.45

Add tdx_guest, brs, hfi, ibt, amx_bf16, amx_tile and amx_int8.

(martin)

2022-09-16 18:34:20 UTC netbsd-8 commitmail json YAML

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

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

Accept USB 3.2 in xhci_id_protocols().

(martin)

2022-09-16 18:32:49 UTC netbsd-9 commitmail json YAML

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

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

Accept USB 3.2 in xhci_id_protocols().

(martin)

2022-09-16 18:30:15 UTC netbsd-8 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1764:

sys/dev/ic/mfireg.h 1.22
sys/dev/pci/mfii.c 1.16-1.22,1.27 via patch
share/man/man4/mfii.4 1.3 via patch

- Fix wrong access in mfii_start().
- Add SAS3216,SAS3224,SAS3316 and SAS3324 support.
- Add CVPM02 BBU support.
- Use bus_space_write_8() if available.
- Don't panic on detach if no any sensor device.
- Add comment. Sort entries. KNF.

(martin)

2022-09-16 18:27:38 UTC netbsd-9 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1524:

sys/dev/ic/mfireg.h 1.22
sys/dev/pci/mfii.c 1.16-1.22,1.27 via patch
share/man/man4/mfii.4 1.3 via patch

- Fix wrong access in mfii_start().
- Add SAS3216,SAS3224,SAS3316 and SAS3324 support.
- Add CVPM02 BBU support.
- Use bus_space_write_8() if available.
- Don't panic on detach if no any sensor device.
- Add comment. Sort entries. KNF.

(martin)

2022-09-16 17:32:18 UTC MAIN commitmail json YAML

Minor wording improvements.

Note these do not alter anything about what the man page specifies,
just say a couple of things in a slightly better way, hence no Dd
update accompanies this change (deliberately).

(kre)

2022-09-16 17:29:21 UTC MAIN commitmail json YAML

Move a comment that used to be in the correct place, once upon a time,
back where it belongs, and make it stand out more, so other text is
less likely to find itself pushed between the comment and the text
to which it appears.  This change should make no visible difference
to the man page displayed.

(kre)

2022-09-16 17:25:09 UTC MAIN commitmail json YAML

Whitespace.

(kre)

2022-09-16 08:08:01 UTC MAIN commitmail json YAML

Fix out of range access in AcpiDsExecEndOp().

- Found by kUBSan.
- See: https://github.com/acpica/acpica/pull/745

(msaitoh)

2022-09-16 07:55:34 UTC MAIN commitmail json YAML

It is correct to update ifp statistics per packet, just remove commented out old statistics code.

The code is commented out by if_vmx.c:r1.57.

(knakahara)

2022-09-16 07:35:44 UTC MAIN commitmail json YAML

Cast to uint32_t to avoid undefined behavior in UGETDW(). Found by kUBSan.

(msaitoh)

2022-09-16 07:34:36 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior in ure_uno_mcast(). Found by kUBSan.

(msaitoh)

2022-09-16 03:55:53 UTC MAIN commitmail json YAML

Some MP improvements

- Remove use of IFF_OACTIVE

- Remove use of if_timer and provide an MP safe multiqueue watchdog

- Sprinkle some lock assertions.

Tested by ryo@. Thanks.

(skrll)

2022-09-16 03:12:03 UTC MAIN commitmail json YAML

Add ALWAYS_TXDEFER option to ixl(4), too.

(knakahara)

2022-09-16 03:10:12 UTC MAIN commitmail json YAML

Add ALWAYS_TXDEFER option to vmx(4), too.

(knakahara)

2022-09-16 03:05:52 UTC MAIN commitmail json YAML

ixg(4) add an option for Tx to use deferred softint regardless of whether can get txq lock or not.

That imporve (7%) and stabilize throughput.  But that can cause
latency degradation, so off by default.

ok'ed by msaitoh@n.o.

(knakahara)

2022-09-15 18:00:36 UTC MAIN commitmail json YAML

Correct spelling of terminal (it doesn't have a 2nd m).

(kre)

2022-09-15 14:49:37 UTC MAIN commitmail json YAML

make(1): fix and simplify optional negation on conditional

(uwe)

2022-09-15 14:39:33 UTC MAIN commitmail json YAML

make(1): use .Dl for one-line literal display

(uwe)

2022-09-15 14:34:22 UTC MAIN commitmail json YAML

2022-09-15 14:25:28 UTC MAIN commitmail json YAML

fnm{add,sub}{,s}: Do not negate NaN.

(rin)

2022-09-15 14:24:00 UTC MAIN commitmail json YAML

fpu_execute(): Use FR() macro. No binary changes.

(rin)

2022-09-15 11:35:06 UTC MAIN commitmail json YAML

Fix the build for variants that do not define EDIT.

(martin)

2022-09-15 06:44:18 UTC MAIN commitmail json YAML

whitespace - remove spaces before tabs

(skrll)

2022-09-15 01:30:56 UTC MAIN commitmail json YAML

Add missing newline in a message. KNF.

(msaitoh)

2022-09-14 20:39:23 UTC MAIN commitmail json YAML

make.1: make typography more consistent

(rillig)

2022-09-14 20:18:24 UTC MAIN commitmail json YAML

make.1: fix typography, especially spacing

(rillig)

2022-09-14 17:06:16 UTC MAIN commitmail json YAML

Update editing before prompt printing.

(christos)

2022-09-14 16:15:52 UTC MAIN commitmail json YAML

defer editing setup/cleanup to when we are interactive.

(christos)

2022-09-14 07:37:06 UTC MAIN commitmail json YAML

fix defines no longer provided by config.h.

fixes eg, missing "10x20" font for me, but does require fc-cache
and X restarting to fix.

(mrg)

2022-09-14 05:55:08 UTC MAIN commitmail json YAML

Fix logic for FPSCR[OX]; set FPSCR[FI] (and therefore FPSCR[XX]).

(rin)

2022-09-14 05:54:07 UTC MAIN commitmail json YAML

Fix logic for FPSCR[UX]:
- Correct FPSCR[FPRF] field when round to 0.0 or 0.0f.
- Simplify.

(rin)

2022-09-14 01:05:43 UTC MAIN commitmail json YAML

mfii: Don't panic on detach.

Call sysmon_envsys_destroy() and clear sc->sc_sme to NULL if
sysmon_envsys_register failed.

(msaitoh)

2022-09-13 20:10:04 UTC MAIN commitmail json YAML

nvmm(4): Add suspend/resume support.

New MD nvmm_impl callbacks:

- .suspend_interrupt forces all VMs on all physical CPUs to exit.
- .vcpu_suspend suspends an individual vCPU on a machine.
- .machine_suspend suspends an individual machine.
- .suspend suspends the whole system.
- .resume resumes the whole system.
- .machine_resume resumes an individual machine.
- .vcpu_resume resumes an indidivudal vCPU on a machine.

Suspending nvmm:

1. causes new VM operations (ioctl and close) to block until resumed,
2. uses .suspend_interrupt to interrupt any concurrent and force them
  to return early, and then
3. uses the various suspend callbacks to suspend all vCPUs, machines,
  and the whole system -- all vCPUs before the machine they're on,
  and all machines before the system.

Resuming nvmm does the reverse of (3) -- resume system, resume each
machine and then the vCPUs on that machine -- and then unblocks
operations.

Implemented only for x86-vmx for now:

- suspend_interrupt triggers a TLB IPI to cause VM exits;
- vcpu_suspend issues VMCLEAR to force any in-CPU state to be written
  to memory;
- machine_suspend does nothing;
- suspend does VMXOFF on all CPUs;
- resume does VMXON on all CPUs;
- machine_resume does nothing; and
- vcpu_resume just marks each vCPU as valid but inactive so
  subsequent use will clear it and load it with vmptrld.

x86-svm left as an exercise for the reader.

(riastradh)

2022-09-13 13:09:16 UTC MAIN commitmail json YAML

kill_session now uses the session id to avoid stale session pointers.
protect network socket with rwlock to handle recconnects.
always take over socket from iscsid to prevent leaks.
keep a good connection alive.
don't forget child device when config_detach fails.
fix locking when reassigning CCBs.
pducount is protected by lock, no need for atomic.
some code rework, refined debug messages.

(mlelstv)

2022-09-13 11:47:54 UTC MAIN commitmail json YAML

Add Intel 600 series PCH-LP devices support.

(msaitoh)

2022-09-13 11:46:25 UTC MAIN commitmail json YAML

2022-09-13 11:45:52 UTC MAIN commitmail json YAML

Add more Alder Lake devices.

(msaitoh)

2022-09-13 10:33:37 UTC MAIN commitmail json YAML

xhci(4): After attach, access to sc_child/2 requires sc_intr_lock.

Serializes access with xhci_intr.

XXX Need to ensure the interrupt handler is quiesced at this point or
else it will trip over the assertion in xhci_intr about having at
least one child.

(riastradh)

2022-09-13 10:32:58 UTC MAIN commitmail json YAML

usbdi(9): Sprinkle usbhist into usb xfer timeout logic.

(riastradh)

2022-09-13 10:32:41 UTC MAIN commitmail json YAML

usbdi(9): Fix mistake in usbdi.c 1.244.

Need to clear ux_timeout_set only when we finally actually process
the timeout in usbdi_xfer_timeout_task, not in the callout which
schedules the task which asserts that the timeout is still set on
entry.

Must've exported the wrong version of my change from git.

(riastradh)

2022-09-13 10:18:58 UTC MAIN commitmail json YAML

ld.elf_so(8): Make fork take a shared, not exclusive, lock.

We only need to ensure that there are no concurrent modifications to
the rtld data structures in flight, since the threads that began
those modifications will not exist in the child and will therefore be
unable to complete them in the child.

A shared lock suffices to ensure there are no such concurrent
modifications in flight; an exclusive lock is not necessary, and can
cause deadlock if fork is executed from a signal handler, which is
explicitly allowed by POSIX (and our own sigaction(2) man page) which
marks fork as async-signal-safe.

PR lib/56979

(riastradh)

2022-09-13 10:18:47 UTC MAIN commitmail json YAML

pthread_atfork(3): Block signals during the call to pthread_atfork.

This doesn't affect the calls to the atfork handlers -- it only
protects access to the lists of handlers from interruption by a
signal, in case the signal handler calls fork(2).

(riastradh)

2022-09-13 10:15:29 UTC MAIN commitmail json YAML

xhci(4): Resume commands even if USBSTS.SRE is set.

Commands might not work after this but let's at least not deadlock --
give them an opportunity to time out or fail.

XXX Maybe set sc_dying here to skip the timeout.

(riastradh)

2022-09-13 10:14:43 UTC MAIN commitmail json YAML

2022-09-13 10:14:32 UTC MAIN commitmail json YAML

cgdconfig(8): Restore loop for password re-entry for non-shared keys.

Fixes mistake in previous which changed the semantics in the case
where _no_ keys are shared.

(riastradh)

2022-09-13 10:14:20 UTC MAIN commitmail json YAML

nvme(4): Don't leak memory for queues on every resume.

(riastradh)

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

usbdi(9): Rule out possible race to read xfer->ux_status.

I think this might actually be safe, because when it's synchronous,
the xfer can't be reused except by the caller after usbd_transfer
returns.  But let's make it definitely not wrong instead of maybe
actually safe.

(riastradh)

2022-09-13 09:45:37 UTC MAIN commitmail json YAML

x86/genfb: Re-enable shadowfb by defualt for now.

Something makes radeondrmkmsfb, at at least, extremely slow, and it's
not yet clear what, and shadowfb=true fixes it.  I verified that the
framebuffer pages are correctly getting mapped write-combining, so
the page table entries aren't the problem -- not sure what is the
problem.

(riastradh)

2022-09-13 09:43:33 UTC MAIN commitmail json YAML

autoconf(9): New diagnostic to detect double-detach.

- Rename dv_detached -> dv_detach_committed.
- Add dv_detach_done, asserted false and then set in config_detach.

dv_detach_done may appear redundant with dv_del_gen, but dv_del_gen
will be used to safely detect config_detach on two valid references
to a device (e.g., a bus detaching its child concurrently with drvctl
detaching the same child), while dv_detach_done is strictly a
diagnostic to detect races in the config_detach API.

Currently the config_detach API itself is unsafe, but we can add a
config_detach_release function that simultaneously releases and
detaches a referenced device_t; this will continue to use dv_del_gen
to safely avoid multiple detach, and dv_detach_done to check for
races in usage.

(riastradh)

2022-09-13 09:40:38 UTC MAIN commitmail json YAML

autoconf(9): Improve diagnostics for config_detach_enter/commit/exit.

(riastradh)

2022-09-13 09:40:18 UTC MAIN commitmail json YAML

x86/pmap.h: Need machine/cpufunc.h for invlpg.

(riastradh)

2022-09-13 09:39:50 UTC MAIN commitmail json YAML

amd64/asan.h, amd64/msan.h: Add include guards.

(riastradh)

2022-09-13 09:38:19 UTC MAIN commitmail json YAML

usbnet(9): Call mii_down once we've finished with mii_tick.

(riastradh)

2022-09-13 09:37:49 UTC MAIN commitmail json YAML

kthread(9): Attribute uarea to caller for kmsan.

(riastradh)

2022-09-13 09:35:32 UTC MAIN commitmail json YAML

vflush(9): Insert `involuntary' preemption point at each vnode.

Currently there is a voluntary yield every 100ms, but that's a long
time.  Should help to avoid hogging the CPU while flushing lots of
data to big disks on systems without kpreemption.

(riastradh)

2022-09-13 09:28:06 UTC MAIN commitmail json YAML

KERNEL_LOCK(9): Avoid spinning out until 10sec have passed.

This means we'll never spin out if the hardclock timer is stuck.  But
the hardclock timer never runs with the kernel lock held itself, so
it's not immediately clear that's important.

(riastradh)

2022-09-13 09:14:26 UTC MAIN commitmail json YAML

KERNEL_LOCK(9): Restore backoff while spinning in !LOCKDEBUG case.

When the spinout logic was put under LOCKDEBUG among a series of
other changes that got reverted, the backoff was inadvertently made
LOCKDEBUG-only too.

(riastradh)

2022-09-13 09:13:20 UTC MAIN commitmail json YAML

vfs(9): For MP-safe mounts, don't kernel lock in mount/unmount.

(riastradh)

2022-09-13 08:48:21 UTC MAIN commitmail json YAML

vfs_subr.c: Nix trailing whitespace.

(riastradh)

2022-09-13 08:34:37 UTC MAIN commitmail json YAML

usbdevs(8): Misc KNF.

- Fix whitespace and braces.
- malloc(n * sizeof(...)) -> calloc(n, sizeof(...))

(riastradh)

2022-09-13 08:30:57 UTC MAIN commitmail json YAML

sys/device_if.h: Need sys/stdint.h for uint64_t.

(riastradh)

2022-09-13 05:36:29 UTC MAIN commitmail json YAML

Fix PR kern/57007.  I missed applying a part of the original patch.

(knakahara)

2022-09-13 01:22:12 UTC MAIN commitmail json YAML

fesetexceptflag(): Set FE_ALL_INVALID instead of FE_ALL_EXCEPT for
FE_INVALID. Taken from FreeBSD:

https://cgit.freebsd.org/src/commit/lib/msun/powerpc/fenv.h?id=e7bd4f846f0c9185aebfd3d116bb78ab137280fa

> [POWERPC] msun: fix incorrect flag in fesetexceptflag
> Fix incorrect mask being used when FE_INVALID bit is wanted by user.
> The problem was noticed thanks to msun fenv tests.
>
> Reviewed by: jhibbits, luporl
> Sponsored by: Eldorado Research Institute (eldorado.org.br)
> Differential Revision: https://reviews.freebsd.org/D27201

No regression for full ATF on both real and emulated FPU.

XXX
Import some tests from FreeBSD's lib/msun/tests.

(rin)

2022-09-12 17:12:39 UTC netbsd-9 commitmail json YAML

2022-09-12 17:10:34 UTC netbsd-8 commitmail json YAML

2022-09-12 17:08:13 UTC netbsd-8 commitmail json YAML

Catch up to current, requested by christos in ticket #1763:

        usr.bin/ftp/Makefile                            up to 1.39
        usr.bin/ftp/cmds.c                              up to 1.141
        usr.bin/ftp/complete.c                          up to 1.47
        usr.bin/ftp/domacro.c                          up to 1.23
        usr.bin/ftp/extern.h                            up to 1.82
        usr.bin/ftp/fetch.c                            up to 1.235
        usr.bin/ftp/ftp.1                              up to 1.147
        usr.bin/ftp/ftp.c                              up to 1.174
        usr.bin/ftp/ftp_var.h                          up to 1.86
        usr.bin/ftp/main.c                              up to 1.128
        usr.bin/ftp/progressbar.c                      up to 1.24
        usr.bin/ftp/progressbar.h                      up to 1.9
        usr.bin/ftp/ssl.c                              up to 1.12
        usr.bin/ftp/ssl.h                              up to 1.5
        usr.bin/ftp/util.c                              up to 1.164
        usr.bin/ftp/version.h                          up to 1.94

ftp(1): validate address from PASV and LPSV response.
ftp(1): use raw write(2) instead of fwrite(3) to avoid stream
corruption because of the progress bar interrupts.
Fixes for PR 56219 and PR 55857.
PR 57003: Support relative redirects.

(martin)

2022-09-12 17:06:56 UTC netbsd-9 commitmail json YAML

Catch up to current, requested by christos in ticket #1523

usr.bin/ftp/Makefile up to 1.39
usr.bin/ftp/fetch.c up to 1.235
usr.bin/ftp/ftp.1 up to 1.147
usr.bin/ftp/ftp_var.h up to 1.86
usr.bin/ftp/main.c up to 1.128
usr.bin/ftp/ssl.c up to 1.12
usr.bin/ftp/util.c up to 1.164
usr.bin/ftp/version.h up to 1.94

PR 57003: Support relative redirects.

(martin)

2022-09-12 15:10:31 UTC MAIN commitmail json YAML

Disable verification for now until we implement installation of trust anchors.

(christos)

2022-09-12 15:05:58 UTC netbsd-8 commitmail json YAML

2022-09-12 15:05:21 UTC netbsd-8 commitmail json YAML

2022-09-12 15:03:25 UTC netbsd-9 commitmail json YAML

2022-09-12 15:02:47 UTC netbsd-9 commitmail json YAML

2022-09-12 14:49:03 UTC netbsd-8 commitmail json YAML

2022-09-12 14:46:51 UTC netbsd-8 commitmail json YAML

Catch up to current, requested by christos in ticket #1763:

usr.bin/ftp/Makefile                            up to 1.39
usr.bin/ftp/cmds.c                              up to 1.141
usr.bin/ftp/complete.c                          up to 1.47
usr.bin/ftp/domacro.c                          up to 1.23
usr.bin/ftp/extern.h                            up to 1.82
usr.bin/ftp/fetch.c                            up to 1.235
usr.bin/ftp/ftp.1                              up to 1.147
usr.bin/ftp/ftp.c                              up to 1.174
usr.bin/ftp/ftp_var.h                          up to 1.86
usr.bin/ftp/main.c                              up to 1.128
usr.bin/ftp/progressbar.c                      up to 1.24
usr.bin/ftp/progressbar.h                      up to 1.9
usr.bin/ftp/ssl.c                              up to 1.11
usr.bin/ftp/ssl.h                              up to 1.5
usr.bin/ftp/util.c                              up to 1.164
usr.bin/ftp/version.h                          up to 1.94

ftp(1): validate address from PASV and LPSV response.
ftp(1): use raw write(2) instead of fwrite(3) to avoid stream
corruption because of the progress bar interrupts.
Fixes for PR 56219 and PR 55857.
PR 57003: Support relative redirects.

(martin)

2022-09-12 14:44:35 UTC netbsd-9 commitmail json YAML

2022-09-12 14:42:56 UTC netbsd-9 commitmail json YAML

Catch up to current, requested by christos in ticket #1523

usr.bin/ftp/Makefile                            up to 1.39
usr.bin/ftp/fetch.c                            up to 1.235
usr.bin/ftp/ftp.1                              up to 1.147
usr.bin/ftp/ftp_var.h                          up to 1.86
usr.bin/ftp/main.c                              up to 1.128
usr.bin/ftp/ssl.c                              up to 1.11
usr.bin/ftp/util.c                              up to 1.164
usr.bin/ftp/version.h                          up to 1.94

PR 57003: Support relative redirects.

(martin)

2022-09-12 14:29:20 UTC netbsd-8 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1762:

usr.bin/netstat/atalk.c 1.18,1.20-1.21
usr.bin/netstat/bpf.c 1.16 via patch
usr.bin/netstat/fast_ipsec.c 1.24 via patch
usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch
usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch
usr.bin/netstat/inet6.c 1.70,1.74-1.75,1.80-1.81 via patch
usr.bin/netstat/main.c 1.100,1.102-1.103
usr.bin/netstat/mbuf.c 1.34-1.35
usr.bin/netstat/mroute.c 1.26-1.27
usr.bin/netstat/mroute6.c 1.16
usr.bin/netstat/netstat.h 1.52-1.53
usr.bin/netstat/pfkey.c 1.4-1.5 via patch
usr.bin/netstat/pfsync.c 1.4-1.5 via patch
usr.bin/netstat/route.c 1.87-1.88
usr.bin/netstat/unix.c 1.36-1.37
usr.bin/netstat/vtw.c 1.11,1.13

- Add names of a few more ICMPv6 messages.
  Also make the array be explicitly 256 entries long.
- sprintf() -> snprintf(), and adjust a buffer size to avoid any
  potential for overflow.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
  if the feature isn't enabled.
- Print oqdrops correctly.
- netstat.1: Add various xrefs present in the body to "See Also".
- Limit maximum owner name to appease gcc.
- KNF. Style fixes.

(martin)

2022-09-12 14:23:41 UTC netbsd-9 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1522:

usr.bin/netstat/atalk.c 1.18,1.20-1.21
usr.bin/netstat/bpf.c 1.16 via patch
usr.bin/netstat/fast_ipsec.c 1.24
usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch
usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch
usr.bin/netstat/inet6.c 1.74-1.75,1.80-1.81 via patch
usr.bin/netstat/main.c 1.100-1.103
usr.bin/netstat/mbuf.c 1.35
usr.bin/netstat/mroute.c 1.26-1.27
usr.bin/netstat/mroute6.c 1.16
usr.bin/netstat/netstat.h 1.52-1.53
usr.bin/netstat/pfkey.c 1.4-1.5 via patch
usr.bin/netstat/pfsync.c 1.4-1.5 via patch
usr.bin/netstat/route.c 1.86-1.88
usr.bin/netstat/unix.c 1.36-1.37
usr.bin/netstat/vtw.c 1.11,1.13

- sprintf() -> snprintf(), and adjust a buffer size to avoid any
  potential for overflow.
- Fix netstat -rs to print it correctly.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
  if the feature isn't enabled.
- Print oqdrops correctly.
- Remove Network ATM soft intr queue reporting, we don't have that
  in the kernel anymore.
- netstat.1: Add various xrefs present in the body to "See Also".
- KNF. Style fixes.

(martin)

2022-09-12 13:11:41 UTC MAIN commitmail json YAML

2022-09-12 10:34:20 UTC MAIN commitmail json YAML

Document the -q option.

(martin)

2022-09-12 10:30:39 UTC MAIN commitmail json YAML

Add a -q option to make http quiet (no log messages).

Usefull when running multiple instances and some for (high traffic)
APIs e.g. to receive log data from appliences - it makes not sense
to duplicate the whole log in the xferlog file (but we can't configure
that at the syslog level due to other httpd instances using that).

(martin)

2022-09-12 08:14:55 UTC MAIN commitmail json YAML

PR port-powerpc/56922

__HAVE_FAST_SOFTINTS is broken for powerpc.
Disable it temporarily also for booke.

(rin)

2022-09-12 08:11:51 UTC MAIN commitmail json YAML

Document -O0 hack for ibm4xx copy{in,out}() for clang 13.0.0.

(rin)

2022-09-12 08:06:36 UTC MAIN commitmail json YAML

Work around clang 13.0.0 bug; copy{in,out}() are miscompiled with -O[12],
by which /sbin/init cannot be executed.

(rin)

2022-09-12 08:02:44 UTC MAIN commitmail json YAML

Make ibm4xx kernels compiled by clang.

As clang cannot correctly assemble m[ft]pid:
- for asm sources, use m[ft]spr from/to SPR_PID
- for C sources, use M[FT]PID macros (see include/ibm4xx/spr.h)
This is ugly...

No binary changes for GCC-compiled kernels.

(rin)

2022-09-12 07:38:32 UTC MAIN commitmail json YAML

A simplification and some minor whitespace

(skrll)

2022-09-12 07:26:04 UTC MAIN commitmail json YAML

Uniform vioif's link status to if_link_state.  Implemented by yamaguchi@n.o.

Let vioif(4) know LINK_STATE_UNKNOWN.

(knakahara)

2022-09-12 07:21:10 UTC MAIN commitmail json YAML

make.1: fix style of ellipsis

In most places, '...' is not intended to be entered verbatim, instead it
is a placeholder, so don't use a fixed-width font for it.

(rillig)

2022-09-12 07:13:02 UTC MAIN commitmail json YAML

make.1: remove extraneous .El, update date

(rillig)

2022-09-12 07:10:59 UTC MAIN commitmail json YAML

make.1: split section on directives into several subsections

Directives such as .error or .undef are not conditionals.  Having these
directives mixed in a single list made it more difficult to see how the
directives relate.

(rillig)

2022-09-12 06:23:29 UTC MAIN commitmail json YAML

copy{in,out}(): Minor clean up:
- No need to supply count (== 0).
- %r0 can be used as %[ctx] and %[len].

(rin)

2022-09-12 06:19:14 UTC MAIN commitmail json YAML

copyin(): Remove one more needless mtpid. No regression for full ATF.

(rin)

2022-09-12 02:25:44 UTC MAIN commitmail json YAML

Print oqdrops correctly in continuous display mode using with kvm.

(msaitoh)

2022-09-12 02:21:11 UTC MAIN commitmail json YAML

Update register name at fault.  Pointed out by hgutch@n.o, thanks.

In vetor.S:r1.78
====================
IDTVEC(handle_hypervisor_callback)
      movl    CPUVAR(ILEVEL),%edi
      pushq  %rdi /* for Xdoreti */
====================
So, use %edi as before.

(knakahara)

2022-09-11 23:52:20 UTC MAIN commitmail json YAML

Fix printing current output drop packet count in continuous display mode.

(msaitoh)

2022-09-11 20:49:27 UTC MAIN commitmail json YAML

PR/57003: Handle relative URLs (patch by kim@)

(christos)

2022-09-11 20:32:38 UTC MAIN commitmail json YAML

2022-09-11 20:18:30 UTC MAIN commitmail json YAML

remove unnecessary quotes

(wiz)

2022-09-11 20:16:22 UTC MAIN commitmail json YAML

which.1: minor grammar and style consistency fixes

(gutteridge)

2022-09-11 18:26:10 UTC netbsd-9 commitmail json YAML

2022-09-11 18:24:18 UTC netbsd-9 commitmail json YAML

2022-09-11 18:23:30 UTC netbsd-9 commitmail json YAML

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

sys/arch/atari/pci/pci_vga.c: revision 1.19
sys/arch/atari/conf/MILAN.in: revision 1.30

Improve VGA console settings for Milan, especially for sysinst.
- use explicit WSDISPLAY_FONTENC_IBM font that MI vga(4) assumes
  (so that box drawing characters are rendered properly)
- set ATC and DAC palette settings for proper colors
  (copied from MI vga_subr.c for now because HADES doesn't use mi vga(4))

Tested on Milan with S3 Trio64.  (XXX: needs working HADES with ET4000)

Specify options FONT_VT220L8x16 to get similar glyphs as past font_8x16.c.

(martin)

2022-09-11 18:21:56 UTC netbsd-9 commitmail json YAML

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

sys/arch/atari/vme/if_le_vme.c: revision 1.32
sys/arch/atari/vme/if_le_vme.c: revision 1.33

Fix a long-standing "leprobe: cannot map memory-area" error during probe.

PAM and ROTHRON VME LANCE seem to have 64KB RAM, but the register
address region are overwrapped, so we cannot map both of them via
bus_space_map(9) that checks regions using extent(9).

To work around this, just use only 32KB RAM for buffers.

XXX: not sure if anyone tried these VME LANCE variants

No need to print errors via aprint_error(9) in probe/match function.

Note aprint_error(9) triggers "WARNING: 1 error while detecting hardware"
message after device configuration, so it's a bit confusing for users.

Also check all possible variants even if bus_space_map(9) fails
(though now it shouldn't fail).

(martin)

2022-09-11 18:17:02 UTC netbsd-9 commitmail json YAML

2022-09-11 18:14:55 UTC netbsd-9 commitmail json YAML

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

sys/arch/atari/conf/GENERIC.in: revision 1.123
sys/arch/atari/conf/files.atari: revision 1.124
sys/arch/atari/atari/atari_init.c: revision 1.105

Allocalte enough reserved ST-RAM to make the old Xserver work by default.

Instead, check ST-RAM size and TT-RAM size on startup and restrict
size of reserved ST memory on lower RAM machines.

Closes PR port-atari/41002 from David Ross.

While here, make options ST_POOL_SIZE defparam'ed to make sure to
reflect config(5) changes on each build.

(martin)

2022-09-11 18:10:23 UTC netbsd-9 commitmail json YAML

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

sys/arch/atari/dev/ite.c: revision 1.82
sys/arch/atari/dev/ite_cc.c: revision 1.45
sys/arch/atari/dev/ite_et.c: revision 1.36
sys/arch/atari/dev/itevar.h: revision 1.15

Add a minimum DEC special graphics character support for atari ite(4).

This closes PR port-atari/46647 (Menu borders in sysinst appear as
characters with diacritical marks instead of graphics characters).

Switching encoding support by "ESC ( <F>" sequence for vt220 was
pulled from x68k ite(4) (that already supports ISO-2022-JP and EUC-JP).

Note atari's fonts already include DEC special graphics characters.
ET4000 on Hades is untested due to long-term lack of hardware.

Discussed on port-atari@ etc.

(martin)

2022-09-11 16:42:07 UTC MAIN commitmail json YAML

2022-09-11 15:42:29 UTC MAIN commitmail json YAML

- avoid another credential leak on error from Chris J-D
  (chris at accessvector dot net)
- KNF
- use kmem

(christos)

2022-09-11 15:31:12 UTC MAIN commitmail json YAML

2022-09-11 15:23:39 UTC MAIN commitmail json YAML

Packets larger than 1518 bytes (1522 bytes if VLAN tag is included) are no longer received.
Previously, those packets were received as truncated (incomplete) packets.

(ryo)

2022-09-11 12:46:41 UTC MAIN commitmail json YAML

2022-09-11 09:27:18 UTC MAIN commitmail json YAML

copyin(): Fix comment. No binary changes.

(rin)

2022-09-11 09:14:56 UTC MAIN commitmail json YAML

Add hack for clang for ibm4xx/trap.c.

Integrated as does not recognize {l,st}swx, that have been
requisite insns by architecture since 601.

Also, it does not pass gas for appropriate -mfoo flag.

(rin)

2022-09-11 09:08:04 UTC MAIN commitmail json YAML

copy{in,out}(): Tiny optimizations for __asm codes.
No regressions for full ATF run.

- Use {l,st}swx instead of loop for remaining bytes.
- Drop needless "mtpid %[x]; isync;".

(rin)

2022-09-11 09:03:25 UTC MAIN commitmail json YAML

copy{in,out}(): Add missing clobber registers to __asm codes.

(rin)

2022-09-11 09:00:02 UTC MAIN commitmail json YAML

copy{in,out}(): Add missing ``if (count == 0) goto done;''.

(rin)

2022-09-11 08:57:39 UTC MAIN commitmail json YAML

copy{in,out}(): Consistently use %[tmp] as scratch register. NFC.

(rin)

2022-09-11 08:56:23 UTC MAIN commitmail json YAML

copyin(): Fix copy-paste in comment. No binary changes.

(rin)

2022-09-11 08:49:54 UTC MAIN commitmail json YAML

copy{in,out}(): Cosmetic changes to __asm codes. No binary changes.

- Editor-friendly indentation.
- One insn per line.
- Group insns with logical blocks.

(rin)

2022-09-11 08:34:15 UTC MAIN commitmail json YAML

2022-09-11 08:33:13 UTC MAIN commitmail json YAML

add several samsung nvme entries

(mrg)

2022-09-11 08:30:43 UTC MAIN commitmail json YAML

s/udaddr/uaddr/g for consistency; we use kaddr for kernel data address.
No binary changes.

(rin)

2022-09-11 05:54:00 UTC MAIN commitmail json YAML

2022-09-11 05:50:41 UTC MAIN commitmail json YAML

define _CONST_X_STRING like oclock 1.0.5.

(mrg)

2022-09-11 05:47:47 UTC MAIN commitmail json YAML

2022-09-10 22:41:12 UTC MAIN commitmail json YAML

sys/dtb: prevent duplicate entries in distrib/sets

(rillig)

2022-09-10 19:25:44 UTC MAIN commitmail json YAML

2022-09-10 19:23:03 UTC MAIN commitmail json YAML

wsfb: reduce diffs from upstream.

Mostly pulled/merged from the following upstream changes:

- Fix for dlopen() -based module loader.
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/b77092858a178aa169ed4c1c7fe733d5cd355702

- Remove useless loader symbol lists.
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/bce9fd21483fbeddc84672a1ef01fdd9b58c88ed

- Add compat-api.h for compatibility with xserver 1.13
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/586b722fb17b3eb0ab776c170ee21e6a66fc7f22

- Use own thunk functions instead of shadow*Weak
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/fa9aabe95a65c4dd12008e16ad66d5c773a7993a

- Remove obsolete #ifdef HAVE_XF1BPP and #ifdef HAVE_XF4BPP blocks,
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/16ac29883cb80053fb0b973166a3f664cae1fa44

- Remove unused variables
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/1c1bf30b612933a3303d414c75671c9a05ec450a

- Suppress a bunch of compiler warnings for using constant strings
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/1ff2e87ea1c19d1417b11886d940e205be376d78

- Replace LoaderGetOS with ifdef
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/8069c6970c731c38e105f5dddd5ce83ba88b0773

- Fix spelling/wording issues
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/27c2d76404c7b440a6662446b189fa257c4cebfc

With minor adjustments:
- sync order of members in private struct WsfbRec
- add more const to avoid warning
- add newlines properly to xf86Msg() messages

No particular objection on tech-x11@:
https://mail-index.netbsd.org/tech-x11/2022/06/thread1.html#002311

(tsutsui)

2022-09-10 16:20:04 UTC MAIN commitmail json YAML

tests/make: be more specific about the egrep compatibility

(rillig)

2022-09-10 16:03:43 UTC MAIN commitmail json YAML

distrib/sets: remove more extra keywords from obsolete entries

Found by fmt-list.

(rillig)

2022-09-10 15:54:11 UTC MAIN commitmail json YAML

2022-09-10 15:50:57 UTC MAIN commitmail json YAML

distrib/sets: remove duplicate lines in comp package

(rillig)

2022-09-10 15:45:02 UTC MAIN commitmail json YAML

distrib/sets: remove extra keywords for obsolete files

They were ignored when building the distribution, but fmt-list
complained about them.

(rillig)

2022-09-10 13:13:22 UTC MAIN commitmail json YAML

tests/lint: fix test for queries on platforms where char is unsigned

These platforms reported an additional "implicit conversion changes
sign" in lines 105, 105, 118, 122.

(rillig)

2022-09-10 12:39:06 UTC MAIN commitmail json YAML

2022-09-10 12:31:42 UTC MAIN commitmail json YAML

distrib/sets/sets.subr: fix typo in comment

(rillig)

2022-09-10 12:14:18 UTC MAIN commitmail json YAML

2022-09-10 11:40:08 UTC MAIN commitmail json YAML

sqlite-3.39.3 out

(wiz)

2022-09-10 09:28:26 UTC MAIN commitmail json YAML

Remove unnecessary cast.

(skrll)

2022-09-10 08:22:39 UTC netbsd-8 commitmail json YAML

2022-09-10 08:21:49 UTC netbsd-8 commitmail json YAML

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

sys/kern/kern_core.c: revision 1.37

avoid a GCC warning (happens on -current, -9, and -8.)

(martin)

2022-09-10 08:21:01 UTC netbsd-9 commitmail json YAML

2022-09-10 08:19:35 UTC netbsd-9 commitmail json YAML

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

sys/kern/kern_core.c: revision 1.37

avoid a GCC warning (happens on -current, -9, and -8.)

(martin)

2022-09-10 07:30:41 UTC MAIN commitmail json YAML

avoid a GCC warning (happens on -current, -9, and -8.)

(mrg)

2022-09-09 23:18:56 UTC MAIN commitmail json YAML

2022-09-09 22:15:14 UTC MAIN commitmail json YAML

doc: document grep -r change

(wiz)

2022-09-09 22:14:29 UTC MAIN commitmail json YAML

2022-09-09 19:37:15 UTC MAIN commitmail json YAML

2022-09-09 19:15:20 UTC MAIN commitmail json YAML

2022-09-09 18:36:16 UTC MAIN commitmail json YAML

2022-09-09 18:25:13 UTC netbsd-8 commitmail json YAML

2022-09-09 18:24:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1760):

sys/kern/kern_core.c: revision 1.36

Don't forget to free the cred we just held.
Thanks to Chris J-D (chris at accessvector dot net)

While here, de-duplicate the mutex exit sequence.

(martin)

2022-09-09 18:21:47 UTC netbsd-9 commitmail json YAML

2022-09-09 18:20:51 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1516):

sys/kern/kern_core.c: revision 1.36

Don't forget to free the cred we just held.
Thanks to Chris J-D (chris at accessvector dot net)

While here, de-duplicate the mutex exit sequence.

(martin)

2022-09-09 14:35:27 UTC MAIN commitmail json YAML

G/C ``notyet''; OPC_load_st_62 == std{,u} are integer insns.
No binary changes.

(rin)

2022-09-09 14:30:17 UTC MAIN commitmail json YAML

Don't forget to free the cred we just held.
Thanks to Chris J-D (chris at accessvector dot net)
While here, de-duplicate the mutex exit sequence.

(christos)

2022-09-09 14:16:16 UTC MAIN commitmail json YAML

2022-09-09 10:57:39 UTC MAIN commitmail json YAML

make(1): add space before the punctuation argument

(uwe)

2022-09-09 06:58:24 UTC MAIN commitmail json YAML

remove obsolete file.

(mrg)

2022-09-09 06:23:36 UTC MAIN commitmail json YAML

make.1: clean up and make the description more accurate

Most changes are editorial.  Notable exceptions are:

The ':Q' in MAKE_PRINT_VAR_ON_ERROR was wrongly added in the previous
commit.  As that variable does not produce a shell command, there is no
point in quoting the characters.

Since 2012.10.07.19.17.31, make doesn't complain anymore if a shell
command in compat mode expands to an empty string, which removes the
need to "keep make happy".

(rillig)

2022-09-09 05:27:33 UTC MAIN commitmail json YAML

make.1: only use .Pa for actual pathnames

(rillig)

2022-09-09 03:56:40 UTC MAIN commitmail json YAML

updates for libXfont2 2.0.6.

(mrg)

2022-09-09 03:49:19 UTC MAIN commitmail json YAML

updates for libfontenc 1.1.6.

(mrg)

2022-09-09 03:46:29 UTC MAIN commitmail json YAML

updates for libFS 1.0.9.

(mrg)

2022-09-09 03:45:53 UTC MAIN commitmail json YAML

merge libFS 1.0.9.

also, obsolete the local config.h since only one file needed, and
replace with the pattern in every other .c file here - #ifdef
HAVE_CONFIG_H around the #include.

(mrg)

2022-09-08 20:23:45 UTC MAIN commitmail json YAML

2022-09-08 20:22:55 UTC MAIN commitmail json YAML

make.1: rewrite many details in a more precise way

(rillig)

2022-09-08 15:22:43 UTC MAIN commitmail json YAML

fpu_compare(): Assign r by using return value from fpu_sub(),
instead of directly using &fe->fe_f3. NFC; only for clarity.

(rin)

2022-09-08 15:21:50 UTC MAIN commitmail json YAML

fpu_compare(): Fix inverted logic and comment it out for now.

VXVC is raised for SNaN if VE == 0.

As we still do not support enabled exception bits, comment out
this if statement for consistency at the moment.

(rin)

2022-09-08 10:29:36 UTC netbsd-8 commitmail json YAML

Undo accidental whitespace changes from applying the patch for
ticket #1759 by applying a patch from msaitoh (NFC).

(martin)

2022-09-08 07:05:42 UTC MAIN commitmail json YAML

Sprinkle const. Same binary before and after.

(skrll)

2022-09-08 06:57:44 UTC MAIN commitmail json YAML

2022-09-08 05:52:56 UTC MAIN commitmail json YAML

make: list comparison operators in declaration order

This allows a tiny optimization in the switch statement.

No functional change.

(rillig)

2022-09-08 05:43:20 UTC MAIN commitmail json YAML

tests/make: document an edge case in evaluating conditionals

(rillig)

2022-09-08 05:26:34 UTC MAIN commitmail json YAML

distrib/sets/sets.subr: remove trailing whitespace

(rillig)

2022-09-08 05:16:46 UTC MAIN commitmail json YAML

2022-09-08 05:16:20 UTC MAIN commitmail json YAML

distrib/sets: fix typo in comment

(rillig)

2022-09-08 05:05:08 UTC MAIN commitmail json YAML

distrib/sets/fmt-list: clean up string formatting

No functional change.

(rillig)

2022-09-08 02:40:10 UTC MAIN commitmail json YAML

KNF. Modify comment. No fucntional change.

(msaitoh)

2022-09-07 23:34:56 UTC MAIN commitmail json YAML

make.1: clean up style, grammar, punctuation, improve clarity

(rillig)

2022-09-07 22:57:43 UTC MAIN commitmail json YAML

make.1: remove redundant 'then' from conditional sentences.

(rillig)

2022-09-07 22:36:48 UTC MAIN commitmail json YAML

make.1: use present tense in conditional sentences

These sentences are about general, timeless rules, rather than about
predictions about the future.

(rillig)

2022-09-07 11:37:25 UTC MAIN commitmail json YAML

Comment out emuxki here for now - I don't think they belong here and
something else(tm) is wrong with the setup anyway, so better fix the build
for now and leave cleanup to somebody else.

(martin)

2022-09-07 11:26:23 UTC MAIN commitmail json YAML

Move emuxki from i386/amd64 specific modules to attachment specific
modules (effectively disabling it for the build for now, as it needs
setlist fixes and breaks the build).

(martin)

2022-09-07 10:41:34 UTC MAIN commitmail json YAML

usbdi(9): Fix timeout after non-racy xfer resubmission.

Previously we would never clear ux_timeout_set if an xfer timedout,
so resubmission of the same xfer later would fail to schedule a
callout.

(riastradh)

2022-09-07 10:10:55 UTC netbsd-8 commitmail json YAML

2022-09-07 10:09:20 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1759:

sys/dev/pci/if_wm.c 1.741-1.749,1.753-1.757,
1.762 via patch
sys/dev/pci/if_wmreg.h 1.126-1.127

- Fix I219 workaround in wm_flush_desc_rings().
- Add more statistics counters.
- To avoid releasing mutex temporally, use new
  wm_set_mdio_slow_mode_hv_locked().
- No functional changes:
  - Turn a locking botch (shouldn't drop lock on error) into a KASSERT
    in wm_deferred_start_locked().
  - Remove unneeded header inclusion.
  - Use __BIT() a little.
  - Modify comment and debug messages.
  - Consistency use -1 instead of 1 for some error code.
  - KNF.

(martin)

2022-09-07 10:07:43 UTC netbsd-9 commitmail json YAML

2022-09-07 10:05:42 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1515:

sys/dev/pci/if_wm.c 1.741-1.749,
1.753-1.757,
1.762 via patch
sys/dev/pci/if_wmreg.h 1.126-1.127

- Fix I219 workaround in wm_flush_desc_rings().
- Add more statistics counters.
- To avoid releasing mutex temporally, use new
  wm_set_mdio_slow_mode_hv_locked().
- No functional changes:
  - Turn a locking botch (shouldn't drop lock on error) into a KASSERT
    in wm_deferred_start_locked().
  - Remove unneeded header inclusion.
  - Use __BIT() a little.
  - Modify comment and debug messages.
  - Consistency use -1 instead of 1 for some error code.
  - KNF.

(martin)

2022-09-07 06:53:03 UTC MAIN commitmail json YAML

Fix mnemonics for fm{add,sub}. NFC except for evcnt(9) names.

(rin)

2022-09-07 06:51:58 UTC MAIN commitmail json YAML

fpu_explode(): Fix sign for FTYPE_INT.

NFC for now; conversion for this type is used only for immediate 1.

(rin)

2022-09-07 06:37:05 UTC MAIN commitmail json YAML

Fix the build, add new emuxki_boards.c

(martin)

2022-09-07 03:34:44 UTC MAIN commitmail json YAML

emuxki(4): import a list of board definitions

This is inspired by the cxdtv(4) driver.

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870, PCI)
and with a Sound Blaster Audigy Rx 7.1 (SB1550, PCIe).

Additional sound cards sponsored by the NetBSD Foundation; thanks!

(khorben)

2022-09-07 02:41:39 UTC MAIN commitmail json YAML

Turn fpu_sub() macro into static inline function for clarity.
No binary changes.

(rin)

2022-09-07 01:18:33 UTC MAIN commitmail json YAML

Update to match recent changes in implementation.

(pgoyette)

2022-09-07 01:00:37 UTC MAIN commitmail json YAML

emuxki(4): place struct emuxki_softc into its own file

NFCI

(khorben)

2022-09-07 00:44:07 UTC MAIN commitmail json YAML

emuxki(4): restrict DMA memory within the first 2GB

As implemented in the driver, the EMU10K1 chip can only address memory
up to 31-bit addresses.

Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870, PCI)
and with a Sound Blaster Audigy Rx 7.1 (SB1550, PCIe).

Additional sound cards sponsored by the NetBSD Foundation; thanks!

(khorben)

2022-09-07 00:40:19 UTC MAIN commitmail json YAML