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

2024-05-10 11:08:29 UTC Now

2024-04-04 07:40:39 UTC MAIN commitmail json YAML

lagg(4): Added LACP_READY state for logging
when a port turns SELECTED or UNSELECTED

(yamaguchi)

2024-04-04 07:35:01 UTC MAIN commitmail json YAML

lagg(4): Added 0 length check

(yamaguchi)

2024-04-04 07:31:10 UTC MAIN commitmail json YAML

lagg(4): fix missing update of the number of active ports

(yamaguchi)

2024-04-04 07:29:35 UTC MAIN commitmail json YAML

lagg(4): update link speed when a physical interface is removed

(yamaguchi)

2024-04-04 00:46:42 UTC MAIN commitmail json YAML

i386 longjmp: Restore stack first, then signal mask.

Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.

While here:

- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use forward branches for statically predicted not-taken.
  => val==0 is unlikely in longjmp

PR lib/57946

(riastradh)

2024-04-04 00:46:30 UTC MAIN commitmail json YAML

amd64 longjmp: Restore stack first, then signal mask.

Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.

While here:

- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use `xorl %eXX,%eXX' instead of `xorq %rXX,%rXX'.
  => Same effect, one byte shorter, breaks dep chain on more uarches.
- Use forward branches for statically predicted not-taken.
  => val==0 is unlikely in longjmp

PR lib/57946

(riastradh)

2024-04-03 18:53:42 UTC MAIN commitmail json YAML

2024-04-03 14:54:51 UTC MAIN commitmail json YAML

need <ieeefp.h> for i386.

(christos)

2024-04-03 07:00:06 UTC MAIN commitmail json YAML

new sentence, new line

(wiz)

2024-04-03 04:40:23 UTC MAIN commitmail json YAML

For i386, if ft[sg]etprec() are to be used, ensure there's a
prototype for them in scope (so include <ieeefp.h>)

Might fix the i386 build.

(kre)

2024-04-03 04:30:30 UTC MAIN commitmail json YAML

Add a missing barrier in irongate_conf_read0().

(thorpej)

2024-04-03 03:54:53 UTC MAIN commitmail json YAML

mount(8): Mention the ability to refer to dk(4) wedges in the manpage

(charlotte)

2024-04-03 01:52:28 UTC MAIN commitmail json YAML

fix the cbrtl/powl test

(christos)

2024-04-03 01:51:02 UTC MAIN commitmail json YAML

reduce diff with FreeBSD

(christos)

2024-04-03 01:13:41 UTC MAIN commitmail json YAML

if_iwn.c: pick up proper firmware for Centrino Wireless-N 130

Both variants should use iwlwifi-6000g2b-6 not iwlwifi-6000g2a-6. (It
seems only two specific product variants use iwlwifi-6000g2a-6. We
could simplify by reversing the sense of the test, as OpenBSD does, but
it doesn't seem to matter much, as what we now match seems to be the
full gamut possible, so the simpler diff was chosen here.)

Addresses PR kern/58105 from wandrien.dev@gmail.com, with the
PCI_PRODUCT_INTEL_WIFI_LINK_130_1 match tested by the reporter. Code
inspection of the FreeBSD driver indicates we should safely be able to
match PCI_PRODUCT_INTEL_WIFI_LINK_130_2 also.

(gutteridge)

2024-04-03 00:40:46 UTC MAIN commitmail json YAML

dk(4): touch up markup, sort options

(uwe)

2024-04-03 00:38:36 UTC MAIN commitmail json YAML

2024-04-02 23:46:20 UTC MAIN commitmail json YAML

dk.4: Document DKWEDGE_METHOD_TOS

(charlotte)

2024-04-02 22:56:51 UTC MAIN commitmail json YAML

2024-04-02 22:41:48 UTC MAIN commitmail json YAML

bsd.own.mk: No need for MKSLJIT to be set differently from others.

- Use ?=, not =, so mk.conf setting wins.
- Write out per-architecture tabular settings, not a conditional.
- Add comments for the architectures that look like they should have
  sljit but don't.  (XXX Missing comments about powerpc and mips --
  not sure why, is this because modules don't yet work on those
  architectures, or what?)

Tidying for PR 58103: bpfjit.kmod is not built on aarch64.

(riastradh)

2024-04-02 22:37:34 UTC MAIN commitmail json YAML

bsd.own.mk: Enable MKLSJIT on aarch64.

Make sure there's only one copy of the conditional, in bsd.own.mk;
just make sys/modules/Makefile conditional on MKSLJIT so we don't
have to keep these in sync.

As a workaround for PR 58106, tweak the conditional definition of
SLJIT_CACHE_FLUSH to use cpu_icache_sync_range only in _HARDKERNEL,
and use __builtin___clear_cache in userland and in rump kernels.

PR 58103: bpfjit.kmod is not built on aarch64

(riastradh)

2024-04-02 22:30:04 UTC MAIN commitmail json YAML

dk(4): Add support for discovering Atari TOS partitions as wedges

Any partitioning scheme which conforms to the Atari AHDI 3.00 spec should be
recognized by the new DKWEDGE_METHOD_TOS.

(charlotte)

2024-04-02 22:29:57 UTC MAIN commitmail json YAML

sljit: Pacify -Wsign-compare.

If these sizes are negative, we're probably in trouble anyway, so
assert nonnegative here.

Needed to resolve PR 58103.

(riastradh)

2024-04-02 22:29:35 UTC MAIN commitmail json YAML

MAKEDEV: Tidy some entries on x86 and Arm.

While here, reduce some diffs arising from ordering and formatting
between these architectures.

Only difference between evbarm and aarch64 now is /dev/vchiq.  Not
sure offhand if it makes sense on aarch64 or only 32-bit Arm.

PR port-amd64/58093: /dev/efi missing on x86
PR port-arm/58100: /dev/ttyVI* missing on aarch64
PR port-arm/58101: /dev/nvme* missing on aarch64
PR port-arm/58102: /dev/raid* missing on aarch64

(riastradh)

2024-04-02 20:42:13 UTC MAIN commitmail json YAML

sparc/fpsetround: fix the nearby signed integer overflow as well

Same as for sparc64 a few days ago.

(rillig)

2024-04-02 20:27:44 UTC MAIN commitmail json YAML

2024-04-02 20:04:16 UTC MAIN commitmail json YAML

2024-04-02 18:40:50 UTC MAIN commitmail json YAML

