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

2024-05-10 12:26:18 UTC Now

2023-10-20 16:04:59 UTC netbsd-10 commitmail json YAML

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

doc/CHANGES: revision 1.2984
share/mk/bsd.own.mk: revision 1.1345
share/man/man5/mk.conf.5: revision 1.108

bsd.own.mk: force MKSTRIPSYM=no if MKDEBUG=yes

Local symbols are desirable with MKDEBUG=yes, so don't strip them.
Per request from mrg@

(martin)

2023-10-20 15:41:18 UTC MAIN commitmail json YAML

doc: Add note about eqos(4)'s Elkhart Lake support.

(msaitoh)

2023-10-20 13:29:51 UTC MAIN commitmail json YAML

eqos(4): Fix compile error for arch that sizeof(bus_size_t) == 4 (i386).

(msaitoh)

2023-10-20 13:04:21 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for previous.

(wiz)

2023-10-20 12:45:17 UTC MAIN commitmail json YAML

vnconfig: Add caution to man page about cache bypassing behavior

(gdt)

2023-10-20 11:38:25 UTC MAIN commitmail json YAML

make zs_kgdb.c build for next68k.

kgdb_dev expects llx/d format specifier.
change serial number print message to the same as sgimips.
remove rr0 definition in zs_kgdb_txint, it is unused.

Fixes also KGDB enabled build for next68k.
Similar or partial changes likely required for few other ports.

(andvar)

2023-10-20 10:18:56 UTC MAIN commitmail json YAML

Use a SIGCHLD handler instead of ignoring the signal.

This avoids lockups when child processes were inherited (e.g. from .xsession)
but new children are waited for in system().

(mlelstv)

2023-10-20 10:09:44 UTC MAIN commitmail json YAML

eqos(4): Add initial support for Intel Elkhart Lake internal Ethernet devices.

- Only tested on PSE SGMII 1G Ethernet MAC with MaxLinear GPY115.
- I don't know why dmat64 doesn't work. eqos_attach() have a special
  code if EQOS_HW_FEATURE_ADDR64_32BIT(sc) is true, but it seems it doesn't
  work.
- TODO:
Multiqueue support.
Detach support.

(msaitoh)

2023-10-20 09:58:11 UTC MAIN commitmail json YAML

eqos(4): Accept if snpsver == 0x52. Tested with Intel Elkhart Lake.

TODO:
Multiqueue support.
Add watchdog timer.
Add detach function.

(msaitoh)

2023-10-20 09:53:27 UTC MAIN commitmail json YAML

eqos(4): Add missing clock range.

(msaitoh)

2023-10-20 09:51:49 UTC MAIN commitmail json YAML

eqos(4): Fix a bug that the MAC address is swapped.

