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

2024-05-10 08:10:34 UTC Now

2023-01-08 09:56:11 UTC MAIN commitmail json YAML

set -D_CONST_X_STRING for new xfd.

(mrg)

2023-01-08 09:55:38 UTC MAIN commitmail json YAML

set -DHAVE_STRLCPY -DHAVE_STRLCAT for new lndir.

(mrg)

2023-01-08 09:19:55 UTC MAIN commitmail json YAML

2023-01-08 09:10:58 UTC MAIN commitmail json YAML

handle .pc updates.  prepare to enable uuid support.

(mrg)

2023-01-08 09:09:45 UTC MAIN commitmail json YAML

2023-01-08 08:52:49 UTC MAIN commitmail json YAML

2023-01-08 06:08:06 UTC MAIN commitmail json YAML

2023-01-08 06:04:44 UTC MAIN commitmail json YAML

handle @LIBBSD_LIBS@ in the new .pc file.

(mrg)

2023-01-08 06:03:45 UTC MAIN commitmail json YAML

2023-01-08 05:25:25 UTC MAIN commitmail json YAML

ufs: more signed/unsigned fixes

Fix the previous signed/unsigned fixes to build on 32-bit,
including applying this commit from FreeBSD:

  commit 2d34afcd04207cf3fa3d5b7f467a890eae75da41
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:  Sun Oct 25 21:04:07 2020 +0000

    Use proper type (ino_t) for inode numbers to avoid improper sign extention
    in the Pass 5 checks. The manifestation was fsck_ffs exiting with this error:

      ** Phase 5 - Check Cyl groups
      fsck_ffs: inoinfo: inumber 18446744071562087424 out of range

    The error only manifests itself for filesystems bigger than about 100Tb.

    Reported by:  Nikita Grechikhin <ngrechikhin at yandex.ru>
    MFC after:    2 weeks
    Sponsored by: Netflix

(chs)

2023-01-08 00:25:44 UTC MAIN commitmail json YAML

bump xorg-server version here.

(mrg)

2023-01-08 00:24:52 UTC MAIN commitmail json YAML

2023-01-07 19:41:30 UTC MAIN commitmail json YAML

ufs: fixed signed/unsigned bugs affecting large file systems

Apply these commits from FreeBSD:

  commit e870d1e6f97cc73308c11c40684b775bcfa906a2
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:  Wed Feb 10 20:10:35 2010 +0000

    This fix corrects a problem in the file system that treats large
    inode numbers as negative rather than unsigned. For a default
    (16K block) file system, this bug began to show up at a file system
    size above about 16Tb.

    To fully handle this problem, newfs must be updated to ensure that
    it will never create a filesystem with more than 2^32 inodes. That
    patch will be forthcoming soon.

    Reported by: Scott Burns, John Kilburg, Bruce Evans
    Followup by: Jeff Roberson
    PR:          133980
    MFC after:  2 weeks

  commit 81479e688b0f643ffacd3f335b4b4bba460b769d
  Author: Kirk McKusick <mckusick@FreeBSD.org>
  Date:  Thu Feb 11 18:14:53 2010 +0000

    One last pass to get all the unsigned comparisons correct.

In additional to the changes from FreeBSD, this commit includes quite a few
related changes to appease -Wsign-compare.

(chs)

2023-01-07 15:04:02 UTC netbsd-9 commitmail json YAML

2023-01-07 15:02:38 UTC netbsd-9 commitmail json YAML

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

sys/arch/mac68k/conf/INSTALL: revision 1.58

Disable (comment out) options DIAGNOSTIC in INSTALL kernels.

It has been there since the initial revision 1.1 while
it was disabled in GENERIC in revision 1.121 back in 2002.

Briefly discussed in PR/57107

(martin)

2023-01-07 15:02:00 UTC netbsd-10 commitmail json YAML

2023-01-07 15:00:54 UTC netbsd-10 commitmail json YAML

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

sys/arch/mac68k/conf/INSTALL: revision 1.58

Disable (comment out) options DIAGNOSTIC in INSTALL kernels.

It has been there since the initial revision 1.1 while
it was disabled in GENERIC in revision 1.121 back in 2002.

Briefly discussed in PR/57107

(martin)

2023-01-07 15:00:04 UTC MAIN commitmail json YAML

Mention igpio(4) update.

(msaitoh)

2023-01-07 14:57:55 UTC netbsd-9 commitmail json YAML

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

sys/arch/m68k/m68k/bus_dma.c: revision 1.39

Fix out of bounds invalidate (and writeback) in bus_dmamap_sync(9) ops.

Detected by the POOL_REDZONE check in sys/kern/subr_pool.c that
has been activated if options DIAGNOSTIC is enabled on post netbsd-9.

The extra invalidate on DMASYNC_PREREAD op discards redzone pattern
data allocated right after an mbuf cluster without proper writeback
to memory so that it triggers false redzone assertions on freeing mbufs.

This bug was my botch in rev 1.25 committed 15 years ago. (sigh)

Fixes PR/57107 (kernel panic on -current when configuring network
with sn(4) on mac68k), as actually the bus_dma(9) op changes
in the past days were introduced for mac68k sn(4) improvements
by using the MI SONIC (src/sys/dev/ic/dp83932.c) driver.

https://mail-index.netbsd.org/port-mac68k/2007/06/01/0001.html

(martin)

2023-01-07 14:56:44 UTC netbsd-10 commitmail json YAML

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

sys/arch/m68k/m68k/bus_dma.c: revision 1.39

Fix out of bounds invalidate (and writeback) in bus_dmamap_sync(9) ops.

Detected by the POOL_REDZONE check in sys/kern/subr_pool.c that
has been activated if options DIAGNOSTIC is enabled on post netbsd-9.