undo accidental commit.

(christos)

2024-04-02 18:39:51 UTC MAIN commitmail json YAML

PR/58054: Martin Husemann: fix bug in expsign extraction and only use the
code for the floating point formats where it works (does not work for 112
bit mantisa in sparc64)

(christos)

2024-04-02 16:18:23 UTC MAIN commitmail json YAML

Back-out unintented commit.

(christos)

2024-04-02 16:17:29 UTC MAIN commitmail json YAML

2024-04-02 15:05:15 UTC MAIN commitmail json YAML

tests/make: pass PATH onto child processes

This fixes the tests on some Cygwin variant where the shell does not
initialize the PATH environment variable when it's missing.

(rillig)

2024-04-02 14:24:26 UTC MAIN commitmail json YAML

2024-04-02 14:21:29 UTC MAIN commitmail json YAML

harmonize with the rest of MD limits files.

(christos)

2024-04-02 14:19:02 UTC MAIN commitmail json YAML

use ${MKREPRO_TIMESTAMP} for baking in the date and time.

(christos)

2024-04-02 14:15:19 UTC MAIN commitmail json YAML

Use ${TOOL_DATE} (Jan-Benedict Glaw)

(christos)

2024-04-02 12:42:35 UTC MAIN commitmail json YAML

oops the #endif was too far down.

(christos)

2024-04-02 11:11:00 UTC MAIN commitmail json YAML

tests/make: remove test for overly long chdir argument

On Cygwin, the path '/././..././' is normalized before being passed to
the child 'make' process. Since overly long pathnames are not required
to be supported on all platforms, remove the test.

(rillig)

2024-04-01 22:56:56 UTC MAIN commitmail json YAML

s/Doucments/Documents/ in comment.

(andvar)

2024-04-01 22:23:15 UTC MAIN commitmail json YAML

Use the TOOL_GZIP we built as part of tools if available.

(christos)

2024-04-01 22:20:58 UTC MAIN commitmail json YAML

Handle not having SIGINFO (Jan-Benedict Glaw)

(christos)

2024-04-01 18:33:24 UTC MAIN commitmail json YAML

elftoolchain: Be consistent about which ELF header files we use.

1. For tools that use elftoolchain: always use elftoolchain's
  elfdefinitions.h.  Don't even think about looking at the host's
  sys/exec_elf.h, which makes no sense and should never happen.

  (ELF tools that don't use elftoolchain, like m68k-elf2coff,
  continue to use nbincludes/sys/exec_elf.h.  But no more nbincludes
  hacks in elftoolchain.)

2. For kernel components (solaris, zfs, dtrace): always use
  sys/exec_elf.h, even in Solaris components via sys/elf.h.
  elfdefinitions.h is not wired up in the kernel build at all.

3. For most userland components that involve libelf: use
  elfdefinitions.h via libelf header files (libelf.h, gelf.h).

  libdtrace in particular requires _all_ R_* reloc type definitions,
  but sys/exec_elf.h brings in only the _current machine's_ R_*
  reloc type definitions.  (While here: Use uintptr_t instead of
  Elf_Addr for pointer-to-integer cast, since Elf_Addr is MD and
  provided only by sys/exec_elf.h, not by elfdefinitions.h.)

  And most userland components using libelf don't rely on any
  properties of the current machine from sys/exec_elf.h, so they can
  use libelf's elfdefinition.h.

  Exceptions:

  - dtrace drti.c relies on link.h -> link_elf.h -> sys/exec_elf.h,
    but it also relies on sys/dtrace.h -> sys/elf.h ->
    elfdefinitions.h like other userland components using sys/elf.h.

  - kdump-ioctl.c uses sys/exec_elf.h directly and sys/dtrace.h ->
    sys/elf.h -> elfdefinitions like other userland components using
    sys/elf.h.

  - t_ptrace_wait.c (via t_ptrace_core_wait.h) uses libelf to parse
    core files, but relies on sys/exec_elf.h for struct
    netbsd_elfcore_procinfo.

  None of these exceptions needs all R_* reloc type definitions, so
  as a workaround, we can just suppress libelf's elfdefinitions.h by
  defining _SYS_ELFDEFINITIONS_H_ and use sys/exec_elf.h in these
  exceptions.

And undo the whole BUILTIN_ELF_HEADERS mistake.  This was:

- half bogus workarounds for missing build_install dependencies in
  tools/Makefile, which are no longer missing now, and
- half futile attempt to use src/sys/sys/exec_elf.h via nbincludes in
  tools involving libelf instead of libelf's elfdefinitions.h, which
  collides.

Longer-term, we may wish to unify sys/exec_elf.h and libelf's
elfdefinitions.h, so we don't have to play these games.

But at least now the games are limited to three .c files (one of
which is generated by Makefile.ioctl-c), rather than haphazardly
applied tree-wide by monstrous kludges in widely used .h files with
broken hackarounds to get the tools build lurching to completion.

(riastradh)

2024-04-01 16:24:01 UTC MAIN commitmail json YAML

Return the correct error from {fetch,store}_user_data and fix

    futex_wake_op_op: [0.273033s] Failed: /usr/src/tests/lib/libc/sys/t_futex_ops.c:942: Expected errno 14, got 1, in __futex(&futex_word, FUTEX_WAKE_OP | flags, 0, NULL, NULL, 0, op) == -1

(skrll)

2024-04-01 15:52:08 UTC MAIN commitmail json YAML

ti_gpio: add gpio(4) interrupt support

tested with gpiopps(4) on Beagle Bone Black

(jakllsch)

2024-04-01 12:33:28 UTC MAIN commitmail json YAML

make: remove unreachable code in handling .for loops

(rillig)

2024-04-01 12:26:02 UTC MAIN commitmail json YAML

2024-04-01 09:48:58 UTC MAIN commitmail json YAML

make gftfb_restore_palette() grab the default colour map from rasops instead
of just writing the driver's map into the hardware ( which may have been
modified by the likes of wsfb )
With this we get a readable console even when exiting X in a less than
graceful manner.

(macallan)

2024-04-01 09:15:51 UTC MAIN commitmail json YAML

tests/snprintb_m: test null-terminated output in error case

While here, clean up the buffer handling for the visualized array
content in case of a failed test.

(rillig)

2024-04-01 08:53:42 UTC MAIN commitmail json YAML

snprintb: remove redundant memset in kernel mode

