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 04:44:43 UTC Now

2024-01-18 03:36:24 UTC MAIN commitmail json YAML

s/FALLTHOUGH/FALLTHROUGH/ in comment.

(msaitoh)

2024-01-18 03:33:08 UTC MAIN commitmail json YAML

+IKM  input keying material

(jschauma)

2024-01-18 03:19:27 UTC MAIN commitmail json YAML

Add Meteor Lake and Emerald Rapids.

(msaitoh)

2024-01-18 03:16:44 UTC MAIN commitmail json YAML

Add Intel I219-{LM,V}(20,21) support.

(msaitoh)

2024-01-18 03:15:54 UTC MAIN commitmail json YAML

2024-01-18 03:15:27 UTC MAIN commitmail json YAML

Add Intel I219-{LM,V}(20,21)

(msaitoh)

2024-01-17 16:33:56 UTC MAIN commitmail json YAML

Add missed "rasops1" attribute to smg(4) rasops'fied a year ago.

This fixes silent boot failure on VS3100 with smg(4) framebuffer console.
Should be pulled up to netbsd-10.

(tsutsui)

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

macppc: enable FFS_EI in GENERIC

I'd say it should be enabled for anything with USB.

ok macallan

(uwe)

2024-01-17 12:33:51 UTC MAIN commitmail json YAML

2024-01-17 12:19:07 UTC MAIN commitmail json YAML

2024-01-17 10:21:01 UTC MAIN commitmail json YAML

Remove all procfs nodes for this process on process exit.

(hannken)

2024-01-17 10:20:12 UTC MAIN commitmail json YAML

Using the exechook to revoke procfs nodes is racy and may deadlock:

one thread runs doexechooks() -> procfs_revoke_vnodes() and wants to suspend
the file system for vgone(), while another thread runs a forced unmount,
has the file system suspended, tries to disestablish the exechook and
waits for doexechooks() to complete.

Establish/disestablish the exechook on module load/unload instead
mount/unmount and use the hashmap to access all procfs nodes for this pid.

May fix PR kern/57775 ""panic: unmount: dangling vnode" while umounting procfs"

(hannken)

2024-01-17 10:19:21 UTC MAIN commitmail json YAML

2024-01-17 10:18:41 UTC MAIN commitmail json YAML

Protect kernel hooks exechook, exithook and forkhook with rwlock.
Lock as writer on establish/disestablish and as reader on list traverse.

For exechook ride "exec_lock" as it is already take as reader when
traversing the list.  Add local locks for exithook and forkhook.

Move exec_init before signal_init as signal_init calls exechook_establish()
that needs "exec_lock".

PR kern/39913 "exec, fork, exit hooks need locking"

(hannken)

2024-01-17 10:17:29 UTC MAIN commitmail json YAML

Print dangling vnode before panic() to help debug.

PR kern/57775 ""panic: unmount: dangling vnode" while umounting procfs"

(hannken)

2024-01-17 07:05:35 UTC MAIN commitmail json YAML

2024-01-17 06:56:50 UTC MAIN commitmail json YAML

Implement jh7100_clkc_fracdiv_get_rate

(skrll)

2024-01-17 05:41:57 UTC MAIN commitmail json YAML

cpu_switchto(): No need for the pmap_activate() dance here; it's
already done for us in mi_switch().

(thorpej)

2024-01-17 05:22:11 UTC MAIN commitmail json YAML

2024-01-16 21:08:52 UTC MAIN commitmail json YAML

Fix typos in word "particularly", in comments.

(andvar)

2024-01-16 21:04:26 UTC MAIN commitmail json YAML

The serial bootblocks use the selected serial port, not the first serial port.

(gson)

2024-01-16 15:38:59 UTC MAIN commitmail json YAML

2024-01-16 14:30:22 UTC MAIN commitmail json YAML

Remove an ancient incorrect notion which somehow survived intact for ages.
"$@" is (as it is in double quotes) not subject to field splitting.  "$@"
generates (potentially) multiple words, but field splitting has nothing
to do with it.