The extra invalidate on DMASYNC_PREREAD op discards redzone pattern
data allocated right after an mbuf cluster without proper writeback
to memory so that it triggers false redzone assertions on freeing mbufs.

This bug was my botch in rev 1.25 committed 15 years ago. (sigh)

Fixes PR/57107 (kernel panic on -current when configuring network
with sn(4) on mac68k), as actually the bus_dma(9) op changes
in the past days were introduced for mac68k sn(4) improvements
by using the MI SONIC (src/sys/dev/ic/dp83932.c) driver.

https://mail-index.netbsd.org/port-mac68k/2007/06/01/0001.html

(martin)

2023-01-07 13:56:21 UTC MAIN commitmail json YAML

igpio.4: Update list of supported devices.

(msaitoh)

2023-01-07 11:15:00 UTC MAIN commitmail json YAML

igpio: Update pin definitions.

- Add Ice Lake-N(INT34C3)
- Add Raptor Lake-S(INTC1085).
- Add another Baytrail(INT33FC).
- Modify INTC1057. It was for Tiger Lake-LP and reused for Alder Lake-N.
- Fix pin group definitions for Sunrisepoint-LP, Tiger Lake-LP, Tiger Lake-H,
  Alder Lake-P and Lewisburg.
- Modify pin group names for Coffee Lake-S, Sunrisepoint-H, Cannon Lake-LP
  and Denverton.
- Add two missing entries to Ice Lake-LP's pin group table.
- Modify comment. INT3455 is Ice Lake-LP.
- Add comment.

(msaitoh)

2023-01-07 11:09:52 UTC MAIN commitmail json YAML

Move entries of Alder Lake-S and Tiger Lake-LP. No functional change.

(msaitoh)

2023-01-07 08:00:50 UTC MAIN commitmail json YAML

Whitespace. No functional change.

(msaitoh)

2023-01-07 03:27:02 UTC MAIN commitmail json YAML

Whitespace. No functional change.

(msaitoh)

2023-01-07 03:22:02 UTC MAIN commitmail json YAML

Modify comment. Whitespace. No functional change.

(msaitoh)

2023-01-07 02:13:06 UTC MAIN commitmail json YAML

One more fix for Lewisburg.

(msaitoh)

2023-01-07 00:39:21 UTC MAIN commitmail json YAML

Fix entries for Lewisburg.

(msaitoh)

2023-01-06 19:02:02 UTC MAIN commitmail json YAML

Define yes as extern veriable to fix build

PR bin/57164 is insufficient.

(ryoon)

2023-01-06 18:19:27 UTC MAIN commitmail json YAML

When matching real partitions to "wanted" install descriptions, skip
all types of special partitions (like raw disk, or the MBR container
partition for the NetBSD part of the disk).
The start of the partition is no unique identifier if we include these
in the matching (e.g. boot partition and raw partition may both start
at sector 0).

(martin)

2023-01-06 18:14:56 UTC MAIN commitmail json YAML

PR 55058: force the boot partition to sd0d, so our root partitions becomes
sd0a again.

(martin)

2023-01-06 18:13:40 UTC MAIN commitmail json YAML

cosmetics: fix indentation

(martin)

2023-01-06 17:18:56 UTC MAIN commitmail json YAML

PR/57166: John Dundas: Correct error code byte order in error message

(christos)

2023-01-06 17:13:46 UTC MAIN commitmail json YAML

2023-01-06 17:06:33 UTC MAIN commitmail json YAML

we don't copy ldscripts for i386 (why though?)

(christos)

2023-01-06 15:48:29 UTC MAIN commitmail json YAML

Now that the default page size is 4K again for x86_64 with the binutils
change to default to -z separate-code, remove the previous hack.

(christos)

2023-01-06 15:47:39 UTC MAIN commitmail json YAML

2023-01-06 15:35:06 UTC MAIN commitmail json YAML

Explicitly set -z noseparate-code because the default is about to change
and the boot blocks might not be able to load binaries with more than two
PT_LOAD sections.

(christos)

2023-01-06 15:33:48 UTC MAIN commitmail json YAML

Remove the limitation of only being able to load binaries with 2 PT_LOAD
sections, like the kernel can. From FreeBSD.

(christos)

2023-01-06 15:07:23 UTC MAIN commitmail json YAML

Minor fix calculating the remaining buffer size for partition flags.

(martin)

2023-01-06 15:05:52 UTC MAIN commitmail json YAML

Provide a disklabel specific MD hook MD_DISKLABEL_PART_INDEX_CHECK
to allow MD code to veto specific disklabel partitions for specific
uses, e.g. to make sure a boot partition does not end up as sd0a.
Most architectures won't need this, as the file system type makes
the generic heuristic do the right thing (e.g. move the ESP to wd0e
for x86) - but for some architectures the boot partition uses FFS
and our heuristic fails.

(martin)

2023-01-06 13:58:10 UTC netbsd-10 commitmail json YAML

2023-01-06 13:54:58 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #38):

sys/net/if_tap.c: revision 1.128

tap: link up an interface cloned from /dev/tap

Fix PR 57155 (partially)

(martin)

2023-01-06 13:52:44 UTC netbsd-8 commitmail json YAML

2023-01-06 13:50:03 UTC netbsd-8 commitmail json YAML

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

lib/libc/gen/err.3: revision 1.23

Add errc() and verrc() to the list of functions which do not return,
but exit() instead.

This was omitted when the *c() set of functions were added in 2014.

(martin)

2023-01-06 13:47:37 UTC netbsd-9 commitmail json YAML

2023-01-06 13:46:22 UTC netbsd-9 commitmail json YAML

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

lib/libc/gen/err.3: revision 1.23

Add errc() and verrc() to the list of functions which do not return,
but exit() instead.

This was omitted when the *c() set of functions were added in 2014.

(martin)

2023-01-06 13:44:41 UTC netbsd-10 commitmail json YAML

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

