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

2024-05-09 23:26:11 UTC Now

2022-10-23 23:03:30 UTC MAIN commitmail json YAML

midi(4): No need to take lock just for callout_halt.

Lock is relevant only if we're doing something _else_ under the lock
that must be serialized with the callout's own action.

(riastradh)

2022-10-23 23:03:13 UTC MAIN commitmail json YAML

midi(4): Explain what's about to happen when refcnt drain fails.

This should really be an unconditional cv_wait loop, but for now
let's just give fair warning when the driver is about to puke its
guts out in case the I/O paths I haven't audited yet are buggy.

(riastradh)

2022-10-23 23:02:50 UTC MAIN commitmail json YAML

midi(4): Wake waiters _before_ waiting for them.

Otherwise we may deadlock waiting for them to give up while they're
waiting for I/O, not knowing they need to give up.

(riastradh)

2022-10-23 15:43:40 UTC MAIN commitmail json YAML

correct tm_sec range to be [0-60]

The previous range introduced in time.h rev1.14 was supposed to account
for a mystical "double leap second", which ultimately never could exist
and was a mistaken interpretation from an early ISO C standard whereby
the possibility of two leap seconds within a year was erroneously
interpreted to mean that two leap seconds could occur at once.

(jschauma)

2022-10-23 11:06:37 UTC MAIN commitmail json YAML

ugen(4): Make sure opened is initialized in ugenopen.

Otherwise the error branch is based on garbage.

(riastradh)

2022-10-23 08:38:21 UTC MAIN commitmail json YAML

sys/workqueue.h: Need sys/types.h for pri_t.

(riastradh)

2022-10-23 07:14:12 UTC MAIN commitmail json YAML

2022-10-23 07:13:07 UTC MAIN commitmail json YAML

2022-10-23 07:11:27 UTC MAIN commitmail json YAML

Line continuation alignment whitespace. NFC.

(skrll)

2022-10-23 07:04:44 UTC MAIN commitmail json YAML

Use UVMHIST_CALLARGS in pmap_bootstrap

(skrll)

2022-10-23 07:02:27 UTC MAIN commitmail json YAML

Only define the EFI variable if EFI_RUNTIME

(skrll)

2022-10-23 06:37:15 UTC MAIN commitmail json YAML

Correct the pmap_kstart_segtab entry in pmap_kern_segtab

(skrll)

2022-10-23 06:29:01 UTC MAIN commitmail json YAML

2022-10-23 06:27:26 UTC MAIN commitmail json YAML

Fix USBDEBUG build on ILP32

(skrll)

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

2022-10-22 20:11:43 UTC MAIN commitmail json YAML

Add -f option to set the time. From FreeBSD.

(christos)

2022-10-22 19:50:08 UTC MAIN commitmail json YAML

2022-10-21 18:21:56 UTC MAIN commitmail json YAML

Explain when the filters are used.

(christos)

2022-10-21 12:28:43 UTC MAIN commitmail json YAML

ctime(3): fix unbalanced paren introduced in 1.40

(uwe)

2022-10-21 12:11:29 UTC MAIN commitmail json YAML

ctime(3): add missing leading slash in a pathname

(uwe)

2022-10-21 09:29:32 UTC MAIN commitmail json YAML

aq(4): Remove incorrect ASSERT_SLEEPABLE introduced in 1.33.

It is true that aq_stop must be sleepable, and that aq_stop_locked
may sleep, but aq_stop_locked will release sc->sc_mutex when it
sleeps, which ASSERT_SLEEPABLE doesn't know about.  Since that is a
spin lock, ASSERT_SLEEPABLE trips over it and crashes.

This is not quite right: aq_stop should really only take the lock
over specific things that need the lock to synchronize with other
threads, like mii_down; aq_init and aq_stop are already serialized by
IFNET_LOCK.  sc->sc_mutex is used for too much and should have its
scope narrowed like I did recently in usbnet(9).  But this small
change will at least remove a source of crashes for now.

(riastradh)

2022-10-21 09:21:17 UTC MAIN commitmail json YAML

frag6: don't use spin mutex for frag6_lock

frag6_lock is held during sending a packet (icmp6_error), so we must
not use a spin mutex because we can acquire sleep locks on sending
a packet.

Also we don't need to use spin mutex for frag6_lock anymore because
frag6_lock is now not used from hardware interrupt context.

(ozaki-r)

2022-10-21 05:51:08 UTC MAIN commitmail json YAML

Fix build after previous.

(skrll)

2022-10-21 04:55:12 UTC MAIN commitmail json YAML

ugen(4): convert to USBHIST style debugging.

(mrg)

2022-10-21 03:08:29 UTC MAIN commitmail json YAML

escape mathematical minus so it doesn't get rendered as a dash

(jschauma)

2022-10-21 03:05:15 UTC MAIN commitmail json YAML

Note normalizing behavior of mktime(3) using language from FreeBSD.

(jschauma)

2022-10-20 13:20:36 UTC netbsd-9 commitmail json YAML

2022-10-20 13:18:54 UTC netbsd-9 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1209.2.8 / diff / nxr@1.1209.2.8
src/doc/3RDPARTY@1.1640.2.25 / diff / nxr@1.1640.2.25
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.6.2.1 / diff / nxr@1.1.1.6.2.1
src/external/public-domain/tz/dist/Makefile@1.1.1.24.2.7 / diff / nxr@1.1.1.24.2.7
src/external/public-domain/tz/dist/NEWS@1.1.1.27.2.7 / diff / nxr@1.1.1.27.2.7
src/external/public-domain/tz/dist/README@1.1.1.8.2.2 / diff / nxr@1.1.1.8.2.2
src/external/public-domain/tz/dist/SECURITY@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
src/external/public-domain/tz/dist/TZDATA_VERSION@1.17.2.7 / diff / nxr@1.17.2.7
src/external/public-domain/tz/dist/africa@1.1.1.20.2.5 / diff / nxr@1.1.1.20.2.5
src/external/public-domain/tz/dist/antarctica@1.1.1.11.2.3 / diff / nxr@1.1.1.11.2.3
src/external/public-domain/tz/dist/asia@1.1.1.23.2.6 / diff / nxr@1.1.1.23.2.6
src/external/public-domain/tz/dist/australasia@1.1.1.17.2.5 / diff / nxr@1.1.1.17.2.5
src/external/public-domain/tz/dist/backward@1.1.1.10.2.3 / diff / nxr@1.1.1.10.2.3
src/external/public-domain/tz/dist/backzone@1.1.1.16.2.5 / diff / nxr@1.1.1.16.2.5
src/external/public-domain/tz/dist/calendars@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/external/public-domain/tz/dist/checktab.awk@1.1.1.9.4.2 / diff / nxr@1.1.1.9.4.2
src/external/public-domain/tz/dist/etcetera@1.1.1.4.2.2 / diff / nxr@1.1.1.4.2.2
src/external/public-domain/tz/dist/europe@1.1.1.24.2.7 / diff / nxr@1.1.1.24.2.7
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.11.2.5 / diff / nxr@1.1.1.11.2.5
src/external/public-domain/tz/dist/leapseconds@1.1.1.13.2.5 / diff / nxr@1.1.1.13.2.5
      :
