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

2024-05-10 08:18:58 UTC Now

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

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

2024-01-07 02:07:44 UTC MAIN commitmail json YAML

make: unit-tests handle TEST_MAKE:T != make

We need to allow for ${TEST_MAKE:T}[1-9]: etc when
TEST_MAKE is not 'make'

(sjg)

2024-01-07 01:33:58 UTC MAIN commitmail json YAML

make: more consistent error messages

Move %s: progname from Job_CheckCommands to Fatal
to avoid is being repeated when Job_CheckCommands is passed Error.

This means some errors from var also report progname (and level)
which is useful.

Reviewed by: rillig

(sjg)

2024-01-07 00:58:11 UTC MAIN commitmail json YAML

2024-01-07 00:57:13 UTC MAIN commitmail json YAML

2024-01-07 00:38:18 UTC MAIN commitmail json YAML

Install securelevel.9 as an alias of secmodel_securelevel.9

According to submitter, this should be sufficient to address misc/57824.

(pgoyette)

2024-01-06 21:49:59 UTC MAIN commitmail json YAML

Fix dump paste-o.  Halt works properly.  Reboot does reboot, but the
new kernel instance crashes early.

(thorpej)

2024-01-06 21:43:37 UTC MAIN commitmail json YAML

Fix stupid typo in cpu_set_reset_func().

(thorpej)

2024-01-06 21:40:41 UTC MAIN commitmail json YAML

Implement bootinfo_setup_rndseed().  Thx Riastradh@ for the suggestion.

(thorpej)

2024-01-06 21:26:43 UTC MAIN commitmail json YAML

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).

(mlelstv)

2024-01-06 17:52:43 UTC MAIN commitmail json YAML

Put some meat on the bones of the Goldfish TTY driver.  Works well enough
for sysinst.

(thorpej)

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

The RAM disk specified by bootinfo is not necessarily loaded along with
the static kernel image.  Map is separately and account for it in the
available memory segments.

(thorpej)

2024-01-06 15:05:24 UTC MAIN commitmail json YAML

lint: remove redundant parentheses, braces and comments

Rename the functions for folding constant expressions, to make the
comments redundant.

(rillig)

2024-01-06 14:21:26 UTC MAIN commitmail json YAML

lint: remove redundant comments

(rillig)

2024-01-06 07:38:13 UTC MAIN commitmail json YAML

2024-01-06 07:35:39 UTC MAIN commitmail json YAML

2024-01-06 07:27:35 UTC MAIN commitmail json YAML

2024-01-06 07:27:05 UTC MAIN commitmail json YAML

Add Cavium CN68xx to list of known CPUs.

(simonb)

2024-01-06 06:59:33 UTC MAIN commitmail json YAML

Perform VirtIO 1.0 feature negotation in the MMIO transport.  This is
required for HV's that have MMIO-v2 and don't support transitional devices.

(thorpej)

2024-01-06 05:31:20 UTC MAIN commitmail json YAML

x68k: Make _delay() argument to microseconds.
'<< 8' is just a magnification factor and should not be visible
from the outside.

(isaki)

2024-01-06 05:24:34 UTC MAIN commitmail json YAML

Remove a duplicated extern declaration.

(isaki)

2024-01-06 05:16:57 UTC MAIN commitmail json YAML

2024-01-06 00:26:26 UTC MAIN commitmail json YAML

Add Mercusys NW150US V2 USB support

No changes needed, other than recognizing it as working.

From Daeil Lee in PR/57819

(maya)

2024-01-06 00:24:37 UTC MAIN commitmail json YAML

2024-01-06 00:24:07 UTC MAIN commitmail json YAML

Add Mercusys and Mercusys MW150USV2

From Daeil Lee in PR/57819

(maya)

2024-01-05 23:36:45 UTC MAIN commitmail json YAML

tests/make: test long shell commands via Cmd_Exec

(rillig)

2024-01-05 23:22:06 UTC MAIN commitmail json YAML

2024-01-05 22:20:07 UTC MAIN commitmail json YAML

Cmd_Exec use tempfile if cmd is too big

To avoid blowing commandline/env limits, if "cmd"
is more than 1000 bytes, write it to a file and pass that
to shell.

Reviewed by: rillig

(sjg)

2024-01-05 21:56:55 UTC MAIN commitmail json YAML

make: clean up string functions

No binary change.

(rillig)

2024-01-05 21:51:27 UTC MAIN commitmail json YAML

make: inline Substring_Sub

Remove redundant assertions.

(rillig)

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

Include leds.h to make /dev/leds work.

(hans)

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

fixunstf[sd]i_ieee754: Explicitly include stddef.h for size_t

Fix build for mips{,n}64. Note that stddef.h has been implicitly
included via eabi.h for aarch64, on the other hand.

(rin)

2024-01-05 02:38:06 UTC MAIN commitmail json YAML

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.

(rin)

2024-01-04 18:09:37 UTC MAIN commitmail json YAML

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

Should be pulled up to netbsd-10.

(tsutsui)

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

tmux: perform substitution(s) in the man page

(uwe)

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

Fix nanosecond math in gfrtc_gettime().

(simonb)

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

dump topology information with aprint_debug instead of requiring to build
a DEBUG kernel.

(mlelstv)

2024-01-03 20:24:16 UTC MAIN commitmail json YAML

make: do not add newline to an empty buffer

When LoadFile reads from /dev/null the buffer will be empty,
appending "\n" just results in an unnecessary extra call
to ParseRawLine.

Reviewed by: rillig

(sjg)

2024-01-03 18:43:52 UTC MAIN commitmail json YAML

break the cycle: this does not need <sys/types.h> it only needs <sys/stdint.h>

(christos)

2024-01-03 18:41:53 UTC MAIN commitmail json YAML

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

ddress->address in comment.

(andvar)

2024-01-03 18:10:42 UTC MAIN commitmail json YAML

s/addreseses/addresses/ in comments (and one missing whitespace).

(andvar)

2024-01-03 12:46:12 UTC MAIN commitmail json YAML

G/C some bit defs that are redundant with mmu_{51,40}.h

(thorpej)

2024-01-03 12:43:43 UTC MAIN commitmail json YAML

get_physical(): Use bit defs from <m68k/mmu_40.h>

(thorpej)

2024-01-03 11:40:38 UTC MAIN commitmail json YAML

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

(riastradh)

2024-01-03 03:56:57 UTC MAIN commitmail json YAML

2024-01-03 03:56:36 UTC MAIN commitmail json YAML

Add virt68k to a list of machines in a comment.

(thorpej)

2024-01-03 03:18:31 UTC MAIN commitmail json YAML

Add virt68k headers.