lib/libc/gen/err.3: revision 1.23

Add errc() and verrc() to the list of functions which do not return,
but exit() instead.

This was omitted when the *c() set of functions were added in 2014.

(martin)

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

2023-01-06 01:54:23 UTC MAIN commitmail json YAML

tap: link up an interface cloned from /dev/tap

Fix PR 57155 (partially)

(ozaki-r)

2023-01-05 20:32:19 UTC MAIN commitmail json YAML

centralize the kauth ugliness.

(christos)

2023-01-05 18:48:13 UTC MAIN commitmail json YAML

Disable (comment out) options DIAGNOSTIC in INSTALL kernels.

It has been there since the initial revision 1.1 while
it was disabled in GENERIC in revision 1.121 back in 2002:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/mac68k/conf/GENERIC#rev1.121

Briefly discussed in PR/57107, and maybe should be pulled up to
netbsd-9 and netbsd-10.

(tsutsui)

2023-01-05 18:29:46 UTC MAIN commitmail json YAML

wg(4): Allow non-root to retrieve information other than the private
key and the peer preshared key.

Add kauth(9) enums for wg(4) and add use them in suser secmodel.

Refines fix for PR 57161.

(jakllsch)

2023-01-05 18:27:48 UTC MAIN commitmail json YAML

Fix out of bounds invalidate (and writeback) in bus_dmamap_sync(9) ops.

Detected by the POOL_REDZONE check in sys/kern/subr_pool.c that
has been activated if options DIAGNOSTIC is enabled on post netbsd-9.
The extra invalidate on DMASYNC_PREREAD op discards redzone pattern
data allocated right after an mbuf cluster without proper writeback
to memory so that it triggers false redzone assertions on freeing mbufs.
This bug was my botch in rev 1.25 committed 15 years ago. (sigh)

Fixes PR/57107 (kernel panic on -current when configuring network
with sn(4) on mac68k), as actually the bus_dma(9) op changes
in the past days were introduced for mac68k sn(4) improvements
by using the MI SONIC (src/sys/dev/ic/dp83932.c) driver.
https://mail-index.netbsd.org/port-mac68k/2007/06/01/0001.html

Should be pulled up to netbsd-9 and netbsd-10.

(tsutsui)

2023-01-05 17:36:53 UTC MAIN commitmail json YAML

2023-01-05 15:13:57 UTC MAIN commitmail json YAML

Add errc() and verrc() to the list of functions which do not return,
but exit() instead.

This was omitted when the *c() set of functions were added in 2014.

(kre)

2023-01-05 14:50:14 UTC MAIN commitmail json YAML

Add quirk setting for some Intel eMMC devices.

On some Intel eMMC controllers, the driver reports "autoconfiguration error:
couldn't enable card: 60" even though they really have eMMC device.
This change fixes the problem on some machines. It might be required more
quirks for newer devices (or HS400 support). At least, this change fixes the
problem on GIGABYTE MA10-ST0.

(msaitoh)

2023-01-05 09:57:39 UTC MAIN commitmail json YAML

ignore NULL for hdaudio_audiodev in hdafg_freem
also guard against NULL in ad_{capture,playback}
observed during shutdown on Lenovo W510

(kardel)

2023-01-05 02:38:51 UTC MAIN commitmail json YAML

Check for authorization for SIOCSDRVSPEC and SIOCGDRVSPEC ioctls for wg(4).

Addresses PR 57161.

(jakllsch)

2023-01-04 13:43:37 UTC MAIN commitmail json YAML

tmux 3.3a came out in June

(wiz)

2023-01-04 12:17:54 UTC netbsd-10 commitmail json YAML

2023-01-04 12:17:08 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #36):

sys/net/pfkeyv2.h: revision 1.35

Fix libreswan build failure.  Pointed out by Andrew Cagney, thanks.

(martin)

2023-01-04 06:04:07 UTC MAIN commitmail json YAML

tests/lint: remove obsolete comments

The handling of initializers was completely rewritten in init.c 1.228
from 2021-12-21.

(rillig)

2023-01-04 05:47:20 UTC MAIN commitmail json YAML

2023-01-04 05:32:01 UTC MAIN commitmail json YAML

2023-01-04 05:31:22 UTC netbsd-10 commitmail json YAML

2023-01-04 05:30:44 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #35):
usr.sbin/sysinst/net.c: revision 1.44
Clear the msg area after prompting for the network device to use

(snj)

2023-01-04 05:25:08 UTC MAIN commitmail json YAML

2023-01-04 05:08:23 UTC MAIN commitmail json YAML

lint: fix the result type of '?:' for void pointers

The change from 2015-07-29 was wrong since that rule only applies to
null pointer constants but not to other void pointers.

(rillig)

2023-01-04 03:33:54 UTC MAIN commitmail json YAML

avoid printing the latest error message if some ldd method worked.

(mrg)

2023-01-04 03:24:00 UTC MAIN commitmail json YAML

Fix typo. No functional change.

(msaitoh)

2023-01-04 03:12:32 UTC MAIN commitmail json YAML

2023-01-04 03:12:09 UTC MAIN commitmail json YAML

Fix typo. s/SSC/SCC/.

(msaitoh)

2023-01-04 01:58:33 UTC MAIN commitmail json YAML

Fix libreswan build failure.  Pointed out by Andrew Cagney, thanks.

(knakahara)

2023-01-04 01:37:24 UTC MAIN commitmail json YAML

comment out a function that is only used in rtld

(christos)

2023-01-04 01:37:00 UTC MAIN commitmail json YAML

make the what argument size_t since we are passing in size_t

(christos)

2023-01-03 22:02:20 UTC MAIN commitmail json YAML

tests/lint: demonstrate wrong type for '?:' expressions

(rillig)