(more 8 files)
Pull up the following, requested by kre in ticket #1546:
Catch up to -current of external/public-domain/tz/dist and apply corresponding
patches to distrib/sets/lists/base/mi and doc/3RDPARTY:

external/public-domain/tz/dist/SECURITY        up to 1.1.1.1
external/public-domain/tz/dist/CONTRIBUTING    up to 1.1.1.7
external/public-domain/tz/dist/Makefile        up to 1.1.1.33
external/public-domain/tz/dist/NEWS            up to 1.1.1.38
external/public-domain/tz/dist/README          up to 1.1.1.10
external/public-domain/tz/dist/TZDATA_VERSION  up to 1.30
external/public-domain/tz/dist/africa          up to 1.1.1.28
external/public-domain/tz/dist/antarctica      up to 1.1.1.15
external/public-domain/tz/dist/asia            up to 1.5
external/public-domain/tz/dist/australasia      up to 1.5
external/public-domain/tz/dist/backward        up to 1.5
external/public-domain/tz/dist/backzone        up to 1.1.1.23
external/public-domain/tz/dist/calendars        up to 1.1.1.2
external/public-domain/tz/dist/checktab.awk    up to 1.1.1.11
external/public-domain/tz/dist/etcetera        up to 1.1.1.6
external/public-domain/tz/dist/europe          up to 1.1.1.34
external/public-domain/tz/dist/leap-seconds.list up to 1.4
external/public-domain/tz/dist/leapseconds      up to 1.4
external/public-domain/tz/dist/northamerica    up to 1.1.1.30
external/public-domain/tz/dist/southamerica    up to 1.1.1.20
external/public-domain/tz/dist/theory.html      up to 1.1.1.15
external/public-domain/tz/dist/version          up to 1.5
external/public-domain/tz/dist/ziguard.awk      up to 1.1.1.9
external/public-domain/tz/dist/zishrink.awk    up to 1.1.1.8
external/public-domain/tz/dist/zone.tab        up to 1.1.1.22
external/public-domain/tz/dist/zone1970.tab    up to 1.1.1.23
distrib/sets/lists/base/mi (apply patch)
doc/3RDPARTY (apply patch)

Update timezone data to 2022e.

(martin)

2022-10-20 11:38:21 UTC MAIN commitmail json YAML

Do what the comment says and reserve ranges that do and do not have the
"no-map" property.

Required for qemu/riscv

(skrll)

2022-10-20 07:18:11 UTC MAIN commitmail json YAML

Add the "memory" clobber in two places that it's needed.

(skrll)

2022-10-20 07:16:20 UTC MAIN commitmail json YAML

2022-10-20 07:13:45 UTC MAIN commitmail json YAML

Move the fdt_memory_remove_reserved call out of fdt_build_bootconfig

NFC.

(skrll)

2022-10-20 06:58:38 UTC MAIN commitmail json YAML

2022-10-20 06:47:29 UTC MAIN commitmail json YAML

2022-10-20 06:24:51 UTC MAIN commitmail json YAML

Add a KASSERT to check that tlb_asid_t is a large enough type.

(skrll)

2022-10-19 22:34:10 UTC MAIN commitmail json YAML

dwiic(4): Don't try processing interrupts before attach completes.

PR kern/57063

(riastradh)

2022-10-19 22:28:36 UTC MAIN commitmail json YAML

2022-10-19 21:28:03 UTC MAIN commitmail json YAML

PR/56836: Andrew Cagney: IPv6 ESN tunneling IPcomp has corrupt header

Always always send / expect CPI in IPcomp header

Fixes kern/56836 where an IPsec interop combining compression and
ESP|AH would fail.

Since fast ipsec, the outgoing IPcomp header has contained the
compression algorithm instead of the CPI.  Adding the
SADB_X_EXT_RAWCPI flag worked around this but ...

The IPcomp's SADB was unconditionally hashed using the compression
algorithm instead of the CPI.  This meant that an incoming packet with
a valid CPI could never match its SADB.

(christos)

2022-10-19 18:16:01 UTC MAIN commitmail json YAML

Deduplicate

(nia)

2022-10-19 15:01:24 UTC MAIN commitmail json YAML

Add AMD cpuid Fn8000_000a x2AVIC, VNMI and IBSVIRT from APM Vol. 3 Rev. 3.34.

(msaitoh)

2022-10-19 15:00:41 UTC MAIN commitmail json YAML

doc: Various recent changes

(nia)

2022-10-19 14:23:00 UTC MAIN commitmail json YAML

PR/57065: sergio lenzi: remove the default_md override, since 1.1 it is sha256

(christos)

2022-10-19 13:00:54 UTC MAIN commitmail json YAML

document more changes for openssh

(christos)

2022-10-19 11:54:35 UTC MAIN commitmail json YAML

2022-10-19 11:54:02 UTC MAIN commitmail json YAML

remove debugging sleep. Pointed out by rillig.

(christos)

2022-10-19 06:37:25 UTC MAIN commitmail json YAML

Fix typo. No functional change. OK'd by knakahara.

(msaitoh)

2022-10-19 06:10:44 UTC MAIN commitmail json YAML