Don't swap the MAC address in eqos_get_eaddr(). Other OSes except FreeBSD
(which was based on NetBSD's) don't swap it. With this change, my own
OnLogic Helix 330's MAC address becomes correct. The OUI is 84:8b:cd:4d.
It's owned by Logic Supply and they were acquired by OnLogic.
On Quartz64 with UEIF, the MAC address is wrongly set and the multicast
bit might be set. To do workaround, clear the bit if it's set.

(msaitoh)

2023-10-20 08:35:10 UTC MAIN commitmail json YAML

Print error message when the multicast bit is set in the MAC address.

(msaitoh)

2023-10-19 23:43:40 UTC MAIN commitmail json YAML

rge: properly handle mbuf allocation failures in rx interrupts

several changes that should fix crashes seen after an mbuf
allocation failure:

- create RX ring dma maps with BUS_DMA_ALLOCNOW, so that any
  future bus_dmamap_load*() call will succeed.  this avoids one
  error case in rge_newbuf(), that similar cases in eg wm(4)
  actually call panic for now (i think this idea can be copied
  into wm(4) as well.)

- extract the RX descriptor set into a common function that
  both rge_newbuf() and rge_rxeof() can both use.  it's almost
  identical to the old rge_discard_rxbuf() except it also sets
  the rge_addr (this is needed for the newbuf case.)

- move the bus_dmamap_unload() into rge_newbuf(), so that the
  existing mbuf will remain mapped until a new mbuf is allocated.
  (this part is what should fix crashes seen by wiz and Chavdar,
  as the unload follow by sync is what triggers the assert in
  x86 bus_dma.  without the assert, it will would have shortly
  triggered a page fault.)  remove the assignment to NULL for
  the rxq mbuf pointer, it is required for reload.

- add a couple of missing if_statinc() calls.

tested on amd64 and arm64.

(mrg)

2023-10-19 22:07:13 UTC MAIN commitmail json YAML

Fix printf specifier for tvp->tv_sec from 0x%08x to 0x%08llx.
Remove printf secs argument for "Regs after:" printout, none expected.
Remove "Setting RTC to 0x%08x." and non existing secs arg from settime_old().
Code was changed with rev. 1.14 without fully adjusting DEBUG code.

Fixes RTC_DEBUG build for next68k.

(andvar)

2023-10-19 18:24:33 UTC MAIN commitmail json YAML

2023-10-19 14:59:46 UTC MAIN commitmail json YAML

Move definition of acpi_md_vesa_modenum to acpi_wakeup.c; allows building
kernels without framebuffer devices.
Problem reported by John D. Baker on current-users@

(bouyer)

2023-10-19 12:32:14 UTC MAIN commitmail json YAML

doc: openssh 9.5p1 out

(wiz)

2023-10-19 11:27:57 UTC MAIN commitmail json YAML

Note import of dhcpcd-10.0.4

(roy)

2023-10-19 11:26:52 UTC MAIN commitmail json YAML

2023-10-19 07:24:46 UTC netbsd-10 commitmail json YAML

2023-10-19 07:23:51 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by yamaguchi in ticket #429):

sys/net/lagg/if_lagg.c: revision 1.50
sys/net/lagg/if_lagg.c: revision 1.51
tests/net/if_lagg/t_lagg.sh: revision 1.10
sys/net/lagg/if_lagg.c: revision 1.49
tests/net/if_lagg/t_lagg.sh: revision 1.9
share/man/man4/lagg.4: revision 1.5

lagg(4): release LAGG_LOCK before mtu changing
PR kern/57650

Make the lagg interface up before change its MTU
This change is related to PR kern/57650

Fix missing IFNET_LOCK holding while destroy the lagg interface
copy MTU of lagg to a interface added to lagg
even if the interface is the first member of the lagg

This change breaks ATF test case for lagg MTU

Update the test case for MTU of lag to adapt new behavior

Update lagg(4) manual
1. corrected the wrong example
  - lagg(4) can not add multiple port and set its priority at once
      - This is the restriction of ifconfig(8)
2. adapted to changed behavior related to MTU
  - Changed not to copy MTU of the 1st physical interface
    to lagg(4) to prevent locking against myself

(martin)

2023-10-19 04:27:24 UTC MAIN commitmail json YAML

convert gcc12 -O1 into -Wno-error=clobbered.

parser.c wants all the optimisation, and this is very likely a
false positive.

(mrg)

2023-10-18 16:53:04 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #428):

sys/arch/xen/xen/xen_machdep.c: revision 1.28
sys/arch/x86/pci/pci_machdep.c: revision 1.97
sys/arch/xen/xen/genfb_xen.c: revision 1.1
sys/arch/xen/xen/genfb_xen.c: revision 1.2
sys/arch/xen/include/hypervisor.h: revision 1.59
sys/arch/i386/conf/XEN3PAE_DOM0: revision 1.41 (patch)
sys/arch/x86/x86/genfb_machdep.c: revision 1.22
sys/arch/xen/x86/consinit.c: revision 1.18
sys/arch/xen/x86/autoconf.c: revision 1.26
sys/external/mit/xen-include-public/dist/xen/include/public/platform.h: revision 1.2
sys/arch/xen/conf/files.xen: revision 1.188
sys/arch/x86/x86/consinit.c: revision 1.37
sys/arch/xen/conf/files.xen: revision 1.189
sys/arch/x86/x86/consinit.c: revision 1.38
sys/external/mit/xen-include-public/dist/xen/include/public/xen.h: revision 1.2
sys/arch/x86/include/genfb_machdep.h: revision 1.7
sys/arch/xen/x86/pvh_consinit.c: revision 1.5
sys/arch/xen/x86/pvh_consinit.c: revision 1.6
sys/arch/amd64/conf/XEN3_DOM0: revision 1.201

Move the pvh_xencons so xen_machdep.c as early_xencons, so it can be
used in the future as early ouput for plain PV guests too.

Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic
console on EFI-only hardware.

Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer
    structure, filled in with parameters provided by Xen

when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of
    lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the
    PCI graphic device (when genfb is attached) and in x86_genfb_init()
    when genfb is used as console.

x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo()
    to check if we have a genfb console

xen/x86/consinit.c: support genfb as possible console

xen/x86/consinit.c: use the hypervior IO as console until a better one
    is found. If the hypervisor is using a serial port for boot messages,
    we'll get NetBSD's boot message on the serial port too until
    the real console takes over.

xen/x86/autoconf.c: rework device_register() to be closer to the x86 version.
    Especially make sure that device_pci_register() is called.

Make sure to always fall back to xen_early_console, even for dom0

Enable genfb in DOM0 kernels

Add ext_lfb_base to dom0_vga_console_info, from recent Xen. We know if it's
present or not by checking dom0.info_size

Add XENPF_get_dom0_console, which gets a dom0_vga_console_info stucture
from the hypervisor. To be used by PVH dom0 kernels.

XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended
and XENPVH from defflag
for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved
using a platform hypercall; do so in the XENPVHVM case.

Now genfb works in a PVH dom0 running on Xen 4.18 (Xen 4.15 doesn't support
this platoform op, so no way to make it work here).

(martin)

2023-10-18 15:31:09 UTC netbsd-10 commitmail json YAML

2023-10-18 15:19:09 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #427):

sys/arch/xen/include/hypervisor.h: revision 1.58
sys/arch/i386/i386/locore.S: revision 1.197
sys/arch/amd64/amd64/locore.S: revision 1.224

Xen's start_info_t is larger than 512 bytes these days, so bump the copy
size to a whole PAGE_SIZE, and CTASSERT() that start_info_t is smaller.

Luckily we didn't use yet the parts skipped

(martin)

2023-10-18 15:16:09 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #426):

sys/arch/xen/xenbus/xenbus_probe.c: revision 1.60

xenbus: if dom0 support is not compiled in, panic with a usefull message
instead of waiting for an event which will never happen

(martin)

2023-10-18 15:14:24 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #425):

sys/arch/x86/pci/pci_machdep.c: revision 1.96
sys/arch/x86/acpi/acpi_machdep.c: revision 1.36
sys/arch/x86/x86/hyperv.c: revision 1.16
sys/arch/x86/x86/genfb_machdep.c: revision 1.21
sys/arch/x86/acpi/acpi_wakeup.c: revision 1.56
sys/arch/x86/include/genfb_machdep.h: revision 1.6

Declare
int acpi_md_vesa_modenum;
int acpi_md_vbios_reset;
struct vcons_screen x86_genfb_console_screen;

in genfb_machdep.h instead of locally as extern in various .c files.

(martin)

2023-10-18 15:10:41 UTC netbsd-10 commitmail json YAML

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

sys/ufs/ffs/ffs_vfsops.c: revision 1.382

ffs_sync: Avoid unlocked access to v_numoutput/v_dirtyblkhd.

Found by lockdoc.
PR kern/57606

(martin)

2023-10-18 15:08:41 UTC netbsd-9 commitmail json YAML

2023-10-18 15:07:06 UTC netbsd-9 commitmail json YAML

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

sys/kern/subr_thmap.c: revision 1.14
sys/kern/subr_thmap.c: revision 1.15

thmap(9): Test alloc failure, not THMAP_GETPTR failure.
THMAP_GETPTR may return nonnull even though alloc returned zero.

Note that this failure branch is not actually appropriate;
thmap_create should not fail.  We really need to pass KM_SLEEP
through in this call site even though there are other call sites for
which KM_NOSLEEP is appropriate.

Adapted from: https://github.com/rmind/thmap/pull/14
PR kern/57666
https://github.com/rmind/thmap/issues/13

thmap(9): Preallocate GC list storage for thmap_del.
thmap_del can't fail, and it is used in places in npf where sleeping
is forbidden, so it can't rely on allocating memory either.
Instead of having thmap_del allocate memory on the fly for each
object to defer freeing until thmap_gc, arrange to have thmap(9)
preallocate the same storage when allocating all the objects in the
first place, with a GC header.

This is suboptimal for memory usage, especially on insertion- and
lookup-heavy but deletion-light workloads, but it's not clear rmind's
alternative (https://github.com/rmind/thmap/tree/thmap_del_mem_fail)
is ready to use yet, so we'll go with this for correctness.
PR kern/57208

https://github.com/rmind/npf/issues/129

(martin)

2023-10-18 15:03:12 UTC netbsd-10 commitmail json YAML

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

sys/kern/subr_thmap.c: revision 1.14
sys/kern/subr_thmap.c: revision 1.15

thmap(9): Test alloc failure, not THMAP_GETPTR failure.
THMAP_GETPTR may return nonnull even though alloc returned zero.

Note that this failure branch is not actually appropriate;
thmap_create should not fail.  We really need to pass KM_SLEEP
through in this call site even though there are other call sites for
which KM_NOSLEEP is appropriate.

Adapted from: https://github.com/rmind/thmap/pull/14
PR kern/57666
https://github.com/rmind/thmap/issues/13

thmap(9): Preallocate GC list storage for thmap_del.
thmap_del can't fail, and it is used in places in npf where sleeping
is forbidden, so it can't rely on allocating memory either.
Instead of having thmap_del allocate memory on the fly for each
object to defer freeing until thmap_gc, arrange to have thmap(9)
preallocate the same storage when allocating all the objects in the
first place, with a GC header.

This is suboptimal for memory usage, especially on insertion- and
lookup-heavy but deletion-light workloads, but it's not clear rmind's
alternative (https://github.com/rmind/thmap/tree/thmap_del_mem_fail)
is ready to use yet, so we'll go with this for correctness.
PR kern/57208

https://github.com/rmind/npf/issues/129

(martin)

2023-10-18 14:48:44 UTC netbsd-10 commitmail json YAML

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

tests/sbin/ifconfig/t_capabilities.sh: revision 1.2
tests/sbin/ifconfig/t_capabilities.sh: revision 1.3

ifconfig/t_capabilities: Skip unless run_unsafe is configured to yes

The test modifies if_capabilities for all available interfaces.
This is not a behavior we expect for normal ATF runs.

Similar tests modifying living network configurations are already
skipped by default. This is the last one remained for ifconfig(8).
Also, I'm not sure whether this is a test for ifconfig(8).

ifconfig/t_capabilities: s/if_capabilities/if_capenable/ in message

(martin)

2023-10-18 14:46:35 UTC netbsd-8 commitmail json YAML

2023-10-18 14:44:00 UTC netbsd-8 commitmail json YAML

2023-10-18 14:41:55 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcidevs 1.1497
sys/dev/pci/if_wm.c 1.689,1.790-1.791 via patch
sys/dev/pci/if_wmreg.h 1.120 via patch
sys/dev/pci/if_wmvar.h 1.51

- Use 12K for packet buffer for jumbo frame on PCH2 and newer.
- Add new workaround for Tiger Lake and newer to avoid packet loss.
- Add I219{V,LM}({22,23}) devices (Raptor Lake).

(martin)

2023-10-18 14:35:17 UTC netbsd-9 commitmail json YAML

2023-10-18 14:33:29 UTC netbsd-10 commitmail json YAML

2023-10-18 14:29:19 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1497
sys/dev/pci/if_wm.c: revision 1.790
sys/dev/pci/if_wm.c: revision 1.791
sys/dev/pci/if_wmvar.h: revision 1.51

pcidevs: Add Intel I219{V,LM}({22,23})

wm(4): Add a new workaround for Tiger Lake and newer.
- Define new WM_T_PCH_TGP and use it for Tiger Lake and newer.
  Note that we don't define WM_T_PCH_ADP because we have no any
  Alder Lake specific workaround yet.
- Add new workaround for Tiger Lake (and newer) in wm_init_locked()
  to avoid packet loss.

wm(4): Add I219{V,LM}({22,23}) devices (Raptor Lake).

(martin)

2023-10-18 14:27:38 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1497
sys/dev/pci/if_wm.c: revision 1.790
sys/dev/pci/if_wm.c: revision 1.791
sys/dev/pci/if_wmvar.h: revision 1.51

pcidevs: Add Intel I219{V,LM}({22,23})

wm(4): Add a new workaround for Tiger Lake and newer.
- Define new WM_T_PCH_TGP and use it for Tiger Lake and newer.
  Note that we don't define WM_T_PCH_ADP because we have no any
  Alder Lake specific workaround yet.
- Add new workaround for Tiger Lake (and newer) in wm_init_locked()
  to avoid packet loss.

wm(4): Add I219{V,LM}({22,23}) devices (Raptor Lake).

(martin)

2023-10-18 14:23:15 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/ixgbe/ix_txrx.c 1.103-1.104
sys/dev/pci/ixgbe/ixgbe.c 1.334-1.338,
1.341-1.344 via patch
sys/dev/pci/ixgbe/ixgbe.h 1.90-1.93
sys/dev/pci/ixgbe/ixgbe_82599.c 1.31-1.32
sys/dev/pci/ixgbe/ixgbe_api.c 1.29
sys/dev/pci/ixgbe/ixgbe_bypass.h 1.5
sys/dev/pci/ixgbe/ixgbe_common.c 1.46-1.47
sys/dev/pci/ixgbe/ixgbe_common.h 1.18
sys/dev/pci/ixgbe/ixgbe_dcb.c 1.14-1.15
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c 1.13
sys/dev/pci/ixgbe/ixgbe_type.h 1.59-1.61
sys/dev/pci/ixgbe/ixgbe_x540.c 1.24
sys/dev/pci/ixgbe/ixgbe_x550.c 1.28
sys/dev/pci/ixgbe/ixv.c 1.187-1.192 via patch

- ixg(4): Add 82599 LS support once again.
- ixg(4): Filter out spurious link up indication more.
- ixg(4): Print DEVICE_CAPS register.
- ixg(4): Fix a bug that the number of queues is unintentionally
  limited to a small number or wrong error message may be printed
  when two devices' number of MSI-X vectors are different.
- Modify error message of wrong TX/RX descriptor size.
- Enable interrupt after setting IFF_RUNNING.
- Fix a bug that changing hw.ix[gv]X.qY.interrupt_rate would change
  all devices all queues default interrupt rate.
- Cleanup the code.

(martin)

2023-10-18 14:05:28 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/ixgbe/ix_txrx.c 1.103-1.104
sys/dev/pci/ixgbe/ixgbe.c 1.334-1.338,
1.341-1.344 via patch
sys/dev/pci/ixgbe/ixgbe.h 1.90-1.93
sys/dev/pci/ixgbe/ixgbe_82599.c 1.31-1.32
sys/dev/pci/ixgbe/ixgbe_api.c 1.29
sys/dev/pci/ixgbe/ixgbe_bypass.h 1.5
sys/dev/pci/ixgbe/ixgbe_common.c 1.46-1.47
sys/dev/pci/ixgbe/ixgbe_common.h 1.18
sys/dev/pci/ixgbe/ixgbe_dcb.c 1.14-1.15
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c 1.13
sys/dev/pci/ixgbe/ixgbe_type.h 1.59-1.61
sys/dev/pci/ixgbe/ixgbe_x540.c 1.24
sys/dev/pci/ixgbe/ixgbe_x550.c 1.28
sys/dev/pci/ixgbe/ixv.c 1.187-1.192

- ixg(4): Add 82599 LS support once again.
- ixg(4): Filter out spurious link up indication more.
- ixg(4): Print DEVICE_CAPS register.
- ixg(4): Fix a bug that the number of queues is unintentionally
  limited to a small number or wrong error message may be printed
  when two devices' number of MSI-X vectors are different.
- Modify error message of wrong TX/RX descriptor size.
- Enable interrupt after setting IFF_RUNNING.
- Fix a bug that changing hw.ix[gv]X.qY.interrupt_rate would change
  all devices all queues default interrupt rate.
- Cleanup the code.

(martin)

2023-10-18 13:10:34 UTC MAIN commitmail json YAML

postinstall(8): Use /usr/sbin/certctl.

Obviates need to have /usr/sbin in PATH when running this.

XXX pullup-10

(riastradh)

2023-10-18 12:16:40 UTC netbsd-9 commitmail json YAML

Apply patch, requested by riastradh in ticket #1752:

external/cddl/osnet/sys/kern/misc.c (apply patch)

Restore thread_create symbol for compatibility (after removal in
pullup-9 #1711).

(martin)

2023-10-18 12:11:53 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1751):

sys/dev/raidframe/rf_netbsdkintf.c: revision 1.383
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.385
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.402
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.403
sys/arch/i386/stand/lib/biosdisk.c: revision 1.59
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.377
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.378
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.379
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.392
sys/rump/librump/rumpkern/emul.c: revision 1.200
sys/arch/i386/stand/lib/biosdisk.c: revision 1.60
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.416
(all via patch)

Get &rsc->sc_dksc only when we know 'rsc' is not NULL. This was actually
harmless because we didn't use the pointer then.

Gcc -Os on landisk is not smart enough to follow the conditional
initialization and warns, unconditionaly initialize dksc at declaration
with a XXX gcc comment.

Improve wording in comments in raid_dumpblock().

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Nix trailing whitespace.

if raidframe sets booted_device, log a debug message about it.
merge two debug lines in auto-root selection.
convert non-config-handled "DEBUG_ROOT" to aprint_debug().
now it's possible to get boot-time info about raidframe root
device selection with simple "boot -x".

Align the behavior of different boot methods in RAIDframe

We enforce the documented and paritally implemented behavior when
looking for the kernel in RAID 1 sets without a partition name given.

We search for:
- A GPT partition with bootme attribute set
- A FFS or LFS patititon
- The first partition

Fix root search in RAID 1 sets

We use the wedge information given by bootstrap, where the kernel was
found. This requires src/sys/arch/i386/stand/i386/lib/biosdisk.c 1.59
to work in all cases.

Fix build with -DNO_GPT

(martin)

2023-10-18 11:53:22 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/ixgbe/ixgbe.c: revision 1.340
sys/dev/pci/ixgbe/ixgbe.c: revision 1.341
sys/dev/pci/ixgbe/ixgbe.c: revision 1.342
sys/dev/pci/ixgbe/ixgbe.c: revision 1.343
sys/dev/pci/ixgbe/ixgbe.c: revision 1.344
sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.61
sys/dev/pci/ixgbe/ix_txrx.c: revision 1.104
sys/dev/pci/ixgbe/ixv.c: revision 1.190
sys/dev/pci/ixgbe/ixv.c: revision 1.191
sys/dev/pci/ixgbe/ixv.c: revision 1.192
sys/dev/pci/ixgbe/ixgbe.h: revision 1.93

ixg(4): Print DEVICE_CAPS register.

ixgbe: Whitespace. No functional change.

ixg(4): Don't print wrong error message about ixgbe_num_queues.
Don't override the ixgbe_num_queues global variable. It's the default
value of the number of queues and should not override it because it
will be referenced by later device attach. For example, the number of
MSI-X vector is 64 on X540 and 18 on 82599. When both cards are inserted
to a machine that the number of CPU is 24 and X540 is probed earlier,
ixgbe_num_queues is overridden to 24 and the following error message is
printed when attaching 82599:
ixg2: autoconfiguration error: ixgbe_num_queues (24) is too large,
using reduced amount (17).

Note that the number of queues is in sc->num_queuss and referenced
by hw.ixgN.num_queues sysctl.

ixgbe: Don't override the {ixgbe,ixv}_max_interrupt_rate global variable.

Fix a bug that changing hw.ix[gv]X.qY.interrupt_rate would change all
devices all queues default interrupt rate.

ixgbe: Whitespace. No functional change.

(martin)

2023-10-18 11:49:09 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by gutteridge in ticket #419):

sys/arch/arm/ti/ti_com.c: revision 1.12

ti_com.c: set sc_type to COM_TYPE_OMAP

Avoid a kernel hang reported by Brook Milligan in PR port-arm/57598.

Patch suggested by RVP, seems correct to several of us. (If this
introduces a regression with some board, sorry, mea culpa. But in
that case we should still be carrying this, just conditionalized.)

(martin)

2023-10-18 11:44:22 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #418):

sys/arch/i386/stand/lib/biosdisk.c: revision 1.59
sys/rump/librump/rumpkern/emul.c: revision 1.200
sys/arch/i386/stand/lib/biosdisk.c: revision 1.60
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.416

Align the behavior of different boot methods in RAIDframe

We enforce the documented and paritally implemented behavior when
looking for the kernel in RAID 1 sets without a partition name given.

We search for:
- A GPT partition with bootme attribute set
- A FFS or LFS patititon
- The first partition

Fix root search in RAID 1 sets

We use the wedge information given by bootstrap, where the kernel was
found. This requires src/sys/arch/i386/stand/i386/lib/biosdisk.c 1.59
to work in all cases.

Fix build with -DNO_GPT

(martin)

2023-10-18 11:30:30 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by yamaguchi in ticket #417):

sys/dev/pci/if_ixl.c: revision 1.94
sys/dev/pci/if_ixl.c: revision 1.95

ixl(4): added ETHERCAP_VLAN_MTU support
PR kern/57652

ixl(4): limit receive frame size upto 9600 even if ETHERCAP_VLAN_MTU is enabled

(martin)

2023-10-18 10:50:42 UTC MAIN commitmail json YAML

drm(4): Fix thinko -- display configuration, not device configuration.

(riastradh)

2023-10-18 10:28:07 UTC MAIN commitmail json YAML

drm(4): Update man page over the last decade.

While here, credit contributors just to the NetBSD port.  Too many
upstream contributors to list, not even sure where I'd find them all.

(riastradh)

2023-10-18 08:52:46 UTC MAIN commitmail json YAML

ifconfig/t_capabilities: s/if_capabilities/if_capenable/ in message

(rin)

2023-10-18 08:25:14 UTC MAIN commitmail json YAML

ifconfig/t_capabilities: Skip unless run_unsafe is configured to yes

The test modifies if_capabilities for all available interfaces.
This is not a behavior we expect for normal ATF runs.

Similar tests modifying living network configurations are already
skipped by default. This is the last one remained for ifconfig(8).

Also, I'm not sure whether this is a test for ifconfig(8).

XXX
Pullup to netbsd-10 ASAP. No other branches are affected.

(rin)

2023-10-18 07:59:06 UTC MAIN commitmail json YAML

Update lagg(4) manual

1. corrected the wrong example
  - lagg(4) can not add multiple port and set its priority at once
      - This is the restriction of ifconfig(8)
2. adapted to changed behavior related to MTU
  - Changed not to copy MTU of the 1st physical interface
    to lagg(4) to prevent locking against myself

(yamaguchi)

2023-10-18 06:41:00 UTC MAIN commitmail json YAML

Update the test case for MTU of lag to adapt new behavior

(yamaguchi)

2023-10-18 06:37:08 UTC MAIN commitmail json YAML

copy MTU of lagg to a interface added to lagg
even if the interface is the first member of the lagg

This change breaks ATF test case for lagg MTU

(yamaguchi)

2023-10-18 03:52:55 UTC MAIN commitmail json YAML

2023-10-17 19:33:16 UTC MAIN commitmail json YAML

lint: resolve shift/reduce conflict in labels with attributes

(rillig)

2023-10-17 19:29:09 UTC MAIN commitmail json YAML

lint: fix debug output of convert/cast operators

The default name of the 'CVT' operator is 'convert', therefore the
override is only needed for 'cast'.

(rillig)

2023-10-17 19:13:05 UTC MAIN commitmail json YAML

rk3588_cru: fix clock id for BIGCORE1

(tnn)

2023-10-17 18:23:55 UTC MAIN commitmail json YAML

rk3588_cru: sync clock id numbers with mainline Linux

The previous constants came from the Rockchip board support package,
but we want to be compatible with upstream device tree.

(tnn)

2023-10-17 17:31:12 UTC MAIN commitmail json YAML

rk_gpio: add support for version 2 controller

Based on PR 57597 from Johann Rudloff.

(tnn)

2023-10-17 16:09:12 UTC MAIN commitmail json YAML

for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved
using a platform hypercall; do so in the XENPVHVM case.
Now genfb works in a PVH dom0 running on Xen 4.18 (Xen 4.15 doesn't support
this platoform op, so no way to make it work here).

(bouyer)

2023-10-17 16:06:37 UTC MAIN commitmail json YAML

XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended
and XENPVH from defflag

(bouyer)

2023-10-17 16:02:55 UTC MAIN commitmail json YAML

Add XENPF_get_dom0_console, which gets a dom0_vga_console_info stucture
from the hypervisor. To be used by PVH dom0 kernels.

(bouyer)

2023-10-17 15:09:18 UTC MAIN commitmail json YAML

rk_gpio: de-duplicate some code from the fdtbus accessors

Make fdtbus accessors implementation agnostic and use the chipset tag
to call into implementation code. This makes it easy to populate the
chipset tag with alternate implementation needed for v2 controllers.

(tnn)

2023-10-17 14:17:42 UTC MAIN commitmail json YAML

Revert "x86: Panic early if fpu save size is too large, take 2."

Apparently this is too early to print anything useful, so it just
causes a reboot loop.

PR kern/57661

(riastradh)

2023-10-17 14:15:54 UTC MAIN commitmail json YAML

Add ext_lfb_base to dom0_vga_console_info, from recent Xen. We know if it's
present or not by checking dom0.info_size

(bouyer)

2023-10-17 14:08:13 UTC MAIN commitmail json YAML

2023-10-17 14:07:51 UTC MAIN commitmail json YAML

miidevs: Add MaxLinear GPY115.

(msaitoh)

2023-10-17 13:51:52 UTC MAIN commitmail json YAML

2023-10-17 13:45:37 UTC MAIN commitmail json YAML

The inpcb tests are only built when rump is enabled.

(rjs)

2023-10-17 13:30:57 UTC MAIN commitmail json YAML

2023-10-17 13:27:58 UTC MAIN commitmail json YAML

Make sure to always fall back to xen_early_console, even for dom0

(bouyer)

2023-10-17 12:07:42 UTC MAIN commitmail json YAML

Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic
console on EFI-only hardware.
Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer
    structure, filled in with parameters provided by Xen
when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of
    lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the
    PCI graphic device (when genfb is attached) and in x86_genfb_init()
    when genfb is used as console.
x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo()
    to check if we have a genfb console
xen/x86/consinit.c: support genfb as possible console
xen/x86/consinit.c: use the hypervior IO as console until a better one
    is found. If the hypervisor is using a serial port for boot messages,
    we'll get NetBSD's boot message on the serial port too until
    the real console takes over.
xen/x86/autoconf.c: rework device_register() to be closer to the x86 version.
    Especially make sure that device_pci_register() is called.

(bouyer)

2023-10-17 11:57:20 UTC MAIN commitmail json YAML

thmap(9): Preallocate GC list storage for thmap_del.

thmap_del can't fail, and it is used in places in npf where sleeping
is forbidden, so it can't rely on allocating memory either.

Instead of having thmap_del allocate memory on the fly for each
object to defer freeing until thmap_gc, arrange to have thmap(9)
preallocate the same storage when allocating all the objects in the
first place, with a GC header.

This is suboptimal for memory usage, especially on insertion- and
lookup-heavy but deletion-light workloads, but it's not clear rmind's
alternative (https://github.com/rmind/thmap/tree/thmap_del_mem_fail)
is ready to use yet, so we'll go with this for correctness.

PR kern/57208
https://github.com/rmind/npf/issues/129

XXX pullup-10
XXX pullup-9

(riastradh)

2023-10-17 11:55:28 UTC MAIN commitmail json YAML

thmap(9): Test alloc failure, not THMAP_GETPTR failure.

THMAP_GETPTR may return nonnull even though alloc returned zero.

Note that this failure branch is not actually appropriate;
thmap_create should not fail.  We really need to pass KM_SLEEP
through in this call site even though there are other call sites for
which KM_NOSLEEP is appropriate.

Adapted from: https://github.com/rmind/thmap/pull/14

PR kern/57666
https://github.com/rmind/thmap/issues/13

XXX pullup-10
XXX pullup-9

(riastradh)

2023-10-17 11:52:45 UTC MAIN commitmail json YAML

xenbus: if dom0 support is not compiled in, panic with a usefull message
instead of waiting for an event which will never happen

(bouyer)

2023-10-17 11:12:33 UTC MAIN commitmail json YAML

x86: Panic early if fpu save size is too large, take 2.

This shouldn't break any existing systems (for real this time), but
it should make the failure mode more obvious on systems that are
already broken.

PR kern/57661

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

(riastradh)

2023-10-17 11:11:49 UTC MAIN commitmail json YAML

x86: Remove incomplete fpu save size check.

Will fix it later, but this makes pullups easier.

(riastradh)

2023-10-17 10:28:06 UTC MAIN commitmail json YAML

sys/pipe.h: #define<tab>

No functional change intended.

(riastradh)

2023-10-17 10:27:35 UTC MAIN commitmail json YAML

kern_ktrace.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-17 10:24:11 UTC MAIN commitmail json YAML

xen_machdep.c: Nix trailing whitespace.

No functional change intended.

(riastradh)

2023-10-17 10:23:00 UTC MAIN commitmail json YAML

eqos(4): Fix definition of GMAC_MAC_HW_FEATURE1_RXFIFOSIZE.

(msaitoh)

2023-10-17 10:22:07 UTC MAIN commitmail json YAML

vax/pmap.c: Sort includes.  Nix traliing whitespace.

No functional change intended.

(riastradh)

2023-10-17 09:59:46 UTC MAIN commitmail json YAML

sequencer.c: Nix trailing whitespace.

No functional change intended.

(riastradh)

2023-10-17 03:12:35 UTC MAIN commitmail json YAML

fix a typo: s/usbent_set_link/usbnet_set_link/.

(mrg)

2023-10-17 02:46:57 UTC MAIN commitmail json YAML

Improve hid matching.

It now matches all kinds (application/physical/logical) in the hid
collection.

Patch from PR applied.

Addresses PR/46868.

Ok skrll@

(nat)

2023-10-16 17:31:18 UTC MAIN commitmail json YAML

Move the pvh_xencons so xen_machdep.c as early_xencons, so it can be
used in the future as early ouput for plain PV guests too.

(bouyer)

2023-10-16 17:29:31 UTC MAIN commitmail json YAML

Xen's start_info_t is larger than 512 bytes these days, so bump the copy
size to a whole PAGE_SIZE, and CTASSERT() that start_info_t is smaller.
Luckily we didn't use yet the parts skipped

(bouyer)

2023-10-16 17:27:03 UTC MAIN commitmail json YAML

Declare
int acpi_md_vesa_modenum;
int acpi_md_vbios_reset;
struct vcons_screen x86_genfb_console_screen;

in genfb_machdep.h instead of locally as extern in various .c files.

(bouyer)

2023-10-16 17:04:38 UTC MAIN commitmail json YAML

This now needs <sys/syncobj.h> to compile.

(martin)

2023-10-16 13:31:33 UTC MAIN commitmail json YAML

Redo previous by making the DPRINT macro always expand to something.

(oster)

2023-10-16 08:25:57 UTC MAIN commitmail json YAML

Fix missing IFNET_LOCK holding while destroy the lagg interface

(yamaguchi)

2023-10-16 07:57:40 UTC MAIN commitmail json YAML

Make the lagg interface up before change its MTU

This change is related to PR kern/57650

(yamaguchi)

2023-10-16 07:49:01 UTC MAIN commitmail json YAML

lagg(4): release LAGG_LOCK before mtu changing

PR kern/57650

(yamaguchi)

2023-10-15 22:36:53 UTC MAIN commitmail json YAML

Fix build of the MODULAR kernel, which explicitly excludes vlans.

(oster)

2023-10-15 20:37:04 UTC MAIN commitmail json YAML

document S_ISWHT, sort these macros

(jschauma)

2023-10-15 18:15:20 UTC MAIN commitmail json YAML

Make RF_INCLUDE_RAID6 build (needs more changes to make it work).

Fix function signatures - recovFunc has a return type of void.
Fix obvious errors/typos from previous "mechanical changes".
MapSector no longer takes a row value.
Cleanup (now unused) row usage.
rf_bxor() doesn't take a bp argument.

(oster)

2023-10-15 18:13:37 UTC MAIN commitmail json YAML

When building kernel=ALL, make gcc happy by addressing its warning of:
"suggest braces around empty body in an 'if' statement".

(oster)

2023-10-15 16:11:22 UTC MAIN commitmail json YAML

x86: Disable savefpu size check for now.

This is apparently so broken that the error check for what should
have been a safe size fails, which is breaking boot on x86 all the
way back to Sandy Bridge at this point.  Grrr.

We need to expand savefpu so that it supports the maximum size
instead.

(riastradh)

2023-10-15 15:18:17 UTC MAIN commitmail json YAML

t_fdrestart: Rework this to be a little more robust.

For the write test, need to make sure the pipe's buffer is full first
before the write that blocks, so that it doesn't return partial
progress rather than ERESTART if woken.

(riastradh)

2023-10-15 14:30:52 UTC MAIN commitmail json YAML

t_fdrestart: Verify rump_sys_write failed second time around.

PR kern/57659

(riastradh)

2023-10-15 13:22:52 UTC MAIN commitmail json YAML

t_fdrestart: New test of closing fd with another thread in I/O on it.

Adapted from regress/sys/kern/dislodgefd.

PR kern/57659

(riastradh)

2023-10-15 13:13:22 UTC MAIN commitmail json YAML

x86: Panic if cpuid's fpu save size is larger than we support.

Ideally this wouldn't panic, but the alternative right now is to
crash in a memset later -- or silently corrupt kernel memory -- so
this doesn't make the situation worse than it was before.

PR kern/57661

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

(riastradh)

2023-10-15 13:04:15 UTC MAIN commitmail json YAML

sys/wchan.h: Need to install this for sanitizers.

(riastradh)

2023-10-15 11:11:38 UTC MAIN commitmail json YAML

2023-10-15 10:46:51 UTC MAIN commitmail json YAML

Remove obsolete #if blocks.

(tsutsui)

2023-10-15 10:40:52 UTC MAIN commitmail json YAML

When converting from db_expr_t to a pointer cast via uintptr_t
to help kernels where the size differs (e.g. 32bit sparc64 kernels)

(martin)

2023-10-15 10:30:20 UTC MAIN commitmail json YAML

kern_turnstile.c: Use <sys/lwp.h> explicitly for struct lwp members.

(riastradh)

2023-10-15 10:30:00 UTC MAIN commitmail json YAML

sys/sleepq.h: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:29:44 UTC MAIN commitmail json YAML

sys/lwp.h: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:29:34 UTC MAIN commitmail json YAML

sys_select.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:29:24 UTC MAIN commitmail json YAML

kern_lwp.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:29:11 UTC MAIN commitmail json YAML

kern_synch.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:29:02 UTC MAIN commitmail json YAML

kern_sleepq.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:28:48 UTC MAIN commitmail json YAML

kern_rwlock.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:28:23 UTC MAIN commitmail json YAML

kern_mutex.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:28:14 UTC MAIN commitmail json YAML

kern_lwp: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:28:00 UTC MAIN commitmail json YAML

kern_condvar.c: Sort includes.  No functional change intended.

(riastradh)

2023-10-15 10:27:33 UTC MAIN commitmail json YAML

ddb: Don't restrict `show all tstiles' to wmesg `tstile'.

This is no longer the wmesg, as of last week -- now it's the name of
the underlying syncobj, like `mutex' or `rwlock'.

(riastradh)

2023-10-15 10:27:25 UTC MAIN commitmail json YAML

ddb: Constify db_syncobj_owner argument.

No need for it to be writable, and the actual type of the struct lwp
member is const.

(riastradh)

2023-10-15 10:27:11 UTC MAIN commitmail json YAML

2023-10-15 07:03:17 UTC MAIN commitmail json YAML

2023-10-14 20:19:31 UTC MAIN commitmail json YAML

PR/57633: Jose Luis Duran: Add strfmon tests from FreeBSD

(christos)

2023-10-14 19:39:34 UTC MAIN commitmail json YAML

A few more branch hints.

(ad)

2023-10-14 19:38:51 UTC MAIN commitmail json YAML

Cherry pick a fix from FreeBSD:

commit 80bc871bdd4a8254ce19a65a54c8c918dd3ddd11
Author: Konstantin Belousov <kib@FreeBSD.org>
Date:  Sat Sep 12 18:16:46 2009 +0000

    MFC r196861:
    Handle zero size for posix_memalign. Return NULL or unique address
    according to the 'V' option.

(ad)

2023-10-14 19:37:24 UTC MAIN commitmail json YAML

Cherry pick a fix from FreeBSD:

commit 52d7a117c0fe8bd0226d964f4272131700035f12
Author: Jason Evans <jasone@FreeBSD.org>
Date:  Thu Aug 14 17:03:29 2008 +0000

    Re-order the terms of an expression in arena_run_reg_dalloc() to correctly
    detect whether the integer division table is large enough to handle the
    divisor.  Before this change, the last two table elements were never used,
    thus causing the slow path to be used for those divisors.

(ad)

2023-10-14 19:36:17 UTC MAIN commitmail json YAML

Fix a bug in the rbtree conversion.

(ad)

2023-10-14 15:31:36 UTC MAIN commitmail json YAML

Remove ancient and obsolete #if blocks.

(tsutsui)

2023-10-14 08:05:26 UTC MAIN commitmail json YAML

2023-10-14 07:07:10 UTC netbsd-10 commitmail json YAML

2023-10-14 07:05:39 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #416):

sys/dev/usb/if_urndis.c: revision 1.49

Apply the new diff from
kern/55273 urndis(4) error "could not find data bulk in/out" without
CDC union descriptor

Fallback to the interface association descriptor if  no CDC Union
Descriptor is found.

(martin)

2023-10-14 07:03:10 UTC netbsd-10 commitmail json YAML

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

sys/dev/usb/usbnet.c: revision 1.115
sys/dev/usb/usbnet.c: revision 1.116
sys/dev/usb/usbnet.c: revision 1.117
sys/dev/usb/usbnet.c: revision 1.118

usbnet(9): Make sure unp->unp_if_flags is initialized on init.
usbnet_ifflags_cb is only called if the flags change while up and
running.  (XXX Maybe it should be called in other circumstances too
so there's only one path here?)
Out of paranoia, clear the cache on stop.
PR kern/57645

usbnet(9): Fix sense of conditional in usbnet_ifflags_cb.
This appears to have been mistranscribed in revision 1.1 of usbnet.c.
PR kern/57645

usbnet(9): On if_init, stop/init if IFF_RUNNING -- not noop.
ether_ioctl(9) relies on this to reinitialize an interface when a
flags change returns ENETRESET.  We can't just reprogram the hardware
multicast filter because some drivers have logic in if_init that's
conditional on IFF_PROMISC; perhaps we can reduce the cost of this if
we can change those drivers to do it in uno_mcast but that requires
some analysis to determine.
PR kern/57645

usbnet(9): Fix typo in comment.
No functional change intended.
PR kern/57645

(martin)

2023-10-14 06:59:43 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/if_rge.c: revision 1.27

rge(4): callout_stop can't be right here; just do callout_halt.

(martin)

2023-10-14 06:58:19 UTC netbsd-10 commitmail json YAML

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

sys/dev/usb/if_ure.c: revision 1.59

ure(4): Set all bits, not no bits, in multicast filter for promisc.
This was lost in revision 1.40.
PR kern/57648

(martin)

2023-10-14 06:56:36 UTC netbsd-10 commitmail json YAML

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

share/mk/bsd.prog.mk: revision 1.346
crypto/external/bsd/heimdal/sbin/kstash/Makefile: revision 1.6
share/mk/bsd.prog.mk: revision 1.347
crypto/external/bsd/heimdal/sbin/hprop/Makefile: revision 1.6
crypto/external/bsd/heimdal/sbin/kdc/Makefile: revision 1.6
crypto/external/bsd/heimdal/sbin/iprop-log/Makefile: revision 1.6
crypto/external/bsd/heimdal/lib/libkrb5/Makefile: revision 1.16
crypto/external/bsd/heimdal/libexec/digest-service/Makefile: revision 1.6
crypto/external/bsd/heimdal/Makefile.inc: revision 1.10
crypto/external/bsd/heimdal/Makefile.inc: revision 1.11
crypto/external/bsd/heimdal/Makefile.inc: revision 1.9
crypto/external/bsd/heimdal/libexec/kadmind/Makefile: revision 1.8
crypto/external/bsd/heimdal/lib/libhdb/Makefile: revision 1.6
crypto/external/bsd/heimdal/include/config.h: revision 1.12
crypto/external/bsd/heimdal/libexec/hpropd/Makefile: revision 1.6
crypto/external/bsd/heimdal/libexec/ipropd-slave/Makefile: revision 1.6
crypto/external/bsd/heimdal/libexec/ipropd-master/Makefile: revision 1.6
crypto/external/bsd/heimdal/libexec/kpasswdd/Makefile: revision 1.6
crypto/external/bsd/heimdal/sbin/kadmin/Makefile: revision 1.7

heimdal: Disable sqlite3 credential cache (SCC).
SCC is not usable in Heimdal 7.8.0, and this brings a dependency on
libsqlite3 into libkrb5 and therefore libgssapi, which is problematic
downstream applications that have sqlite3 from pkgsrc or statically
built in.
SCC will undergo substantial revision in the next Heimdal version
https://github.com/heimdal/heimdal/pull/1143.  We can revisit later
how to deal with this -- perhaps by symbol-renaming a copy of sqlite3
in Heimdal as it looks like upstream intends to do.
PR lib/57406

bsd.prog.mk: krb5 stuff no longer needs to link against sqlite3.
(Why is this here?  Seems like it should be a .mk fragment under
crypto/external/bsd/heimdal -- that way I would have found it for the
previous commit.)
PR lib/57406

heimdal: No need for -lm, was only added for -lsqlite3.
PR lib/57406

heimdal: Make sure whatever uses libhdb also gets libsqlite3 & libm.
Loose ends for static builds in the fix for PR lib/57406.

(martin)

2023-10-14 06:53:56 UTC MAIN commitmail json YAML

the parser.c longjmp vs gcc12 issue affects a few ports,
make the workaround global.

(mrg)

2023-10-14 06:52:18 UTC netbsd-10 commitmail json YAML

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

sys/arch/evbarm/nslu2/nslu2_machdep.c: revision 1.41
sys/arch/evbarm/gumstix/gumstix_machdep.c: revision 1.75
sys/arch/evbarm/iq80321/iq80321_machdep.c: revision 1.66
sys/arch/iyonix/iyonix/iyonix_machdep.c: revision 1.34
sys/arch/zaurus/zaurus/machdep.c: revision 1.52
sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c: revision 1.41
sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c: revision 1.33
sys/arch/evbarm/iq80310/iq80310_machdep.c: revision 1.96
sys/arch/evbarm/adi_brh/brh_machdep.c: revision 1.53
sys/arch/arm/include/arm32/pmap.h: revision 1.177
sys/arch/evbarm/viper/viper_machdep.c: revision 1.34
sys/arch/evbarm/iyonix/iyonix_machdep.c: revision 1.5
sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c: revision 1.30
sys/arch/evbarm/hdl_g/hdlg_machdep.c: revision 1.35
sys/arch/arm/arm32/pmap.c: revision 1.440
sys/arch/evbarm/lubbock/lubbock_machdep.c: revision 1.45
sys/arch/evbarm/ixdp425/ixdp425_machdep.c: revision 1.47

Fix non-DIAGNOSTIC builds

(martin)

2023-10-14 06:49:37 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/igc/if_igc.c: revision 1.4
sys/dev/pci/igc/if_igc.c: revision 1.5
sys/dev/pci/igc/if_igc.c: revision 1.6

igc(4): Fix half duplex setting
From FreeBSD: 3b8d04f845b416d29a258658b8a48d1afb4a2e81

igc(4): `nvm_ver & ...' has type int, so use %x, not %hx.
This happens even though nvm_ver is unsigned short (uint16_t),
because of the integer promotions.
Should fix clang build.

igc(4): igc_init: Enable interrupt after everything is set up
Inspired by "ixgbe: Enable interrupt after setting IFF_RUNNING.":
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/ixgbe/ixgbe.c#rev1.337

Just for sure, callout_schedule(9) for igc_tick() is also postponed.
This is NFC for now, although.

(martin)

2023-10-14 06:43:06 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by yamaguchi in ticket #409):

sys/dev/pci/if_ixl.c: revision 1.90
sys/dev/pci/if_ixl.c: revision 1.91
sys/dev/pci/if_ixl.c: revision 1.92
sys/dev/pci/if_ixl.c: revision 1.93
sys/arch/evbarm/conf/GENERIC64: revision 1.214

ixl(4): skip getting link status if the last command is running

ixl(4): use cv_broadcast to wakeup ioctl and workqueue context.
Commands may be issued at the same time from the both context.

ixl(4): update link status in workqueue

ixl(4): Print device info on attach
Without PCIVERBOSE option:
ixl0 at pci1 dev 0 function 0: vendor 8086 product 1572 (rev. 0x01)
With PCIVERBOSE option:
ixl0 at pci1 dev 0 function 0: Intel XL710 SFP+ Ethernet (SFI) (rev. 0x01)
OK yamaguchi@

aarch64/GENERIC64: Add ixl(4)
Works just fine for little-endian on LX2K with UEFI firmware.
Not tested for big-endian yet; attach fails on ROCKPro64 due to
host controller problem.
OK yamaguchi@

(martin)

2023-10-14 06:38:57 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by yamaguchi in ticket #408):

share/man/man4/agr.4: revision 1.10
share/man/man4/agr.4: revision 1.11
share/man/man4/agr.4: revision 1.12

Update agr(4) manual page
The driver is marked as obsolete.
update history of agr(4)

I proposed to make agr(4) deprecated in NetBSD 10,
and there was not any disagreements.
https://mail-index.netbsd.org/tech-net/2022/06/08/msg008265.html

agr(4): minor cleanups

(martin)

2023-10-14 06:29:10 UTC MAIN commitmail json YAML

fix compile error on 32-bit platforms.

(mrg)

2023-10-13 22:20:46 UTC MAIN commitmail json YAML

s/fdstartegy/fdstrategy/ in comment.

(andvar)

2023-10-13 20:57:30 UTC MAIN commitmail json YAML

Convert to use Matt Thomas's rbtree, which the env code probably already
pulls into libc.  amd64 object size before and after:

  text    data    bss    dec    hex filename
  21001      88    365  21454    53ce jemalloc.po
  14991    184    429  15604    3cf4 jemalloc.po

libmicro on AMD Athlon Silver 3050e comparing this and the revision before
previous (i.e. the old code, versus arena changes + rbtree changes):

exit_10_nolibc 135.168300 128.07790[  +5.5%]
        fork_100        180.539040      149.63721[  +20.7%]
        fork_1000      200.421650      167.09660[  +19.9%]
mallocT2_10 0.132920 0.13317[  -0.2%]
mallocT2_100 0.136350 0.13635[  +0.0%]
mallocT2_100k 0.258690 0.26641[  -3.0%]
mallocT2_10k 0.223340 0.22733[  -1.8%]
mallocT2_1k 0.137170 0.14254[  -3.9%]
malloc_10 0.100540 0.10849[  -7.9%]
malloc_100 0.107290 0.10753[  -0.2%]
malloc_100k 0.193560 0.19355[  +0.0%]
malloc_10k 0.173250 0.17454[  -0.7%]
malloc_1k 0.113490 0.11335[  +0.1%]

(ad)

2023-10-13 19:30:28 UTC MAIN commitmail json YAML

Minor changes to jemalloc100 (the old one that only vax etc currently uses).

- Don't use TLS nor pretend to hash out arenas to reduce lock contention,
  because NetBSD uses thr_curcpu() to choose arena (i.e. per-CPU arenas).

- In a single threaded process, don't prepare "ncpus" worth of arenas,
  allocate only one.

- Use getpagesize() since it caches the return.

- Sprinkle branch hints.

- Make MALLOC_TRACE and MALLOC_DEBUG work again.

(ad)

2023-10-13 19:07:09 UTC MAIN commitmail json YAML

Simplify/streamline pipes a little bit:

- Allocate only one struct pipe not two (no need to be bidirectional here).
- Then use f_flag (FREAD/FWRITE) to figure out what to do in the fileops.
- Never wake the other side or acquire long-term (I/O) lock unless needed.
- Whenever possible, defer wakeups until after locks have been released.
- Do some things locklessly in pipe_ioctl() and pipe_poll().

Some notable results:

- -30% latency on a 486DX2/66 doing 1 byte ping-pong within a single process.
- 2.5x less lock contention during "make cleandir" of src on a 48 CPU machine.
- 1.5x bandwith with 1kB messages on the same 48 CPU machine (8kB: same b/w).

(ad)

2023-10-13 18:59:15 UTC netbsd-8 commitmail json YAML

2023-10-13 18:58:19 UTC netbsd-9 commitmail json YAML

2023-10-13 18:57:25 UTC netbsd-10 commitmail json YAML

2023-10-13 18:55:12 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/ixgbe/ixgbe_common.c: revision 1.47
sys/dev/pci/ixgbe/ixgbe_x550.c: revision 1.28
sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.60
sys/dev/pci/ixgbe/ixgbe_82599.c: revision 1.31
sys/dev/pci/ixgbe/ixgbe_82599.c: revision 1.32
sys/dev/pci/ixgbe/ixv.c: revision 1.187
sys/dev/pci/ixgbe/ixv.c: revision 1.188
sys/dev/pci/ixgbe/ixv.c: revision 1.189
sys/dev/pci/ixgbe/ixgbe_common.h: revision 1.18
sys/dev/pci/ixgbe/ixgbe_x540.c: revision 1.24
sys/dev/pci/ixgbe/ixgbe.c: revision 1.334
sys/dev/pci/ixgbe/ixgbe.c: revision 1.335
sys/dev/pci/ixgbe/ixgbe.c: revision 1.336
sys/dev/pci/ixgbe/ixgbe.c: revision 1.337
sys/dev/pci/ixgbe/ix_txrx.c: revision 1.103
sys/dev/pci/ixgbe/ixgbe.c: revision 1.338
sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.59
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c: revision 1.13
sys/dev/pci/ixgbe/ixgbe_dcb.c: revision 1.14
sys/dev/pci/ixgbe/ixgbe_dcb.c: revision 1.15
sys/dev/pci/ixgbe/ixgbe_api.c: revision 1.29
sys/dev/pci/ixgbe/ixgbe_bypass.h: revision 1.5
sys/dev/pci/ixgbe/ixgbe.h: revision 1.90
sys/dev/pci/ixgbe/ixgbe.h: revision 1.91
sys/dev/pci/ixgbe/ixgbe.h: revision 1.92
sys/dev/pci/ixgbe/ixgbe_common.c: revision 1.46

ixg(4): Remove unused and old function. No functional change.
- From FreeBSD's ix-3.3.32.

ixg(4): Add 82599 LS once again.
- From:
        FreeBSD: 9228ac3a69c4c7401a743e6465e118101a2beeb0
        DPDK:    549ccd3dc01539e060597b503f2b65b272de3347
- This was removed 5 years ago. From the commit message:
  > Remove IXGBE_DEV_ID_82599_LS(0x154f) support again. I don't know why. This
  > was added in ix-3.2.18.tar.gz(NetBSD: ixgbe_82599.c rev. 1.20) and
  > removed in ix-3.3.6.tar.gz.

ixg(4): Filter out spurious link up indication
- Extend SFP+ cage crosstalk fix by re-checking link state after 5ms delay
  to filter out spurious link up indication by transceiver with no fiber
  cable connected.
- From FreeBSD:
    In-tree: 04a5e6d7cadd06b10169c3c3a560649e7dc7444c
    Out of tree: ix-3.3.33.

ixgbe: Simplify definitions. No functional change.
Both DEFAULT_{TX,RX}D and PERFORM_{TX,RX}D are 2048. Use DEFAULT_{TX,RX}D.
Same as FreeBSD.

ixgbe: Modify error message of wrong TX/RX descriptor size.
  - Based from FreeBSD ix-3.3.35. I think ix-3.3.35's RING_INCREMENT(== 32)
    is wrong. It should be 8(DBA_ALIGN / sizeof(union ixgbe_adv_[tr]x_desc)).
    Linux also uses 8.

ixgbe: Remove NO_82599_SUPPORT and NO_X540_SUPPORT support. NFCI.
From FreeBSD ix-3.3.35. Note that this file is not used in NetBSD.

ixgbe: Enable interrupt after setting IFF_RUNNING. Same as FreeBSD x-3.3.35.

ixgbe: Cleanup. No fucntional change.

Remove unused code, fix whitespace and modify comment to reduce against
FreeBSD(mainly from ix-3.3.35).

(martin)

2023-10-13 18:50:39 UTC MAIN commitmail json YAML

2023-10-13 18:48:56 UTC MAIN commitmail json YAML

Add cv_fdrestart() (better name suggestions welcome):

Like cv_broadcast(), but make any LWPs that share the same file descriptor
table as the caller return ERESTART when resuming.  Used to dislodge LWPs
waiting for I/O that prevent a file descriptor from being closed, without
upsetting access to the file (not descriptor) made from another direction.

(ad)

2023-10-13 18:47:08 UTC netbsd-8 commitmail json YAML

Regen for ticket #1913 (Intel 82599 LS and Pericom(Diodes) PCIe switches added)

(martin)

2023-10-13 18:46:22 UTC MAIN commitmail json YAML

A dumb test that calling close() on a pipe/socket fd dislodges another
thread in the same process waiting for I/O on the fd.

(ad)

2023-10-13 18:44:59 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1493
sys/dev/pci/pcidevs: revision 1.1495

Add Intel 82599 LS.
Add Pericom(Diodes) PCIe switches.

(martin)

2023-10-13 18:42:51 UTC netbsd-9 commitmail json YAML

Regen for ticket #1750 (Intel 82599 LS and Pericom(Diodes) PCIe switches added)

(martin)

2023-10-13 18:41:17 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1493
sys/dev/pci/pcidevs: revision 1.1495

Add Intel 82599 LS.
Add Pericom(Diodes) PCIe switches.

(martin)

2023-10-13 18:39:14 UTC netbsd-10 commitmail json YAML

Regen for ticket #406 (Intel 82599 LS and Pericom(Diodes) PCIe switches added)

(martin)

2023-10-13 18:37:28 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1493
sys/dev/pci/pcidevs: revision 1.1495

Add Intel 82599 LS.
Add Pericom(Diodes) PCIe switches.

(martin)

2023-10-13 18:32:39 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/ixgbe/if_bypass.c 1.10
sys/dev/pci/ixgbe/if_fdir.c 1.6 via patch
sys/dev/pci/ixgbe/if_sriov.c 1.18 via patch
sys/dev/pci/ixgbe/ix_txrx.c 1.102 via patch
sys/dev/pci/ixgbe/ixgbe.c 1.333,1.339 via patch
sys/dev/pci/ixgbe/ixgbe.h 1.89
sys/dev/pci/ixgbe/ixgbe_api.h 1.17
sys/dev/pci/ixgbe/ixgbe_common.h 1.17
sys/dev/pci/ixgbe/ixgbe_bypass.h 1.4
sys/dev/pci/ixgbe/ixgbe_common.c 1.45
sys/dev/pci/ixgbe/ixgbe_fdir.h 1.5
sys/dev/pci/ixgbe/ixgbe_netmap.h 1.3
sys/dev/pci/ixgbe/ixgbe_netmap.c 1.6
sys/dev/pci/ixgbe/ixgbe_osdep.c 1.9
sys/dev/pci/ixgbe/ixgbe_sriov.h 1.6
sys/dev/pci/ixgbe/ixgbe_type.h 1.58
sys/dev/pci/ixgbe/ixgbe_x550.c 1.27
sys/dev/pci/ixgbe/ixv.c 1.186 via patch

ixgbe: Rename some definitions, modify comment. No functional change.
Apply changes from FreeBSD's ix-3.3.31 and ixv-1.5.32.
    - struct adapter *adapter -> struct ixgbe_softc *sc
    - master -> primary
    - black -> block

ixg(4): Whitespace. No functional change.

(martin)

2023-10-13 18:23:54 UTC MAIN commitmail json YAML

Rump: sleepq_remove(): don't unlock the sleepq.  Spotted by hannken@.

(ad)

2023-10-13 18:20:30 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/ixgbe/if_bypass.c 1.10
sys/dev/pci/ixgbe/if_fdir.c 1.6 via patch
sys/dev/pci/ixgbe/if_sriov.c 1.18 via patch
sys/dev/pci/ixgbe/ix_txrx.c 1.102 via patch
sys/dev/pci/ixgbe/ixgbe.c 1.333,1.339 via patch
sys/dev/pci/ixgbe/ixgbe.h 1.89
sys/dev/pci/ixgbe/ixgbe_api.h 1.17
sys/dev/pci/ixgbe/ixgbe_common.h 1.17
sys/dev/pci/ixgbe/ixgbe_bypass.h 1.4
sys/dev/pci/ixgbe/ixgbe_common.c 1.45
sys/dev/pci/ixgbe/ixgbe_fdir.h 1.5
sys/dev/pci/ixgbe/ixgbe_netmap.h 1.3
sys/dev/pci/ixgbe/ixgbe_netmap.c 1.6
sys/dev/pci/ixgbe/ixgbe_osdep.c 1.9
sys/dev/pci/ixgbe/ixgbe_sriov.h 1.6
sys/dev/pci/ixgbe/ixgbe_type.h 1.58
sys/dev/pci/ixgbe/ixgbe_x550.c 1.27
sys/dev/pci/ixgbe/ixv.c 1.186 via patch

ixgbe: Rename some definitions, modify comment. No functional change.
Apply changes from FreeBSD's ix-3.3.31 and ixv-1.5.32.
    - struct adapter *adapter -> struct ixgbe_softc *sc
    - master -> primary
    - black -> block

ixg(4): Whitespace. No functional change.

(martin)

2023-10-13 18:16:51 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/ixgbe/ixgbe_x550.c: revision 1.27
sys/dev/pci/ixgbe/ixgbe_fdir.h: revision 1.5
sys/dev/pci/ixgbe/ixv.c: revision 1.186
sys/dev/pci/ixgbe/ixgbe_osdep.c: revision 1.9
sys/dev/pci/ixgbe/ixgbe_common.h: revision 1.17
sys/dev/pci/ixgbe/ixgbe_api.h: revision 1.17
sys/dev/pci/ixgbe/ixgbe.h: revision 1.89
sys/dev/pci/ixgbe/if_fdir.c: revision 1.6
sys/dev/pci/ixgbe/if_sriov.c: revision 1.18
sys/dev/pci/ixgbe/ixgbe.c: revision 1.333
sys/dev/pci/ixgbe/ix_txrx.c: revision 1.102
sys/dev/pci/ixgbe/ixgbe.c: revision 1.339
sys/dev/pci/ixgbe/ixgbe_type.h: revision 1.58
sys/dev/pci/ixgbe/ixgbe_sriov.h: revision 1.6
sys/dev/pci/ixgbe/if_bypass.c: revision 1.10
sys/dev/pci/ixgbe/ixgbe_bypass.h: revision 1.4
sys/dev/pci/ixgbe/ixgbe_netmap.h: revision 1.3
sys/dev/pci/ixgbe/ixgbe_netmap.c: revision 1.6
sys/dev/pci/ixgbe/ixgbe_common.c: revision 1.45

ixgbe: Rename some definitions, modify comment. No functional change.
Apply changes from FreeBSD's ix-3.3.31 and ixv-1.5.32.
    - struct adapter *adapter -> struct ixgbe_softc *sc
    - master -> primary
    - black -> block

ixg(4): Whitespace. No functional change.

(martin)

2023-10-13 18:04:49 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #404):

etc/rc.d/npf: revision 1.8
etc/defaults/rc.conf: revision 1.167

Add support to npf_rules to rc.conf
- Allows overriding default from /etc/npf.conf
- Indicate rules file used in output
- Drop check for file presence in script - rely on npf exiting with error

(martin)

2023-10-13 18:02:02 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #1911):

sys/dev/pci/ahcisata_pci.c: revision 1.71

Add support for ASMEDIA 0x0624
... an AHCI SATA adaptor which identifies itself as an IDE storage device

(martin)

2023-10-13 18:00:42 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #1748):

sys/dev/pci/ahcisata_pci.c: revision 1.71

Add support for ASMEDIA 0x0624
... an AHCI SATA adaptor which identifies itself as an IDE storage device

(martin)

2023-10-13 17:59:34 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #403):

sys/dev/pci/ahcisata_pci.c: revision 1.71

Add support for ASMEDIA 0x0624
... an AHCI SATA adaptor which identifies itself as an IDE storage device

(martin)

2023-10-13 17:57:27 UTC netbsd-8 commitmail json YAML

Regen for ticket #1911 (add ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier)

(martin)

2023-10-13 17:54:46 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #1911):

sys/dev/pci/pcidevs: revision 1.1496

Add entry for ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier

(martin)

2023-10-13 17:52:45 UTC netbsd-9 commitmail json YAML

Regen for ticket #1748 (add ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier)

(martin)

2023-10-13 17:50:41 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #1748):

sys/dev/pci/pcidevs: revision 1.1496

Add entry for ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier

(martin)

2023-10-13 17:49:14 UTC netbsd-10 commitmail json YAML

Regen for ticket #403 (add ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier)

(martin)

2023-10-13 17:46:26 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by abs in ticket #403):

sys/dev/pci/pcidevs: revision 1.1496

Add entry for ASMEDIA 0x0624 - ASM1062 + JMB575 Port Multiplier

(martin)

2023-10-13 16:35:14 UTC MAIN commitmail json YAML

2023-10-13 16:30:01 UTC MAIN commitmail json YAML

Fix spelling. From OpenBSD/luna88k.

(tsutsui)

2023-10-13 16:10:24 UTC MAIN commitmail json YAML

Fix typo.  From OpenBSD/luna88k.

(tsutsui)

2023-10-13 04:43:36 UTC MAIN commitmail json YAML

ixl(4): limit receive frame size upto 9600 even if ETHERCAP_VLAN_MTU is enabled

(yamaguchi)

2023-10-13 02:22:20 UTC MAIN commitmail json YAML

ixl(4): added ETHERCAP_VLAN_MTU support

PR kern/57652

(yamaguchi)

2023-10-12 23:51:06 UTC MAIN commitmail json YAML

2023-10-12 17:18:39 UTC MAIN commitmail json YAML

2023-10-12 11:33:39 UTC MAIN commitmail json YAML

2023-10-12 08:06:13 UTC MAIN commitmail json YAML

ixgbe: Don't override the {ixgbe,ixv}_max_interrupt_rate global variable.

Fix a bug that changing hw.ix[gv]X.qY.interrupt_rate would change all
devices all queues default interrupt rate.

(msaitoh)

2023-10-12 05:50:56 UTC MAIN commitmail json YAML

ixg(4): Don't print wrong error message about ixgbe_num_queues.

Don't override the ixgbe_num_queues global variable. It's the default
value of the number of queues and should not override it because it
will be referenced by later device attach. For example, the number of
MSI-X vector is 64 on X540 and 18 on 82599. When both cards are inserted
to a machine that the number of CPU is 24 and X540 is probed earlier,
ixgbe_num_queues is overridden to 24 and the following error message is
printed when attaching 82599:

ixg2: autoconfiguration error: ixgbe_num_queues (24) is too large,
using reduced amount (17).

Note that the number of queues is in sc->num_queuss and referenced
by hw.ixgN.num_queues sysctl.

(msaitoh)

2023-10-12 04:08:44 UTC MAIN commitmail json YAML

igc(4): igc_init: Enable interrupt after everything is set up

Inspired by "ixgbe: Enable interrupt after setting IFF_RUNNING.":
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/ixgbe/ixgbe.c#rev1.337

Just for sure, callout_schedule(9) for igc_tick() is also postponed.
This is NFC for now, although.

XXX
Check other drivers.

(rin)

2023-10-12 03:43:55 UTC MAIN commitmail json YAML

2023-10-12 01:45:07 UTC MAIN commitmail json YAML

sh(1): touch up markup for the ENV example

Don't use Dq in a literal display, ascii quotes are \*q
While here mark up as literal a few things around this example.

(uwe)

2023-10-11 23:22:14 UTC MAIN commitmail json YAML

syslogd.c: fix a typo in a comment

(uwe)

2023-10-11 19:57:25 UTC MAIN commitmail json YAML

certdata.awk: Treat CKT_NSS_TRUSTED as untrusted _as a CA_.

This means the certificate is trusted for the listed purpose, not as
a CA to issue certificates for the listed purpose.

Clarify warning message in this case.

No change to imported certificates so no need to regen or pull up --
this designator does not actually appear in certdata.txt, only in
Mozilla nss source code.

(riastradh)

2023-10-11 18:19:43 UTC MAIN commitmail json YAML

igc(4): `nvm_ver & ...' has type int, so use %x, not %hx.

This happens even though nvm_ver is unsigned short (uint16_t),
because of the integer promotions.

Should fix clang build.

XXX pullup-10

(riastradh)

2023-10-11 15:28:08 UTC MAIN commitmail json YAML

certctl(8): Reword various things in an attempt to clarify.

Suggest /etc/openssl/certs.local in the example config file.  Maybe
we can/should formalize this but let's just start with a suggestion.

XXX pullup-10

(riastradh)

2023-10-11 15:14:28 UTC MAIN commitmail json YAML

wm(4): Add I219{V,LM}({22,23}) devices (Raptor Lake).

(msaitoh)

2023-10-11 15:05:26 UTC MAIN commitmail json YAML

wm(4): Add a new workaround for Tiger Lake and newer.

- Define new WM_T_PCH_TGP and use it for Tiger Lake and newer.
  Note that we don't define WM_T_PCH_ADP because we have no any
  Alder Lake specific workaround yet.
- Add new workaround for Tiger Lake (and newer) in wm_init_locked()
  to avoid packet loss.

(msaitoh)

2023-10-11 14:55:26 UTC MAIN commitmail json YAML

2023-10-11 14:54:58 UTC MAIN commitmail json YAML

pcidevs: Add Intel I219{V,LM}({22,23})

(msaitoh)

2023-10-11 14:08:26 UTC MAIN commitmail json YAML

heimdal: No need for -lm, was only added for -lsqlite3.

PR lib/57406

XXX pullup-10

(riastradh)

2023-10-11 14:08:17 UTC MAIN commitmail json YAML

bsd.prog.mk: krb5 stuff no longer needs to link against sqlite3.

(Why is this here?  Seems like it should be a .mk fragment under
crypto/external/bsd/heimdal -- that way I would have found it for the
previous commit.)

PR lib/57406

XXX pullup-10

(riastradh)

2023-10-11 12:34:42 UTC MAIN commitmail json YAML

heimdal: Disable sqlite3 credential cache (SCC).

SCC is not usable in Heimdal 7.8.0, and this brings a dependency on
libsqlite3 into libkrb5 and therefore libgssapi, which is problematic
downstream applications that have sqlite3 from pkgsrc or statically
built in.

SCC will undergo substantial revision in the next Heimdal version
(https://github.com/heimdal/heimdal/pull/1143).  We can revisit later
how to deal with this -- perhaps by symbol-renaming a copy of sqlite3
in Heimdal as it looks like upstream intends to do.

PR lib/57406

XXX pullup-10

(riastradh)

2023-10-11 11:00:17 UTC MAIN commitmail json YAML

agr(4): minor cleanups

(wiz)

2023-10-11 09:43:17 UTC MAIN commitmail json YAML

2023-10-11 09:19:27 UTC MAIN commitmail json YAML

update history of agr(4)

I proposed to make agr(4) deprecated in NetBSD 10,
and there was not any disagreements.
https://mail-index.netbsd.org/tech-net/2022/06/08/msg008265.html

(yamaguchi)