2023-01-03 21:14:14 UTC MAIN commitmail json YAML

lint: condense building of nodes for '?:' expressions

No binary change except for line numbers in assertions.

(rillig)

2023-01-03 19:33:32 UTC MAIN commitmail json YAML

Subtly adjust criteria for notification of Virtio devices in
VIRTIO_F_RING_EVENT_IDX mode.

This fixes stalls in the vioif(4) transmit path that would happen sooner
or later, depending on interface transmit utilization, and were
particularly noticable with a NetBSD guest transmitting to its x86 KVM
host at multi-gigabit speeds.

(jakllsch)

2023-01-03 18:30:33 UTC MAIN commitmail json YAML

One more fix to build binutils with read-only source trees:

don't try to rebuild .../dist/binutils/doc/c++filt.1

Ok: Matthew Green

(hannken)

2023-01-03 18:29:21 UTC netbsd-9 commitmail json YAML

2023-01-03 18:28:06 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1561):

lib/libc/locale/setlocale.3: revision 1.22
lib/libc/locale/setlocale.3: revision 1.23

setlocale.3: minor updates to reflect the current implementation

Reflect a couple of amendments noted by John Marino on tech-userlevel:
https://mail-index.netbsd.org/tech-userlevel/2021/10/19/msg013091.html

setlocale.3: Reflect state of NetBSD locale support in the 21st century

Don't use LC_COLLATE in a real code example, since a real call to set
LC_COLLATE will fail. Mention this.

Inconsistencies noticed by khw on IRC.

(martin)

2023-01-03 18:26:05 UTC netbsd-10 commitmail json YAML

2023-01-03 18:24:53 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #33):

lib/libc/locale/setlocale.3: revision 1.23

setlocale.3: Reflect state of NetBSD locale support in the 21st century

Don't use LC_COLLATE in a real code example, since a real call to set
LC_COLLATE will fail. Mention this.

Inconsistencies noticed by khw on IRC.

(martin)

2023-01-03 18:23:18 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #32):

sbin/fsck/partutil.c: revision 1.18

Change getdiskinfo() to no longer infer the partition from the device name.

Since 2016-06-16 we create disk devices "<type><<unit>" as an alias
for "<type><<unit><part>" where "<part>" is the raw partition.
These devices are treated as invalid partitions and a zero geometry
is returned.

Take the partition from "st_rdev" instead.

Fix for PR kern/57134: st_size of stat on vnd raw partition sometimes
is 0, causing newfs to fail

(martin)

2023-01-03 18:22:09 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1560):

sbin/fsck/partutil.c: revision 1.18

Change getdiskinfo() to no longer infer the partition from the device name.

Since 2016-06-16 we create disk devices "<type><<unit>" as an alias
for "<type><<unit><part>" where "<part>" is the raw partition.
These devices are treated as invalid partitions and a zero geometry
is returned.

Take the partition from "st_rdev" instead.

Fix for PR kern/57134: st_size of stat on vnd raw partition sometimes
is 0, causing newfs to fail

(martin)

2023-01-03 18:12:45 UTC netbsd-8 commitmail json YAML

2023-01-03 18:11:51 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1780):

lib/libc/locale/setlocale.3: revision 1.22
lib/libc/locale/setlocale.3: revision 1.23

setlocale.3: minor updates to reflect the current implementation

Reflect a couple of amendments noted by John Marino on tech-userlevel:
https://mail-index.netbsd.org/tech-userlevel/2021/10/19/msg013091.html

setlocale.3: Reflect state of NetBSD locale support in the 21st century

Don't use LC_COLLATE in a real code example, since a real call to set
LC_COLLATE will fail. Mention this.

Inconsistencies noticed by khw on IRC.

(martin)

2023-01-03 16:48:12 UTC netbsd-10 commitmail json YAML

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

sys/conf/copyright: revision 1.21

Welcome to 2023.  Wrap lines so the years fit in to 80 columns with
a leading kernel log timestamp.

(martin)

2023-01-03 16:46:12 UTC netbsd-9 commitmail json YAML

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

sys/conf/copyright: revision 1.21

Welcome to 2023.  Wrap lines so the years fit in to 80 columns with
a leading kernel log timestamp.

(martin)

2023-01-03 16:44:26 UTC netbsd-8 commitmail json YAML

2023-01-03 16:41:52 UTC netbsd-8 commitmail json YAML

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

sys/conf/copyright: revision 1.21

Welcome to 2023.

(martin)

2023-01-03 16:16:15 UTC MAIN commitmail json YAML

Clear the msg area after prompting for the network device to use

(martin)

2023-01-03 00:00:46 UTC MAIN commitmail json YAML

make: add more details to warning 'Extra targets ignored'

Seen in binutils/zlib/Makefile.in:1283, which defines both '.MAKE' and
'.PHONY' in the same line.

(rillig)

2023-01-02 20:49:59 UTC MAIN commitmail json YAML

2023-01-02 16:08:13 UTC MAIN commitmail json YAML

Change getdiskinfo() to no longer infer the partition from the device name.
Since 2016-06-16 we create disk devices "<type><<unit>" as an alias
for "<type><<unit><part>" where "<part>" is the raw partition.
These devices are treated as invalid partitions and a zero geometry
is returned.

Take the partition from "st_rdev" instead.

Fix for PR kern/57134: st_size of stat on vnd raw partition sometimes
is 0, causing newfs to fail

(hannken)

2023-01-02 10:14:20 UTC netbsd-9 commitmail json YAML

2023-01-02 10:13:31 UTC netbsd-9 commitmail json YAML

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

usr.sbin/sysinst/arch/x68k/md.c: revision 1.13
usr.sbin/sysinst/disklabel.c: revision 1.49
usr.sbin/sysinst/defs.h: revision 1.85
usr.sbin/sysinst/arch/amiga/md.c: revision 1.8
usr.sbin/sysinst/arch/amiga/md.c: revision 1.9