2022-10-19 06:09:27 UTC MAIN commitmail json YAML

Fixes for lib/56926 amongst other things:
- plod now correctly accounts for wide characters when plodding
- use erase line when in color mode if the terminal has the capability
- ensure that the CA_CONTINUATION flag is applied consistently to the
  subsequent characters in a wide character.
- fix a bunch of refresh bugs that caused inconsistent placement of
  wide characters.

(blymn)

2022-10-18 19:04:57 UTC MAIN commitmail json YAML

only try the other methods if the previous ones failed.

fixes problem reported by ryoon@

(mrg)

2022-10-18 08:18:36 UTC MAIN commitmail json YAML

keep changed-how-generated files in the ${FILES} list.

(mrg)

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

add a note about a hack for the pkgconfig file.

(mrg)

2022-10-18 07:36:38 UTC MAIN commitmail json YAML

hack: add generated file as .pc.in to fix the build

(mrg)

2022-10-18 07:35:57 UTC MAIN commitmail json YAML

add fake file to find version.

XXX: we need a new solution to this as xorg moves further and
further away from autoconf to meson.

(mrg)

2022-10-18 07:33:15 UTC MAIN commitmail json YAML

avoid unnecessary Ns macro

(wiz)

2022-10-18 07:07:51 UTC MAIN commitmail json YAML

VSXLEN=64 supports 16-bit ASID space so change tlb_asid_t to be big
enough.  Spotted by Simon.

(skrll)

2022-10-18 06:46:51 UTC MAIN commitmail json YAML

Avoid sending banner (if configured) twice.  Apparent merge error.
Patch from RVP (issue noticed by John D. Baker).

(kre)

2022-10-18 06:44:43 UTC MAIN commitmail json YAML

Some fixes from Simon.

(skrll)

2022-10-18 04:39:38 UTC MAIN commitmail json YAML

Correct XSEGSHIFT for RV32 case

(skrll)

2022-10-18 04:24:54 UTC MAIN commitmail json YAML

2022-10-18 04:20:56 UTC MAIN commitmail json YAML

2022-10-18 02:31:39 UTC MAIN commitmail json YAML

Note that the exit status may be truncated to the least significant 8 bits.

(jschauma)

2022-10-17 18:51:35 UTC MAIN commitmail json YAML

remove evdev.extras.xml and evdev.xml from the list (build) generated files.

(mrg)

2022-10-17 18:41:06 UTC MAIN commitmail json YAML

add missing 'the'

(jschauma)

2022-10-17 11:20:30 UTC MAIN commitmail json YAML

Add "Emoji & Pictographs" character definitions from Unicode 15.0.0
(previously 10.0.0):

http://www.unicode.org/charts/

They are classified as PUNCT, which has been used for characters other
than blank, alphabetic, or digit ones.

Glyph widths are taken from "East Asian Width":

https://www.unicode.org/Public/15.0.0/ucd/EastAsianWidth.txt

Characters of "F" or "W" are classified to SWIDTH2, and others are to
SWIDTH1, as usual. See also:

https://www.unicode.org/reports/tr11/

XXX
It would be really nice if someone could check and update characters in
categories other than Emoji...

(rin)

2022-10-17 10:39:27 UTC MAIN commitmail json YAML

aq(4): Annotate boolean parameters with names for legibility.

No functional change intended.

(riastradh)

2022-10-17 10:39:01 UTC MAIN commitmail json YAML

aq(4): Unconditionally halt callout in aq_stop.

Fixes panic with callout still running on detach after we destroy the
lock, reported by andvar@:

fatal page fault in supervisor mode
trap type 6 code 0 rip 0xffffffff80dfafec cs 0x8 rflags 0x10286 cr2 0xfffffffffffffff0 ilevel 0x2 rsp 0xffffcd085b291ee0
Skipping crash dump on recursive panic
panic: trap
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x183
panic() at netbsd:panic+0x3c
trap() at netbsd:trap+0xb27
--- trap (number 6) ---
mutex_oncpu() at netbsd:mutex_oncpu+0x1e
mutex_vector_enter() at netbsd:mutex_vector_enter+0xb7
aq_tick() at netbsd:aq_tick+0x23
callout_softclock() at netbsd:callout_softclock+0xbd
softint_dispatch() at netbsd:softint_dispatch+0xf9
DDB lost frame for netbsd:Xsoftintr+0x4c, trying 0xffffcd085b2920f0
Xsoftintr() at netbsd:Xsoftintr+0x4c
--- interrupt ---
fa0b2181724b21c1:
cpu0: End traceback...

(riastradh)

2022-10-17 07:47:12 UTC MAIN commitmail json YAML

2022-10-17 07:40:23 UTC MAIN commitmail json YAML

2022-10-17 07:38:18 UTC MAIN commitmail json YAML

2022-10-17 07:03:19 UTC MAIN commitmail json YAML

Fix previous by using roundup (and not howmany).

(skrll)

2022-10-17 03:05:32 UTC MAIN commitmail json YAML

add pcie capability and read request size linux compat, some pci root support

implement support for:
- pcie_capability_read_dword()
- pcie_capability_read_word()
- pcie_capability_write_dword()
- pcie_capability_write_word()
- pcie_get_readrq()
- pcie_set_readrq()

implement the "struct pci_dev" bus->self member by creating a minimal fake
"struct pci_dev" for the pci bus itself.  this is kind of gross.  it checks
that the current device's parent is a netbsd "pci" device, and that it has
a (grand) parent "ppb" device, and then fills in the fake device based upon
the pci and ppb devices.

add some PCIE_LCSR2_TGT_LSPEED encodings, and map them to linux names.
map several other PCIE_LCSR and PCIE_LCAP names.

uncomment several pcie code segments in radeon and amdgpu.  (not sure that
we can test the amdgpu_si.c change, as we use the radeon version and the
amdgpu version hangs on the one machine i have.)

tested on amdgpu (RX550) and radeon (7750 & 3650).

ok @riastradh

(mrg)

2022-10-16 23:49:49 UTC MAIN commitmail json YAML

2022-10-16 23:38:02 UTC MAIN commitmail json YAML

2022-10-16 23:01:13 UTC MAIN commitmail json YAML