While here, rename the section from "White Space Splitting (Field Splitting)"
to simply be "Field Splitting" as white space is only relevant if it happens
to occur in IFS (which is the default case, but IFS can be anything, and
isn't required to contain any white space at all).

(kre)

2024-01-16 09:42:44 UTC MAIN commitmail json YAML

sqlite3-3.45 out

(wiz)

2024-01-16 09:06:47 UTC MAIN commitmail json YAML

2024-01-16 08:28:51 UTC netbsd-10 commitmail json YAML

2024-01-16 08:28:00 UTC netbsd-10 commitmail json YAML

2024-01-16 08:25:48 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by andvar in ticket #556):

sys/arch/arm/imx/imx23_usb.c: revision 1.7

Fix imx23_usb_init() function declaration, it expects two parameters.

Fixes build for IMX23_OLINUXINO kernel config.

(martin)

2024-01-16 07:07:00 UTC MAIN commitmail json YAML

Fix computation of the appropriate auto-vector interrupt level to use
for the DMA controller by tracking all of the DIO devices that have
"ISRPRI_BIO" interrupt handlers, and finding the highest auto-vector
level among them and informing the DMA controller.

Previously, in a post-flattening world, the DMA controller was always
told to interrupt at lev5, which is fine I guess although definitely not
ideal, but would not work on aaaancient HP320 Rev A DMA boards.  To that
effect, print a warning if a Rev B DMA board ends up at ipl != 3 (we can't
differentiate between a Rev A and a Rev B board).

(thorpej)

2024-01-16 05:48:29 UTC MAIN commitmail json YAML

Several years ago, the interrupt priority levels for devices were "flattened"
such that IPL_BIO, IPL_NET, and IPL_TTY (logical interrupt priority levels)
became aliases of IPL_VM (the logical interrupt priority level above which
memory allocation is not allowed).  Unfortuantely, this meant that any
use of these logical interrupt priority levels to differentiate between
different interrupt service routines at the same auto-vectored interrupt
level was pointless... "when everyone is special, no one is".

Before this flattening happened, these distinct logical interrupt priority
levels levels were dynamically mapped to physical auto-vectored interrupt
levels based on which types of devices registered themselves at which auto-
vectored level.  Now, splbio(), splnet(), etc. are all equivalent to splvm(),
which effectively blocks all device interrupts.

Switch to using the ISRPRI_* values provided by the common m68k interrupt
dispatch code, which allows interrupt handlers for devices that are more
latency-sensitive to be sorted earlier in the list of handlers at a given
auto-vectored interrupt level, as was originally intended.

(thorpej)

2024-01-16 05:29:44 UTC MAIN commitmail json YAML

Provide PSLTOIPL() and IPLTOPSL() macros.

(thorpej)

2024-01-16 03:44:44 UTC MAIN commitmail json YAML

Switch hp300 over to the common interrupt dispatch code.

XXX There are still some things to fix up here, but it's no worse
than it was before (the problems date back to when we flattened
the device interrupt levels into IPL_VM).

(thorpej)

2024-01-16 02:36:49 UTC MAIN commitmail json YAML

Add a hook to allow a platform to suppress reporting stray auto-vectored
interrupts.

(thorpej)

2024-01-16 02:14:33 UTC MAIN commitmail json YAML

Increment and decrement idepth in the assembly stubs, not C code.  This
provides two advantages:
- Greater coverage for detecting "interrupt time".
- More flexibility for platform-specific interrupt stubs that might need
  to do special processing before calling the common dispatcher.

(thorpej)

2024-01-16 01:26:34 UTC MAIN commitmail json YAML

2024-01-16 01:17:59 UTC MAIN commitmail json YAML

Use m68k_intrvec_intrhand() to implement isrunlink_vectored().

(thorpej)

2024-01-16 01:16:47 UTC MAIN commitmail json YAML

- Declare idepth as volatile.
- Provide a m68k_intrvec_intrhand() routine that returns the interrupt
  handle for a given vectored interrupt.  XXX This is gross and should
  burn to the ground, but is needed to support legacy ISR interfaces.

(thorpej)

2024-01-16 00:34:58 UTC MAIN commitmail json YAML

Switch next68k over to common interrupt dispatch and G/C __HAVE_LEGACY_INTRCNT.
Also included is G/C of the old ssir stuff that's no longer used.

(thorpej)

2024-01-15 20:35:23 UTC MAIN commitmail json YAML

Include <sys/syslog.h> with "#ifdef STACKCHECKS" guard.

The include was lost on rev 1.77 during includes cleanup and KNF, however
it is still needed with STACKCHECKS build option.

(andvar)

2024-01-15 20:28:56 UTC MAIN commitmail json YAML

2024-01-15 20:21:51 UTC MAIN commitmail json YAML

2024-01-15 20:10:34 UTC MAIN commitmail json YAML

2024-01-15 19:54:53 UTC MAIN commitmail json YAML

No need for our own spurious interrupt handler now that m68k_intr.c
handles them for us.

(thorpej)

2024-01-15 19:44:07 UTC MAIN commitmail json YAML

2024-01-15 19:34:13 UTC MAIN commitmail json YAML

Replace format specifier from %08x to PRId64 for bp->blkno.
Exchange incorrectly placed printf() __func__ and loop arguments.

Fixes DEBUG_LABEL enabled build for acorn32.

(andvar)

2024-01-15 19:30:15 UTC MAIN commitmail json YAML

No need for our own spurious interrupt handler now that m68k_intr.c
handles them for us.

(thorpej)

2024-01-15 19:28:06 UTC MAIN commitmail json YAML

No need for our own spurious interrupt handler now that m68k_intr.c
handles them for us.

(thorpej)

2024-01-15 19:27:16 UTC MAIN commitmail json YAML

Insert a spurious interrupt handler at auto-vector IPL 0 that simply
abosrbs them.  They'll get counted during the normal course of auto-vector
interrupt handling.

(thorpej)

2024-01-15 19:11:31 UTC MAIN commitmail json YAML

2024-01-15 18:47:03 UTC MAIN commitmail json YAML

Provide a m68k_count_intr() macro that hides the details of how interrupts
are counted, and also ensures that ci_data.cpu_nintr is incremented.

(thorpej)

2024-01-15 18:15:37 UTC MAIN commitmail json YAML

Revert unintended commit (didn't hit CTRL-C fast enough I guess).

(thorpej)

2024-01-15 18:14:24 UTC MAIN commitmail json YAML

Provide an ev_count32 field for situations where a 32-bit counter is
sufficient (and, notably, might be desirable to avoid 64-bit math on
an older 32-bit platform).  This is overlaid on the 64-bit counter
field, and simply references the correct half based on byte order.

(thorpej)

2024-01-15 17:41:06 UTC MAIN commitmail json YAML

PR/57857: Ricardo Branco: Always copy regular files, even if they appear to
be zero-sized.

(christos)

2024-01-15 17:40:35 UTC MAIN commitmail json YAML

2024-01-15 17:35:48 UTC MAIN commitmail json YAML

PR/57858: Ricardo Branco: Print the full pathname on errors.
from FreeBSD https://github.com/NetBSD/src/pull/25

(christos)

2024-01-15 17:29:27 UTC MAIN commitmail json YAML

Fix imx23_usb_init() function declaration, it expects two parameters.

Fixes build for IMX23_OLINUXINO kernel config.

(andvar)

2024-01-15 17:12:00 UTC MAIN commitmail json YAML

Use evcnt to count interrupts for the non-__HAVE_LEGACY_INTRCNT case.

(thorpej)

2024-01-15 16:13:10 UTC netbsd-10 commitmail json YAML

2024-01-15 16:12:08 UTC netbsd-10 commitmail json YAML

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

usr.bin/ftp/fetch.c: revision 1.237
usr.bin/ftp/fetch.c: revision 1.238

Fix HTTPS through Proxy.

While a regular HTTP Proxy, requires the absolute URL with protocol
and host part, yyou must only send the relative URL through a
CONNECT tunnel (you are talking to the target server).

Don't finish downloading an empty file with 'already done' before it is
created locally.

(martin)

2024-01-15 14:17:04 UTC netbsd-10 commitmail json YAML

2024-01-15 14:15:55 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by tnn in ticket #554):

sys/uvm/uvm_physseg.c: revision 1.20
sys/uvm/uvm_pglist.c: revision 1.91
sys/uvm/uvm_pglist.c: revision 1.92
sys/uvm/uvm_physseg.h: revision 1.9

uvm: change type of uvm_physseg.start_hint from u_int to u_long
Avoids assertion failure in uvm_pglistalloc_s_ps() with large paddrs.
PR kern/57683.

fix DEBUG build

(martin)

2024-01-15 14:13:40 UTC netbsd-10 commitmail json YAML

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

sys/external/bsd/drm2/dist/drm/i915/i915_pci.c: revision 1.5

i915: Backport change to downgrade gen7/vlv to aliasing-ppggtt.
PR kern/57268

commit 4fbe112a569526e46fa2accb5763c069f78cb431
Author: Chris Wilson <chris%chris-wilson.co.uk@localhost>
Date:  Mon Feb 24 10:11:20 2020 +0000
    drm/i915/gtt: Downgrade gen7 (ivb, byt, hsw) back to aliasing-ppgtt
    Full-ppgtt on gen7 is proving to be highly unstable and not robust.
    Closes: <a  rel="nofollow" href="https://gitlab.freedesktop.org/drm/intel/issues/694">https://gitlab.freedesktop.org/drm/intel/issues/694</a>
    Fixes: 3cd6e8860ecd ("drm/i915/gen7: Re-enable full-ppgtt for ivb & hsw")
    Signed-off-by: Chris Wilson <chris%chris-wilson.co.uk@localhost>
    Cc: Joonas Lahtinen <joonas.lahtinen%linux.intel.com@localhost>
    Cc: Rodrigo Vivi <rodrigo.vivi%intel.com@localhost>
    Cc: Jani Nikula <jani.nikula%intel.com@localhost>
    Cc: Dave Airlie <airlied%redhat.com@localhost>
    Acked-by: Rodrigo Vivi <rodrigo.vivi%intel.com@localhost>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200224101120.4024481-1-chris%chris-wilson.co.uk@localhost

(martin)

2024-01-15 12:38:56 UTC MAIN commitmail json YAML

libproc: sanitize process symbols so binary doesn't end up in dtrace profiling
From RVP on current-users
https://mail-index.netbsd.org/current-users/2023/12/27/msg044840.html

(prlw1)

2024-01-15 08:29:14 UTC MAIN commitmail json YAML

Fix typo in wgconfig(8)

From rudolf in PR 57663

(wiz)

2024-01-15 08:13:45 UTC MAIN commitmail json YAML

Fix typos in trap types and one log message.

OpenBSD fixed those over 20 years ago.

(andvar)

2024-01-15 03:14:31 UTC MAIN commitmail json YAML

Guard references to protorp with M68030.

(thorpej)

2024-01-15 03:07:14 UTC MAIN commitmail json YAML

2024-01-15 02:40:52 UTC MAIN commitmail json YAML

2024-01-15 02:16:52 UTC MAIN commitmail json YAML

2024-01-15 02:13:16 UTC MAIN commitmail json YAML

Add the "ISR priority" notion that's used on some m68k platforms:

      /*
        * Some devices are particularly sensitive to interrupt
        * handling latency.  Unbuffered serial ports, for example,
        * can lose data if their interrupts aren't handled with
        * reasonable speed.  For this reason, we sort interrupt
        * handlers by an abstract "ISR" priority, inserting higher-
        * priority interrupts before lower-priority interrupts.
        */

(...within the same shared auto-vectored interrupt list.)

(thorpej)

2024-01-15 00:37:08 UTC MAIN commitmail json YAML

Wrap references to intrcnt[] in __HAVE_LEGACY_INTRCNT.

(thorpej)

2024-01-15 00:35:24 UTC MAIN commitmail json YAML

2024-01-15 00:25:16 UTC MAIN commitmail json YAML

Declare intrcnt as a u_int array, and add a missing m68k_ih_free() call
in m68k_intr_disestablish().

(thorpej)

2024-01-14 23:01:43 UTC MAIN commitmail json YAML

G/C isrlink_custom(); just use vec_set_entry() directly.

(thorpej)

2024-01-14 22:34:55 UTC MAIN commitmail json YAML

2024-01-14 22:32:32 UTC MAIN commitmail json YAML

2024-01-14 22:15:15 UTC MAIN commitmail json YAML

i915: Backport change to downgrade gen7/vlv to aliasing-ppggtt.

PR kern/57268

XXX pullup-10

commit 4fbe112a569526e46fa2accb5763c069f78cb431
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:  Mon Feb 24 10:11:20 2020 +0000

    drm/i915/gtt: Downgrade gen7 (ivb, byt, hsw) back to aliasing-ppgtt

    Full-ppgtt on gen7 is proving to be highly unstable and not robust.

    Closes: https://gitlab.freedesktop.org/drm/intel/issues/694
    Fixes: 3cd6e8860ecd ("drm/i915/gen7: Re-enable full-ppgtt for ivb & hsw")
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
    Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Cc: Dave Airlie <airlied@redhat.com>
    Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200224101120.4024481-1-chris@chris-wilson.co.uk

(riastradh)

2024-01-14 22:06:03 UTC MAIN commitmail json YAML

Provide a _splx() inline.

(thorpej)

2024-01-14 18:22:02 UTC MAIN commitmail json YAML

2024-01-14 18:12:59 UTC MAIN commitmail json YAML

set file flags after setting other modes

otherwise permission to set modes may be revoked by the flags.
from PR#57855.  thanks!

XXX: pullup-all

(mrg)

2024-01-14 18:06:46 UTC netbsd-10 commitmail json YAML

2024-01-14 18:05:57 UTC netbsd-10 commitmail json YAML

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

sys/arch/vax/vax/machdep.c: revision 1.198

vax: set default RLIMIT_AS to the same as MAXDSIZ
this allows modern GCC to run without returning to the issues that
reported in PR#28379, and avoids a strange sort-of-invariant violation
where the rlimit for data equaled the rlimit for all address space, so
there is no room for text or stack etc.

ok ragge@

(martin)

2024-01-14 17:51:16 UTC MAIN commitmail json YAML

Don't bother with isr_add_custom().  It's just a thin wrapper around
vec_set_entry(), so just use vec_set_entry() directly.

(thorpej)

2024-01-14 17:40:17 UTC MAIN commitmail json YAML

better check st_size == 0, than st_dev == -1

(christos)

2024-01-14 17:39:19 UTC MAIN commitmail json YAML

Better check against st_size == 0 instead of st_dev == -1

(christos)

2024-01-14 17:37:32 UTC MAIN commitmail json YAML

PR/57850: Ricardo Branco: tail does not work in some pseudo-filesystems
From FreeBSD: https://github.com/NetBSD/src/pull/20

(christos)

2024-01-14 17:16:10 UTC MAIN commitmail json YAML

PR/57854: Richardo Branco: wc -c does not work on procfs/kernfs

(christos)

2024-01-14 16:42:58 UTC MAIN commitmail json YAML

PR/57851: Ricardo Branco: stat(2) does not return correct size information
for kernfs/procfs files. Minor KNF.

(christos)

2024-01-14 16:01:51 UTC netbsd-10 commitmail json YAML

2024-01-14 16:00:09 UTC netbsd-10 commitmail json YAML

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

distrib/notes/hp300/hardware: revision 1.27

Add three button trackballs (M1309A) to a supported HP-HIL device list.
Asked by Jonathan Stone on port-hp300@, and tested by me:
https://mail-index.netbsd.org/port-hp300/2024/01/14/msg000238.html

(martin)

2024-01-14 15:58:31 UTC netbsd-10 commitmail json YAML

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

sys/arch/sun3/conf/GENERIC: revision 1.191
sys/arch/sun3/conf/GENERIC: revision 1.192

Revert mistaken "no obmem0" that I added when enabling UFS_DIRHASH.
Thanks tsutsui@ for pointing this out.

Disable more several pseudo-devices to shrink binary size.
My 3/60 fails to boot from a SCSI disk without this change.
https://mail-index.netbsd.org/port-sun3/2024/01/13/msg000207.html

(martin)

2024-01-14 15:52:26 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by hgutch in ticket #549):

sys/dev/usb/ums.c: revision 1.105

Add Microsoft Sculpt Wireless keyboard/mouse.
From M. Boerschig in PR 57845.

(martin)

2024-01-14 15:52:12 UTC netbsd-10 commitmail json YAML

2024-01-14 15:51:05 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by hgutch in ticket #549):

sys/dev/usb/usbdevs: revision 1.813

Add Microsoft Sculpt Wireless keyboard/mouse.
From M. Boerschig in PR 57845.

(martin)

2024-01-14 15:46:00 UTC netbsd-10 commitmail json YAML

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

sys/arch/i386/stand/efiboot/efidisk.h: revision 1.4
sys/arch/i386/stand/lib/exec.c: revision 1.80
sys/arch/i386/stand/efiboot/efidisk.c: revision 1.11
sys/arch/i386/stand/lib/biosdisk.c: revision 1.61

In efiboot
- create bootinfo information only once.
- add fake biosgeom entries so that the kernel can distinguish between
  hard drives (with geom) and CD-ROM (without).

(martin)

2024-01-14 15:43:45 UTC netbsd-10 commitmail json YAML

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

lib/libm/Makefile: revision 1.221 (patch)

libm: Add fma(3) and friends to m68k

(martin)

2024-01-14 15:39:08 UTC netbsd-10 commitmail json YAML

Apply patch, requested by riastradh in ticket #546:

tools/gdb/Makefile (apply patch)

gdb: Fix MKCROSSGDB=yes build on gcc>=11, which raises several
warnings that are fatal because the development snapshot of gdb
that netbsd-10 is about to ship with sets -Werror.  This addresses
PR misc/57841.

(martin)

2024-01-14 15:36:10 UTC netbsd-8 commitmail json YAML

2024-01-14 15:34:58 UTC netbsd-8 commitmail json YAML

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

external/bsd/iscsi/dist/src/lib/protocol.c: revision 1.5

libiscsi: Fix types of Time2Wait and Time2Retain in logout decap.

According to https://www.rfc-editor.org/rfc/rfc7143#section-11.15,
these are both 2-byte quantities.  Loading 4-byte quantities and
passing them through ISCSI_NTOHS might have worked by accident on
x86, but it's not gonna fly on big-endian.  (Fortunately sparc64 is
not just big-endian but also strict-alignment so it caught this
problem!)

XXX Is there an upstream for this code?  doc/3RDPARTY doesn't cite
any easily-followed references.

PR port-sparc64/57784

(martin)

2024-01-14 15:34:17 UTC netbsd-9 commitmail json YAML

2024-01-14 15:31:53 UTC netbsd-9 commitmail json YAML

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

external/bsd/iscsi/dist/src/lib/protocol.c: revision 1.5

libiscsi: Fix types of Time2Wait and Time2Retain in logout decap.

According to https://www.rfc-editor.org/rfc/rfc7143#section-11.15,
these are both 2-byte quantities.  Loading 4-byte quantities and
passing them through ISCSI_NTOHS might have worked by accident on
x86, but it's not gonna fly on big-endian.  (Fortunately sparc64 is
not just big-endian but also strict-alignment so it caught this
problem!)