Check on-disk disklabel properly even on ports without raw BSD disklabel.
Fixes PR install/56890.

Fix typo

(martin)

2023-01-02 10:12:08 UTC netbsd-10 commitmail json YAML

2023-01-02 10:11:24 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by rillig in ticket #31):

usr.bin/make/make.1: revision 1.351
usr.bin/make/make.1: revision 1.352
usr.bin/make/make.1: revision 1.353
usr.bin/make/make.1: revision 1.354
usr.bin/make/make.1: revision 1.355
usr.bin/make/make.1: revision 1.356

make.1: reduce indentation of the long list of variable names

make.1: move description of .MAKE.MODE below the .MAKE.META block

make.1: use consistent markup for boolean flags

make.1: sort list of built-in variables

make.1: sync list of built-in variables with reality
Fixes PR 57029.

make.1: fix markup

(martin)

2023-01-02 00:55:46 UTC MAIN commitmail json YAML

apply/fix some more NetBSD_DISABLED* usage in binutils.

this should fix issues seen with r/o source trees.

note that the generated makefiles have weird bugs where the configure
script edits the Makefile's AM_V_CCLD usage to insert "+ " and that
makes the "@echo ..." that is AM_V_CCLD not be interpreted by make,
but by shell and causing this to appear:  'sh: @echo: not found'.
this only causes build output to be weird, not the build to be wrong.

(mrg)

2023-01-01 21:27:14 UTC MAIN commitmail json YAML

makemandb.c: spell "metadata" consistently

(gutteridge)

2023-01-01 21:02:10 UTC MAIN commitmail json YAML

make.1: bump date

(rillig)

2023-01-01 19:55:25 UTC MAIN commitmail json YAML

make.1: fix markup

(rillig)

2023-01-01 19:10:58 UTC MAIN commitmail json YAML

make.1: sync list of built-in variables with reality

Fixes PR 57029.

(rillig)

2023-01-01 17:27:40 UTC MAIN commitmail json YAML

make.1: sort list of built-in variables

(rillig)

2023-01-01 17:17:09 UTC MAIN commitmail json YAML

make.1: use consistent markup for boolean flags

(rillig)

2023-01-01 17:15:07 UTC MAIN commitmail json YAML

make.1: move description of .MAKE.MODE below the .MAKE.META block

(rillig)

2023-01-01 16:49:27 UTC MAIN commitmail json YAML

make.1: reduce indentation of the long list of variable names

(rillig)

2023-01-01 16:46:26 UTC MAIN commitmail json YAML

make: don't assemble identifiers from smaller tokens

No binary change.

(rillig)

2023-01-01 00:09:52 UTC MAIN commitmail json YAML

Welcome to 2023.  Wrap lines so the years fit in to 80 columns with
a leading kernel log timestamp.

(simonb)

2022-12-31 21:15:20 UTC MAIN commitmail json YAML

fix few typos in comments.

(andvar)

2022-12-31 14:35:56 UTC MAIN commitmail json YAML

setlocale.3: Reflect state of NetBSD locale support in the 21st century

Don't use LC_COLLATE in a real code example, since a real call to set
LC_COLLATE will fail. Mention this.

Inconsistencies noticed by khw on IRC.

(nia)

2022-12-31 05:44:25 UTC MAIN commitmail json YAML

fix the binutils build with read-only source trees

don't play with m68k-parse.c in tools/binutils/Makefile but disable
the rules that rebuild it so we always use the upstream version,
using the standard "NetBSD_DISABLED" method.

this was necessary to build on linux in 2014 (which may or may not
still ne necessary), but it also avoids triggering rebuild rules
based upon the timestamps on .y vs .c.

tested with amiga, amd64, and i386 "build.sh tools" builds.

(mrg)

2022-12-31 05:03:52 UTC netbsd-9 commitmail json YAML

2022-12-31 05:03:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1558):
usr.sbin/sysinst/disklabel.c: 1.46-1.48
usr.sbin/sysinst/label.c: 1.40-1.41

disklabel_can_add_partition() did not consider additional partitions
(while there still is space in the disklabel). Part of PR 56886.

Fix free space accounting for partition size changes and deletions.
Part of PR 56886.

renumber_partitions() needs to deal with removed/added partitions.

Fix free space accounting when partitions change size or are deleted.
Part of PR 56886.

Fix inverted condition in previous and only apply special handling for
the "all of NetBSD" partition when we have an outer MBR label.
Pointed out by Izumi Tsutsui. Hopefully the last fix needed for PR 56886.

(snj)

2022-12-31 04:55:53 UTC netbsd-10 commitmail json YAML

2022-12-31 04:55:13 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #30):
usr.sbin/sysinst/bsddisklabel.c: revision 1.71
PR 57132: when calculation additional space available for the "expanded"
partition (typically /) do not forget the reserved space (that might
be required for the system/bootloader/other MD stuff).

(snj)

2022-12-31 03:44:18 UTC MAIN commitmail json YAML

shar: send usage message to standard error so it is not swallowd by
redirection.

From FreeBSD

(ginsbach)

2022-12-31 03:38:59 UTC MAIN commitmail json YAML

better handle special characters or white space in file names fed to shar

Code from Dave Sainty in PR bin/11107

(ginsbach)

2022-12-31 03:33:53 UTC MAIN commitmail json YAML

make sure a sed failure in the generated archive stops execution

Code from Dave Sainty in PR bin/11107 (similar in FreeBSD)

(ginsbach)

2022-12-30 21:40:20 UTC MAIN commitmail json YAML

Honor ACPI FADT Century byte; should fix many "unknown CMOS layout" messages.

(jakllsch)

2022-12-30 21:38:13 UTC MAIN commitmail json YAML