2022-10-16 22:48:18 UTC MAIN commitmail json YAML

2022-10-16 20:37:03 UTC MAIN commitmail json YAML

Add EINVAL doc from Jan Schaumann

(christos)

2022-10-16 17:23:40 UTC bouyer-sunxi-drm commitmail json YAML

sunxi_tcon1_set_videomode: use DRM_MODE_FLAGS_*

(bouyer)

2022-10-16 17:21:46 UTC bouyer-sunxi-drm commitmail json YAML

2022-10-16 17:11:05 UTC bouyer-sunxi-drm commitmail json YAML

Propagate videomode back to tcon

(bouyer)

2022-10-16 17:08:47 UTC bouyer-sunxi-drm commitmail json YAML

Abandon sunxi_lcdc for the A20, there's too much pieces missing.
Convert sunxi_tcon to drm. Actually it's connected to DRM only when
in LVDS mode; for HDMI sunxi_hdmi does the interface.

(bouyer)

2022-10-16 16:58:54 UTC MAIN commitmail json YAML

timed: fix typos in comments

(rillig)

2022-10-16 16:44:15 UTC MAIN commitmail json YAML

timed: fix typos in comments, remove trailing whitespace

(rillig)

2022-10-16 16:37:16 UTC MAIN commitmail json YAML

timed: remove unhandled getopt option -P

No functional change, due to 'opterr = 0'.

(rillig)

2022-10-16 16:26:35 UTC MAIN commitmail json YAML

mount_cd9660: remove unhandled option -i from getopt

Found by lint. While here, fix the other lint warning as well, as lint
still doesn't know that exit(3) doesn't return normally.

(rillig)

2022-10-16 15:21:00 UTC MAIN commitmail json YAML

Use complete cpu name strings for readability.

(tsutsui)

2022-10-16 15:16:12 UTC MAIN commitmail json YAML

Use a consistent pointer variable.  No functional change.

(tsutsui)

2022-10-16 14:56:04 UTC bouyer-sunxi-drm commitmail json YAML

2022-10-16 08:43:44 UTC MAIN commitmail json YAML

tlb_update_addr gets called with the KERNEL_PID (ASID) so handle this
case.

(skrll)

2022-10-16 06:19:16 UTC MAIN commitmail json YAML

Re-orgnaise a litte.  From Simon.

(skrll)

2022-10-16 06:14:54 UTC MAIN commitmail json YAML

2022-10-16 06:03:14 UTC MAIN commitmail json YAML

2022-10-16 05:56:50 UTC MAIN commitmail json YAML

2022-10-16 05:48:15 UTC MAIN commitmail json YAML

Fix after register re-org

(skrll)

2022-10-15 23:21:34 UTC MAIN commitmail json YAML

2022-10-15 21:53:22 UTC MAIN commitmail json YAML

fix various typos in documentation and comments.
mainly in words functionality, functional, function.

(andvar)

2022-10-15 21:19:15 UTC MAIN commitmail json YAML

tests/lint: add more examples for 'extra bits set to 0'

Seen in sys/external/bsd/compiler_rt/dist/lib/builtins/fp_lib.h:88.

(rillig)

2022-10-15 20:11:45 UTC MAIN commitmail json YAML

pci_resource(9): Fix whitespace.

(riastradh)

2022-10-15 20:11:01 UTC MAIN commitmail json YAML

pci_resource(9): vmem_create and vmem_add never fail with VM_SLEEP.

Prune dead error branches.

(riastradh)

2022-10-15 20:00:35 UTC MAIN commitmail json YAML

virtio(4): Use __BIT, not inline shift.

Reduces need for cast.

(riastradh)

2022-10-15 19:55:37 UTC MAIN commitmail json YAML

virtio(4): Use howmany from sys/param.h instead of open-coding it.

howmany will divide by VIRTIO_PAGE_SIZE instead of doing &
~(VIRTIO_PAGE_SIZE - 1), but it's a constant 4096 so this should make
no difference in the compiled output except possibly at -O0.

No functional change intended.

(riastradh)

2022-10-15 19:53:27 UTC MAIN commitmail json YAML

virtio(4): Sprinkle KNF.

No functional change intended.

(riastradh)

2022-10-15 19:51:04 UTC MAIN commitmail json YAML

2022-10-15 19:49:34 UTC MAIN commitmail json YAML

2022-10-15 18:59:31 UTC MAIN commitmail json YAML

2022-10-15 18:57:37 UTC MAIN commitmail json YAML

2022-10-15 18:42:49 UTC MAIN commitmail json YAML

Add PQUIRK_ONLYBIG for Oracle OCI BlockVolumes.

Oracle cloud BlockVolumes do not appear to support SCSI READ6 or WRITE6
commands, so set PQUIRK_ONLYBIG to avoid it here.

(jmcneill)

2022-10-15 18:32:31 UTC MAIN commitmail json YAML

2022-10-15 16:58:16 UTC MAIN commitmail json YAML

More register use re-org.

(skrll)

2022-10-15 16:34:29 UTC MAIN commitmail json YAML

Shuffle some register usage

(skrll)

2022-10-15 16:29:56 UTC MAIN commitmail json YAML

2022-10-15 16:20:32 UTC MAIN commitmail json YAML

Remove unnecessary register assignments

(skrll)

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

kobj(9): Rephrase kobj_load and kobj_affix positively.

Write error cases as branches, normal cases as straight-line code.

Side effect: One fewer call to kobj_jettison in case of error in
kobj_affix, but it already calls kobj_jettison once in the error case
via kobj_unload, which does kobj_jettison itself, and kobj_jettison
is idempotent.

No functional change intended.

(riastradh)

2022-10-15 15:27:20 UTC MAIN commitmail json YAML

kobj(9): Fix kobj_read_mem error branches.

Rewrite positively to simplify logic: Write errors as branches,
normal case as straight-line code.

In the case where allocate=true but arithmetic overflow occurs, this
avoids trying to kmem_free null, which is forbidden.

(riastradh)

2022-10-15 15:23:24 UTC MAIN commitmail json YAML

kobj(9): Avoid arithmetic overflow in overflow detection.

(riastradh)