The provided buffer is already null-terminated by finish_buffer, even in
error cases, there is no need to repeat the same work.

(rillig)

2024-04-01 02:22:38 UTC MAIN commitmail json YAML

hook gzip to the build so that we can test it in other OS's. Not used yet.

(christos)

2024-04-01 02:21:39 UTC MAIN commitmail json YAML

make it work as a tool

(christos)

2024-04-01 02:20:52 UTC MAIN commitmail json YAML

- -n is the default on SMALL, so accept the flag silently.
- conditionalize TIMESPEC_TO_TIMEVAL
- add nbtool_config.h

(christos)

2024-04-01 02:19:41 UTC MAIN commitmail json YAML

Start for a TOOL_GZIP

(christos)

2024-04-01 02:18:31 UTC MAIN commitmail json YAML

2024-03-31 20:28:45 UTC MAIN commitmail json YAML

2024-03-31 19:11:21 UTC MAIN commitmail json YAML

In dec_6600_device_register(): If we're running on a DS10, set the
"pciide-disable-dma" property on the on-board "aceride" to true.  This
is intended to be a temporary measure until the issue that makes it not
work correctly is found and fixed.

(thorpej)

2024-03-31 19:06:31 UTC MAIN commitmail json YAML

2024-03-31 18:59:52 UTC MAIN commitmail json YAML

As the final step in configuraing bus-master DMA, consult the boolean device
property "pciide-disable-dma" and disable bus-master DMA if that property is
present and true.

(thorpej)

2024-03-31 17:13:29 UTC MAIN commitmail json YAML

Add machdep.rpb_type and machdep.rpb_variation sysctl nodes.

(thorpej)

2024-03-31 14:56:41 UTC MAIN commitmail json YAML

Using a ccd(4) with GPT (dk* at ccd*) the disk framework will call
ccdstrategy() -> ccdstart() -> ccdbuffer()  from softint context.
Allocating the buffer with PR_WAITOK here is forbidden.

Change ccdstart() / ccdbuffer() to report failure back to caller and
pass PR_WAITOK / PR_NOWAIT as an additional argument.

Call ccdstart() with PR_NOPWAIT from ccdstrategy() and on error defer
to the kthread.  Call ccdstart() with PR_WAITOK from kthread so requests
from kthread always succeed to allocate the buffers.

Remove the (non working) throttling on low memory as it is no longer needed.

Fixes PR kern/58043 "kernel crash in assert_sleepable() in -current,
dk(4) driver?"

(hannken)

2024-03-31 03:20:38 UTC MAIN commitmail json YAML

Restore the minimum build to install elfdefinitions.h. Provide a pre-built
copy, since we don't have m4 available. Use pax to install it because
using the Makefile needs more stuff available (nbsed) which we have not
built yet.

(christos)

2024-03-31 00:06:24 UTC MAIN commitmail json YAML

docs/3RDPARTY: Record vendor and release tags for elftoolchain.

(riastradh)

2024-03-30 22:39:53 UTC MAIN commitmail json YAML

tools/elftoolchain: Build with BUILTIN_ELF_HEADERS again.

The header file dependency that motivated disabling this should be
resolved now.

(riastradh)

2024-03-30 22:38:03 UTC MAIN commitmail json YAML

tools/elftoolchain: Handle dependencies properly.

This should properly resolve the problem christos was trying to
address by a bogus make includes hack and #ifdefs in elftoolchain.

(riastradh)

2024-03-30 22:05:07 UTC MAIN commitmail json YAML

s/Unfortunatley/Unfortunately/ in comment.

(andvar)

2024-03-30 22:03:39 UTC MAIN commitmail json YAML

2024-03-30 19:51:00 UTC MAIN commitmail json YAML

lint: document which fields are not reset when starting a new type

Setting all visible fields to their null value seemed as if the whole
object were reset.

(rillig)

2024-03-30 19:34:46 UTC MAIN commitmail json YAML

2024-03-30 19:33:05 UTC MAIN commitmail json YAML

2024-03-30 19:12:37 UTC MAIN commitmail json YAML

lint: in the query about implicit conversions, ignore casts

(rillig)

2024-03-30 17:23:13 UTC MAIN commitmail json YAML

2024-03-30 17:12:26 UTC MAIN commitmail json YAML

lint: do not convert array subscripts from size_t to ptrdiff_t

The C standards do not specify a fixed type for an array subscript, it
just has to be an integer type.  Previously, query 4 fired for the
ubiquitous expression 'ptr[sz]' when sz had type 'size_t'.

The test platform_ilp32_long is unaffected by this change, as the
integer constant 0x80000000 has type 'unsigned int', while size_t is
'unsigned long' on those platforms, and even though the types 'unsigned
int' and 'unsigned long' have the same value space, there's still a
conversion, at least for now.

(rillig)

2024-03-30 16:47:55 UTC MAIN commitmail json YAML

Add an example devpubd hook that looks for Minipro-compatible EEPROM
programmers and sets the access permissions to 0660.

(thorpej)

2024-03-30 16:47:45 UTC MAIN commitmail json YAML

2024-03-30 06:42:10 UTC MAIN commitmail json YAML

Add an example devpubd hook that detects the generic USB interface
portion of a Tigard debug board and changes the permissions of the
appropriate /dev/ugenN.* nodes to allow access without superuser
permissions, suitable for using e.g. openocd with the device.

This example can be easily modified to support other generic USB devices
that have user-space drivers where running as the superuser is not desired.

(thorpej)

2024-03-30 06:29:34 UTC MAIN commitmail json YAML

2024-03-30 06:29:01 UTC MAIN commitmail json YAML

Add an example devpubd hook that makes stable path names, using symlinks,
for USB serial interfaces, regardless of where the interface is connected
or the order of enumeration.  This requires the USB device to have a
"serialnumber" to function.  Examples:

- uftdi serial adapter with two ports:

/dev/tty-uftdi-FT64S4YP-1 -> /dev/ttyU0
/dev/tty-uftdi-FT64S4YP-2 -> /dev/ttyU1

- uslsa serial adapter:

/dev/tty-uslsa-01E7ABCC -> /dev/ttyU4

This allows something like the following in /etc/remote:

sun3:dv=/dev/tty-uftdi-FT64S4YP-1:br#9600:pa=none:dc:

That path will always be stable regardless of which /dev/ttyU* node is
actually assigned when the serial adapter is plugged in.

(thorpej)