Fix dmamap_syncs more; the number of ring elements is vq->vq_num, not
sc->sc_nvqs.

(jakllsch)

2022-12-30 21:12:45 UTC MAIN commitmail json YAML

Move a style recommendation closer to the syntax that it describes.

(jkoshy)

2022-12-30 20:37:01 UTC MAIN commitmail json YAML

2022-12-30 20:25:56 UTC MAIN commitmail json YAML

2022-12-30 19:19:21 UTC MAIN commitmail json YAML

match the name of the program in the description

(christos)

2022-12-30 17:02:31 UTC MAIN commitmail json YAML

C99: Suggest using narrow scopes for loop indices.

(jkoshy)

2022-12-30 15:41:35 UTC MAIN commitmail json YAML

2022-12-30 15:25:15 UTC MAIN commitmail json YAML

2022-12-30 15:24:38 UTC MAIN commitmail json YAML

Add Elkhart Lake Shared SRAM.

(msaitoh)

2022-12-30 14:50:52 UTC MAIN commitmail json YAML

2022-12-30 14:40:05 UTC netbsd-9 commitmail json YAML

2022-12-30 14:39:10 UTC netbsd-9 commitmail json YAML

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

sys/dev/ic/ahcisata_core.c: revision 1.83
sys/dev/ic/ahcisata_core.c: revision 1.102
sys/dev/ata/ata.c: revision 1.164
sys/dev/ata/ata_wdc.c: revision 1.115
sys/dev/ata/ata_recovery.c: revision 1.4
sys/dev/ic/siisata.c: revision 1.42
sys/dev/ic/wdc.c: revision 1.308
sys/dev/ic/mvsata.c: revision 1.56
sys/dev/scsipi/atapi_wdc.c: revision 1.138
sys/dev/ic/siisata.c: revision 1.49
sys/dev/ata/atavar.h: revision 1.105
sys/dev/ata/wd.c: revision 1.460
sys/dev/ata/ata.c: revision 1.155
sys/dev/ata/wd.c: revision 1.462
sys/dev/ata/atavar.h: revision 1.109
sys/dev/ata/satapmp_subr.c: revision 1.16
sys/dev/ic/wdc.c: revision 1.299
sys/dev/ic/ahcisata_core.c: revision 1.93
sys/dev/ata/ata_wdc.c: revision 1.120
sys/dev/ic/wdcvar.h: revision 1.100
sys/dev/scsipi/atapi_wdc.c: revision 1.141
sys/dev/ic/mvsata.c: revision 1.61
sys/dev/usb/umass_isdata.c (apply patch)

drop wd lock in wdstart1() before calling the ata_bio hook; when called
from ata thread context, that can still need to sleep for wdc attachments
in wdcwait()

fix use-after-free for ata xfer on bio submission found by KASAN
driver ata_bio hooks read parts of the xfer after ata_exec_xfer()
call in order to determine return value, change so that the hook
doesn't return any value - callers do not care already,
as all I/O requests are asynchronous

this problem was uncovered by recent change for wd(4) to not hold
wd mutex during ata_bio call, the interrupt for the xfer might
thus actually fire immediately

adjust also ata_exec_command driver hooks similarily - remove all
completion and waiting logic from drivers, upper layer ata code
using AT_WAIT/AT_POLL changed to call ata_wait_cmd() itself
PR kern/55169 by Nick Hudson

Function declaration formating whitespace consistency.  NFCI.

PR kern/56403
Fix kernel freeze for wdc(4) variants with ATAC_CAP_NOIRQ:

(1) Change ata_xfer_ops:c_poll from void to int function. When it returns
    ATAPOLL_AGAIN, let ata_xfer_start() iterate itself again.
(2) Let wdc_ata_bio_poll() return ATAPOLL_AGAIN until ATA_ITSDONE is
    achieved.

A similar change has been made for mvsata(4) (see mvsata_bio_poll()),
and no functional changes for other devices.

This is how the drivers worked before jdolecek-ncq branch was merged.
Note that this changes are less likely to cause infinite recursion:

(1) wdc_ata_bio_intr() called from wdc_ata_bio_poll() asserts ATA_ITSDONE
    in its error handling paths via wdc_ata_bio_done().
(2) Return value from c_start (= wdc_ata_bio_start()) is checked in
    ata_xfer_start().

Therefore, errors encountered in ata_xfer_ops:c_poll and c_start routines
terminate the recursion for wdc(4). The situation is similar for mvsata(4).

Still, there is a possibility where ata_xfer_start() takes long time to
finish a normal operation. This can result in a delayed response for lower
priority interrupts. But, I've never observed such a situation, even when
heavy thrashing takes place for swap partition in wd(4).
"Go ahead" by jdolecek@.

(martin)

2022-12-30 13:48:40 UTC MAIN commitmail json YAML

Add x2avic. Modify comment.

(msaitoh)

2022-12-30 13:32:46 UTC MAIN commitmail json YAML

Add Raptor Lake and Sapphire Rapids.

(msaitoh)

2022-12-30 12:21:07 UTC MAIN commitmail json YAML

Print cpuid 7 sub-leaf 1 %ebx, %edx and sub-leaf 2 %edx.

(msaitoh)

2022-12-30 12:12:54 UTC MAIN commitmail json YAML

Update definitions from the latest Intel SDM.

- Rename HW_FEEDBACK to HWI (Hardware Feedback Interface).
- Add CPUID Fn0000_0006 %eax bit 24 IA32_THERM_INTERRUPT MSR bit 25 Hardware
  Feedback Notification support.