2022-10-15 15:22:27 UTC MAIN commitmail json YAML

kobj(9): Forbid reading negative offsets.

Shouldn't have any functional change, but let's fail with EINVAL
rather than reading arbitrarily distant memory.

(riastradh)

2022-10-15 15:20:46 UTC MAIN commitmail json YAML

specfs(9): Attribute blame by stack trace for write to r/o medium.

(riastradh)

2022-10-15 15:20:06 UTC MAIN commitmail json YAML

i915: Suspend ioctls while device is suspended.

(riastradh)

2022-10-15 15:19:28 UTC MAIN commitmail json YAML

drm: New mechanism to suspend ioctls during system suspend.

drm drivers must opt into this by calling drm_suspend_ioctl in their
driver suspend routine, and drm_resume_ioctl in their driver resume
routine.

This is a stop-gap measure -- it would be better to fill in the
pm_runtime_* API with new pmf(9) hooks to acquire/release references
to devices for coordinating with suspend/resume, but getting the
details right is tricky, and this stop-gap is enough to get i915
suspend/resume to work reliably on my Kaby Lake laptop.  Rather than
wait until I've got all the details right, let's just go with this
stop-gap for now.

(riastradh)

2022-10-15 14:54:21 UTC MAIN commitmail json YAML

vmem(9): Clarify possible failure modes.

Note that vmem_alloc and vmem_xalloc have failure modes -- failing
with ENOMEM despite VM_SLEEP, or importing or sleeping forever --
that appear to be bugs when align/phase/nocross/minaddr/maxaddr are
specified.

(riastradh)

2022-10-15 14:03:16 UTC MAIN commitmail json YAML

Fix style and typo in comments. No binary changes.

(rin)

2022-10-15 11:31:40 UTC MAIN commitmail json YAML

2022-10-15 11:19:23 UTC MAIN commitmail json YAML

Add a boot option to disable EFI runtime services.

(jmcneill)

2022-10-15 11:07:39 UTC MAIN commitmail json YAML

2022-10-15 10:52:16 UTC netbsd-8 commitmail json YAML

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

share/man/man4/lm.4: revision 1.37
sys/dev/isa/wbsio.c: revision 1.28
sys/dev/ic/nslm7x.c: revision 1.78
sys/dev/isa/wbsioreg.h: revision 1.10

Add Nuvoton NCT6799D support.

(martin)

2022-10-15 10:45:40 UTC MAIN commitmail json YAML

2022-10-15 10:35:16 UTC netbsd-8 commitmail json YAML

2022-10-15 10:33:42 UTC netbsd-8 commitmail json YAML

Pull up the following (via patch), requested by msaitoh in ticket #1776:

sys/dev/pci/ichsmb.c 1.76-1.77

Add Intel 600 Series PCH support.

(martin)

2022-10-15 10:31:45 UTC netbsd-9 commitmail json YAML

2022-10-15 10:29:40 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/ichsmb.c 1.76-1.77

Add Intel 600 Series PCH support.

(martin)

2022-10-15 10:20:32 UTC netbsd-9 commitmail json YAML

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

sys/dev/tprof/tprof_x86_intel.c: revision 1.4
usr.sbin/tprof/arch/tprof_x86.c: revision 1.10
usr.sbin/tprof/arch/tprof_x86.c: revision 1.11
usr.sbin/tprof/arch/tprof_x86.c: revision 1.12

Fix typo in a comment.

Use CPUID_PERF_* macros defined in specialreg.h. No functional change.

Add topdown-slots to Intel architectural performance monitoring version 1.

Disable the unsupported events from the bit vector length in EAX.

(martin)

2022-10-15 10:16:08 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/include/specialreg.h: revision 1.189
usr.sbin/cpuctl/arch/i386.c: revision 1.128
sys/arch/x86/include/specialreg.h: revision 1.190
sys/arch/x86/include/specialreg.h: revision 1.191
sys/arch/x86/include/specialreg.h: revision 1.192

s/shareing/sharing/. No functional change.

Add top-down slots event bit of architectural performance monitoring leaf.

Modify CPUID Fn0000000a %ebx's string. Add new string for %ecx.

Modify output of CPUID Fn0000000a.
old:
cpu0: Perfmon-eax 0x8300805<VERSION=0x5,GPCounter=0x8,GPBitwidth=0x30>
cpu0: Perfmon-eax 0x8300805<Vectorlen=0x8>
cpu0: Perfmon-edx 0x8604<FixedFunc=0x4,FFBitwidth=0x30,ANYTHREADDEPR>
new:
cpu0: Perfmon: Ver. 5
cpu0: Perfmon: General: bitwidth 48, 8 counters
cpu0: Perfmon: General: avail 0xff<CORECYCL,INST,REFCYCL,LLCREF,LLCMISS,BRINST>
cpu0: Perfmon: General: avail 0xff<BRMISPR,TOPDOWNSLOT>
cpu0: Perfmon: Fixed: bitwidth 48, 4 counters
cpu0: Perfmon: Fixed: avail 0xf<INST,CLK_CORETHREAD,CLK_REF_TSC,TOPDOWNSLOT>

Update some AMD CPUID bits:
- Rename FSREP_MOV to FSRM.
- Add Memory Bandwidth Enforcement (MBE)
- Add AMD's PPIN. Rename CPUID_SEF_PPIN to CPUID_SEF_INTEL_PPIN.
- Add Collaborative Processor Performance Control (CPPC).
- Add HOST_MCE_OVERRIDE.
- Add some unknown bits as Bxx.
- Add comments.
- Use __BIT().

(martin)

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

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

sys/arch/x86/include/specialreg.h: revision 1.189
sys/dev/nvmm/x86/nvmm_x86.c: revision 1.23
usr.sbin/cpuctl/arch/i386.c: revision 1.128
sys/arch/x86/include/specialreg.h: revision 1.190
sys/arch/x86/include/specialreg.h: revision 1.191
sys/arch/x86/include/specialreg.h: revision 1.192

s/shareing/sharing/. No functional change.

Add top-down slots event bit of architectural performance monitoring leaf.

Modify CPUID Fn0000000a %ebx's string. Add new string for %ecx.