XXX Is there an upstream for this code?  doc/3RDPARTY doesn't cite
any easily-followed references.

PR port-sparc64/57784

(martin)

2024-01-14 15:30:45 UTC netbsd-10 commitmail json YAML

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

external/bsd/iscsi/dist/src/lib/protocol.c: revision 1.5

libiscsi: Fix types of Time2Wait and Time2Retain in logout decap.

According to https://www.rfc-editor.org/rfc/rfc7143#section-11.15,
these are both 2-byte quantities.  Loading 4-byte quantities and
passing them through ISCSI_NTOHS might have worked by accident on
x86, but it's not gonna fly on big-endian.  (Fortunately sparc64 is
not just big-endian but also strict-alignment so it caught this
problem!)

XXX Is there an upstream for this code?  doc/3RDPARTY doesn't cite
any easily-followed references.

PR port-sparc64/57784

(martin)

2024-01-14 15:28:27 UTC netbsd-9 commitmail json YAML

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

lib/libc/inet/inet.3: revision 1.7

inet(3): Fix typo in description of size argument.

This is the size of dst, not of src.  The size of src is determined
by the address family.

Fix markup while here: .Fa for function arguments, not .Ar which is
for command arguments.

(martin)

2024-01-14 15:27:23 UTC netbsd-10 commitmail json YAML

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