2024-03-30 06:11:59 UTC MAIN commitmail json YAML

2024-03-29 22:50:27 UTC MAIN commitmail json YAML

exports(5): mark up the list of groups to --maproot &c as optional

(uwe)

2024-03-29 22:39:41 UTC MAIN commitmail json YAML

From enh at google dot com in tech-userlevel. Don't limit writes to BUFSIZ,
change the limit to INT_MAX; improves performance dramatically. From:
https://github.com/apple-oss-distributions/Libc/commit/\
c5a3293354e22262702a3add5b2dfc9bb0b93b85\
#diff-3b844a19cfb0aab1a23f7fbc457d3bce7453513730c489a72f66ff89d6557ff3

(christos)

2024-03-29 19:30:09 UTC MAIN commitmail json YAML

ugen and ugenif share the same /dev/ugenN.xx namespace in such a way
that the device unit number does not necessarily match the /dev/ugenN.xx
unit number (N).  If you ONLY have ugen devices, it happens to work out
and devpubd scripts can be extremely naive.  If you ONLY have ugenif
devices, it also happens to work out, but your devpubd scripts have to
slightly more informed.  If you have a mix of ugen AND ugenif devices,
though, you're pretty much out of luck.

So, this change adds a "ugen-unit" device property which devpubd scripts
can query to determine which /dev/ugenN.xx nodes a given ugen or ugenif
device is using.

(thorpej)

2024-03-29 14:15:02 UTC MAIN commitmail json YAML

exports(5): Tiny punctuation fix in man page.

(riastradh)

2024-03-29 08:35:32 UTC MAIN commitmail json YAML

2024-03-29 07:35:45 UTC MAIN commitmail json YAML

2024-03-29 06:13:40 UTC MAIN commitmail json YAML

moused: remove undocumented and unused option 'C'

(rillig)

2024-03-29 00:23:06 UTC MAIN commitmail json YAML

2024-03-28 21:04:49 UTC MAIN commitmail json YAML

2024-03-28 18:24:57 UTC MAIN commitmail json YAML

efiboot: Duplicate efi_bootdp before we clobber it in efi_net_probe.

Patch from jakllsch@.  Makes Socionext Synquacer boot considerably
more reliably.

PR kern/58075

(riastradh)

2024-03-28 16:17:50 UTC MAIN commitmail json YAML

Fix a few typos

(nia)

2024-03-28 15:39:42 UTC MAIN commitmail json YAML

fsirand(8): Fix security claims.

PR misc/58063

(riastradh)

2024-03-28 13:40:08 UTC MAIN commitmail json YAML

apei(4): Fix uninitialized stack access in error branch.

PR kern/58046

(riastradh)

2024-03-28 12:50:31 UTC MAIN commitmail json YAML

For some reason the drawing engine occasionally scribbles past the right
boundary when filling rectangles, especially annoying when we draw whitespaces
As a workaround we draw all rectangles less than 50 pixels wide by drawing
a 50 pixel rectangle into off-screen memory to the right of the visible fb and
then copy the portion we want. Keeps track of the colour and size of the
off-screen rectangle so we can avoid redrawing it whenever possible.

(macallan)

2024-03-28 08:33:33 UTC netbsd-10 commitmail json YAML

2024-03-28 07:59:21 UTC MAIN commitmail json YAML

spell uftdi(4) properly.

(nia)

2024-03-28 07:57:31 UTC MAIN commitmail json YAML

Recent changes

(nia)

2024-03-27 21:55:35 UTC MAIN commitmail json YAML

2024-03-27 21:55:08 UTC MAIN commitmail json YAML

2024-03-27 21:54:43 UTC MAIN commitmail json YAML

Remove dependency to elfdefinitions.h, this is a mess, since it needs
${TOOL_M4} which might not be available yet.

(christos)

2024-03-27 21:53:06 UTC MAIN commitmail json YAML

Don't try to compile the arch-specific relocation code if we don't have the
built-in headers (for tools)

(christos)

2024-03-27 21:14:09 UTC MAIN commitmail json YAML

lint: add missing assignment to $$ in grammar

Byacc and Bison both provide this assignment for all actions, whether
default or not, but the wording in POSIX doesn't guarantee this.

(rillig)

2024-03-27 20:09:44 UTC MAIN commitmail json YAML

2024-03-27 19:28:21 UTC MAIN commitmail json YAML

2024-03-27 13:11:14 UTC MAIN commitmail json YAML

exports(5): improve mark up

(uwe)

2024-03-27 09:08:38 UTC MAIN commitmail json YAML

fix brainfart - only update fbi_fbsize, not the size of the visible fb...

(macallan)

2024-03-27 06:52:03 UTC MAIN commitmail json YAML

in gftfb_ioctl():
- identify ourselves as WSDISPLAY_TYPE_STI
- return full fb geometry in WSDISPLAYIO_GET_FBINFO

(macallan)

2024-03-27 05:43:38 UTC MAIN commitmail json YAML

tools/Makefile: clean up TOOLDIR validation

At the point where tools/Makefile is loaded, TOOLDIR doesn't have to
exist yet, it will be created later.  Remove the redundant quotes from
the .error messages.

(rillig)

2024-03-27 01:43:26 UTC MAIN commitmail json YAML

exports(5): Substantially rewrite for clarity.

Hope this is an improvement over the turgid paragraphs all about
first/second/third cases of everything.

PR misc/58063

(riastradh)

2024-03-27 00:46:17 UTC MAIN commitmail json YAML