Modify output of CPUID Fn0000000a.
old:
cpu0: Perfmon-eax 0x8300805<VERSION=0x5,GPCounter=0x8,GPBitwidth=0x30>
cpu0: Perfmon-eax 0x8300805<Vectorlen=0x8>
cpu0: Perfmon-edx 0x8604<FixedFunc=0x4,FFBitwidth=0x30,ANYTHREADDEPR>
new:
cpu0: Perfmon: Ver. 5
cpu0: Perfmon: General: bitwidth 48, 8 counters
cpu0: Perfmon: General: avail 0xff<CORECYCL,INST,REFCYCL,LLCREF,LLCMISS,BRINST>
cpu0: Perfmon: General: avail 0xff<BRMISPR,TOPDOWNSLOT>
cpu0: Perfmon: Fixed: bitwidth 48, 4 counters
cpu0: Perfmon: Fixed: avail 0xf<INST,CLK_CORETHREAD,CLK_REF_TSC,TOPDOWNSLOT>

Update some AMD CPUID bits:
- Rename FSREP_MOV to FSRM.
- Add Memory Bandwidth Enforcement (MBE)
- Add AMD's PPIN. Rename CPUID_SEF_PPIN to CPUID_SEF_INTEL_PPIN.
- Add Collaborative Processor Performance Control (CPPC).
- Add HOST_MCE_OVERRIDE.
- Add some unknown bits as Bxx.
- Add comments.
- Use __BIT().

(martin)

2022-10-15 09:45:54 UTC netbsd-9 commitmail json YAML

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

share/man/man4/lm.4: revision 1.37
sys/dev/isa/wbsio.c: revision 1.28
sys/dev/ic/nslm7x.c: revision 1.78
sys/dev/isa/wbsioreg.h: revision 1.10

Add Nuvoton NCT6799D support.

Add NCT679[89] to the supported list.

(martin)

2022-10-15 06:53:49 UTC MAIN commitmail json YAML

Fix typo in SATP_MODE_SV64

(skrll)

2022-10-15 06:52:35 UTC MAIN commitmail json YAML

Consistency nit: use "__volatile" instead of "volatile" with asm()s.

(simonb)

2022-10-15 06:48:31 UTC MAIN commitmail json YAML

Add SATP modes for bare, SV57 and SV64.

(simonb)

2022-10-15 06:46:41 UTC MAIN commitmail json YAML

Use __volatile so the compiler doesn't optimise out successive calls
to cpu_counter().
Add a 64-bit cycle counter on _LP64.

(simonb)

2022-10-15 06:41:44 UTC MAIN commitmail json YAML

2022-10-15 06:07:04 UTC MAIN commitmail json YAML

2022-10-15 05:55:46 UTC MAIN commitmail json YAML

ldd(1): add a -v option to display all errors not just the latest.

ldd on a go binary currently fails with an error that basically
says "not elf32 class".  this is a true statement, as it is an
elf64 class object, but it's not useful.  it happens because
ldd_elf64() is called, fails in _rtld_map_object(), and then
ldd_elf32() is called, and it fails because the class is wrong,
and only this error is returned.  (this problem remains.  the
call to map the object fails due to there being 3 instead of 2
elf segments in the file.  i guess we need similar code in
ld.elf_so/map_objects.c as the kernel gained some time ago.)

perhaps the first error, not the last error, should be used if
everything fails, but this allows all failures to be see and
would be useful even if the error string handling changed.

(mrg)

2022-10-15 04:47:37 UTC MAIN commitmail json YAML

DHT Walnut: Fix failure to attach on-board pdcide(4) for cold boot.

U-Boot seems to initialize pdcide(4) to compatible mode. Therefore, we
need to reinitialize it to native-PCI mode in pci_conf_hook(). Otherwise,
we will fail to configure IO registers for native-PCI mode during
PCI_NETBSD_CONFIGURE.

(rin)

2022-10-14 22:10:16 UTC MAIN commitmail json YAML

Add a PCI resource manager and use it on Arm ACPI platforms.

The Arm ACPI code relied on PCI_NETBSD_CONFIGURE to configure devices that
were not enabled by system firmware. This is not safe to do unless the
firmware explicitly permits it using a device specific method defined in
the PCI firmware spec.

Introduce a new PCI resource manager that discovers what has already been
configured by firmware and allocates from the remaining space. This will
ensure that devices setup by firmware are untouched and only will program
BARs of devices that are not enabled at boot time.

The current implementation assumes that the parent PCI-PCI bridge's
are already configured. A worthwhile improvement in the future would be
to support programming windows for bridges that are not fully configured.

(jmcneill)

2022-10-14 19:43:36 UTC MAIN commitmail json YAML

2022-10-14 19:42:14 UTC MAIN commitmail json YAML

- Since the example is for a cpu, use MACHINE_CPU instead of MACHINE_ARCH.
- In some cpu, it is necessary to use GOT to make it a PIE,
  which are too complicated as examples, so MKPIE=no by default.

(ryo)

2022-10-14 19:41:18 UTC MAIN commitmail json YAML

2022-10-14 19:39:32 UTC MAIN commitmail json YAML

Avoid error of "-Wreturn-local-addr", and simplify the logic.

However, -Wreturn-local-addr is still disabled by default by GCC_NO_RETURN_LOCAL_ADDR
in bsd.own.mk because it causes errors in other parts.

(ryo)

2022-10-14 08:10:22 UTC MAIN commitmail json YAML

2022-10-14 07:58:30 UTC MAIN commitmail json YAML

2022-10-14 07:54:49 UTC MAIN commitmail json YAML

2022-10-14 07:44:28 UTC MAIN commitmail json YAML

zlib-1.2.13 is out, fixing CVE-2022-37434

(wiz)

2022-10-14 07:13:59 UTC MAIN commitmail json YAML

NKMEMPAGES_{MIN,MAX}_DEFAULT should be in pages.

(skrll)

2022-10-13 23:11:31 UTC MAIN commitmail json YAML

xz 5.2.7 out.

(wiz)

2022-10-13 11:27:52 UTC MAIN commitmail json YAML

Update dzdata to 2022e (2022egtz).

(kre)

2022-10-13 11:25:52 UTC MAIN commitmail json YAML