- Add CPUID Fn0000_0007 %ecx bit 29 ENQCMD.
- Add CPUID Fn0000_0007 %edx bit 1 SGX-KEYS.
- Add CPUID Fn0000_0007 %edx bit 5 UINTR(User INTeRrupts).
- Add CPUID Fn0000_0007 %edx bit 1 RTM_ALWAYS_ABORT.
- Rename TSX_FORCE_ABORT to RTM_FORCE_ABORT.
- Add CPUID Fn0000_0007 %edx bit 22 AMX_BF16.
- Add CPUID Fn0000_0007 %edx bit 23 AVX512_FP16.
- Add CPUID Fn0000_0007 %edx bit 24 AMX_TILE.
- Add CPUID Fn0000_0007 %edx bit 25 AMX_INT8.
- Add CPUID Fn0000_0007 sub-leaf 1 %edx bit 18 CET_SSS.
- Add CPUID Fn0000_0007 sub-leaf 2 %edx bit 0 PSFD.
- Add CPUID Fn0000_0007 sub-leaf 2 %edx bit 1 IPRED_CTRL.
- Add CPUID Fn0000_0007 sub-leaf 2 %edx bit 2 RRSBA_CTRL.
- Add CPUID Fn0000_0007 sub-leaf 2 %edx bit 3 DDPD_U.
- Add CPUID Fn0000_0007 sub-leaf 2 %edx bit 4 BHI_CTRL.
- Add CPUID Fn0000_0007 sub-leaf 2 %edx bit 5 MCDT_NO.
- Modify comment. Both Intel and AMD support CPUID Fn0000000b.
- Add CPUID Fn0000_000d sub-leaf 1 %eax bit 4 XFD.
- Modify comment. Hybrid Information -> Native Model ID Information.
- Add CPUID Fn0000_001d Tile Information.
- Add CPUID Fn0000_001e TMUL Information.

(msaitoh)

2022-12-30 09:08:48 UTC MAIN commitmail json YAML

2022-12-30 02:05:38 UTC MAIN commitmail json YAML

mention binutils hack

(christos)

2022-12-30 02:01:42 UTC MAIN commitmail json YAML

PR/57147: Andreas Gustafsson: Work around binutils 2.38+ relro
issue with +2M size in every binary by setting max-page-size. This
is the simplest fix; fixing this properly requires a lot more
surgery, and upstream seems uncertain how to fix it properly.

(christos)

2022-12-29 22:41:36 UTC MAIN commitmail json YAML

link.5: fix some spelling and grammar

(gutteridge)

2022-12-29 18:23:37 UTC MAIN commitmail json YAML

Terminate a sentence with a full stop.

(jkoshy)

2022-12-29 10:41:13 UTC MAIN commitmail json YAML

2022-12-29 09:40:26 UTC netbsd-10 commitmail json YAML

2022-12-29 09:39:43 UTC netbsd-10 commitmail json YAML

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

sys/arch/arm/nxp/if_enet_imx.c: revision 1.7

don't use uninitialised data.  should fix PR#57135's crash.

(martin)

2022-12-28 22:04:46 UTC MAIN commitmail json YAML

switch x86 to binutils 2.39

(christos)

2022-12-28 22:04:05 UTC MAIN commitmail json YAML

annotate the 234 linker scripts

(christos)

2022-12-28 19:23:02 UTC MAIN commitmail json YAML

fix hexprint function

(jakllsch)

2022-12-28 18:34:33 UTC MAIN commitmail json YAML

if not given an interface to monitor by default, pick the one
with the most bytes in/out the first time and keep using it.

in addition to picking the most likely intersting interface,
this actually fixes a bug where interfaces coming/going in
the middle of eg, "netstat -b -w 1", may end up showing the
data for another interface on any output line (including the
the header declaring the interface!)

(mrg)

2022-12-28 18:19:44 UTC MAIN commitmail json YAML

2022-12-28 18:01:50 UTC netbsd-10 commitmail json YAML

2022-12-28 18:00:15 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #28):

include/dirent.h: revision 1.38

scandir(3) and alphasort(3) are part of POSIX-2008, so don't require
_NETBSD_SOURCE to use them.

(martin)

2022-12-28 17:59:01 UTC netbsd-9 commitmail json YAML

2022-12-28 17:57:18 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1556):

usr.bin/calendar/calendars/calendar.christian: revision 1.11

Update for 2023

(martin)

2022-12-28 17:52:34 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #27):

usr.bin/calendar/calendars/calendar.christian: revision 1.11

Update for 2023

(martin)

2022-12-28 17:05:44 UTC MAIN commitmail json YAML

2022-12-28 17:00:26 UTC MAIN commitmail json YAML

put back the coff and pei targets for i386 (pei is needed for efiboot)

(christos)

2022-12-28 15:34:19 UTC MAIN commitmail json YAML

swab(3): Rewrite this to be understandable.

And make the tests work, and exercise all lengths up to 100.

Evidently the previous definition, presumably tightly optimized for
1980s-era compilers and CPUs, was too hard to understand, because it
was incorrectly tested for two decades and broken for years.

PR lib/57141

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

(riastradh)

2022-12-28 14:38:51 UTC netbsd-10 commitmail json YAML

2022-12-28 14:38:07 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by he in ticket #26):

sys/arch/evbmips/mipssim/mipssim_dma.c: revision 1.2
sys/arch/evbmips/mipssim/mipssimreg.h: revision 1.4
sys/arch/evbmips/mipssim/machdep.c: revision 1.4

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.
Suggested by jmcneill@, thanks!

evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.

(martin)

2022-12-28 14:32:04 UTC MAIN commitmail json YAML

PR lib/57141 - never decrement len without actually performing a STEP.

(kre)

2022-12-28 13:27:11 UTC MAIN commitmail json YAML

2022-12-28 13:26:44 UTC MAIN commitmail json YAML

Update Intel Elkhart Lake devices.

(msaitoh)

2022-12-28 11:51:22 UTC MAIN commitmail json YAML

scandir(3) and alphasort(3) are part of POSIX-2008, so don't require
_NETBSD_SOURCE to use them.