exports(5): Revert warning about `-ro' on read/write file systems.

Looks like the nfs server does enforce that after all, in spite of
the rather oblique commentary in the BUGS section about export
options being tied to local mount point options with which they must
be noncontradictory.

And there's no reason in principle it shouldn't enforce this -- it
just need to block various file system _operations_, rather than the
subtree issue where the criteria for evaluating whether operations
are allowed on particular _file handles_ are too painful to
contemplate.

PR misc/58063

(riastradh)

2024-03-26 23:32:43 UTC MAIN commitmail json YAML

exports(5), mountd(8): First pass at clarifying export semantics.

The exports(5) man page is full of walls of turgid prose that should
be itemized lists with syntax templates, and I'm itching to rewrite
it, but let's get the security-relevant warnings out of the way
first.

PR misc/58063

(riastradh)

2024-03-26 22:16:12 UTC MAIN commitmail json YAML

apei: fix typos in comments and snprintb bitfmt

(rillig)

2024-03-26 22:01:03 UTC MAIN commitmail json YAML

2024-03-26 21:52:23 UTC MAIN commitmail json YAML

t_strptime: fix typo in test description

(rillig)

2024-03-26 20:50:29 UTC MAIN commitmail json YAML

Fix header comment to align text using 8 space tabs.

(andvar)

2024-03-26 20:12:47 UTC MAIN commitmail json YAML

libm/s_logl: suppress lint warnings

Seen on sparc64.

(rillig)

2024-03-26 18:38:52 UTC MAIN commitmail json YAML

bsd.lib.mk: Avoid symbol check if we're not doing shared libraries.

Otherwise this fails on non-shlib builds like sun2.

(riastradh)

2024-03-26 18:10:21 UTC netbsd-10 commitmail json YAML

2024-03-26 18:09:22 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #650):

sys/dev/audio/audio.c: revision 1.137

Input and output codecs produce and consume internal audio data, so
don't byteswap it.

(martin)

2024-03-26 18:02:04 UTC MAIN commitmail json YAML

fix insert key (Xose Vazquez Perez)

(christos)

2024-03-26 16:52:04 UTC MAIN commitmail json YAML

2024-03-26 16:48:34 UTC MAIN commitmail json YAML

- fix nbincludes so that it can be included from any level
- add elftoolchain/common to the list of headers to be build before depend
- make libdwarf build the includes since it needs <sys/elfdefinitions.h>
  which does not exist on non-netbsd systems.

(christos)

2024-03-26 10:56:34 UTC MAIN commitmail json YAML

conf/std: Update comment over rnd(4) to reflect current reality.

PR kern/46728

(riastradh)

2024-03-26 10:51:16 UTC MAIN commitmail json YAML

mips/conf/files.octeon: octrnm does not depend on rnd

Whether or not we have /dev/random and /dev/urandom baked into the
kernel, configuring `octrnm* at ...' in the kernel config requires
octeon_rnm.c.

Related to PR kern/46728.

(riastradh)

2024-03-26 10:23:42 UTC MAIN commitmail json YAML

Revert accidental change for root file system in previous commit.

(andvar)

2024-03-26 10:16:47 UTC MAIN commitmail json YAML

Remove netgraph options which are not supported and have no effect in NetBSD.

While here, reposition extio to reduce diff between ADM5120 and ADM5120-NB.

(andvar)

2024-03-26 03:38:02 UTC MAIN commitmail json YAML

Add a "match quirk" mechanism to the uftdi driver that allows it to
selectively reject individual interfaces based on the combination of
- Vendor ID
- Product ID
- Interface number
- Vendor string
- Product string

This is necessary[*] to allow some devices that would otherwise match
uftdi (and thus instantiate a ucom) to be matched by ugenif instead,
which is required to make the device available to libusb1.

[*] ...due to a deficiency in the USB stack that does not provide a
mechanism for a user-space driver to claim a device from a kernel driver
and then return it back at a later time.

Use this new match quirk mechanism to reject "interface 1" of the
FTDI 2232C-based Tigard debug board; On this board, "interface 0"
is brought out to regular TTL-level UART pins, but "interface 1" is
brought out to SWD and JTAG headers, and is really only useful when
used with something like openocd.  Because the FTDI 2232C on this board
just uses the standard FTDI vendor and product IDs, it can only be
distinguished by the strings, which cannot be specified usbdevices.config,
thus necessitating the match quirk entry (that works in combination
with the ugenif entry added in usbdevices.config).

(thorpej)

2024-03-26 03:24:14 UTC MAIN commitmail json YAML

Define a "flags 1" config directive for ugenif, which is similar to ugen's,
but rather forces the ugenif to match at the *lowest* match priority rather
than the highest.  This allows ugenif to claim only otherwise unclaimed
interfaces.

(thorpej)

2024-03-25 23:39:14 UTC MAIN commitmail json YAML

lint: fix warnings about loss of accuracy on bit-field operations

(rillig)

2024-03-25 22:46:23 UTC MAIN commitmail json YAML

tests/lint: demonstrate wrong warnings about lossy bit field operations

(rillig)

2024-03-25 22:37:43 UTC MAIN commitmail json YAML

2024-03-25 20:39:27 UTC MAIN commitmail json YAML

snprintb: mark the end of the buffer if the buffer is too small

This avoids confusion in case the buffer ends with an incomplete number.

(rillig)

2024-03-25 15:59:02 UTC netbsd-8 commitmail json YAML

2024-03-25 15:58:08 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1952):

external/gpl2/groff/dist/tmac/doc.tmac: revision 1.3

doc.tmac: .Lk - handle punctuation without anchor-text correctly
doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.

PR bin/58074

(martin)

2024-03-25 15:55:32 UTC netbsd-8 commitmail json YAML

2024-03-25 15:54:20 UTC netbsd-9 commitmail json YAML

2024-03-25 15:51:47 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1823):

external/gpl2/groff/dist/tmac/doc.tmac: revision 1.3

doc.tmac: .Lk - handle punctuation without anchor-text correctly
doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.

PR bin/58074

(martin)

2024-03-25 15:37:25 UTC netbsd-8 commitmail json YAML

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

sys/dev/qbus/if_qe.c: revision 1.82

vax/qe(4): supply an ipf->if_init() so that if_init() doesn't crash.

convert the existing qeinit() to one compatible with if_init.
should fix PR#58068.

(martin)

2024-03-25 15:35:50 UTC netbsd-9 commitmail json YAML

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

sys/dev/qbus/if_qe.c: revision 1.82

vax/qe(4): supply an ipf->if_init() so that if_init() doesn't crash.

convert the existing qeinit() to one compatible with if_init.
should fix PR#58068.

(martin)

2024-03-25 15:28:01 UTC netbsd-10 commitmail json YAML

2024-03-25 15:26:04 UTC netbsd-10 commitmail json YAML

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

sys/dev/qbus/if_qe.c: revision 1.82

vax/qe(4): supply an ipf->if_init() so that if_init() doesn't crash.

convert the existing qeinit() to one compatible with if_init.
should fix PR#58068.

(martin)

2024-03-25 15:23:50 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #646):

external/gpl2/groff/dist/tmac/doc.tmac: revision 1.3
distrib/notes/common/main: revision 1.575

doc.tmac: .Lk - handle punctuation without anchor-text correctly
doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.
PR bin/58074