2022-10-13 06:10:48 UTC MAIN commitmail json YAML

s/exaple/example/

(andvar)

2022-10-12 20:50:43 UTC MAIN commitmail json YAML

2022-10-12 19:50:29 UTC MAIN commitmail json YAML

2022-10-12 18:36:02 UTC MAIN commitmail json YAML

fix logging function which should have used function pointer (jlduran at github)

(christos)

2022-10-12 18:34:43 UTC MAIN commitmail json YAML

From pjuran at github:
- Be quiet
- Kill active tcp connections from the blocked address
- Fix purge operation for pf, which must dynamically determine which filters
  have been created, so the filters can be flushed by name.

(christos)

2022-10-12 14:46:17 UTC MAIN commitmail json YAML

Revert previous commit.

"Withdrawal of OpenSSL 3.0.6 and 1.1.1r"

https://mta.openssl.org/pipermail/openssl-announce/2022-October/000237.html

(taca)

2022-10-12 12:50:02 UTC MAIN commitmail json YAML

set AHCI_QUIRK_EXTRA_DELAY for ASMedia ASM1061 - now it reliably attaches old
1.5GBit/s only disks

(macallan)

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

Use macros. No functional change.

(msaitoh)

2022-10-12 10:25:41 UTC MAIN commitmail json YAML

Add CPUID Fn8000_001e Processor Topology Information.

(msaitoh)

2022-10-12 07:56:46 UTC MAIN commitmail json YAML

"options<space><tab>"

(simonb)

2022-10-12 07:53:56 UTC MAIN commitmail json YAML

Nuke funny trailing whitespace.

(simonb)

2022-10-12 07:53:15 UTC MAIN commitmail json YAML

Set RISCV_DIRECTMAP_SIZE to 2^64-PAGESIZE, since 2^64 is effectively 0
for a 64bit constant.
Bump VM_PHYSSEG_MAX from 1 to 16.

(simonb)

2022-10-12 07:50:57 UTC MAIN commitmail json YAML

Fix a tyop regname in a comment.

(simonb)

2022-10-12 07:50:00 UTC MAIN commitmail json YAML

NKMEMPAGES_MIN_DEFAULT is in pages not bytes (hint is in the name).
Also set NKMEMPAGES_MAX_UNLIMITED while we're here.

(simonb)

2022-10-11 22:03:37 UTC MAIN commitmail json YAML

fix typos in log messages s/bus_dmamem_create/bus_dmamap_create/ and
s/bus_dmamem_load/bus_dmamap_load/.
Inspired by recent similar fixes in OpenBSD.

(andvar)

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

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

Pull up following revision(s) (requested by is in ticket #1540):

usr.bin/skey/skeyaudit.sh: revision 1.5

We removed Mail before branching netbsd-9

(martin)

2022-10-11 18:24:18 UTC netbsd-8 commitmail json YAML

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

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

share/man/man4/man4.x86/amdsmn.4 1.4,1.5
share/man/man4/man4.x86/amdzentemp.4 1.7
sys/arch/x86/pci/amdsmn.c 1.7-1.9,1.13,1.14
sys/arch/x86/pci/amdzentemp.c 1.8-1.10,1.12-1.15

adjust for possible 49K offset

presence of this offset is indicated by a set 19th bit which is shifted away
this brings the temperature to "normal" levels on my ryzen 2700
(I assumed the same 49K offset as the k10temp project)

correct for known temperature bias values.

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.

XXX: Some code duplication between this driver and amdtemp as
    parts of the 15h refresh code share more in common with
    older CPUs while accessing the device more like 17h.

Don't mix sign and unsigned operands. Just use size_t for the loop.

Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.

amdzentemp(4): Add Zen 3 support.

amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD.

Fix build failure on i386.

Rename for AMD F15/6X device. No functional change.
amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.

Note that these drivers are present on some newer AMD Family 15h
processors.

amdsmn.4: Now support AMD Family 19h processors.

(martin)

2022-10-11 18:16:21 UTC netbsd-9 commitmail json YAML

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

share/man/man4/man4.x86/amdsmn.4: revision 1.5
sys/arch/x86/pci/amdsmn.c: revision 1.14
sys/arch/x86/pci/amdzentemp.c: revision 1.12-1.15

amdzentemp(4): Add Zen 3 support.

amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD.

Fix build failure on i386.

amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.

amdsmn.4: Now support AMD Family 19h processors.

(martin)

2022-10-11 18:07:11 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/include/cpu_ucode.h: revision 1.5
sys/arch/x86/x86/cpu_ucode_intel.c: revision 1.19
sys/arch/x86/x86/cpu_ucode_intel.c: revision 1.20

Add missing newline in a message. KNF.
Verify checksum of the extended signature table.

(martin)

2022-10-11 18:05:44 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1538):
sys/arch/x86/include/cpu_ucode.h: revision 1.5
sys/arch/x86/x86/cpu_ucode_intel.c: revision 1.19
sys/arch/x86/x86/cpu_ucode_intel.c: revision 1.20
Add missing newline in a message. KNF.
Verify checksum of the extended signature table.

(martin)

2022-10-11 17:59:12 UTC netbsd-8 commitmail json YAML

2022-10-11 17:57:17 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcidevs 1.1461-1.1468 via patch

- Add several samsung nvme entries.
- Add more Alder Lake devices.
- Jasper Lake Intel Trace Hub on Compute Die is not 0x4da6 but 0x4e29.
- Add Intel Core 8G (8core, H, Halo) Host Bridge, DRAM.
- Add AMD 19h/6xh Root Complex.
- Add AMD FCH SATA Controller D.
- Add NVIDIA GeForce GTX 770.
- Sort by number.

(martin)

2022-10-11 17:51:46 UTC netbsd-9 commitmail json YAML

2022-10-11 17:49:35 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/pci/imcsmb/imc.c: revision 1.5
sys/dev/pci/pcidevs: revision 1.1461-1.1468

add several samsung nvme entries

Add more Alder Lake devices.

Jasper Lake Intel Trace Hub on Compute Die is not 0x4da6 but 0x4e29.

Add Intel Core 8G (8core, H, Halo) Host Bridge, DRAM.