(Why on earth is this a manual step!@#??)

(thorpej)

2024-01-03 02:59:00 UTC MAIN commitmail json YAML

Add mvme68k to MACHINES.m68k.

(thorpej)

2024-01-03 02:48:46 UTC MAIN commitmail json YAML

Add virt68k to valid_MACHINE_ARCH.

(thorpej)

2024-01-03 02:48:06 UTC MAIN commitmail json YAML

Add virt68k to MACHINES.m68k.

(thorpej)

2024-01-02 23:21:22 UTC MAIN commitmail json YAML

creds_msdos(8): move descriptions into the list itself

(uwe)

2024-01-02 22:39:00 UTC MAIN commitmail json YAML

Fix previous so <stdbool.h> isn't included with _KERNEL (etc).
Like it used to be.

(kre)

2024-01-02 22:35:26 UTC MAIN commitmail json YAML

This needs <stdbool.h> - it used to come from <sys/rbtree.h> (inappropriately)
but no longer (normally).    This should unbreak the builds.

(kre)

2024-01-02 22:35:22 UTC MAIN commitmail json YAML

Put back <stdbool.h> - but only when RBDEBUG is defined (the
similarly conditional rb_tree_check() prototype needs "bool").

(kre)

2024-01-02 19:28:25 UTC MAIN commitmail json YAML

2024-01-02 19:27:57 UTC MAIN commitmail json YAML

This uses size_t, so it always needs <sys/types.h>, remove ifdefs.

(christos)

2024-01-02 19:27:27 UTC MAIN commitmail json YAML

2024-01-02 19:15:59 UTC MAIN commitmail json YAML

creds_msdos(8): touch up mark up a bit

(uwe)

2024-01-02 18:18:47 UTC MAIN commitmail json YAML

2024-01-02 18:11:44 UTC MAIN commitmail json YAML

Add a driver for the Qemu Virtual System Controller that can be used
to halt or reset the system.

(thorpej)

2024-01-02 18:10:36 UTC MAIN commitmail json YAML

Provide a mechanism for a system reset controller to register to be used
to reset/halt the system.

(thorpej)

2024-01-02 17:44:00 UTC MAIN commitmail json YAML

+EPSS  Exploit Prediction Scoring System
+PED    PIN Entry Device

(jschauma)

2024-01-02 17:16:27 UTC MAIN commitmail json YAML

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

Detect a RND seed passed in by the loader.
XXX We don't actually *do* anything with it yet.

(thorpej)

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

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

If the loader passed us a RAM disk, use it as the root file system.

(thorpej)

2024-01-02 07:52:47 UTC MAIN commitmail json YAML

Remove non-applicable comments.

(thorpej)

2024-01-02 07:48:46 UTC MAIN commitmail json YAML

2024-01-02 07:47:36 UTC MAIN commitmail json YAML

Comment out LOCKDEBUG.

(thorpej)

2024-01-02 07:46:49 UTC MAIN commitmail json YAML

Remove yet another remnant of debugging.

(thorpej)

2024-01-02 07:43:29 UTC MAIN commitmail json YAML

2024-01-02 07:42:52 UTC MAIN commitmail json YAML

2024-01-02 07:41:02 UTC MAIN commitmail json YAML

2024-01-02 07:34:27 UTC MAIN commitmail json YAML

Adapt to changes in the generic gfrtc code.

(thorpej)

2024-01-02 07:30:29 UTC MAIN commitmail json YAML

2024-01-02 07:29:39 UTC MAIN commitmail json YAML

Add support for the Goldfish virtual TTY.  This is only enough for
early console; the rest will come later.

(thorpej)

2024-01-02 07:27:51 UTC MAIN commitmail json YAML

Add support for the Goldfish virtual programmable interrupt controller.

(thorpej)

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

Add support for the timer portion of the Goldfish RTC device.

(thorpej)

2024-01-02 07:24:50 UTC MAIN commitmail json YAML

- The VirtIO 1.0 spec says that the MMIO interface uses little-endian
  registers.  For some VMs, at least, this appears to be independent of
  the config/struct byte-order.  Detect this and handle it.
- Add support for the "v2" MMIO personality.

(thorpej)

2024-01-01 22:47:58 UTC MAIN commitmail json YAML

Define PTE used in the pmap module int terms of the bit definitions
in mmu_{51,40}.h.

(thorpej)

2024-01-01 22:29:49 UTC MAIN commitmail json YAML

if_dse.c: s/addredses/addresses/ in comment

(gutteridge)

2024-01-01 20:33:34 UTC MAIN commitmail json YAML

avoid dependency on NETBSDSRCDIR being set.

(similar to an earlier commit)
due to various things, non-build.sh builds don't have it set already
and it ends up defaulting to /usr/src, so if that doesn't exist or
is the wrong version, building libkern fails.

(rhialto)

2024-01-01 18:56:54 UTC MAIN commitmail json YAML

2024-01-01 17:18:02 UTC MAIN commitmail json YAML

risc-v: probe the number of supported ASIDs

Flush the entire TLB if no ASIDs are supported on pmap_activate.

(skrll)

2024-01-01 16:56:30 UTC MAIN commitmail json YAML

Appease KASSERTs for zero ASID CPUs (I mean harts)

(skrll)

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

Ammend ticket #524 for additional changes (including move of RC2 tag)

(martin)

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

Additionally pull up following revision(s) (requested by rin in ticket #524):

sys/stand/efiboot/efinet.c: revision 1.9

MI efiboot: Revert "Stop using efi_bootdp after exclusive open for PXE"
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/stand/efiboot/efinet.c#rev1.7

Some UEFI implementations pass multiple boot options as boot device path,
and NULL-clearing it results in boot failures.

Thanks skrll@ for pointing it out.

(martin)

2024-01-01 13:51:56 UTC MAIN commitmail json YAML

Perform more checks before establishing external interrupt handlers for
each hart.  The VisionFive2 DTS list the S7 core with status = "disabled".

(skrll)

2024-01-01 13:38:57 UTC MAIN commitmail json YAML

MI efiboot: Revert "Stop using efi_bootdp after exclusive open for PXE"

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/stand/efiboot/efinet.c#rev1.7

Some UEFI implementations pass multiple boot options as boot device path,
and NULL-clearing it results in boot failures.

Thanks skrll@ for pointing it out.

(rin)

2024-01-01 11:47:38 UTC netbsd-10 commitmail json YAML

2024-01-01 11:43:19 UTC netbsd-10 commitmail json YAML

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

external/gpl3/gcc/lib/liblto_plugin/Makefile: revision 1.11

also link in libiberty's unlink-if-ordinary.c.

should fix undef issues reported on current-users.

(martin)

2024-01-01 11:40:17 UTC netbsd-8 commitmail json YAML

2024-01-01 11:39:25 UTC netbsd-8 commitmail json YAML

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

sys/conf/copyright: revision 1.22

Update copyright notice for 2024.

(martin)

2024-01-01 11:38:06 UTC netbsd-9 commitmail json YAML

2024-01-01 11:37:13 UTC netbsd-9 commitmail json YAML

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

sys/conf/copyright: revision 1.22

Update copyright notice for 2024.

(martin)

2024-01-01 11:35:45 UTC netbsd-10 commitmail json YAML

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

sys/conf/copyright: revision 1.22

Update copyright notice for 2024.

(martin)

2024-01-01 00:18:40 UTC MAIN commitmail json YAML

Update copyright notice for 2024.

(wiz)

2023-12-31 23:39:27 UTC MAIN commitmail json YAML

syslog.conf(5): add back .Pp lost in previous

(uwe)

2023-12-31 22:52:49 UTC MAIN commitmail json YAML

also link in libiberty's unlink-if-ordinary.c.

should fix undef issues reported on current-users.

(mrg)

2023-12-31 22:06:41 UTC MAIN commitmail json YAML

gfrtc_settime(): Write the low half of the time valueinto the RTC_TIME_LOW
register, not the RTC_TIME_HIGH register.

(thorpej)

2023-12-31 21:59:24 UTC MAIN commitmail json YAML

Provide a vtophys() function like other platforms do, and implement
kvtop() (which will be g/c'd shortly) in terms of it.

(thorpej)

2023-12-31 21:32:43 UTC MAIN commitmail json YAML

bwfm.c: KNF a comment (spaces->tabs)

(gutteridge)

2023-12-31 19:41:22 UTC MAIN commitmail json YAML

syslog.conf(5): improve markup

Use tagged lists, mark up literals, be consistent about options
(global): vs parameters (of a TLS action), fold TLS authentication
description into the TLS options section.

(uwe)

2023-12-31 12:51:12 UTC netbsd-9 commitmail json YAML

2023-12-31 12:50:23 UTC netbsd-9 commitmail json YAML

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

etc/newsyslog.conf: revision 1.25

newsyslog.conf: collate npflog0.pcap properly

(martin)

2023-12-31 12:48:55 UTC netbsd-10 commitmail json YAML

2023-12-31 12:46:43 UTC netbsd-10 commitmail json YAML

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

etc/newsyslog.conf: revision 1.25

newsyslog.conf: collate npflog0.pcap properly

(martin)

2023-12-31 12:45:18 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by thorpej in ticket #530):

sys/arch/alpha/alpha/pmap.c: revision 1.308

pmap_bootstrap(): When initializing the L2 PTEs, don't use l2pte_index(),
as it is designed to wrap from 1023->0 during the normal course of use.

However, when setting up the initial kernel page tables, if we have a
large enough config that we end up with more than L2 PT page, we rely
on being able to index > 1023 into the adjacent PT pages to initialize
those entries.

Fixes a MM fault panic during early boot on larger memory configs
(reported by Dave McGuire with an 8GB ES40 and John Klos with a 12GB
DS25).  I've successfully booted at 16GB config in Qemu with this fix.

(martin)

2023-12-31 12:41:02 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by jklos in ticket #529):

lib/libm/Makefile: revision 1.223

Fix building with M68040 and M68060 options.

(martin)

2023-12-31 12:34:49 UTC netbsd-10 commitmail json YAML

Pull up the following, requested by kre in ticket #528:

lib/libc/time/zic.8                            up to 1.49
lib/libc/time/zdump.8                          up to 1.25

PR/57757: Izumi Tsutsui: Fix markup errors

(martin)

2023-12-31 12:19:23 UTC netbsd-10 commitmail json YAML

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

sys/arch/macppc/macppc/rbus_machdep.c: revision 1.19

macppc/cardbus: Belatedly catch up with battable resolution change

Fix pmap_extract() failures on models with cardslot, for direct-mapped
buffers allocated by PMAP_ALLOC_POOLPAGE().

This driver had corrupted battable[] over 11 years, since resolution of
battable was changed from 256MB to 8MB:
https://github.com/NetBSD/src/commit/413fb4c3c505a13900a9dff86f563fc58ff04005

Now, indexes for battable[] should be calculated by (va >> 23), but
rather, use oea_iobat_add() instead of directly modifying battable[].
TODO:
- Add some consistency checks to oea_iobat_add().
- Map reasonable VA space for cardbus(4), if OFW does not. Note that
  hardcoded value of 0x90000000-0x9fffffff should be safe for now, not
  that elegant although. For macppc models, IIUC, RAM is *not* mapped to
  0x80000000-0xffffffff, and VA reserved for kernel and copy{in,out} is
  0xc0000000-0xefffffff.

(martin)

2023-12-31 12:16:17 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by wiz in ticket #526):

share/mk/sys.mk: revision 1.149

Update ARFLAGS for new binutils.

In binutils 2.34, 'l' was a no-op.
In binutils 2.39, it is used to specify library dependencies.

Remove 'l' from ARFLAGS.

>From Takahiro Kambe in PR 57565.

(martin)

2023-12-31 12:10:00 UTC netbsd-10 commitmail json YAML

Pull up the following, requested by skrll in ticket #525:

external/broadcom/rpi-firmware/dist/LICENCE.broadcom up to 1.3
external/broadcom/rpi-firmware/dist/bootcode.bin up to 1.13
external/broadcom/rpi-firmware/dist/fixup.dat  up to 1.13
external/broadcom/rpi-firmware/dist/fixup4.dat  up to 1.2
external/broadcom/rpi-firmware/dist/fixup4cd.dat up to 1.2
external/broadcom/rpi-firmware/dist/fixup_cd.dat up to 1.13
external/broadcom/rpi-firmware/dist/start.elf  up to 1.13
external/broadcom/rpi-firmware/dist/start4.elf  up to 1.2
external/broadcom/rpi-firmware/dist/start4cd.elf up to 1.2
external/broadcom/rpi-firmware/dist/start_cd.elf up to 1.13

Update RaspberryPI firmware

Update the RaspberryPI firmware to the version from

https://github.com/raspberrypi/rpi-firmware

  commit fdb9eafae4b83e553593937eae8e77b0193903c3
  Author: Dom Cobley <popcornmix-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  Date:  Tue Oct 17 15:59:45 2023 +0100

    kernel: Bump to 6.1.58

    ...

    firmware: config: Add [pi5] to config.txt on 2711 and earlier platforms

(martin)

2023-12-31 10:09:01 UTC MAIN commitmail json YAML

tests/make: finish incomplete sentence in test for assignment modifiers

(rillig)

2023-12-31 09:45:58 UTC MAIN commitmail json YAML

2023-12-31 04:20:40 UTC MAIN commitmail json YAML

{x86,m68k}/float.h: document LDBL_MIN behavior

It seems that even though both these platforms have 12-byte floats
that are pretty much the same representation and both allegedly
IEEE-compliant, they manifest the top bit of the mantissa and then
differ slightly in the behavior of the extra encodings this permits.

Thanks to riastradh@ for helping sort this out.

(dholland)

2023-12-31 03:57:48 UTC MAIN commitmail json YAML

newsyslog.conf: collate npflog0.pcap properly

(uwe)

2023-12-31 03:19:22 UTC MAIN commitmail json YAML

ne(4): Write CR0 properly.
Writing 0b000 to RD2-0 in CR0 appears harmless, but it is "not allowed"
by the RTL8019AS (and several NE2000 derived) datasheets.

(isaki)

2023-12-30 23:07:42 UTC MAIN commitmail json YAML

pmap_bootstrap(): When initializing the L2 PTEs, don't use l2pte_index(),
as it is designed to wrap from 1023->0 during the normal course of use.
However, when setting up the initial kernel page tables, if we have a
large enough config that we end up with more than L2 PT page, we rely
on being able to index > 1023 into the adjacent PT pages to initialize
those entries.

Fixes a MM fault panic during early boot on larger memory configs
(reported by Dave McGuire with an 8GB ES40 and John Klos with a 12GB
DS25).  I've successfully booted at 16GB config in Qemu with this fix.

(thorpej)

2023-12-30 22:44:22 UTC MAIN commitmail json YAML

2023-12-30 21:46:52 UTC MAIN commitmail json YAML

xennetback_xenbus.c: Nix trailing whitespace again.

No functional change intended.

(riastradh)

2023-12-30 19:35:09 UTC netbsd-10 commitmail json YAML

2023-12-30 19:33:25 UTC netbsd-10 commitmail json YAML

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

sys/stand/efiboot/efinet.c: revision 1.7
sys/stand/efiboot/efinet.c: revision 1.8

MI efiboot: Stop using efi_bootdp after exclusive open for PXE

Once boot device is exclusively opened for Simple Network Protocol,
further access via device path (efi_bootdp) is illegal.

For some implementations, boot device path gets corrupted by
exclusive open, and subsequent access by efi_device_path_depth(),
e.g., causes infinite recursion.

Fix PXE boot for QEMU/aarch64 with EDK2 on some Linux distributions.
Thanks yamaguchi@ for comments and tests.

MI efiboot: efi_net_probe: Examine Messaging Device Path also
Network devices can be found as Hardware or Messaging Device Paths,
see Sec 10.4.4 of UEFI Spec 2.10.

In addition to Hardware Device Path, try Messaging Device Path also.

This fixes PXE boot on implementations with the latter choice, e.g.,
Raspberry Pi 4 UEFI firmware.

(martin)

2023-12-30 19:21:29 UTC netbsd-10 commitmail json YAML

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

sbin/iscsid/iscsid_driverif.c: revision 1.10

Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before.

(martin)

2023-12-30 19:19:01 UTC netbsd-8 commitmail json YAML

2023-12-30 19:18:26 UTC netbsd-9 commitmail json YAML

2023-12-30 19:17:07 UTC netbsd-9 commitmail json YAML

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

usr.sbin/makefs/msdos.c: revision 1.22

Return a proper exit status on failure on creating msdosfs.

No particular comment in PR bin/57752.

(martin)

2023-12-30 19:15:59 UTC netbsd-10 commitmail json YAML

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

usr.sbin/makefs/msdos.c: revision 1.22

Return a proper exit status on failure on creating msdosfs.

No particular comment in PR bin/57752.

(martin)

2023-12-30 19:13:50 UTC netbsd-10 commitmail json YAML

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

distrib/sets/lists/debug/module.md.i386: revision 1.8
sys/modules/Makefile: revision 1.281
distrib/sets/lists/modules/md.i386: revision 1.97

Unhook radeondrm module from the build; it doesn't work, and
it's just tempting someone to try it.  Leave the files around
in case someone wants to pursue making this work.

Should address kern/57793

XXX Related modules from the same legacy era should probably be
XXX removed, too, but so far only radeondrm has been reported
XXX as an issue.  Kep an eye out for sisdrm, savagedrm, tdfxdrm,
XXX and r128drm.

(martin)

2023-12-30 19:00:33 UTC netbsd-8 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1158.2.9 / diff / nxr@1.1158.2.9
src/doc/3RDPARTY@1.1444.2.28 / diff / nxr@1.1444.2.28
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.3.6.5 / diff / nxr@1.1.1.3.6.5
src/external/public-domain/tz/dist/Makefile@1.1.1.17.4.10 / diff / nxr@1.1.1.17.4.10
src/external/public-domain/tz/dist/NEWS@1.1.1.18.4.11 / diff / nxr@1.1.1.18.4.11
src/external/public-domain/tz/dist/README@1.1.1.5.6.5 / diff / nxr@1.1.1.5.6.5
src/external/public-domain/tz/dist/TZDATA_VERSION@1.8.4.11 / diff / nxr@1.8.4.11
src/external/public-domain/tz/dist/africa@1.1.1.11.4.11 / diff / nxr@1.1.1.11.4.11
src/external/public-domain/tz/dist/antarctica@1.1.1.8.4.6 / diff / nxr@1.1.1.8.4.6
src/external/public-domain/tz/dist/asia@1.1.1.16.4.10 / diff / nxr@1.1.1.16.4.10
src/external/public-domain/tz/dist/australasia@1.1.1.11.4.10 / diff / nxr@1.1.1.11.4.10
src/external/public-domain/tz/dist/backward@1.1.1.7.4.6 / diff / nxr@1.1.1.7.4.6
src/external/public-domain/tz/dist/backzone@1.1.1.11.4.8 / diff / nxr@1.1.1.11.4.8
src/external/public-domain/tz/dist/checklinks.awk@1.1.1.2.8.2 / diff / nxr@1.1.1.2.8.2
src/external/public-domain/tz/dist/checknow.awk@1.1.1.1.6.2 / diff / nxr@1.1.1.1.6.2
src/external/public-domain/tz/dist/checktab.awk@1.1.1.8.8.4 / diff / nxr@1.1.1.8.8.4
src/external/public-domain/tz/dist/etcetera@1.1.1.2.6.5 / diff / nxr@1.1.1.2.6.5
src/external/public-domain/tz/dist/europe@1.1.1.17.4.10 / diff / nxr@1.1.1.17.4.10
src/external/public-domain/tz/dist/iso3166.tab@1.1.1.5.4.2 / diff / nxr@1.1.1.5.4.2
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.7.4.7 / diff / nxr@1.1.1.7.4.7
      :
(more 10 files)
Pull up the following, requested by kry in ticket #1928:

external/public-domain/tz/dist/checknow.awk    up to 1.1.1.1
external/public-domain/tz/dist/zonenow.tab      up to 1.1.1.1
external/public-domain/tz/dist/CONTRIBUTING    up to 1.1.1.8
external/public-domain/tz/dist/Makefile        up to 1.1.1.37
external/public-domain/tz/dist/NEWS            up to 1.1.1.44
external/public-domain/tz/dist/README          up to 1.1.1.11
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.36
external/public-domain/tz/dist/africa          up to 1.1.1.32
external/public-domain/tz/dist/antarctica      up to 1.1.1.18
external/public-domain/tz/dist/asia            up to 1.11
external/public-domain/tz/dist/australasia      up to 1.8
external/public-domain/tz/dist/backward        up to 1.11
external/public-domain/tz/dist/backzone        up to 1.1.1.27
external/public-domain/tz/dist/checklinks.awk  up to 1.1.1.4
external/public-domain/tz/dist/checktab.awk    up to 1.1.1.13
external/public-domain/tz/dist/etcetera        up to 1.1.1.7
external/public-domain/tz/dist/europe          up to 1.1.1.38
external/public-domain/tz/dist/iso3166.tab      up to 1.1.1.9
external/public-domain/tz/dist/leap-seconds.list up to 1.6
external/public-domain/tz/dist/leapseconds      up to 1.6
external/public-domain/tz/dist/leapseconds.awk  up to 1.1.1.13
external/public-domain/tz/dist/northamerica    up to 1.1.1.34
external/public-domain/tz/dist/southamerica    up to 1.1.1.24
external/public-domain/tz/dist/theory.html      up to 1.1.1.18
external/public-domain/tz/dist/version          up to 1.11
external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.10
external/public-domain/tz/dist/zone.tab        up to 1.1.1.26
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.27
distrib/sets/lists/base/mi (apply patch)
doc/3RDPARTY (apply patch)

Update tzdata to tzdata2023dgtz.

(martin)

2023-12-30 18:35:33 UTC netbsd-9 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1209.2.9 / diff / nxr@1.1209.2.9
src/doc/3RDPARTY@1.1640.2.29 / diff / nxr@1.1640.2.29
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.6.2.2 / diff / nxr@1.1.1.6.2.2
src/external/public-domain/tz/dist/Makefile@1.1.1.24.2.8 / diff / nxr@1.1.1.24.2.8
src/external/public-domain/tz/dist/NEWS@1.1.1.27.2.8 / diff / nxr@1.1.1.27.2.8
src/external/public-domain/tz/dist/README@1.1.1.8.2.3 / diff / nxr@1.1.1.8.2.3
src/external/public-domain/tz/dist/TZDATA_VERSION@1.17.2.8 / diff / nxr@1.17.2.8
src/external/public-domain/tz/dist/africa@1.1.1.20.2.6 / diff / nxr@1.1.1.20.2.6
src/external/public-domain/tz/dist/antarctica@1.1.1.11.2.4 / diff / nxr@1.1.1.11.2.4
src/external/public-domain/tz/dist/asia@1.1.1.23.2.7 / diff / nxr@1.1.1.23.2.7
src/external/public-domain/tz/dist/australasia@1.1.1.17.2.6 / diff / nxr@1.1.1.17.2.6
src/external/public-domain/tz/dist/backward@1.1.1.10.2.4 / diff / nxr@1.1.1.10.2.4
src/external/public-domain/tz/dist/backzone@1.1.1.16.2.6 / diff / nxr@1.1.1.16.2.6
src/external/public-domain/tz/dist/checklinks.awk@1.1.1.3.6.1 / diff / nxr@1.1.1.3.6.1
src/external/public-domain/tz/dist/checknow.awk@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/external/public-domain/tz/dist/checktab.awk@1.1.1.9.4.3 / diff / nxr@1.1.1.9.4.3
src/external/public-domain/tz/dist/etcetera@1.1.1.4.2.3 / diff / nxr@1.1.1.4.2.3
src/external/public-domain/tz/dist/europe@1.1.1.24.2.8 / diff / nxr@1.1.1.24.2.8
src/external/public-domain/tz/dist/iso3166.tab@1.1.1.6.2.1 / diff / nxr@1.1.1.6.2.1
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.11.2.6 / diff / nxr@1.1.1.11.2.6
      :
(more 10 files)
Pull up the following, requested by kre in ticket #1782:

external/public-domain/tz/dist/checknow.awk    up to 1.1.1.1
external/public-domain/tz/dist/zonenow.tab      up to 1.1.1.1
external/public-domain/tz/dist/CONTRIBUTING    up to 1.1.1.8
external/public-domain/tz/dist/Makefile        up to 1.1.1.37
external/public-domain/tz/dist/NEWS            up to 1.1.1.44
external/public-domain/tz/dist/README          up to 1.1.1.11
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.36
external/public-domain/tz/dist/africa          up to 1.1.1.32
external/public-domain/tz/dist/antarctica      up to 1.1.1.18
external/public-domain/tz/dist/asia            up to 1.11
external/public-domain/tz/dist/australasia      up to 1.8
external/public-domain/tz/dist/backward        up to 1.11
external/public-domain/tz/dist/backzone        up to 1.1.1.27
external/public-domain/tz/dist/checklinks.awk  up to 1.1.1.4
external/public-domain/tz/dist/checktab.awk    up to 1.1.1.13
external/public-domain/tz/dist/etcetera        up to 1.1.1.7
external/public-domain/tz/dist/europe          up to 1.1.1.38
external/public-domain/tz/dist/iso3166.tab      up to 1.1.1.9
external/public-domain/tz/dist/leap-seconds.list up to 1.6
external/public-domain/tz/dist/leapseconds      up to 1.6
external/public-domain/tz/dist/leapseconds.awk  up to 1.1.1.13
external/public-domain/tz/dist/northamerica    up to 1.1.1.34
external/public-domain/tz/dist/southamerica    up to 1.1.1.24
external/public-domain/tz/dist/theory.html      up to 1.1.1.18
external/public-domain/tz/dist/version          up to 1.11
external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.10
external/public-domain/tz/dist/zone.tab        up to 1.1.1.26
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.27
distrib/sets/lists/base/mi (apply patch)
doc/3RDPARTY (apply patch)

Update tzdata to 2023d.

(martin)

2023-12-30 18:24:50 UTC netbsd-9 commitmail json YAML

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

external/bsd/blocklist/bin/blocklistd.c: revision 1.4
(applied to external/bsd/blacklist/bin/blacklistd.c)

PR/57767: Yoshitaka Tokugawa: When restoring, do so from a readonly copy
of the database and update the read-write copy with the new firewall ids.
Before we did not update the state file so it contained the old firewall ids.

(martin)

2023-12-30 17:09:42 UTC MAIN commitmail json YAML

tests/lint: sync comments in test for strict bool mode with reality

(rillig)

2023-12-30 15:37:27 UTC MAIN commitmail json YAML

lint: in strict bool mode, allow 'a & b' in controlling expressions

Previously, the expression 'a & b' was only treated as bool if 'a' had
enum type.  This didn't cover cases in which bit masks were implemented
using integer types instead of enum sets.

(rillig)

2023-12-30 15:18:57 UTC MAIN commitmail json YAML

tests/lint: test '&' for non-enum types in strict bool mode

(rillig)

2023-12-30 15:00:56 UTC MAIN commitmail json YAML

make: clean up freeing of suffixes

No functional change.

(rillig)

2023-12-30 13:28:06 UTC MAIN commitmail json YAML

make: remove unused field from suffix

No functional change.

(rillig)

2023-12-30 13:09:24 UTC MAIN commitmail json YAML

2023-12-30 06:16:44 UTC MAIN commitmail json YAML

ixgbe: Use #ifdef RSC

This feature (hardware receive side coalescing) has been disabled all along,
so enclose the code with #ifdef RSC.

(msaitoh)

2023-12-30 06:16:03 UTC MAIN commitmail json YAML

ixgbe: Change "me" from 32bit to 8bit because the max is 128.

This commit doesn't change the real size of ix_queue, tx_ring and rx_ring
because of the alignment.

(msaitoh)

2023-12-29 23:31:45 UTC MAIN commitmail json YAML

Re-factor the Goldfish RTC driver into attach-front-end and generic
back-end; Goldfish virtual devices can be found on virtual platforms
that don't use FDT.

(thorpej)

2023-12-29 23:01:02 UTC MAIN commitmail json YAML

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

(chs)

2023-12-29 22:58:24 UTC MAIN commitmail json YAML

drm: put_cpu() should enable preemption, not disable it again

(chs)

2023-12-29 20:43:58 UTC MAIN commitmail json YAML

make: unexport list memory management functions

They are only used in a single source file.

No functional change.

(rillig)

2023-12-29 20:43:17 UTC netbsd-10 commitmail json YAML

2023-12-29 20:41:12 UTC netbsd-10 commitmail json YAML

src/doc/3RDPARTY@1.1905.2.10 / diff / nxr@1.1905.2.10
src/external/public-domain/tz/dist/Makefile@1.1.1.35.2.2 / diff / nxr@1.1.1.35.2.2
src/external/public-domain/tz/dist/NEWS@1.1.1.40.2.2 / diff / nxr@1.1.1.40.2.2
src/external/public-domain/tz/dist/README@1.1.1.10.2.1 / diff / nxr@1.1.1.10.2.1
src/external/public-domain/tz/dist/TZDATA_VERSION@1.32.2.2 / diff / nxr@1.32.2.2
src/external/public-domain/tz/dist/africa@1.1.1.30.2.2 / diff / nxr@1.1.1.30.2.2
src/external/public-domain/tz/dist/antarctica@1.1.1.16.2.2 / diff / nxr@1.1.1.16.2.2
src/external/public-domain/tz/dist/asia@1.7.2.2 / diff / nxr@1.7.2.2
src/external/public-domain/tz/dist/australasia@1.6.2.2 / diff / nxr@1.6.2.2
src/external/public-domain/tz/dist/backzone@1.1.1.25.2.2 / diff / nxr@1.1.1.25.2.2
src/external/public-domain/tz/dist/checknow.awk@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
src/external/public-domain/tz/dist/checktab.awk@1.1.1.11.2.2 / diff / nxr@1.1.1.11.2.2
src/external/public-domain/tz/dist/europe@1.1.1.36.2.2 / diff / nxr@1.1.1.36.2.2
src/external/public-domain/tz/dist/iso3166.tab@1.1.1.7.2.2 / diff / nxr@1.1.1.7.2.2
src/external/public-domain/tz/dist/leap-seconds.list@1.4.2.2 / diff / nxr@1.4.2.2
src/external/public-domain/tz/dist/leapseconds@1.4.2.2 / diff / nxr@1.4.2.2
src/external/public-domain/tz/dist/northamerica@1.1.1.32.2.2 / diff / nxr@1.1.1.32.2.2
src/external/public-domain/tz/dist/southamerica@1.1.1.22.2.2 / diff / nxr@1.1.1.22.2.2
src/external/public-domain/tz/dist/version@1.7.2.2 / diff / nxr@1.7.2.2
src/external/public-domain/tz/dist/zone.tab@1.1.1.24.2.2 / diff / nxr@1.1.1.24.2.2
      :
(more 2 files)
Pull up the following, requested by kre in ticket #520:

external/public-domain/tz/dist/checknow.awk    up to 1.1.1.1
external/public-domain/tz/dist/zonenow.tab      up to 1.1.1.1
external/public-domain/tz/dist/Makefile        up to 1.1.1.37
external/public-domain/tz/dist/NEWS            up to 1.1.1.44
external/public-domain/tz/dist/README          up to 1.1.1.11
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.36
external/public-domain/tz/dist/africa          up to 1.1.1.32
external/public-domain/tz/dist/antarctica      up to 1.1.1.18
external/public-domain/tz/dist/asia            up to 1.11
external/public-domain/tz/dist/australasia      up to 1.8
external/public-domain/tz/dist/backzone        up to 1.1.1.27
external/public-domain/tz/dist/checktab.awk    up to 1.1.1.13
external/public-domain/tz/dist/europe          up to 1.1.1.38
external/public-domain/tz/dist/iso3166.tab      up to 1.1.1.9
external/public-domain/tz/dist/leap-seconds.list up to 1.6
external/public-domain/tz/dist/leapseconds      up to 1.6
external/public-domain/tz/dist/northamerica    up to 1.1.1.34
external/public-domain/tz/dist/southamerica    up to 1.1.1.24
external/public-domain/tz/dist/version          up to 1.11
external/public-domain/tz/dist/zone.tab        up to 1.1.1.26
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.27
doc/3RDPARTY 1.1972 (patch)

Import tzdata 2023d.

(martin)

2023-12-29 20:27:31 UTC netbsd-10 commitmail json YAML

Additionally pull up following revision(s) (requested by uwe in ticket #510):

sys/arch/netwinder/conf/kern.ldscript: revision 1.12

netwinder: kern.ldscript - preserve the .text section alignment

This change from evbarm was omitted in previous, but older binutils in
netbsd-10 seem to need it.

(martin)

2023-12-29 20:21:40 UTC netbsd-10 commitmail json YAML

Additionally pull up following revision(s) (requested by rin in ticket #400):

sys/arch/powerpc/include/oea/pmap.h: revision 1.39
sys/arch/powerpc/include/pmap.h: revision 1.43
sys/arch/powerpc/oea/pmap_kernel.c: revision 1.14
sys/arch/powerpc/oea/pmap.c: revision 1.117
sys/arch/powerpc/oea/pmap.c: revision 1.118
sys/arch/powerpc/oea/pmap.c: revision 1.119
sys/arch/powerpc/include/vmparam.h: revision 1.27
sys/arch/powerpc/powerpc/trap.c: revision 1.165
sys/arch/powerpc/oea/pmap.c: revision 1.120
sys/arch/powerpc/oea/pmap.c: revision 1.121
sys/arch/powerpc/powerpc/vm_machdep.c: revision 1.106
sys/arch/powerpc/powerpc/bus_dma.c: revision 1.56

powerpc/oea: trap: pmap_{pte,ste}_spill() even in the interrupt context

Page table for oea is something like L2 TLB on memory; kernel and
processes share its entries, and process entries can be spilled out.

As done for MMU based on software-managed TLB, we need to restore
such entries even in the interrupt context.

Note that pmap_pte_spill() require no resouce to restore entries.
Still-not-implemented pmap_ste_spill() for OEA64 should also.
Part of PR kern/57621

powerpc/oea: pmap: Drop unused argument for pmap_pvo_reclaim(), NFC
Part of PR kern/57621

powerpc/oea: pmap: Rework pmap_pte_spill()

It was broken in many ways... Now, it gets working stable both for
OEA and OEA64_BRIDGE, as far as I can see.
Part of PR kern/57621

powerpc/oea: pmap: Fix mostly-pointless overhead of pmap_pvo_pool
(1) Drop __aligned(32) from struct pvo_entry; otherwise,
    sizeof(struct pvo_entry) is round-up'ed to a multiple of 32.
(2) Do not set sizeof(struct pvo_entry) to `align` argument for
    pool_init(9); it must be power of 2.
(3) Align pvo_entry to 32-byte boundary only if reasonably possible,
    i.e., OEA without DIAGNOSTIC (--> POOL_REDZONE) for now.
Part of PR kern/57621

powerpc/oea: pmap_create: Use PR_ZERO and drop memset(9), NFC
Part of PR kern/57621

powerpc: oea: For OEA64_BRIDGE, 1:1 map up to 3GiB memory
As done for OEA. Note that kva over 3GiB is reserved.

Provide PMAP_MAP_POOLPAGE for OEA64_BRIDGE at the same time, by
which direct-mapped memory is utilized in order to work around
starvation of 512MiB kernel virtual space.
PR kern/57621

powerpc: Make sure direct-mapped buffer fits within correct range

For OEA and OEA64_BRIDGE, only first 3GiB memory is direct-mapped.
Part of PR kern/57621

(martin)

2023-12-29 18:53:24 UTC MAIN commitmail json YAML

make: fix declared types of list nodes

No functional change.

(rillig)

2023-12-29 15:49:24 UTC MAIN commitmail json YAML

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.

XXX pullup to everything.

(kre)

2023-12-29 15:47:03 UTC MAIN commitmail json YAML

2023-12-29 14:57:00 UTC MAIN commitmail json YAML

make: simplify debug message for the ':@var@...@' modifier

The previous variant was hard to understand.

(rillig)

2023-12-29 13:25:15 UTC MAIN commitmail json YAML

make: clean up variable handling

All variables from the command line scope have the fromCmd flag set, so
there is no need to check for it.

Inline redundant local variables.

Variables from a scope cannot be short-lived, so there is no need to
call VarFreeShortLived.

No functional change.

(rillig)

2023-12-29 12:59:43 UTC MAIN commitmail json YAML

make: clean up comments

No binary change, except for line numbers in assertions.

(rillig)

2023-12-29 12:20:55 UTC MAIN commitmail json YAML

make: simplify memory allocation for string buffers

In edge cases and short-lived buffers, the initial buffer size is
irrelevant, so use the default.

No functional change.

(rillig)

2023-12-29 09:17:37 UTC MAIN commitmail json YAML

Update ARFLAGS for new binutils.

In binutils 2.34, 'l' was a no-op.
In binutils 2.39, it is used to specify library dependencies.

Remove 'l' from ARFLAGS.

>From Takahiro Kambe in PR 57565.

(wiz)

2023-12-29 08:02:47 UTC MAIN commitmail json YAML

dwcmmc_fdt_bus_clock: fix an aprint_debug_dev frequency units botch.

(skrll)

2023-12-29 07:36:47 UTC MAIN commitmail json YAML

ixgbe: Use #ifdef LRO more to reduce the size of struct rx_ring.

(msaitoh)

2023-12-29 07:34:20 UTC MAIN commitmail json YAML

ixgbe: Remove unused to reduce the size of struct rx_ring.

(msaitoh)

2023-12-29 02:30:36 UTC MAIN commitmail json YAML

Use proper macro for the 030/040 TT registers to map LUNA's I/O spaces.

No binary change.

(tsutsui)

2023-12-29 00:55:46 UTC MAIN commitmail json YAML

PR/57179: Christof Meerwald: Fix bugs in fetch_cache_{get,put}.

(christos)

2023-12-28 20:04:11 UTC MAIN commitmail json YAML

s/synax/syntax/ in test description.

(andvar)

2023-12-28 19:58:12 UTC MAIN commitmail json YAML

2023-12-28 15:58:24 UTC MAIN commitmail json YAML

Use correct status value SCSI_BUSY (0x08) instead of XS_BUSY (7) when running
out of sessions. The bug had no impact as scsipi was only comparing
against SCSI_CHECK (0x02) and SCSI_QUEUE_FULL (0x28).

(mlelstv)

2023-12-28 15:33:12 UTC MAIN commitmail json YAML

Missed 2 68060-specific cases in previous.

(thorpej)

2023-12-28 12:49:06 UTC MAIN commitmail json YAML

Initialize mutex fileassoc_global.lock.

(hannken)

2023-12-28 12:48:09 UTC MAIN commitmail json YAML

Include "veriexec.h" and <sys/verified_exec.h> to run
veriexec_unmountchk() on "NVERIEXEC > 0".

(hannken)

2023-12-28 12:13:56 UTC MAIN commitmail json YAML

2023-12-28 10:13:51 UTC MAIN commitmail json YAML

ixgbe: Use kmem_zalloc() instead of malloc(,M_ZERO).

(msaitoh)

2023-12-28 10:05:18 UTC MAIN commitmail json YAML

ixgbe: Simplify. No functional change.

The descriptor ring size and the alignment are tested in the attach
function, so it's not required to use roundup2(size, DBA_ALIGN).

(msaitoh)

2023-12-28 10:02:14 UTC MAIN commitmail json YAML

ixgbe: Use #ifdef IXGBE_FDIR more

Don't include the Flow Director related members to reduce the size of
struct tx_ring. On amd64 and aarch64, the real size is not changed
because of the alignment.

(msaitoh)

2023-12-28 09:46:13 UTC MAIN commitmail json YAML

2023-12-28 09:43:58 UTC MAIN commitmail json YAML

Update Intel Raptor Lake devices.

(msaitoh)

2023-12-28 09:42:40 UTC MAIN commitmail json YAML

Add Intel C26[26] eSPI.

(msaitoh)

2023-12-28 04:43:55 UTC MAIN commitmail json YAML

macppc/cardbus: Belatedly catch up with battable resolution change

Fix pmap_extract() failures on models with cardslot, for direct-mapped
buffers allocated by PMAP_ALLOC_POOLPAGE().

This driver had corrupted battable[] over 11 years, since resolution of
battable was changed from 256MB to 8MB:

https://github.com/NetBSD/src/commit/413fb4c3c505a13900a9dff86f563fc58ff04005

Now, indexes for battable[] should be calculated by (va >> 23), but
rather, use oea_iobat_add() instead of directly modifying battable[].

TODO:
- Add some consistency checks to oea_iobat_add().
- Map reasonable VA space for cardbus(4), if OFW does not. Note that
  hardcoded value of 0x90000000-0x9fffffff should be safe for now, not
  that elegant although. For macppc models, IIUC, RAM is *not* mapped to
  0x80000000-0xffffffff, and VA reserved for kernel and copy{in,out} is
  0xc0000000-0xefffffff.

(rin)

2023-12-28 03:49:35 UTC MAIN commitmail json YAML

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.

(rin)

2023-12-28 01:33:06 UTC MAIN commitmail json YAML

Be more careful with the types used for PTEs.

(thorpej)

2023-12-27 19:58:22 UTC MAIN commitmail json YAML

netwinder: kern.ldscript - preserve the .text section alignment

This change from evbarm was omitted in previous, but older binutils in
netbsd-10 seem to need it.

(uwe)

2023-12-27 19:47:00 UTC MAIN commitmail json YAML

Define the values for the 68040 TT registers in terms of the definitions in
<m68k/mmu_40.h> rather than using magic numbers.

(thorpej)

2023-12-27 19:26:30 UTC MAIN commitmail json YAML

2023-12-27 19:22:11 UTC MAIN commitmail json YAML

Add a header file for 68030-specific MMU definitions, specifically the
Transparent Translation registers, that do not exist on the 68851.  A
big comment at the top of the file describes the differences between
the 68851 and the 68030's MMU.

(thorpej)

2023-12-27 18:07:30 UTC MAIN commitmail json YAML

Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before.

(mlelstv)

2023-12-27 17:35:37 UTC MAIN commitmail json YAML

2023-12-27 16:20:39 UTC MAIN commitmail json YAML

2023-12-27 16:19:59 UTC netbsd-10 commitmail json YAML

2023-12-27 14:24:35 UTC MAIN commitmail json YAML

2023-12-27 09:40:35 UTC MAIN commitmail json YAML

MI efiboot: efi_net_probe: Examine Messaging Device Path also

Network devices can be found as Hardware or Messaging Device Paths,
see Sec 10.4.4 of UEFI Spec 2.10.

In addition to Hardware Device Path, try Messaging Device Path also.
This fixes PXE boot on implementations with the latter choice, e.g.,
Raspberry Pi 4 UEFI firmware.

(rin)

2023-12-27 09:28:04 UTC MAIN commitmail json YAML

MI efiboot: Stop using efi_bootdp after exclusive open for PXE

Once boot device is exclusively opened for Simple Network Protocol,
further access via device path (efi_bootdp) is illegal.

For some implementations, boot device path gets corrupted by
exclusive open, and subsequent access by efi_device_path_depth(),
e.g., causes infinite recursion.

Fix PXE boot for QEMU/aarch64 with EDK2 on some Linux distributions.

Thanks yamaguchi@ for comments and tests.

(rin)

2023-12-27 07:46:21 UTC MAIN commitmail json YAML

2023-12-27 03:03:42 UTC MAIN commitmail json YAML

Stop using magic numbers for the MMU root pointer attributes and the
Translation Control register, and also get rid of "#if PGSHIFT == ..."
where those magic numbers are used.

Instead, define new macros: MMU51_SRP_BITS, MMU51_CRP_BITS, MMU51_TCR_BITS,
and MMU40_TCR_BITS, in terms of the definitions in mmu_{40,51}.h.  These
automagically adapt to 8K and 4K pages based on the machine-specific value
of PGSHIFT.

(thorpej)

2023-12-27 02:40:32 UTC MAIN commitmail json YAML

Add new headers that describe the 68851 (and 68030) MMU and
68040 (and 68060) MMU structures using names that more closely
align with Motorola's documentation.

The definitions here automagically adapt to 4K or 8K pages, based
on the value of PGSHIFT, which must be a compile-time constant.

(thorpej)

2023-12-27 00:45:37 UTC MAIN commitmail json YAML

make: ensure shellPath is set before using it.

(sjg)

2023-12-26 20:09:42 UTC MAIN commitmail json YAML

Move fflush to a point to catch all cases.

(sjg)

2023-12-26 17:48:38 UTC MAIN commitmail json YAML

Move active_pmap() and active_user_pmap() macros into pmap_motorola.c

(thorpej)

2023-12-26 17:42:43 UTC MAIN commitmail json YAML

- G/C the PMAP_ACTIVATE() macro, just call loadustp() directly.
- In pmap_activate(), rather than checking for an idle LWP and skipping
  the loadustp() in that case, just check if the pmap being activate is
  the kernel pmap.  Also, KASSERT() that the specified lwp is the current
  lwp.

(thorpej)

2023-12-26 17:12:33 UTC MAIN commitmail json YAML

make: fix order of output in compat mode

Ensure that make's output is correctly ordered with the output of the
target's commands, even when the output does not go to a terminal.

Reviewed by: rillig

(sjg)

2023-12-26 16:20:02 UTC MAIN commitmail json YAML

Unhook radeondrm module from the build; it doesn't work, and
it's just tempting someone to try it.  Leave the files around
in case someone wants to pursue making this work.

Should address kern/57793

XXX Related modules from the same legacy era should probably be
XXX removed, too, but so far only radeondrm has been reported
XXX as an issue.  Kep an eye out for sisdrm, savagedrm, tdfxdrm,
XXX and r128drm.

(pgoyette)

2023-12-26 09:56:45 UTC MAIN commitmail json YAML

Replace %ld/%lx format specifiers with PRIx{SIZE,ADDR} for better portability.

>From Nick Hudson.

(andvar)