distrib/notes: add back the sentence final dot after .Lk
It was omitted in previous b/c of a bug in .Lk that was fixed
in PR bin/58074

(martin)

2024-03-25 15:21:05 UTC netbsd-8 commitmail json YAML

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

etc/etc.amd64/Makefile.inc: revision 1.17
distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
etc/etc.i386/Makefile.inc: revision 1.70
distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534

(martin)

2024-03-25 15:19:44 UTC netbsd-9 commitmail json YAML

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

etc/etc.amd64/Makefile.inc: revision 1.17
distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
etc/etc.i386/Makefile.inc: revision 1.70
distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534

(martin)

2024-03-25 15:18:22 UTC netbsd-10 commitmail json YAML

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

etc/etc.amd64/Makefile.inc: revision 1.17
distrib/amd64/ramdisks/common/Makefile.ramdisk: revision 1.17
etc/etc.i386/Makefile.inc: revision 1.70
distrib/i386/ramdisks/common/Makefile.ramdisk: revision 1.16

x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534

(martin)

2024-03-25 15:15:20 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #641):

usr.bin/kdump/kdump.c: revision 1.145

Remove debug print

(martin)

2024-03-25 15:12:58 UTC netbsd-8 commitmail json YAML

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

usr.bin/audio/common/wav.c: revision 1.24

audio_wav_parse_hdr: handle zero-length data files again
the previous clean up turns zero-length data into no data and thus
an error, instead of simply doing nothing.  noted by gson.

(martin)

2024-03-25 15:11:33 UTC netbsd-9 commitmail json YAML

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

usr.bin/audio/common/wav.c: revision 1.24

audio_wav_parse_hdr: handle zero-length data files again
the previous clean up turns zero-length data into no data and thus
an error, instead of simply doing nothing.  noted by gson.

(martin)

2024-03-25 15:09:38 UTC netbsd-10 commitmail json YAML

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

usr.bin/audio/common/wav.c: revision 1.24

audio_wav_parse_hdr: handle zero-length data files again
the previous clean up turns zero-length data into no data and thus
an error, instead of simply doing nothing.  noted by gson.

(martin)

2024-03-25 15:05:17 UTC netbsd-10 commitmail json YAML

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

sys/dev/acpi/acpivar.h: revision 1.90
sys/dev/acpi/files.acpi: revision 1.129
sys/dev/acpi/acpi.c: revision 1.299
sys/dev/acpi/files.acpi: revision 1.130