Sort by number. No functional change.

Add AMD 19h/6xh Root Complex.

Add AMD FCH SATA Controller D

add NVIDIA GeForce GTX 770

Fix compile error.

(martin)

2022-10-11 15:59:38 UTC MAIN commitmail json YAML

We removed Mail before branching netbsd-9

(is)

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

New OpenSSL 1.1.1r/3.0.6.

(taca)

2022-10-11 11:01:17 UTC MAIN commitmail json YAML

KNF a bit. No functional change.

(msaitoh)

2022-10-11 09:55:21 UTC MAIN commitmail json YAML

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

Add parser sadb_x_policy_flags to libipsec/key_debug.

(knakahara)

2022-10-11 09:52:50 UTC MAIN commitmail json YAML

Welcome to 9.99.101

    - changed struct sadb_x_policy in pfkeyv2.h

(knakahara)

2022-10-11 09:51:47 UTC MAIN commitmail json YAML

Add sadb_x_policy_flags to inform SP origination.

This extension(struct sadb_x_policy) is *not* defined by RFC2367.

OpenBSD does not have reserved fields in struct sadb_x_policy.
Linux does not use this field yet.
FreeBSD uses this field as "sadb_x_policy_scope"; the value range is
from 0x00 to 0x04.

We use from most significant bit to avoid the above usage.

(knakahara)

2022-10-11 09:30:46 UTC MAIN commitmail json YAML

"Add" number of ports because the same speed's ECR may appear multiple times.

(msaitoh)

2022-10-11 09:18:22 UTC MAIN commitmail json YAML

There is an xHCI device which has USB 2 port only. Support it.

- Example:

xhci4 at pci17 dev 0 function 0: AMD product 15b8 (rev. 0x00)
xhci4: 64-bit DMA
allocated pic msix10 type edge pin 0 level 6 to cpu0 slot 32 idt entry 107
xhci4: interrupting at msix10 vec 0
xhci4: xHCI version 1.20
xhci4: hcs1=1000840 hcs2=140000f1 hcs3=7000a
xhci4: hcc=0x110ffc5<XECP=0x110,MAXPSA=0xf,CFC,SEC,SPC,PAE,NSS,LTC,CSZ,AC64>
xhci4: xECP 440
xhci4: hcc2=0x3f<CIC,LEC,CTC,FSC,CMC,U3C>
xhci4: ECR: 0x00000401
xhci4: ECR: 0x02000402
xhci4:  SP: 0x02000402 0x20425355 0x00180101 0x00000000
xhci4:  hs ports 1 - 1
xhci4: ECR: 0x000f000a
xhci4: PAGESIZE 0x00000001
xhci4: sc_pgsz 0x00001000
xhci4: sc_maxslots 0x00000040
xhci4: sc_maxports 1
xhci4: sc_maxspbuf 2
xhci4: eventst: 0x000000013ee60fc0 0xffffb08826f5afc0 1000
xhci4: dcbaa: 0x000000013ee63000 0xffffb08826f5b000 1000
xhci4: current IMOD 0
(snip)
usb8 at xhci4: USB revision 3.1
usb9 at xhci4: USB revision 2.0
uhub8 at usb8: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
uhub8: 0 ports with 0 removable, self powered
uhub8: no ports, hub ignored
uhub8: WARNING: power management not supported
autoconfiguration error: usb8: root device is not a hub
usb8: WARNING: power management not supported
uhub9 at usb9: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
uhub9: 1 port with 1 removable, self powered

- To resolve this problem, keep number of ports of SS and HS and use
  it to attach child device(s).
- Tested on ASUS TUF GAMING X670E-PLUS.
- OK'd by skrll@.

(msaitoh)

2022-10-11 02:58:52 UTC MAIN commitmail json YAML

doc: NCT6799D support

(msaitoh)

2022-10-11 02:54:14 UTC MAIN commitmail json YAML

Add NCT679[89] to the supported list.

(msaitoh)

2022-10-10 21:17:26 UTC MAIN commitmail json YAML

make: change return type of unlink_file back to int

As unlink_file is a wrapper around unlink, use the same encoding for the
possible return values as in the wrapped function.  This consistency is
more important than expressing all possible return values in the return
type 'bool'.

https://mail-index.netbsd.org/tech-toolchain/2022/10/06/msg004155.html

No functional change.

(rillig)

2022-10-10 18:30:28 UTC MAIN commitmail json YAML

ETHERCAP_VLAN_MTU does not go into ifp->if_capabilities but ethercom
ec_capabilities instead.

(martin)

2022-10-10 17:33:35 UTC MAIN commitmail json YAML

make: document the guard for directories in unlink_file

Document only the POSIX requirement for now, as I didn't find
information about _which_ ancient UNIX systems would corrupt the
filesystem on unlinking a directory.

http://man.cat-v.org/unix-1st/2/sys-unlink (1971) says:
> It is also illegal to unlink a directory (except for the super-user).

https://mail-index.netbsd.org/tech-toolchain/2022/10/06/msg004147.html

(rillig)

2022-10-10 16:09:13 UTC netbsd-8 commitmail json YAML

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

sys/net/if_ethersubr.c: revision 1.254

Fix a bug in the VLAN path: there's an inverted logic, the mbuf needs to
be bigger than struct ether_vlan_header, not smaller.

Meanwhile add a KASSERT in the LLC path.

(martin)

2022-10-10 15:11:45 UTC netbsd-8 commitmail json YAML

2022-10-10 15:04:31 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/x86/ioapic.c: revision 1.66
sys/arch/x86/include/i82093reg.h: revision 1.7

Print detail about misconfigured APIC ID.

IOAPIC_ID_MASK is 8 bits these days. Fixes PR kern/54276.

(martin)

2022-10-10 15:03:40 UTC netbsd-9 commitmail json YAML

2022-10-10 15:02:51 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/x86/ioapic.c: revision 1.66
sys/arch/x86/include/i82093reg.h: revision 1.7

Print detail about misconfigured APIC ID.

IOAPIC_ID_MASK is 8 bits these days. Fixes PR kern/54276.

(martin)

2022-10-09 21:43:46 UTC MAIN commitmail json YAML