lib/libc/inet/inet.3: revision 1.7

inet(3): Fix typo in description of size argument.

This is the size of dst, not of src.  The size of src is determined
by the address family.

Fix markup while here: .Fa for function arguments, not .Ar which is
for command arguments.

(martin)

2024-01-14 15:25:54 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #543):

sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.130

disable TX checksum optimization, it's causing ARP lossage in some
configurations using Linux dom0

PR port-xen/57743 by Brian Marcotte, thanks for the patch

(martin)

2024-01-14 15:24:06 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #542):

sys/dev/pci/yds.c: revision 1.69
sys/dev/pci/cmpci.c: revision 1.61
sys/dev/pci/sv.c: revision 1.62
sys/dev/pci/fms.c: revision 1.50

mpu / opl: add an interface attribute to config_found() calls for these

specify an interface attribute when attaching mpu and opl devices.
the PCI devices that are the parents of these midi devices
(cmpci, eso, fms, sv, yds) have two interface attributes:
"audiobus", and also one named the same as the parent device,
eg. "cmpci" has an interface attribute named "cmpci".
we must specify the latter one to attach these children.

(martin)

2024-01-14 15:20:19 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #541):

sys/dev/pci/ips.c: revision 1.7

ips: fix a couple more device_t/softc split bugs