acpi(4): New iattr `apeibus' for attaching an APEI driver.

APEI is the ACPI Platform Error Interface, a standard (if very
complicated) interface for reporting hardware errors to the OS.
Firmware support for APEI is presented through the ACPI tables BERT
(Boot Error Record Table), ERST (Error Record Serialization Table),
EINJ (Error Injection Table), and HEST (Hardware Error Source Table),
rather than through nodes in the ACPI device tree, so it can't just
attach through the existing acpinodebus iattr and instead requires a
special pseudo-bus like acpiwdrt(4).

No driver yet -- this is just the hook to attach one in a module.

The new member sc_apei of struct acpi_softc is placed at the end of
the structure so that this change can be safely pulled up to release
branches without risk to ABI compatibility in existing modules such
as acpiverbose.kmod which may rely on the layout (but not size) of
struct acpi_softc.

PR kern/58046

acpi(4): Make apeibus actually work as an iattr.
PR kern/58046

(martin)

2024-03-25 14:43:30 UTC netbsd-10 commitmail json YAML

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

lib/libc/time/strptime.c: revision 1.64
lib/libc/time/strptime.c: revision 1.65
tests/lib/libc/time/t_strptime.c: revision 1.16

strptime(3): Exercise some edge cases in the automatic tests.

Unfortunately, we can't quite use strptime as a black box to detect
the cases that triggered undefined behaviour, because strptime just
fails in that case anyway since the number that would go in .tm_year
is far out of the representable range.
PR lib/58041

strptime(3): Avoid arithmetic overflow.
PR lib/58041

strptime(3): Reduce unnecessary indentation.
Post-fix tidying.
No functional change intended.
PR lib/58041

(martin)

2024-03-25 14:26:16 UTC netbsd-9 commitmail json YAML

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

crypto/external/bsd/openssl/dist/providers/implementations/digests/sha2_prov.c: revision 1.2
  (applied to crypto/external/bsd/openssl/dist/crypto/evp/m_sha1.c)
tests/crypto/libcrypto/t_sha512trunc.c: revision 1.1
tests/crypto/libcrypto/t_sha512trunc.c: revision 1.2
tests/crypto/libcrypto/Makefile: revision 1.16
distrib/sets/lists/tests/mi: revision 1.1311
distrib/sets/lists/debug/mi: revision 1.430
crypto/external/bsd/openssl/dist/include/crypto/sha.h: revision 1.2
crypto/external/bsd/openssl/lib/libcrypto/libc-sha2xx.c: revision 1.4
(all via patch)

libcrypto: Add some trivial tests for truncated SHA-512 variants.
These should use more of the test vectors from
https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing#Testing
but this will do for now to detect the buffer overrun rake we left
lying around for ourselves.
PR lib/58039

libcrypto: Fix buffer overrun in truncated SHA-512 functions.
Further fallout from the libc/openssl sha2 symbol collision.
PR lib/58039

(martin)

2024-03-25 14:14:56 UTC netbsd-10 commitmail json YAML

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

crypto/external/bsd/openssl/dist/providers/implementations/digests/sha2_prov.c: revision 1.2
tests/crypto/libcrypto/t_sha512trunc.c: revision 1.1
tests/crypto/libcrypto/t_sha512trunc.c: revision 1.2
tests/crypto/libcrypto/Makefile: revision 1.16
distrib/sets/lists/tests/mi: revision 1.1311
crypto/external/bsd/openssl/dist/crypto/evp/legacy_sha.c: revision 1.2
distrib/sets/lists/debug/mi: revision 1.430
crypto/external/bsd/openssl/dist/include/crypto/sha.h: revision 1.2
crypto/external/bsd/openssl/lib/libcrypto/libc-sha2xx.c: revision 1.4

libcrypto: Add some trivial tests for truncated SHA-512 variants.
These should use more of the test vectors from
https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing#Testing
but this will do for now to detect the buffer overrun rake we left
lying around for ourselves.
PR lib/58039

libcrypto: Fix buffer overrun in truncated SHA-512 functions.
Further fallout from the libc/openssl sha2 symbol collision.
PR lib/58039

(martin)

2024-03-25 14:11:39 UTC MAIN commitmail json YAML

xf86-video-wsfb: Add support for 16 color mode on Amiga

- Sets up 8bpp shadow framebuffer with depth 4
- Bitplane conversion done in shadow update function
- Adds new shadow update function shadowUpdateAfb4x8,
  which is a slightly modified version of existing shadowUpdateAfb4/8.

Discussion on tech-x11: http://mail-index.netbsd.org/tech-x11/2024/02/29/msg002447.html

(jandberg)

2024-03-25 13:35:28 UTC MAIN commitmail json YAML

distrib/notes: add back the sentence final dot after .Lk

It was omitted in previous b/c of a bug in .Lk that was fixed
in PR bin/58074

(uwe)

2024-03-25 05:37:45 UTC MAIN commitmail json YAML

vax/qe(4): supply an ipf->if_init() so that if_init() doesn't crash.

convert the existing qeinit() to one compatible with if_init.

should fix PR#58068.

(mrg)

2024-03-24 23:39:21 UTC MAIN commitmail json YAML

doc.tmac: .Lk - handle punctuation without anchor-text correctly

doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.

PR bin/58074

(uwe)

2024-03-24 21:27:48 UTC MAIN commitmail json YAML

minor spelling fix - 'with' and 'into'

(jdolecek)

2024-03-24 20:27:33 UTC netbsd-10 commitmail json YAML

2024-03-24 20:27:04 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #645):
usr.sbin/sysinst/gpt.c: revision 1.32
PR 58061: fix bug in the GPT backend: when inserting a partition
(i.e. not adding it at the end) a bogus ID was returned for the new
partition.

(bouyer)

2024-03-24 20:26:14 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #644):
usr.sbin/sysinst/configmenu.c: revision 1.19
PR 58062: fix a bug I introduced with the https support: update
the pkgsrc/binary pkgs download URL not only when https transport
is selected.

(bouyer)

2024-03-24 20:24:29 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #643):
distrib/notes/prep/contents: revision 1.8
distrib/notes/hpcsh/contents: revision 1.9
distrib/notes/ews4800mips/contents: revision 1.8
distrib/notes/evbarm/contents: revision 1.16
distrib/notes/newsmips/contents: revision 1.8
distrib/notes/landisk/contents: revision 1.9
distrib/notes/arc/contents: revision 1.8
distrib/notes/sun2/contents: revision 1.8
distrib/notes/vax/contents: revision 1.17
distrib/notes/mac68k/contents: revision 1.26
distrib/notes/cats/contents: revision 1.8
distrib/notes/mvme68k/contents: revision 1.19
distrib/notes/rs6000/contents: revision 1.8
distrib/notes/i386/contents: revision 1.36
distrib/notes/alpha/contents: revision 1.26
distrib/notes/hpcmips/contents: revision 1.16
distrib/notes/sparc64/contents: revision 1.13
distrib/notes/hpcarm/contents: revision 1.9
distrib/notes/emips/contents: revision 1.8
distrib/notes/sun3/contents: revision 1.22
distrib/notes/common/main: revision 1.573
distrib/notes/x68k/contents: revision 1.23
distrib/notes/sgimips/contents: revision 1.8
distrib/notes/sandpoint/contents: revision 1.8
distrib/notes/mmeye/contents: revision 1.9
distrib/notes/common/main: revision 1.574
distrib/notes/pmax/contents: revision 1.23
distrib/notes/shark/contents: revision 1.8
distrib/notes/sparc/contents: revision 1.30
distrib/notes/vax/xfer: revision 1.16
distrib/notes/news68k/contents: revision 1.12
distrib/notes/common/sysinst: revision 1.113
distrib/notes/hp300/contents: revision 1.23
distrib/notes/next68k/contents: revision 1.13
distrib/notes/amiga/contents: revision 1.26
distrib/notes/hppa/contents: revision 1.8
distrib/notes/acorn32/contents: revision 1.8
distrib/notes/ofppc/contents: revision 1.9
distrib/notes/common/contents: revision 1.187
distrib/notes/macppc/contents: revision 1.20
distrib/notes/evbppc/contents: revision 1.10
distrib/notes/atari/contents: revision 1.26
distrib/notes/amd64/contents: revision 1.14
distrib/notes/bebox/contents: revision 1.8
Various style fixes (and some of VAX related errors and copy&pastos),
from Mouse on tech-install.
Use single-arg "Lk" macro for a link so we can get reasonable results
both in .more and .html output (still a bit odd, but better than before IMHO).

(bouyer)

2024-03-24 17:29:58 UTC MAIN commitmail json YAML

PR 58061: fix bug in the GPT backend: when inserting a partition
(i.e. not adding it at the end) a bogus ID was returned for the new
partition.

(martin)

2024-03-24 16:06:37 UTC MAIN commitmail json YAML

PR 58062: fix a bug I introduced with the https support: update
the pkgsrc/binary pkgs download URL not only when https transport
is selected.

(martin)

2024-03-24 13:18:03 UTC MAIN commitmail json YAML

Use single-arg "Lk" macro for a link so we can get reasonable results
both in .more and .html output (still a bit odd, but better than before IMHO).

(martin)

2024-03-24 12:53:24 UTC MAIN commitmail json YAML

2024-03-24 08:34:20 UTC MAIN commitmail json YAML

2024-03-24 03:29:03 UTC MAIN commitmail json YAML

ehci(4): properly handle failed attach

thinkpad a475 fails to attach an ehci instance:

  ehci0: pre-2.0 USB rev, device ignored

which ends up stopping suspend/resume working as the device has no
pmf handlers installed.  put most of the teardown code into a new
common function that is called from failed attach and detach.  if
attach fails, register NULL pmf handlers.  don't check the return
value of pmf_device_register*().

re-order several parts of detach to match the reverse attach order.

tested on rockpro64, thinkpad a475, and xps 1645, the a475 can now
suspend/resume almost fully successfully.

(mrg)

2024-03-24 03:23:19 UTC MAIN commitmail json YAML

usbdevs(8): don't assume usb bus count is the same as max usb bus unit

keep track of the highest usbN value, not the count of busses.

fixes a problem where you do "drvctl -d usb0" (or a parent), and then
"usbdevs" won't print info on the last bus.

(mrg)

2024-03-24 00:45:06 UTC MAIN commitmail json YAML

wg(4): specify 4 space offsets as 4n

(uwe)

2024-03-23 21:56:47 UTC MAIN commitmail json YAML

bsd.lib.mk: Tidy up expected symbols check a little.

Add some documentation in bsd.README.

(riastradh)

2024-03-23 21:34:07 UTC MAIN commitmail json YAML

wg(4): Fix IPv6 numbering in example diagram.

This way it matches the configuration suggested below (which avoids
host number zero on the subnet).

PR misc/58015

(riastradh)

2024-03-23 21:10:45 UTC MAIN commitmail json YAML

Attempt to fix descriptions of the routines in the initial comment block.

Something likely went wrong with copying the original text, causing
missing letters, broken indentation and formatting.

(andvar)

2024-03-23 18:48:31 UTC MAIN commitmail json YAML

s/ignorning/ignoring/ in comment.

(andvar)

2024-03-23 12:34:06 UTC MAIN commitmail json YAML

Add ld[4-7] and scsibus[123]

(skrll)

2024-03-23 08:31:15 UTC MAIN commitmail json YAML

Default pmap_stealdebug to false

(skrll)

2024-03-23 03:41:35 UTC MAIN commitmail json YAML

apei(4): Make sure to initialize *fatalp in apei_gesb_report.

PR kern/58046

(riastradh)

2024-03-22 20:48:14 UTC MAIN commitmail json YAML

2024-03-22 20:48:05 UTC MAIN commitmail json YAML

apei(4): Pre-map registers when compiling interpreter.

This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed.  Paves the way to
use ERST for saving dmesg on crash.

Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.

PR kern/58046

(riastradh)

2024-03-22 20:47:52 UTC MAIN commitmail json YAML

apei(4): Allow pre-mapping I/O registers too.

PR kern/58046

(riastradh)

2024-03-22 20:47:31 UTC MAIN commitmail json YAML

apei(4): Fix register chunk counting.

Now it will actually read and write the registers!

Have been updating and reloading the wrong module to test this, oops.

PR kern/58046

(riastradh)

2024-03-22 19:45:22 UTC MAIN commitmail json YAML

Fix few typos in comments.

(andvar)

2024-03-22 19:36:56 UTC MAIN commitmail json YAML

s/Cannnot/Cannot/ in error message.

(andvar)

2024-03-22 18:19:14 UTC MAIN commitmail json YAML

apei(4): Fix indexing of multi-unit register access.

PR kern/58046

(riastradh)

2024-03-22 18:19:03 UTC MAIN commitmail json YAML

apei(4): Plug memory leak on teardown of instruction interpreter.

PR kern/58046

(riastradh)

2024-03-21 22:27:55 UTC MAIN commitmail json YAML

sysconf(3): a few more markup fixes

(uwe)

2024-03-21 22:21:40 UTC MAIN commitmail json YAML

sysconf(3): the _SC constants are .Dv

(uwe)

2024-03-21 22:17:27 UTC MAIN commitmail json YAML

sysconf(3): NUL is not a defined variable

(uwe)

2024-03-21 22:14:29 UTC MAIN commitmail json YAML

sysconf(3): POSIX text doesn't capitalize "option".

(uwe)

2024-03-21 14:48:01 UTC MAIN commitmail json YAML

Fix NUL/NULL confusion.

One of these was reported by Mouse in PR 58058.

(wiz)

2024-03-21 12:33:21 UTC MAIN commitmail json YAML

Ensure that the number of bus_dma segments doesn't exceed VirtIO queue size.
This fixes reproducible panics when the host's VirtIO queue size is too small,
less than or equal to VIRTIO_NET_TX_MAXNSEGS(=16).
PR kern/58049.

(isaki)

2024-03-21 11:17:13 UTC MAIN commitmail json YAML

acpihed(4): fix name in Dt, use Ql

(uwe)

2024-03-21 02:36:02 UTC MAIN commitmail json YAML

2024-03-21 02:35:09 UTC MAIN commitmail json YAML

apei(4): Note some TODOs for EINJ and HEST.

No functional change intended, comments only.

PR kern/58046

(riastradh)

2024-03-21 02:35:00 UTC MAIN commitmail json YAML

apei(4): Fix parsing checks for TRIGGER_ERROR action table.

The TableSize is size of the header plus the body, not just the body.

PR kern/58046

(riastradh)

2024-03-21 02:24:35 UTC MAIN commitmail json YAML

sysinst: Clarify that usernames are maximum 8 characters

At least one user reported thinking that the previous wording implied
that usernames required padding to 8 characters.

This syncs the english translation with the german.

(nia)

2024-03-20 23:34:24 UTC MAIN commitmail json YAML

Process all queued messages without delay immediately. From OpenBSD.

Apply the remaining part of OpenBSD sys/dev/vmt.c rev. 1.22.

> The VM host might send multiple messages at once but vmt(4) only
> processed one of time per second.  Change the code to process all
> queued messages without delay immediately.  This fixes two things: a)
> the vmt time sensor is available on boot when ntpd -s is loaded and b)
> the random seeding on resume (OS_Resume message) is executed almost
> immediately and not delayed by about 20 seconds.

Apply OpenBSD sys/dev/pv/vmt.c rev. 1.4.

>  Merge two return branches in vmt_tclo_tick().  No functional changes.

(msaitoh)

2024-03-20 23:33:23 UTC MAIN commitmail json YAML

On error, give time to recover and wait a second.

Part of OpenBSD sys/dev/vmt.c rev. 1.22.

(msaitoh)

2024-03-20 23:33:02 UTC MAIN commitmail json YAML

Use a table like OpenBSD vmt.c rev. 1.27. No functional change.

Add new vmt_tclo_rpc[] table and use it. In this change, all of
vmt_tclo_xxx()'s functionality are not changed from previous.

Now we can understand what's the difference between OpenBSD's
sys/dev/pv/vmt.c and NetBSD's sys/dev/vmt/vmt_subr.c.

(msaitoh)

2024-03-20 23:32:18 UTC MAIN commitmail json YAML

Move a prototype definition. No functional change.

(msaitoh)

2024-03-20 23:31:54 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2024-03-20 20:19:31 UTC MAIN commitmail json YAML

match message & conversion function name properly.

probably should make this into an array with two members.

(mrg)