(nia)

2022-12-28 11:50:25 UTC MAIN commitmail json YAML

evbmips/mipssim: on mips64, probe for additional memory.

Probe for memory from above the ISA I/O hole and up to 16GB,
which acording to simonb@ is a somewhat arbitrary limit.

This makes it possible to specify e.g. "-m 2g" to qemu, and have
that memory be probed instead of being clamped to 508MB.

(he)

2022-12-28 11:40:35 UTC MAIN commitmail json YAML

mipssim_dma.c: set _bounce_thresh so that bounce buffering works.

Suggested by jmcneill@, thanks!

(he)

2022-12-28 07:34:42 UTC MAIN commitmail json YAML

one more skiplist entry...

(macallan)

2022-12-28 07:18:29 UTC MAIN commitmail json YAML

don't complain about mpic and dart not being configured
mpic is handled elsewhere, dart is an iommu we don't use yet

(macallan)

2022-12-28 07:12:36 UTC MAIN commitmail json YAML

suppress 'not configured' message for mpic on G5s

(macallan)

2022-12-28 06:50:23 UTC MAIN commitmail json YAML

support cascading:
- attach on both /u3 and /u4
- install IPI handling only if we're primary
- link to primary PIC if we're cascaded

(macallan)

2022-12-28 06:00:27 UTC MAIN commitmail json YAML

first step towards MSI support on G5:
- allow both openpic and u3_ht to attach
- make sure openpic comes first, if we have both then u3_ht is cascaded

(macallan)

2022-12-27 18:55:06 UTC MAIN commitmail json YAML

don't use uninitialised data.  should fix PR#57135's crash.

XXX: pullup-10

(mrg)

2022-12-27 18:32:15 UTC MAIN commitmail json YAML

regen so that the version has a space between the version and paren

(christos)

2022-12-27 13:12:10 UTC MAIN commitmail json YAML

PR 57132: when calculation additional space available for the "expanded"
partition (typically /) do not forget the reserved space (that might
be required for the system/bootloader/other MD stuff).

(martin)

2022-12-27 09:59:29 UTC netbsd-10 commitmail json YAML

2022-12-27 09:58:57 UTC netbsd-10 commitmail json YAML

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

external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.h: revision 1.2
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h: revision 1.6
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_platform_limits_netbsd.cc: revision 1.2
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc: revision 1.8
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc: revision 1.5

remove the PPP HDLC ioctls from more copies of sanitizers.

(martin)

2022-12-27 09:36:29 UTC MAIN commitmail json YAML

Use __BIT(). Add comment. Whitespace. No functional change.

(msaitoh)

2022-12-27 08:40:40 UTC MAIN commitmail json YAML

Move some definitions. Add comment. No functional change.

(msaitoh)

2022-12-27 08:38:37 UTC MAIN commitmail json YAML

Fix debug set list for old (default) binutils

(wiz)

2022-12-26 22:22:22 UTC MAIN commitmail json YAML

2022-12-26 17:46:00 UTC MAIN commitmail json YAML

sysret -> sysretl for new binutils

(christos)

2022-12-26 16:42:50 UTC MAIN commitmail json YAML

2022-12-26 16:41:01 UTC MAIN commitmail json YAML

2022-12-26 15:52:37 UTC MAIN commitmail json YAML

Reduce diff between i386/i386/genassym.cf and amd64/amd64/genassym.cf. NFCI.

(msaitoh)

2022-12-26 11:25:01 UTC netbsd-10 commitmail json YAML

2022-12-26 11:23:57 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by ryo in ticket #24):

usr.sbin/tprof/tprof.c: revision 1.19
usr.sbin/tprof/tprof.c: revision 1.20

Reflect recent new options for top operation, add a and c

fixed parsing of event options.
if event option was specivied, it was stuck in a busy loop.

(martin)

2022-12-26 11:20:59 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #23):

sys/arch/evbarm/conf/GENERIC64: revision 1.207

PR port-arm/57044 allow vcaudio on RPI 4 to attach when booting with EFI

(martin)

2022-12-26 09:39:30 UTC MAIN commitmail json YAML

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

Reduce diff between i386/i386/genassym.cf and amd64/amd64/genassym.cf. NFCI.

- Whitespace fix.
- Sort lines.

(msaitoh)

2022-12-26 08:59:01 UTC MAIN commitmail json YAML

Remove duplicated IPL_SCHED. No functional change.

(msaitoh)

2022-12-26 08:00:13 UTC MAIN commitmail json YAML

fixed parsing of event options.
if event option was specivied, it was stuck in a busy loop.

(ryo)

2022-12-26 03:25:55 UTC MAIN commitmail json YAML

Reflect recent new options for top operation, add a and c

(ryoon)

2022-12-26 01:05:36 UTC MAIN commitmail json YAML

Sanity check and set the framebuffer length if necessary.

Addresses PR 57126.

(nat)

2022-12-25 23:58:50 UTC MAIN commitmail json YAML

As with normal users, include /usr/games in the default PATH of root

(nia)

2022-12-25 23:05:58 UTC MAIN commitmail json YAML

Need -lxcb for xcb_create_pixmap

(christos)

2022-12-25 22:34:45 UTC MAIN commitmail json YAML

2022-12-25 22:14:05 UTC MAIN commitmail json YAML

Fix broken flag -nocombreloc, 2.34 did not complain for not understanding it,
but 2.39 wants -z nocombreloc. Is it really needed?

(christos)

2022-12-25 20:23:43 UTC MAIN commitmail json YAML

Don't bail out if the input file does not have a symbol table. This happens
with crtn.o which used to have an empty symbol table with binutils 2.34,
with binutils 2.39 has no symbol table.

(christos)

2022-12-25 20:06:01 UTC MAIN commitmail json YAML