(martin)

2024-01-14 15:18:37 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by chs in ticket #540):

sys/net/if_tun.c: revision 1.174

tun: add missing kpreempt_enable() if pktq_enqueue() fails

(martin)

2024-01-14 15:17:12 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #539):

distrib/sets/lists/comp/mi: revision 1.2452
share/man/man9/Makefile: revision 1.469

Install securelevel.9 as an alias of secmodel_securelevel.9
According to submitter, this should be sufficient to address misc/57824.

(martin)

2024-01-14 15:15:00 UTC netbsd-10 commitmail json YAML

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

usr.bin/mklocale/yacc.y: revision 1.35
usr.bin/mklocale/yacc.y: revision 1.36
usr.bin/mklocale/mklocale.1: revision 1.18
usr.bin/mklocale/mklocale.1: revision 1.19

mklocale: XXX: Neglect TODIGIT at the moment
PR lib/57798

It was implemented with an assumption that all digit characters
can be mapped to numerical values <= 255.
This is no longer true for Unicode, and results in, e.g., wrong
return values of wcwidth(3) for U+5146 or U+16B60.

As a workaround, neglect TODIGIT for now, as done for OpenBSD:
https://github.com/OpenBSD/src/commit/4efe9bdeb34
XXX

At least netbsd-10 should be fixed, but it requires some tests.

mklocale(1): Add range check for TODIGIT, rather than disabling it
PR lib/57798

Digit value specified by TODIGIT is storaged as lowest 8 bits of
_RuneType, see lib/libc/locale/runetype_file.h:
https://nxr.netbsd.org/xref/src/lib/libc/locale/runetype_file.h#56

The symptom reported in the PR is due to missing range check for
this value; values of 256 and above were mistakenly treated as
other flag bits in _RuneType.

For example, U+5146 has numerical value 1000,000,000,000 ==
0xe8d4a51000 where __BITS(30, 31) == _RUNETYPE_SW3 are turned on.

This is why wcwidth(3) returned 3 for this character.

This apparently affected not only character width, but also other
attributes storaged in _RuneType.

IIUC, digit value attributes in _RuneType have never been utilized
until now, but preserve these if digit fits within (0, 256). This
should be safer for pulling this up into netbsd-10. Also, these
attributes may be useful to implement some I18N features as
suggested by uwe@ in the PR.

netbsd-[98] is not affected as these use old UTF-8 ctype definitions.

(martin)

2024-01-14 13:22:15 UTC netbsd-10 commitmail json YAML

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

usr.sbin/sysinst/arch/atari/md.c: revision 1.11

Fix a typo of a kernel name on detecting a running machine type.

(martin)

2024-01-14 13:19:39 UTC netbsd-10 commitmail json YAML

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

external/bsd/fetch/dist/libfetch/common.c: revision 1.6

fetch(3): Backport SSL validation from pkgsrc libfetch 2.40.

We should really sync with pkgsrc libfetch to avoid divergence, but
this is a low-risk, high-priority change for NetBSD 10:
https://mail-index.netbsd.org/pkgsrc-changes/2024/01/03/msg290052.html

(martin)

2024-01-14 13:16:51 UTC netbsd-9 commitmail json YAML

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

bin/sh/eval.c: revision 1.191
bin/sh/expand.c: revision 1.144

PR bin/57773

Fix a bug reported by Jarle Fredrik Greipsland in PR bin/57773,
where a substring expansion where the substring to be removed from
a variable expansion is itself a var expansion where the value
contains one (or more) of sh's CTLxxx chars - the pattern had
CTLESC inserted, the string to be matched against did not.  Fail.

We fix that by always inserting CTLESC in var assign expansions.
See the PR for all the gory details.

Thanks for the PR.

PR bin/57773

Fix another bug reported by Jarle Fredrik Greipsland and added
to PR bin/57773, which relates to calculating the length of a
positional parameter which contains CTL chars -- yes, this one
really is that specific, though it would also affect the special
param $0 if it were to contain CTL chars, and its length was
requested - that is fixed with the same change.  And note: $0
is not affected because it looks like a positional param (it
isn't, ${00} would be, but is always unset, ${0} isn't) all
special parame would be affected the same way, but the only one
that can ever contain a CTL char is $0 I believe.  ($@ and $*
were affected, but just because they're expanding the positional
params ... ${#@} and ${#*} are both technically unspecified
expansions - and different shells produce different results.

See the PR for the details of this one (and the previous).

Thanks for the PR.

(martin)

2024-01-14 13:15:05 UTC netbsd-10 commitmail json YAML

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

bin/sh/eval.c: revision 1.191
bin/sh/expand.c: revision 1.144

PR bin/57773

Fix a bug reported by Jarle Fredrik Greipsland in PR bin/57773,
where a substring expansion where the substring to be removed from
a variable expansion is itself a var expansion where the value
contains one (or more) of sh's CTLxxx chars - the pattern had
CTLESC inserted, the string to be matched against did not.  Fail.

We fix that by always inserting CTLESC in var assign expansions.
See the PR for all the gory details.

Thanks for the PR.

PR bin/57773

Fix another bug reported by Jarle Fredrik Greipsland and added
to PR bin/57773, which relates to calculating the length of a
positional parameter which contains CTL chars -- yes, this one
really is that specific, though it would also affect the special
param $0 if it were to contain CTL chars, and its length was
requested - that is fixed with the same change.  And note: $0
is not affected because it looks like a positional param (it
isn't, ${00} would be, but is always unset, ${0} isn't) all
special parame would be affected the same way, but the only one
that can ever contain a CTL char is $0 I believe.  ($@ and $*
were affected, but just because they're expanding the positional
params ... ${#@} and ${#*} are both technically unspecified
expansions - and different shells produce different results.

See the PR for the details of this one (and the previous).

Thanks for the PR.

(martin)

2024-01-14 13:10:56 UTC netbsd-9 commitmail json YAML

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

external/ibm-public/postfix/libexec/postfix-script/Makefile: revision 1.2
distrib/sets/lists/man/mi: revision 1.1768
external/ibm-public/postfix/man/man1/Makefile: revision 1.3
distrib/sets/lists/base/mi: revision 1.1330

Install postfix-tls-script (for "postfix tls")

(martin)

2024-01-14 13:02:27 UTC netbsd-10 commitmail json YAML

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

external/ibm-public/postfix/libexec/postfix-script/Makefile: revision 1.2
distrib/sets/lists/man/mi: revision 1.1768
external/ibm-public/postfix/man/man1/Makefile: revision 1.3
distrib/sets/lists/base/mi: revision 1.1330

Install postfix-tls-script (for "postfix tls")

(martin)

2024-01-14 12:53:41 UTC MAIN commitmail json YAML

s/asynchrounous/asynchronous/, s/assistence/assistance/ in comments.

(andvar)

2024-01-14 12:44:09 UTC MAIN commitmail json YAML

s/rouding/rounding/ in test description.

(andvar)

2024-01-14 12:05:34 UTC MAIN commitmail json YAML

Add three button trackballs (M1309A) to a supported HP-HIL device list.

Asked by Jonathan Stone on port-hp300@, and tested by me:
https://mail-index.netbsd.org/port-hp300/2024/01/14/msg000238.html

(tsutsui)

2024-01-14 11:46:05 UTC MAIN commitmail json YAML

Surround db_stacktrace() with "#ifdef DDB" check.

Fixes LOCKDEBUG enabled build without DDB option.

(andvar)

2024-01-14 10:38:47 UTC MAIN commitmail json YAML

fix DEBUG build

(tnn)

2024-01-14 10:35:26 UTC MAIN commitmail json YAML

Comment out sequencer pseudo-device, it requires midi* or audio* device defined.

Fixes build for CUBOX kernel config.

(andvar)

2024-01-14 07:56:53 UTC MAIN commitmail json YAML

Avoid leaving a configured device without resources.

(mlelstv)

2024-01-14 07:55:48 UTC MAIN commitmail json YAML

The dr_node should be a property of usb_cdns3 and not usb3 for jh7100.

(skrll)

2024-01-14 07:53:38 UTC MAIN commitmail json YAML

Handle multiple memory nodes by type, but still allow an untyped
(non-standard) node named /memory.

(mlelstv)

2024-01-14 07:39:27 UTC MAIN commitmail json YAML

src/distrib/sets/lists/dtb/ad.riscv32@1.2 / diff / nxr@1.2
src/distrib/sets/lists/dtb/ad.riscv64@1.2 / diff / nxr@1.2
src/sys/dtb/riscv/Makefile@1.2 / diff / nxr@1.2
src/sys/dtb/riscv/starfive/Makefile@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/Makefile@1.2 / diff / nxr@1.2
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/Makefile@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight-a1.dts@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7100-common.dtsi@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7100.dtsi@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7110-pinfunc.h@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dts@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dts@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/arch/riscv/boot/dts/starfive/jh7110.dtsi@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/starfive,jh7110-crg.h@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/starfive-jh7100-audio.h@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/starfive-jh7100.h@1.1 / diff / nxr@1.1
src/sys/external/gpl2/dts/dist/include/dt-bindings/pinctrl/pinctrl-starfive-jh7100.h@1.1 / diff / nxr@1.1
      :
(more 6 files)
Import RISC-V starfive DTS from https://github.com/starfive-tech/linux.git"

The files are taken from the visionfive branch with latest DTS related commit

    commit 9b5f280fa413ee76fac20cd575075fc53468d527
    Author: Emil Renner Berthing <kernel@esmil.dk>
    Date:  Sun Oct 31 17:15:58 2021 +0100

        riscv: dts: Add full JH7100, Starlight and VisionFive support

(skrll)

2024-01-14 07:13:15 UTC MAIN commitmail json YAML

risc-v: the SiFive FU[57]40 cache controller is present in the JH71x0 SoCs.

(skrll)

2024-01-14 00:40:21 UTC MAIN commitmail json YAML

crash.8: add xref to savecore(8)

(gutteridge)

2024-01-14 00:39:11 UTC MAIN commitmail json YAML

Makefile.kern.inc: fix grammar in a comment

(gutteridge)

2024-01-14 00:17:47 UTC MAIN commitmail json YAML

2024-01-14 00:00:58 UTC MAIN commitmail json YAML

Use NAUTOVECTORS and NUSERVECTORS constants from <m68k/vectors.h>

(thorpej)

2024-01-14 00:00:15 UTC MAIN commitmail json YAML

Provide NAUTOVECTORS and NUSERVECTORS constants.

(thorpej)

2024-01-13 23:59:47 UTC MAIN commitmail json YAML

2024-01-13 21:40:54 UTC MAIN commitmail json YAML

2024-01-13 20:18:47 UTC MAIN commitmail json YAML

2024-01-13 20:10:36 UTC MAIN commitmail json YAML

2024-01-13 19:31:40 UTC MAIN commitmail json YAML

Disable more several pseudo-devices to shrink binary size.

My 3/60 fails to boot from a SCSI disk without this change.
https://mail-index.netbsd.org/port-sun3/2024/01/13/msg000207.html

Should be pulled up to netbsd-10.

(tsutsui)

2024-01-13 19:20:26 UTC MAIN commitmail json YAML

2024-01-13 18:51:39 UTC MAIN commitmail json YAML

2024-01-13 18:42:11 UTC MAIN commitmail json YAML

Provide some vector table override hooks and interfaces needed by the
sun68k platforms.

(thorpej)

2024-01-13 18:40:12 UTC MAIN commitmail json YAML

Add buserr2030 and addrerr2030 aliases to busaddrerr2030.

(thorpej)

2024-01-13 18:22:13 UTC MAIN commitmail json YAML

usbdi(9): Assert not polling in abort path.

XXX Not sure if this is safe.

(riastradh)

2024-01-13 17:10:58 UTC MAIN commitmail json YAML

2024-01-13 17:10:03 UTC MAIN commitmail json YAML

Add a common vector table implementation for m68k platforms.

(thorpej)

2024-01-13 17:07:26 UTC MAIN commitmail json YAML

G/C some unused definitions.

(thorpej)

2024-01-13 17:01:58 UTC MAIN commitmail json YAML

2024-01-13 16:43:08 UTC MAIN commitmail json YAML

Attach generic system controllers

(skrll)

2024-01-13 16:36:32 UTC MAIN commitmail json YAML

Group pass 1 attachments

(skrll)

2024-01-13 15:26:36 UTC MAIN commitmail json YAML

Add workaround for Microsoft Sculpt Wireless keyboard/mouse.

From M. Boerschig in PR 57845.

(hgutch)

2024-01-13 15:22:41 UTC MAIN commitmail json YAML

2024-01-13 14:42:14 UTC MAIN commitmail json YAML

Add Microsoft Sculpt Wireless keyboard/mouse.

From M. Boerschig in PR 57845.

(hgutch)

2024-01-13 12:42:10 UTC MAIN commitmail json YAML

usbdi(9): Avoid taking locks in usbd_transfer while polling.

PR kern/57783

XXX pullup-10
XXX pullup-9
XXX pullup-8

(riastradh)

2024-01-13 12:27:54 UTC MAIN commitmail json YAML

usbdi(9): Avoid calling ubm_softint with lock held and polling on.

PR kern/57783

XXX pullup-10
XXX pullup-9
XXX pullup-8

(riastradh)

2024-01-13 11:24:57 UTC MAIN commitmail json YAML

2024-01-13 09:44:42 UTC MAIN commitmail json YAML

uvm: change type of uvm_physseg.start_hint from u_int to u_long

Avoids assertion failure in uvm_pglistalloc_s_ps() with large paddrs.
PR kern/57683.

(tnn)

2024-01-13 05:31:29 UTC MAIN commitmail json YAML

Revert mistaken "no obmem0" that I added when enabling UFS_DIRHASH.

Thanks tsutsui@ for pointing this out.

(simonb)

2024-01-13 01:23:39 UTC MAIN commitmail json YAML

lint: inline simple grammar rules

(rillig)

2024-01-13 00:44:42 UTC MAIN commitmail json YAML

2024-01-13 00:43:31 UTC MAIN commitmail json YAML

2024-01-13 00:21:51 UTC MAIN commitmail json YAML

2024-01-12 23:46:53 UTC MAIN commitmail json YAML

2024-01-12 23:36:30 UTC MAIN commitmail json YAML

2024-01-12 19:31:43 UTC MAIN commitmail json YAML

libarchive-3.7.2 is out

(wiz)

2024-01-12 18:06:18 UTC MAIN commitmail json YAML

Cache the result from fdtbus_get_data() in fdt_memory_remove_reserved

NFCI.

(skrll)

2024-01-12 11:24:48 UTC MAIN commitmail json YAML

2024-01-12 08:44:42 UTC MAIN commitmail json YAML

Extend the lint "trapv" gcc bug to VAX and note that it has been fixed
(according to upstream) in gcc 11 and newer.

(martin)

2024-01-12 08:33:39 UTC MAIN commitmail json YAML

lint: clean up grammar for array size

(rillig)

2024-01-12 06:23:20 UTC MAIN commitmail json YAML

The interrupt handler needs to clear the interrupt condition
before re-arming the timer. Otherwise the timer could expire
again before clearing the interrupt, the interrupt gets lost
and the clock stops.

On real hardware that could only occur if the timer interval
is extremely short or if there is a higher-than-clock interrupt
that delays processing. In the emulated world however, time
can progress non-continously and this happens often under load.

(mlelstv)

2024-01-12 01:53:57 UTC MAIN commitmail json YAML

2024-01-11 23:26:40 UTC MAIN commitmail json YAML

lint: clean up enum constants for designators

In intializers and offsetof, both struct and union members are handled
in the same way, thus there is no need to distinguish them.

(rillig)

2024-01-11 23:06:19 UTC MAIN commitmail json YAML

lint: correctly set system-header flag on cast-expression

When a cast-expression comes partly from a system header, determine at
the ')' whether the whole cast-expression comes from the system header.
Previously, it was based on the operand, which contradicted the
documentation of tn_sys.

Mainly affects strict bool mode (where expressions from system headers
are handled more leniently), as well as query 9 for parenthesized return
expressions.

Discovered upon manual inspection, as calling expr_alloc_tnode should
never be necessary when creating an expression node with operands;
there's build_op for that purpose.

(rillig)

2024-01-11 20:25:04 UTC MAIN commitmail json YAML

lint: warn about integer overflow when folding constant INT_MIN / -1

(rillig)

2024-01-11 06:19:49 UTC MAIN commitmail json YAML

mscp(4): add ability for rronline() callback in a workqueue

when an ra(4) disk comes online the hardware interrupt ends up calling
disk_set_info(), which triggers a sleep lock/alloc in this path which
is triggered by LOCKDEBUG.

piggy-back on the existing workqueue for autoconfiguration to handle
this path and run the online completion in the work queue.

this is a little ugly, in that it puts two different types of work
into the one queue, but seems less ugly than creating a second
workqueue for what is likely another one-time event (infact, the other
user may be better handled via config_defer() -- i did not look too
closely.)

with this, LOCKDEBUG kernels work.

tested in simh.

(mrg)

2024-01-11 04:45:20 UTC MAIN commitmail json YAML

lint: disable -ftrapv for vax

When compiling lint1/cgram.c:
during RTL pass: postreload
cgram.c: In function 'yyparse':
cgram.c:5873:1: internal compiler error: in reload_combine_note_use,
    at postreload.c:1534

(rillig)

2024-01-11 04:33:45 UTC MAIN commitmail json YAML

vax: set default RLIMIT_AS to the same as MAXDSIZ

this allows modern GCC to run without returning to the issues that
reported in PR#28379, and avoids a strange sort-of-invariant violation
where the rlimit for data equaled the rlimit for all address space, so
there is no room for text or stack etc.

ok ragge@

XXX: pullup-10

(mrg)

2024-01-11 00:31:02 UTC MAIN commitmail json YAML

if_athn_usb.c: provide the usual device information

(gutteridge)

2024-01-10 01:48:16 UTC MAIN commitmail json YAML

getaddrinfo(1): Omit needless whitespace.

No functional change intended.

(riastradh)

2024-01-09 23:46:54 UTC MAIN commitmail json YAML

lint: allow complex offsetof(type, member-designator)

Both GCC 11 and Clang 8 accept member-designators that are not
identifiers but designator sequences, such as in 'offsetof(struct stat,
st_atim.tv_sec)', so make lint accept them as well.

(rillig)

2024-01-09 18:39:53 UTC MAIN commitmail json YAML

disable TX checksum optimization, it's causing ARP lossage in some
configurations using Linux dom0

PR port-xen/57743 by Brian Marcotte, thanks for the patch

(jdolecek)

2024-01-09 14:24:08 UTC MAIN commitmail json YAML

Properly implement mm_md_physacc() and garbage-collect the now unused
"lowram" variable (hold-over from hp300 lineage).

(thorpej)

2024-01-09 07:28:27 UTC MAIN commitmail json YAML

2024-01-09 07:21:48 UTC MAIN commitmail json YAML

Remove duplicated / slightly-tweaked loadustp() (load user segment table)
routines from all of the m68k ports using the shared pmap.  Instead, in
pmap_init(), set up a function pointer to the appropriate mmu_load_urp*()
function in mmu_subr.s.

(thorpej)

2024-01-09 04:16:27 UTC MAIN commitmail json YAML

2024-01-09 04:08:33 UTC MAIN commitmail json YAML

This platform does not have a loadustp() function.

(thorpej)

2024-01-08 19:33:49 UTC MAIN commitmail json YAML

sun4v: only DFA (Data fault address) and DFA (Datafault context) are valid when a mem_address_not_aligned fault is triggered, so ajust debug printout to this

(palle)

2024-01-08 18:38:25 UTC MAIN commitmail json YAML

ips: fix a couple more device_t/softc split bugs

(chs)

2024-01-08 18:37:24 UTC MAIN commitmail json YAML

mpu / opl: add an interface attribute to config_found() calls for these

specify an interface attribute when attaching mpu and opl devices.
the PCI devices that are the parents of these midi devices
(cmpci, eso, fms, sv, yds) have two interface attributes:
"audiobus", and also one named the same as the parent device,
eg. "cmpci" has an interface attribute named "cmpci".
we must specify the latter one to attach these children.

(chs)

2024-01-08 18:09:33 UTC MAIN commitmail json YAML

add support for doubling a font's size, with optional smoothing
- works only on fonts up to 8 pixels wide for now
- smoothing attempts to detect pixel staircases and add pixels to smooth
  them out

(macallan)

2024-01-08 17:11:32 UTC MAIN commitmail json YAML

tests/lint: fix overflow test for 32-bit platforms (since yesterday)

Plain integer constants without suffix are first tried to fit into
'int', then 'long', but not 'long long'.  This means that numbers larger
than 32 bits must be written with the LL suffix.

(rillig)

2024-01-08 05:11:54 UTC MAIN commitmail json YAML

Add PROCFS and MSDOSFS.

(thorpej)

2024-01-08 05:11:33 UTC MAIN commitmail json YAML

Use aprint_error() rather than a bare printf() in a few spots, and
an aprint_normal() in some others.

(thorpej)

2024-01-08 05:10:51 UTC MAIN commitmail json YAML

Accept "root=xxx" for the root device and "flags=xxx" as the boothowto
flags from the kernel command line arguments.

(thorpej)

2024-01-08 05:09:41 UTC MAIN commitmail json YAML

Add bootinfo_getarg(), which gets the name kernel command line argument
and returns its value (sort of like getenv()).

(thorpej)

2024-01-07 21:19:42 UTC MAIN commitmail json YAML

2024-01-07 18:42:37 UTC MAIN commitmail json YAML

2024-01-07 16:41:24 UTC MAIN commitmail json YAML

Don't to go IPL0 right before calling main(), instead call spl0() at the
end of cpu_configure().  It seems that Qemu doesn't reset pending interrupts
correctly after a RESET request, which was causing an explosion when an
interrupt was delivered to the new kernel instance.  This change makes
reboot work.

Thx to mlelstv@ for figuring out what the problem was.

(thorpej)

2024-01-07 12:43:16 UTC MAIN commitmail json YAML

lint: fix crash for invalid __func__ (since 2023-01-29)

(rillig)

2024-01-07 12:20:42 UTC MAIN commitmail json YAML

lint: fix memory allocation names, eliminate double negation

(rillig)

2024-01-07 11:42:22 UTC MAIN commitmail json YAML

2024-01-07 11:39:04 UTC MAIN commitmail json YAML