Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 23:55:33 UTC Now

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

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

sys/arch/next68k/conf/GENERIC: revision 1.155 (patch)

next68k:  Specify -fno-unwind-tables to shrink kernel binary size.

next68k bootloader cannot load a kernel larger than ~3.8 MB.

(martin)

2023-02-15 19:16:43 UTC netbsd-10 commitmail json YAML

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

sys/arch/next68k/conf/GENERIC: revision 1.155

next68k:  Specify -fno-unwind-tables to shrink kernel binary size.

next68k bootloader cannot load a kernel larger than ~3.8 MB.

(martin)

2023-02-15 19:14:50 UTC netbsd-10 commitmail json YAML

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

sys/arch/vax/vsa/smg.c: revision 1.64
sys/arch/vax/vsa/maskbits.h: revision 1.1
sys/dev/ic/dc503reg.h: revision 1.1

Port rasops'fied smg(4) framebuffer driver for VS3100 from OpenBSD/vax.

This allows using more fonts other than 8x15 pixels on smg(4).
Tested on my VAXstation 3100/m30.

Note the bitorder of smg(4) VRAM is LSB first (i.e. LSBit is the
most left side pixel) and this requires more complicated changes
to bitmask ops in MI rasops(9) because several LE machines have
VRAMs whose MSBit is connected to the most left side pixel,
but for now I prepared smg(4) specific putchar and cursor ops
based on old luna68k omrasops.

(martin)

2023-02-15 18:58:03 UTC netbsd-9 commitmail json YAML

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

external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c: revision 1.15

dtrace: re-fix aggregations to report from all online CPUs

Reapply the fix to dt_status() from rev 1.10
("Don't return success when the target CPU is offline")
which was lost in rev 1.12 ("sync with FreeBSD").

The FreeBSD version that we have been using since then does run on NetBSD
but always reports that CPU 0 is online and all other CPUs are offline,
because the sysctl that it uses does not exist on NetBSD.

(martin)

2023-02-15 17:00:24 UTC MAIN commitmail json YAML

While this is not intended to be used on unclean checkouts, improve
diagnostics if it happens.
Add another variant of a "new entry" dummy timestamp found in the
cvs code (but not seen in checkouts in the wild).

(martin)

2023-02-15 13:19:13 UTC MAIN commitmail json YAML

dev/wscons/wsdisplay_vcons.c: Sprinkle KNF.

(riastradh)

2023-02-15 13:12:45 UTC MAIN commitmail json YAML

kern/subr_devsw.c: Nix trailing whitespace.

No functional change intended.

Please do (setq show-trailing-whitespace t) if you use Emacs!

Maybe someone should teach nvi to do something similar.

(riastradh)

2023-02-15 13:05:21 UTC MAIN commitmail json YAML

shutdown(8): markup fixes

(uwe)

2023-02-15 10:31:52 UTC MAIN commitmail json YAML

shutdown(8): fix -width cargo cult

(uwe)

2023-02-15 06:52:59 UTC MAIN commitmail json YAML

make: inline macros for variable names

The variable name '.MAKEOVERRIDES' was already used in the non-macro
form.

No binary change.

(rillig)

2023-02-15 06:31:51 UTC MAIN commitmail json YAML

make: inline macro for variable name ".MAKE.EXPORTED"

The variable name is distinctive enough to be searched directly in the
code instead of having a named constant for it.

No binary change.

(rillig)

2023-02-15 01:55:17 UTC MAIN commitmail json YAML

adjust width of flag arg to align more nicely

(jschauma)

2023-02-14 21:56:48 UTC MAIN commitmail json YAML

2023-02-14 21:38:31 UTC MAIN commitmail json YAML

2023-02-14 21:08:00 UTC MAIN commitmail json YAML

2023-02-14 20:49:09 UTC MAIN commitmail json YAML

make: don't interpret the return value of Var_Parse

The return value of Var_Parse is largely redundant to the returned
string.  The idea behind the type VarParseResult was to migrate all call
sites to checking this return value instead of the returned string, but
that hasn't happened.  Instead, the additional type only added more
complexity.

There was a single place where that return value was actually used, when
parsing conditions.  And even in that case, ignoring the VarParseResult
added back an error message that previously hid bugs, in the test
cond-token-plain.mk.

Even though these error messages are redundant in the other tests, they
don't hurt as they don't happen often.

(rillig)

2023-02-14 20:27:17 UTC MAIN commitmail json YAML

s/programm/program/ and s/suuport/support/ in comments and message.

(andvar)

2023-02-14 18:58:55 UTC MAIN commitmail json YAML

consistently use EXIT_FAILURE / EXIT_SUCCESS instead of 1 / 0

(jschauma)

2023-02-14 18:56:10 UTC MAIN commitmail json YAML

exit with EXIT_FAILURE, not 1, as elsewhere

(jschauma)

2023-02-14 18:26:59 UTC MAIN commitmail json YAML

sort getopts string

(jschauma)

2023-02-14 18:11:55 UTC MAIN commitmail json YAML

fix synopsis to indicate that options '-l' and '-n' are mutually inclusive

(jschauma)

2023-02-14 16:34:41 UTC netbsd-10 commitmail json YAML

2023-02-14 16:33:43 UTC netbsd-10 commitmail json YAML

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

sys/dev/usb/u3g.c: revision 1.44

Add support for ZTE MF112 and D-Link DWM222 3G USB modems

(martin)

2023-02-14 16:20:43 UTC netbsd-9 commitmail json YAML

2023-02-14 16:19:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by buhrow in ticket #1595):

sys/kern/subr_devsw.c: revision 1.50

        When a device driver calls devsw_attach() it has the option of attaching a block device
structure and a character device structure, or, just the character device structure.
With the existing code, if a driver elects not to attach a block device structure and if it
asks for a major number to be dynamically assigned to its character interface,
that driver will not be able to detach and reattach its character driver interface.  This is a very
long standing bug which didn't come to light until we began using loadable kernel modules more
heavily.  this patch fixes this problem.  With this patch in place, drivers that implement only
a character device interface may detach and reattach that character interface as often as they
need to.

Fixes PR kern/57229

(martin)

2023-02-14 16:18:19 UTC netbsd-10 commitmail json YAML

2023-02-14 16:16:30 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by buhrow in ticket #84):

sys/kern/subr_devsw.c: revision 1.50

        When a device driver calls devsw_attach() it has the option of attaching a block device
structure and a character device structure, or, just the character device structure.
With the existing code, if a driver elects not to attach a block device structure and if it
asks for a major number to be dynamically assigned to its character interface,
that driver will not be able to detach and reattach its character driver interface.  This is a very
long standing bug which didn't come to light until we began using loadable kernel modules more
heavily.  this patch fixes this problem.  With this patch in place, drivers that implement only
a character device interface may detach and reattach that character interface as often as they
need to.

Fixes PR kern/57229

(martin)

2023-02-14 16:12:42 UTC netbsd-10 commitmail json YAML

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

usr.bin/printf/printf.1: revision 1.37

s/chracter/character/ in documentation.

(martin)

2023-02-14 16:10:00 UTC netbsd-9 commitmail json YAML

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

sys/dev/usb/u3g.c: revision 1.44

Add support for ZTE MF112 and D-Link DWM222 3G USB modems

(martin)

2023-02-14 16:05:53 UTC netbsd-10 commitmail json YAML

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

usr.bin/audio/play/audioplay.1: revision 1.31

audioplay(1): fix typo

From Jim Spath in PR/57228

(martin)

2023-02-14 16:05:01 UTC netbsd-8 commitmail json YAML

2023-02-14 16:03:17 UTC netbsd-9 commitmail json YAML

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

usr.bin/audio/play/audioplay.1: revision 1.31

audioplay(1): fix typo

From Jim Spath in PR/57228

(martin)

2023-02-14 16:01:05 UTC netbsd-9 commitmail json YAML

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

external/mit/xorg-server.old/dist/Xi/exevents.c: revision 1.2
external/mit/xorg-server/dist/Xi/exevents.c (apply patch)

pullover fix from xorg-server 21.1.7:
  https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec

Xi: fix potential use-after-free in DeepCopyPointerClasses
CVE-2023-0494, ZDI-CAN-19596

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer%who-t.net@localhost>

(martin)

2023-02-14 15:54:26 UTC netbsd-8 commitmail json YAML

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

external/mit/xorg-server.old/dist/Xi/exevents.c: revision 1.2
external/mit/xorg-server/dist/Xi/exevents.c (apply patch)

pullover fix from xorg-server 21.1.7:
  https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec

Xi: fix potential use-after-free in DeepCopyPointerClasses
CVE-2023-0494, ZDI-CAN-19596

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer%who-t.net@localhost>

(martin)

2023-02-14 15:47:02 UTC netbsd-10 commitmail json YAML

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

external/gpl3/gdb.old/Makefile.inc: revision 1.12
share/mk/bsd.lib.mk: revision 1.390
external/gpl3/gdb/Makefile.inc: revision 1.13
external/mit/xorg/lib/gallium.old/Makefile: revision 1.5
external/mit/xorg/lib/gallium/Makefile: revision 1.49

fix code attempting to skip adding "-g" if "-g*" already is used.

in bsd.lib.mk there's a check for "MKDEBUG != no" that will add
-g to CFLAGS (maybe) and to CSHLIBFLAGS (always), given that it
isn't in CFLAGS already.. except the conditional is "||" instead
of "&&" and since the MKDEBUG/NODEBUG checks pass, the CFLAGS
check isn't even performed.

additionally, check CXXFLAGS as well as CFLAGS.

this fixes the attempt to use "-g1" in the llvmrt build, which
fails because the compile lines end up being "... -g1 .. -g ..",
(the "-g" comes from the CSHLIBFLAGS variable in that case.)
this reduces the size of llvm-enabled gallium debug by ~1.5GiB
on amd64.

apply -g1 to the gallium sources as well.  saves another couple of 100MB.

apply -g1 to the gdb build as well.
reduces the size of gdb.debug and gdbtui.debug by 100MB each on amd64,
and about 70MB total in the debug set.  (across all builds, this may
be in the order of 3-4GB in releasedir output.)

(martin)

2023-02-14 15:46:07 UTC MAIN commitmail json YAML

Add some CPUID bits from PPR for AMD Family 19h Model 61h Revision B1.

(msaitoh)

2023-02-14 14:43:16 UTC MAIN commitmail json YAML

2023-02-14 14:42:47 UTC MAIN commitmail json YAML

Add devices from PPR for AMD Family 19h Model 61h Revision B1 processors.

(msaitoh)

2023-02-14 08:22:02 UTC MAIN commitmail json YAML

add flags for drivers to requesr R2L bit/byte-ordered fonts, default to
L2R, chack them in vcons_load_font() instead of just trusting that we'd get
what we need

(macallan)

2023-02-14 08:14:02 UTC MAIN commitmail json YAML

make vcons_putchar_buffer() return a flag indicating if anything actually
changed, skip the actual drawing op if nothing did

(macallan)

2023-02-13 23:14:21 UTC MAIN commitmail json YAML

s/chacters/characters/ in comments.

(andvar)

2023-02-13 23:08:43 UTC MAIN commitmail json YAML

search.c: correctly handle escaped backslashes

Addresses PR bin/57106 from Bosco G. G., who supplied the patch.
(This was also committed in the nvi2 sources:
https://github.com/lichray/nvi2/commit/e7054267a371d5caa81edb218f5c8388e11b5197)

(gutteridge)

2023-02-13 23:02:27 UTC MAIN commitmail json YAML

2023-02-13 22:44:52 UTC MAIN commitmail json YAML

s/charater/character/ in one more comment.

(andvar)

2023-02-13 22:24:06 UTC MAIN commitmail json YAML

s/plyaback/playback/ in comment.

(andvar)

2023-02-13 21:01:46 UTC MAIN commitmail json YAML

tests/make: update test for evaluating undefined variables

(rillig)

2023-02-13 19:25:15 UTC MAIN commitmail json YAML

make: extract the decision of using a specific log format

No functional change.

(rillig)

2023-02-13 19:07:14 UTC MAIN commitmail json YAML

When a device driver calls devsw_attach() it has the option of attaching a block device
structure and a character device structure, or, just the character device structure.
With the existing code, if a driver elects not to attach a block device structure and if it
asks for a major number to be dynamically assigned to its character interface,
that driver will not be able to detach and reattach its character driver interface.  This is a very
long standing bug which didn't come to light until we began using loadable kernel modules more
heavily.  this patch fixes this problem.  With this patch in place, drivers that implement only
a character device interface may detach and reattach that character interface as often as they
need to.

Fixes PR kern/57229

(buhrow)

2023-02-13 14:05:26 UTC MAIN commitmail json YAML

Add support for ZTE MF112 and D-Link DWM222 3G USB modems

(manu)

2023-02-13 13:35:45 UTC MAIN commitmail json YAML

audioplay(1): fix typo

From Jim Spath in PR/57228

(uwe)

2023-02-13 12:00:18 UTC MAIN commitmail json YAML

mips/asm.h: Cite source for Cavium sync plunger business.

(riastradh)

2023-02-13 08:39:40 UTC MAIN commitmail json YAML

When mounting a union file system set its lower mount only on success.

Reported-by: syzbot+b81b69971581b4f4db00@syzkaller.appspotmail.com

(hannken)

2023-02-12 22:48:02 UTC MAIN commitmail json YAML

services(5): consistently refer to the cdb database

While here, fix a few markup nits.

(uwe)

2023-02-12 20:43:21 UTC MAIN commitmail json YAML

sort option blocks; no functional change

(jschauma)

2023-02-12 20:14:32 UTC MAIN commitmail json YAML

Add "-i -E" to /bin/sh called from sysinst

This enables command line editing (primarily for arrow keys, but basic
emacs sequences will also work)

In the event that the shell has been compiled without command line
editing features (for memory contrained install environments) the
-E is ignored

(abs)

2023-02-12 19:27:21 UTC MAIN commitmail json YAML

Enable basic command line editing in evbarm, sparc64 and vax installer shells

(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)

(abs)

2023-02-12 19:18:41 UTC MAIN commitmail json YAML

Switch install.sh to use /usr/sbin/sysinst for sysinst rather than ./sysinst

Matches i386/cdroms/install.sh and amd64/installimage/install.sh

resultant install image verified to still run sysinst correctly

(abs)

2023-02-12 16:28:32 UTC MAIN commitmail json YAML

2023-02-12 16:04:58 UTC MAIN commitmail json YAML

2023-02-12 14:59:22 UTC MAIN commitmail json YAML

fix typo in the include guard definition.

(andvar)

2023-02-12 14:50:42 UTC MAIN commitmail json YAML

2023-02-12 13:38:37 UTC MAIN commitmail json YAML

PR kern/56052:
allow block-return packets passed through without rule matching.
Included up-stream as https://github.com/rmind/npf/pull/115

(kardel)

2023-02-12 13:21:28 UTC MAIN commitmail json YAML

PR kern/55654:
Switch default for parameter npf ip4.reassembly to 1.
This makes the NPF default configuration comply with host
requirements for IPv4.

(kardel)

2023-02-12 12:39:37 UTC netbsd-10 commitmail json YAML

2023-02-12 12:32:36 UTC netbsd-10 commitmail json YAML

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

distrib/next68k/cdroms/installcd/Makefile: revision 1.1
distrib/next68k/cdroms/Makefile: revision 1.1
distrib/next68k/Makefile: revision 1.1

Prepare MD distrib files to build next68k iso-image.

(martin)

2023-02-12 12:27:26 UTC netbsd-10 commitmail json YAML

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

sys/arch/vax/conf/GENERIC: revision 1.217
sys/arch/vax/conf/VAX780: revision 1.34
sys/arch/vax/conf/files.vax: revision 1.126
sys/arch/vax/vsa/smg.c: revision 1.63
sys/arch/vax/include/qdreg.h: revision 1.7
sys/arch/vax/vax/conf.c: revision 1.69
sys/arch/vax/conf/INSTALL: revision 1.76
sys/arch/vax/vsa/gpx.c: revision 1.1

Add a support for gpx(4) color framebuffer found on VAXstation 3100.

Ported from OpenBSD/vax. Note smg(4) monochrome onboard framebuffer
driver is also changed attached only if gpx(4) is not installed
or flags 1 is specified in config files, as OpenBSD did.

Tested on my VAXstation 3100/m30 with and without 8bpp gpx(4).

Revied on port-vax@ and "Please go ahead!" from ragge@.
https://mail-index.netbsd.org/port-vax/2023/01/thread1.html#004147

(martin)

2023-02-12 12:24:05 UTC netbsd-9 commitmail json YAML

2023-02-12 12:22:44 UTC netbsd-9 commitmail json YAML

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

sys/arch/next68k/stand/boot/scsi.c: revision 1.11
sys/arch/next68k/stand/boot/sd.c: revision 1.13
sys/arch/next68k/stand/boot/scsi.c: revision 1.12
sys/arch/next68k/stand/boot/sd.c: revision 1.14
sys/arch/next68k/stand/boot/sd.c: revision 1.15
sys/arch/next68k/stand/boot/sd.c: revision 1.16
sys/arch/next68k/stand/boot/rtc.c: revision 1.7
sys/arch/next68k/stand/boot/dmareg.h: revision 1.4
sys/arch/next68k/stand/boot/machdep.c: revision 1.8
sys/arch/next68k/stand/boot/srt0.s: revision 1.3
sys/arch/next68k/stand/boot/README: revision 1.2
sys/arch/next68k/stand/boot/devopen.c: revision 1.7
sys/arch/next68k/stand/boot/Makefile: revision 1.30
sys/arch/next68k/stand/boot/Makefile: revision 1.31
sys/arch/next68k/stand/boot/version: revision 1.5

Remove trailing spaces and TABs.

Make sure to specify volatile explicitly on DMA register accesses.

It looks booting from SCSI disks on next68k have been broken
since NetBSD 1.6 days, but now it works.

Avoid possible division by zero trap in error cases to make debug easier.

Request only 36 bytes for a response of INQUIRY command for legacy drives.
Some drives don't respond larger requested size for newer
SCSI3 devices and not all drivers can handle short xfers.
We should fix drivers to handle such short xfers properly,
but we need only SCSI device type here (and the 36 bytes are
enough even if we want vendor and product names on a bootloader).
The problem is reported from Andreas Grabher (a maintainer of NeXT
Computer Emulator) on port-next68k@:
https://mail-index.netbsd.org/port-next68k/2023/02/thread1.html

Disable DEBUG options properly.

Bump version to 1.6 to denote recent bootloader's >20 years old bug fixes.

(martin)

2023-02-12 12:18:24 UTC netbsd-10 commitmail json YAML

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

sys/arch/next68k/stand/boot/scsi.c: revision 1.11
sys/arch/next68k/stand/boot/sd.c: revision 1.13
sys/arch/next68k/stand/boot/scsi.c: revision 1.12
sys/arch/next68k/stand/boot/sd.c: revision 1.14
sys/arch/next68k/stand/boot/sd.c: revision 1.15
sys/arch/next68k/stand/boot/sd.c: revision 1.16
sys/arch/next68k/stand/boot/rtc.c: revision 1.7
sys/arch/next68k/stand/boot/dmareg.h: revision 1.4
sys/arch/next68k/stand/boot/machdep.c: revision 1.8
sys/arch/next68k/stand/boot/srt0.s: revision 1.3
sys/arch/next68k/stand/boot/README: revision 1.2
sys/arch/next68k/stand/boot/devopen.c: revision 1.7
sys/arch/next68k/stand/boot/Makefile: revision 1.30
sys/arch/next68k/stand/boot/Makefile: revision 1.31
sys/arch/next68k/stand/boot/version: revision 1.5

Remove trailing spaces and TABs.

Make sure to specify volatile explicitly on DMA register accesses.

It looks booting from SCSI disks on next68k have been broken
since NetBSD 1.6 days, but now it works.

Avoid possible division by zero trap in error cases to make debug easier.

Request only 36 bytes for a response of INQUIRY command for legacy drives.
Some drives don't respond larger requested size for newer
SCSI3 devices and not all drivers can handle short xfers.
We should fix drivers to handle such short xfers properly,
but we need only SCSI device type here (and the 36 bytes are
enough even if we want vendor and product names on a bootloader).
The problem is reported from Andreas Grabher (a maintainer of NeXT
Computer Emulator) on port-next68k@:
https://mail-index.netbsd.org/port-next68k/2023/02/thread1.html

Disable DEBUG options properly.

Bump version to 1.6 to denote recent bootloader's >20 years old bug fixes.

(martin)

2023-02-12 11:48:56 UTC netbsd-10 commitmail json YAML

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

sys/arch/next68k/include/vmparam.h: revision 1.29
sys/arch/next68k/next68k/machdep.c: revision 1.118
sys/arch/next68k/include/param.h: revision 1.13
sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.45
sys/arch/next68k/next68k/locore.s: revision 1.70
sys/arch/next68k/next68k/locore.s: revision 1.71

Use explicit CPU strings and remove hp300 derived stuff.

Remove #ifdef'ed out hp300 specific stuff.

Remove leftover "last kernel PT page" settings derived from hp300.

Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.

All hp300 machines has RAMs at a region from the highest address
i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"),
so kernels have to prepare PA==KVA mappings as the "last PT page" to
guarantee the running kernel works both before and after the MMU is
turned on.  For such a special mapping, we have to set up necessary
segment table and page table during early startup, in pmap_bootstrap()
invoked from locore.s.

On the other hand, NeXT machines have RAMs at a region from 0x40000000
to below (i.e. to larger address) so we still need a PA==KVA mapping.
However currently NetBSD/next68k just uses the transparent translation
registers to achieve the PA==KVA mapping, so unlike hp300 we don't have
to prepare special segment table and page table for it.

Note many other m68k ports (like luna68k, news68k, x68k etc.) have
RAMs at a region from 0x00000000 so usually we can assume PA==KVA
and don't have to bother to prepare such speicial mappings.

No user visible changes (except now freed wasted pages for the tables).

Tested on my NeXTstation slab.

(martin)

2023-02-12 11:47:10 UTC netbsd-9 commitmail json YAML

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

sys/arch/next68k/include/vmparam.h: revision 1.29
sys/arch/next68k/next68k/machdep.c: revision 1.118
sys/arch/next68k/include/param.h: revision 1.13
sys/arch/next68k/next68k/pmap_bootstrap.c: revision 1.45
sys/arch/next68k/next68k/locore.s: revision 1.70
sys/arch/next68k/next68k/locore.s: revision 1.71

Use explicit CPU strings and remove hp300 derived stuff.

Remove #ifdef'ed out hp300 specific stuff.

Remove leftover "last kernel PT page" settings derived from hp300.

Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.

All hp300 machines has RAMs at a region from the highest address
i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"),
so kernels have to prepare PA==KVA mappings as the "last PT page" to
guarantee the running kernel works both before and after the MMU is
turned on.  For such a special mapping, we have to set up necessary
segment table and page table during early startup, in pmap_bootstrap()
invoked from locore.s.

On the other hand, NeXT machines have RAMs at a region from 0x40000000
to below (i.e. to larger address) so we still need a PA==KVA mapping.
However currently NetBSD/next68k just uses the transparent translation
registers to achieve the PA==KVA mapping, so unlike hp300 we don't have
to prepare special segment table and page table for it.

Note many other m68k ports (like luna68k, news68k, x68k etc.) have
RAMs at a region from 0x00000000 so usually we can assume PA==KVA
and don't have to bother to prepare such speicial mappings.

No user visible changes (except now freed wasted pages for the tables).

Tested on my NeXTstation slab.

(martin)

2023-02-12 11:43:29 UTC netbsd-9 commitmail json YAML

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

sys/arch/i386/conf/GENERIC: revision 1.1243

Enable options DISKLABEL_EI by default as amd64.

No particular comment no port-i386@:
https://mail-index.netbsd.org/port-i386/2022/12/02/msg004063.html

(martin)

2023-02-12 10:18:23 UTC MAIN commitmail json YAML

Actually bump version (missed in the previous commit).

(tsutsui)

2023-02-12 10:04:56 UTC MAIN commitmail json YAML

Replace DELAY() with one in hp300 bootloader and adjust cpuspeed counts.

Fix boot failure on my ancient Seagate ST52160N drive.
It looks some of such old drives can't respond to SCSI
test-unit-ready command without proper wait after SCSI bus reset.
Bump version again to denote a fix.

XXX we should re-evaluate cpuspeed counts for DELAY() in bootloaders
    (where cache is disabled) on other m68k ports, hp300 and luna68k etc.

(tsutsui)

2023-02-12 08:45:18 UTC MAIN commitmail json YAML

urndis.4: Add OnePlus 5T

(nia)

2023-02-12 08:25:10 UTC MAIN commitmail json YAML

2023-02-11 22:42:49 UTC MAIN commitmail json YAML

urndis(4): Add OnePlus 5T to the quirky devices list. This allows it to
be attached as an urndis instead of ugen, and to transmit this commit
message across the tubes.

(nia)

2023-02-11 22:42:21 UTC MAIN commitmail json YAML

2023-02-11 22:41:37 UTC MAIN commitmail json YAML

2023-02-11 22:41:15 UTC MAIN commitmail json YAML

Add my phone to usbdevs

(nia)

2023-02-11 19:12:31 UTC MAIN commitmail json YAML

2023-02-11 19:09:57 UTC MAIN commitmail json YAML

Merge both SECTIONS declarations into one.
Fixes PR 57223.

cats, epoc32 and zaurus need a similar fix.

(mlelstv)

2023-02-11 18:30:45 UTC MAIN commitmail json YAML

Use MI <dev/ic/dc503reg.h> (added for vax smg(4)) for pmax pm(4) too.

(tsutsui)

2023-02-11 18:09:55 UTC MAIN commitmail json YAML

Bump version again to denote NeXT_CUBE_TURBO support.

(tsutsui)

2023-02-11 18:06:22 UTC MAIN commitmail json YAML

Bump version to 1.6 to denote recent bootloader's >20 years old bug fixes.

All these fixes should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-02-11 18:03:25 UTC MAIN commitmail json YAML

bpf(4): fix couple more nits

(uwe)

2023-02-11 17:52:19 UTC MAIN commitmail json YAML

Enable basic command line editing in i386 installer shells

(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

(abs)

2023-02-11 12:44:49 UTC MAIN commitmail json YAML

bpf(4): fix couple of overlooked markup nits

(uwe)

2023-02-11 12:39:44 UTC MAIN commitmail json YAML

bpf(4): spaces around + in instruction tables

Makes them easier on the eyes.

(uwe)

2023-02-11 11:49:02 UTC MAIN commitmail json YAML

bpf(4): use nicer glyphs for some operations in PS output

(uwe)

2023-02-11 11:34:49 UTC MAIN commitmail json YAML

bpf(4): make all instruction tables align

Define string max-insn and use it in all tables for the width of the
first column (nroff has variables, shocking, I know).  Define only the
width of the first column, the last column gets all the remaining width.

(uwe)

2023-02-11 11:02:31 UTC MAIN commitmail json YAML

bpf(4): use \[<-] instead of <-

(uwe)

2023-02-11 08:27:21 UTC MAIN commitmail json YAML

Disable rarely used options and devices, and add options MODULAR instead.

Also enable files-system MSDOS for file exchange via removable media.

(tsutsui)

2023-02-11 07:42:25 UTC MAIN commitmail json YAML

Remove unnecessary commented out lines.

(tsutsui)

2023-02-11 07:32:44 UTC MAIN commitmail json YAML

2023-02-11 07:22:30 UTC MAIN commitmail json YAML

2023-02-11 07:12:34 UTC MAIN commitmail json YAML

Enable file-system CD9660.

It's useful for installation especially on emulators.

(tsutsui)

2023-02-11 07:01:32 UTC MAIN commitmail json YAML

add siisata(4).  been running for ages on a rockpro64.

(mrg)

2023-02-11 06:02:56 UTC MAIN commitmail json YAML

Add comments that "options VAX410" also supports VS3100/m30,m38,m40,m48.

(tsutsui)

2023-02-11 05:59:39 UTC MAIN commitmail json YAML

Port rasops'fied smg(4) framebuffer driver for VS3100 from OpenBSD/vax.

This allows using more fonts other than 8x15 pixels on smg(4).
Tested on my VAXstation 3100/m30.

Note the bitorder of smg(4) VRAM is LSB first (i.e. LSBit is the
most left side pixel) and this requires more complicated changes
to bitmask ops in MI rasops(9) because several LE machines have
VRAMs whose MSBit is connected to the most left side pixel,
but for now I prepared smg(4) specific putchar and cursor ops
based on old luna68k omrasops.

(tsutsui)

2023-02-11 04:16:57 UTC MAIN commitmail json YAML

Fix annotation checksum in +CONTENTS of syspkg

- Fix bug that file in DESTDIR is not referenced correctly.
- Change checksum algorithm to SHA256 from MD5.
- Remove invalid option of cksum(1) in regpkg.

(uki)

2023-02-11 02:52:52 UTC MAIN commitmail json YAML

bpf(4): assorted markup tweaks

This is mostly non-controversial changes to the cargo-culted markup.
While here - add missing .It to BIOCLOCK so that it's not buried in
the text for the previous item and comment out a paragraph about an
ancient SunOS bug.

(uwe)

2023-02-11 02:34:15 UTC MAIN commitmail json YAML

NeXT Turbo Color doesn't have NEXT_P_C16_CMD_REG.

Info from Andreas Grabher on port-next68k@.

(tsutsui)

2023-02-11 02:33:27 UTC MAIN commitmail json YAML

2023-02-11 02:31:34 UTC MAIN commitmail json YAML

2023-02-10 18:51:32 UTC MAIN commitmail json YAML

apply -g1 to the gdb build as well.

reduces the size of gdb.debug and gdbtui.debug by 100MB each on amd64,
and about 70MB total in the debug set.  (across all builds, this may
be in the order of 3-4GB in releasedir output.)

(mrg)

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

Fix xkb_base in the pkg-config file and mapage for xkeyboard-config

The xkbdata files are installed in /usr/X11R7/lib/X11/xkb
not /usr/X11R7/share/X11/xkb. The wrong directory causes
build failures in pkgsrc packages that use the xkb_base
variable.
Also base the datadir on the vars from bsd.x11.mk.
Also use @xkb_base@ instead of /usr/X11R7/share/lib/X11/xkb
in the manpage to show the right xkbdata directory.

(nros)

2023-02-10 08:12:48 UTC MAIN commitmail json YAML

2023-02-09 22:21:57 UTC MAIN commitmail json YAML

tests/make: remove debugging directive from test for ':_'

(rillig)

2023-02-09 15:20:40 UTC MAIN commitmail json YAML

2023-02-09 15:00:56 UTC MAIN commitmail json YAML

Request only 36 bytes for a response of INQUIRY command for legacy drives.

Some drives don't respond larger requested size for newer
SCSI3 devices and not all drivers can handle short xfers.
We should fix drivers to handle such short xfers properly,
but we need only SCSI device type here (and the 36 bytes are
enough even if we want vendor and product names on a bootloader).

The problem is reported from Andreas Grabher (a maintainer of NeXT
Computer Emulator)a on port-next68k@:
https://mail-index.netbsd.org/port-next68k/2023/02/thread1.html

(tsutsui)

2023-02-09 14:41:54 UTC MAIN commitmail json YAML

Avoid possible division by zero trap in error cases to make debug easier.

(tsutsui)

2023-02-09 14:09:50 UTC MAIN commitmail json YAML

Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
  "Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work

(abs)

2023-02-09 13:16:05 UTC MAIN commitmail json YAML

Ensure GENERIC.local is always at the end of GENERIC

Where a GENERIC config had an existing inclusion of GENERIC.local,
ensure it is always at the end of the file, with a consistent
comment:

# Pull in optional local configuration
cinclude "arch/landisk/conf/GENERIC.local"

This allows GENERIC.local to correctly override all options

(This pass does not affect any GENERIC which did not already have
an include of GENERIC.local)

(abs)

2023-02-09 08:22:10 UTC MAIN commitmail json YAML

tests/make: extend and explain test for the ':_' modifier

(rillig)

2023-02-09 07:34:15 UTC MAIN commitmail json YAML

make: ApplyModifier_Remember always use SCOPE_GLOBAL

Conditionals evaluate vars with SCOPE_CMDLINE, if :_
is used within a conditional expression and is thus
set in SCOPE_CMDLINE, it breaks any use of :_ in SCOPE_GLOBAL.

The simplest solution is for :_ to always use SCOPE_GLOBAL

Reviewed by: rillig

(sjg)

2023-02-08 18:28:11 UTC netbsd-10 commitmail json YAML

2023-02-08 18:27:05 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by khorben in ticket #76):

sys/arch/i386/i386/locore.S: revision 1.191

Make multiboot1 continue with common boot code and not skip CPU type
detection.

Fixes PR 57017 and PR 56935.

(martin)

2023-02-08 18:24:52 UTC netbsd-10 commitmail json YAML

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

sys/kern/subr_prf.c: revision 1.197
sys/kern/subr_prf.c: revision 1.198

avoid pserialize usage in early boot

there are DEBUG-only aprint_normal() calls early in eg, ksyms
setup that may happen before eg curcpu() is setup.  this is the
case in sparc64, where it sets up ksyms as early as it can so
that DDB has symbols early, which is before the curcpu() setup
is created, and thus the calls to pserialize_read_enter() and
pserialize_read_exit() attempt to access unmapped cpu_info and
due to being so early, the system faults to the prom.
simply use "cold" to determine whether to skip these pserialize
calls or not.

ok riastradh
XXX: pullup-10

fix logic-reversing tpyo in putone()

(martin)

2023-02-08 17:25:56 UTC netbsd-10 commitmail json YAML

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

external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c: revision 1.16

dtrace: remove unnecessary fflush()

Apply this commit from FreeBSD:

  commit f339a3ef6369b368f3a2455792a7a3a4c28f92c4
  Author: Chuck Silvers <chs@FreeBSD.org>
  Date:  Wed Feb 9 17:09:26 2022 -0800

      dtrace: remove unnecessary fflush()

      This call was added back in the early days of dtrace porting and
      no one knows why anymore.  The extra flushing causes lots of
      unnecessary CPU overhead when a script produces lots of output,
      as well as easily losing output because the command can't keep up.

      Sponsored by: Netflix
      Reviewed by: imp, markj
      Differential Revision: https://reviews.freebsd.org/D34216

(martin)

2023-02-08 17:18:15 UTC netbsd-10 commitmail json YAML

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

share/mk/bsd.x11.mk: revision 1.149

bump xorg-server version.

(martin)

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

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

external/mit/xorg-server.old/dist/Xi/exevents.c: revision 1.2

pullover fix from xorg-server 21.1.7:
https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec

Xi: fix potential use-after-free in DeepCopyPointerClasses
CVE-2023-0494, ZDI-CAN-19596

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer%who-t.net@localhost>

(martin)

2023-02-08 17:09:47 UTC netbsd-10 commitmail json YAML

xsrc/external/mit/xorg-server/dist/ChangeLog@1.1.1.20.2.2 / diff / nxr@1.1.1.20.2.2
xsrc/external/mit/xorg-server/dist/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/Xext/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/Xext/xtest.c@1.7.2.2 / diff / nxr@1.7.2.2
xsrc/external/mit/xorg-server/dist/Xi/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/Xi/exevents.c@1.1.1.12.2.1 / diff / nxr@1.1.1.12.2.1
xsrc/external/mit/xorg-server/dist/aclocal.m4@1.1.1.17.2.2 / diff / nxr@1.1.1.17.2.2
xsrc/external/mit/xorg-server/dist/composite/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/config/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/configure@1.13.2.2 / diff / nxr@1.13.2.2
xsrc/external/mit/xorg-server/dist/configure.ac@1.15.2.2 / diff / nxr@1.15.2.2
xsrc/external/mit/xorg-server/dist/damageext/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/dbe/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/dix/Makefile.in@1.1.1.15.2.2 / diff / nxr@1.1.1.15.2.2
xsrc/external/mit/xorg-server/dist/dix/events.c@1.7.2.1 / diff / nxr@1.7.2.1
xsrc/external/mit/xorg-server/dist/dix/resource.c@1.1.1.8.2.1 / diff / nxr@1.1.1.8.2.1
xsrc/external/mit/xorg-server/dist/doc/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
xsrc/external/mit/xorg-server/dist/doc/dtrace/Makefile.in@1.1.1.8.2.2 / diff / nxr@1.1.1.8.2.2
xsrc/external/mit/xorg-server/dist/dri3/Makefile.in@1.1.1.8.2.2 / diff / nxr@1.1.1.8.2.2
xsrc/external/mit/xorg-server/dist/exa/Makefile.in@1.1.1.14.2.2 / diff / nxr@1.1.1.14.2.2
      :
(more 97 files)
Sync to head, requested by mrg in ticket #73:

xsrc/external/mit/xorg-server/dist/m4/libtool.m4    up to 1.3
xsrc/external/mit/xorg-server/dist/m4/ltversion.m4  up to 1.3
xsrc/external/mit/xorg-server/dist/ChangeLog        up to 1.1.1.23
xsrc/external/mit/xorg-server/dist/Makefile.in      up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/aclocal.m4        up to 1.1.1.19
xsrc/external/mit/xorg-server/dist/configure        up to 1.16
xsrc/external/mit/xorg-server/dist/configure.ac      up to 1.18
xsrc/external/mit/xorg-server/dist/meson.build      up to 1.1.1.13
xsrc/external/mit/xorg-server/dist/Xext/Makefile.in  up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/Xext/xtest.c      up to 1.9
xsrc/external/mit/xorg-server/dist/Xi/Makefile.in    up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/Xi/exevents.c    up to 1.1.1.13
xsrc/external/mit/xorg-server/dist/composite/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/config/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/damageext/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/dbe/Makefile.in  up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/dix/Makefile.in  up to 1.1.1.17
xsrc/external/mit/xorg-server/dist/dix/events.c      up to 1.8
xsrc/external/mit/xorg-server/dist/dix/resource.c    up to 1.1.1.9
xsrc/external/mit/xorg-server/dist/doc/Makefile.in  up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/doc/dtrace/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/dri3/Makefile.in  up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/exa/Makefile.in  up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/fb/Makefile.in    up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/glamor/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/glx/Makefile.in  up to 1.1.1.15
xsrc/external/mit/xorg-server/dist/hw/Makefile.in    up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/kdrive/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/kdrive/src/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/vfb/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/vfb/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xfree86/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/common/Makefile.in up to 1.1.1.17
xsrc/external/mit/xorg-server/dist/hw/xfree86/ddc/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/doc/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri2/Makefile.in up to 1.1.1.15
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri2/pci_ids/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/inputtest/Makefile.in up to 1.1.1.4
xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/Makefile.in up to 1.1.1.11
xsrc/external/mit/xorg-server/dist/hw/xfree86/exa/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/exa/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xfree86/fbdevhw/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/fbdevhw/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xfree86/glamor_egl/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/hw/xfree86/i2c/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/int10/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/loader/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/man/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bsd/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/bus/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/hurd/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/linux/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/misc/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/solaris/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/os-support/stub/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/hw/xfree86/parser/Makefile.in up to 1.1.1.18
xsrc/external/mit/xorg-server/dist/hw/xfree86/ramdac/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/shadowfb/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/utils/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/utils/gtf/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/utils/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xfree86/vgahw/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xfree86/xkb/Makefile.in up to 1.1.1.9
xsrc/external/mit/xorg-server/dist/hw/xnest/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xnest/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xquartz/Makefile.am up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/hw/xquartz/Makefile.in up to 1.1.1.17
xsrc/external/mit/xorg-server/dist/hw/xquartz/GL/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xquartz/bundle/Info.plist.cpp up to 1.1.1.9
xsrc/external/mit/xorg-server/dist/hw/xquartz/bundle/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xquartz/mach-startup/Makefile.in up to 1.1.1.15
xsrc/external/mit/xorg-server/dist/hw/xquartz/mach-startup/bundle-main.c up to 1.1.1.8
xsrc/external/mit/xorg-server/dist/hw/xquartz/mach-startup/stub.c up to 1.1.1.5
xsrc/external/mit/xorg-server/dist/hw/xquartz/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xquartz/pbproxy/Makefile.in up to 1.1.1.15
xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/Makefile.in up to 1.1.1.15
xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/xprFrame.c up to 1.1.1.8
xsrc/external/mit/xorg-server/dist/hw/xwin/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/hw/xwin/dri/Makefile.in up to 1.1.1.9
xsrc/external/mit/xorg-server/dist/hw/xwin/glx/Makefile.in up to 1.1.1.13
xsrc/external/mit/xorg-server/dist/hw/xwin/man/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/include/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/include/meson.build up to 1.1.1.6
xsrc/external/mit/xorg-server/dist/man/Makefile.in  up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/mi/Makefile.in    up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/miext/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/miext/damage/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/miext/rootless/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/miext/rootless/rootlessCommon.c up to 1.1.1.6
xsrc/external/mit/xorg-server/dist/miext/shadow/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/miext/sync/Makefile.in up to 1.1.1.12
xsrc/external/mit/xorg-server/dist/os/Makefile.in    up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/os/access.c      up to 1.7
xsrc/external/mit/xorg-server/dist/os/client.c      up to 1.1.1.4
xsrc/external/mit/xorg-server/dist/os/connection.c  up to 1.8
xsrc/external/mit/xorg-server/dist/present/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/pseudoramiX/Makefile.in up to 1.1.1.10
xsrc/external/mit/xorg-server/dist/randr/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/record/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/render/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/test/Makefile.in  up to 1.1.1.13
xsrc/external/mit/xorg-server/dist/xfixes/Makefile.in up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/xkb/Makefile.in  up to 1.1.1.16
xsrc/external/mit/xorg-server/dist/xkb/xkb.c        up to 1.9
xsrc/external/mit/xorg-server/include/dix-config.h  up to 1.49
xsrc/external/mit/xorg-server/include/version-config.h up to 1.19
xsrc/external/mit/xorg-server/include/xorg-config.h  up to 1.29
xsrc/external/mit/xorg-server/include/xorg-server.h  up to 1.29

Import of xorg-server-21.1.7

(martin)

2023-02-08 16:54:20 UTC netbsd-10 commitmail json YAML

xsrc/external/mit/libX11/dist/ChangeLog@1.1.1.27.2.4 / diff / nxr@1.1.1.27.2.4
xsrc/external/mit/libX11/dist/Makefile.in@1.1.1.24.2.1 / diff / nxr@1.1.1.24.2.1
xsrc/external/mit/libX11/dist/aclocal.m4@1.1.1.23.2.4 / diff / nxr@1.1.1.23.2.4
xsrc/external/mit/libX11/dist/compile@1.1.1.11.2.1 / diff / nxr@1.1.1.11.2.1
xsrc/external/mit/libX11/dist/config.guess@1.1.1.16.2.1 / diff / nxr@1.1.1.16.2.1
xsrc/external/mit/libX11/dist/config.sub@1.1.1.15.2.1 / diff / nxr@1.1.1.15.2.1
xsrc/external/mit/libX11/dist/configure@1.1.1.27.2.4 / diff / nxr@1.1.1.27.2.4
xsrc/external/mit/libX11/dist/configure.ac@1.1.1.27.2.4 / diff / nxr@1.1.1.27.2.4
xsrc/external/mit/libX11/dist/depcomp@1.1.1.14.2.1 / diff / nxr@1.1.1.14.2.1
xsrc/external/mit/libX11/dist/include/Makefile.in@1.1.1.25.2.1 / diff / nxr@1.1.1.25.2.1
xsrc/external/mit/libX11/dist/include/X11/Xlibint.h@1.1.1.15.2.4 / diff / nxr@1.1.1.15.2.4
xsrc/external/mit/libX11/dist/install-sh@1.1.1.13.2.1 / diff / nxr@1.1.1.13.2.1
xsrc/external/mit/libX11/dist/ltmain.sh@1.1.1.17.2.1 / diff / nxr@1.1.1.17.2.1
xsrc/external/mit/libX11/dist/m4/libtool.m4@1.12.2.1 / diff / nxr@1.12.2.1
xsrc/external/mit/libX11/dist/m4/ltoptions.m4@1.6.2.1 / diff / nxr@1.6.2.1
xsrc/external/mit/libX11/dist/m4/ltsugar.m4@1.6.2.1 / diff / nxr@1.6.2.1
xsrc/external/mit/libX11/dist/m4/ltversion.m4@1.6.2.1 / diff / nxr@1.6.2.1
xsrc/external/mit/libX11/dist/m4/lt~obsolete.m4@1.6.2.1 / diff / nxr@1.6.2.1
xsrc/external/mit/libX11/dist/man/Makefile.in@1.1.1.24.2.1 / diff / nxr@1.1.1.24.2.1
xsrc/external/mit/libX11/dist/man/xkb/Makefile.in@1.1.1.24.2.1 / diff / nxr@1.1.1.24.2.1
      :
(more 35 files)
Sync to head, requested by mrg in ticket #72:

xsrc/external/mit/libX11/dist/ChangeLog              up to 1.4
xsrc/external/mit/libX11/dist/Makefile.in            up to 1.1.1.25
xsrc/external/mit/libX11/dist/aclocal.m4            up to 1.4
xsrc/external/mit/libX11/dist/compile                up to 1.1.1.12
xsrc/external/mit/libX11/dist/config.guess          up to 1.1.1.17
xsrc/external/mit/libX11/dist/config.sub            up to 1.1.1.16
xsrc/external/mit/libX11/dist/configure              up to 1.4
xsrc/external/mit/libX11/dist/configure.ac          up to 1.4
xsrc/external/mit/libX11/dist/depcomp                up to 1.1.1.15
xsrc/external/mit/libX11/dist/install-sh            up to 1.1.1.14
xsrc/external/mit/libX11/dist/ltmain.sh              up to 1.1.1.18
xsrc/external/mit/libX11/dist/missing                up to 1.1.1.14
xsrc/external/mit/libX11/dist/test-driver            up to 1.1.1.12
xsrc/external/mit/libX11/dist/include/Makefile.in    up to 1.1.1.26
xsrc/external/mit/libX11/dist/include/X11/Xlibint.h  up to 1.4
xsrc/external/mit/libX11/dist/m4/libtool.m4          up to 1.13
xsrc/external/mit/libX11/dist/m4/ltoptions.m4        up to 1.7
xsrc/external/mit/libX11/dist/m4/ltsugar.m4          up to 1.7
xsrc/external/mit/libX11/dist/m4/ltversion.m4        up to 1.7
xsrc/external/mit/libX11/dist/m4/lt~obsolete.m4      up to 1.7
xsrc/external/mit/libX11/dist/man/Makefile.in        up to 1.1.1.25
xsrc/external/mit/libX11/dist/man/xkb/Makefile.in    up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/Makefile.in    up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/im/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/im/ximcp/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/lc/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/lc/Utf8/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/lc/def/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/lc/gen/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/om/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/modules/om/generic/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/nls/Makefile.in        up to 1.1.1.25
xsrc/external/mit/libX11/dist/nls/en_US.UTF-8/Compose.pre up to 1.11
xsrc/external/mit/libX11/dist/specs/Makefile.in      up to 1.1.1.22
xsrc/external/mit/libX11/dist/specs/XIM/Makefile.in  up to 1.1.1.22
xsrc/external/mit/libX11/dist/specs/XKB/Makefile.in  up to 1.1.1.18
xsrc/external/mit/libX11/dist/specs/i18n/Makefile.in up to 1.1.1.22
xsrc/external/mit/libX11/dist/specs/i18n/compose/Makefile.in up to 1.1.1.15
xsrc/external/mit/libX11/dist/specs/i18n/framework/Makefile.in up to 1.1.1.18
xsrc/external/mit/libX11/dist/specs/i18n/localedb/Makefile.in up to 1.1.1.18
xsrc/external/mit/libX11/dist/specs/i18n/trans/Makefile.in up to 1.1.1.18
xsrc/external/mit/libX11/dist/specs/libX11/Makefile.in up to 1.1.1.22
xsrc/external/mit/libX11/dist/src/ChkIfEv.c          up to 1.4
xsrc/external/mit/libX11/dist/src/IfEvent.c          up to 1.4
xsrc/external/mit/libX11/dist/src/Makefile.in        up to 1.1.1.25
xsrc/external/mit/libX11/dist/src/PeekIfEv.c        up to 1.4
xsrc/external/mit/libX11/dist/src/PutBEvent.c        up to 1.4
xsrc/external/mit/libX11/dist/src/config.h.in        up to 1.1.1.16
xsrc/external/mit/libX11/dist/src/locking.c          up to 1.4
xsrc/external/mit/libX11/dist/src/locking.h          up to 1.2
xsrc/external/mit/libX11/dist/src/util/Makefile.in  up to 1.1.1.26
xsrc/external/mit/libX11/dist/src/xcms/Makefile.in  up to 1.1.1.25
xsrc/external/mit/libX11/dist/src/xkb/Makefile.in    up to 1.1.1.25
xsrc/external/mit/libX11/dist/src/xlibi18n/Makefile.in up to 1.1.1.25
xsrc/external/mit/libX11/dist/src/xlibi18n/lcFile.c  up to 1.1.1.10

Import of libX11 1.8.4.

(martin)

2023-02-08 16:43:05 UTC netbsd-9 commitmail json YAML

2023-02-08 16:42:12 UTC netbsd-9 commitmail json YAML

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

sys/arch/sparc64/include/vmparam.h: revision 1.43

Avoid using (1<<64)-1 for VM_MAX{,USER}_ADDRESS as rounding that up to
the next page boundary gives 0 and instead make the VA space end one
page earlier.

Fixes PR sparc64/57219.

(martin)

2023-02-08 16:40:46 UTC netbsd-10 commitmail json YAML

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

sys/arch/sparc64/include/vmparam.h: revision 1.43

Avoid using (1<<64)-1 for VM_MAX{,USER}_ADDRESS as rounding that up to
the next page boundary gives 0 and instead make the VA space end one
page earlier.

Fixes PR sparc64/57219.

(martin)

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

Pull up following revision(s) (requested by simonb in ticket #70):

sys/arch/evbarm/conf/GENERIC.common: revision 1.51

Enable UFS_DIRHASH (missed with previous change) and UFS_EXTATTR
(mistakenly commented out with previous change).

(martin)

2023-02-08 15:52:46 UTC MAIN commitmail json YAML

2023-02-08 15:51:36 UTC MAIN commitmail json YAML

2023-02-08 14:40:23 UTC netbsd-10 commitmail json YAML

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

external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c: revision 1.15

dtrace: re-fix aggregations to report from all online CPUs

Reapply the fix to dt_status() from rev 1.10
("Don't return success when the target CPU is offline")
which was lost in rev 1.12 ("sync with FreeBSD").

The FreeBSD version that we have been using since then does run on NetBSD
but always reports that CPU 0 is online and all other CPUs are offline,
because the sysctl that it uses does not exist on NetBSD.

(martin)

2023-02-08 12:26:32 UTC MAIN commitmail json YAML

2023-02-08 01:53:12 UTC MAIN commitmail json YAML

delete dup targets (pointed by mrg@)

(christos)

2023-02-08 01:37:53 UTC MAIN commitmail json YAML

bpf.c: support loopback writes when BIOCSHDRCMPLT is set

Following changes in r. 1.249 "bpf: support sending packets on loopback
interfaces", also allow for this to succeed when the "header complete"
flag is set, which is the practice of some tools, e.g., tcpreplay and
Scapy. With this change, both of those example tools now work, e.g.,
Scapy passes "L3bpfSocket - send and sniff on loopback" in its test
suite.

There are several ways of addressing this issue; this commit is
intended to be the most conservative and consistent with the previous
changes. (E.g., FreeBSD instead has special handling of this condition
in its if_loop.c.)

(gutteridge)

2023-02-07 22:54:02 UTC MAIN commitmail json YAML

dtrace: remove unnecessary fflush()

Apply this commit from FreeBSD:

  commit f339a3ef6369b368f3a2455792a7a3a4c28f92c4
  Author: Chuck Silvers <chs@FreeBSD.org>
  Date:  Wed Feb 9 17:09:26 2022 -0800

      dtrace: remove unnecessary fflush()

      This call was added back in the early days of dtrace porting and
      no one knows why anymore.  The extra flushing causes lots of
      unnecessary CPU overhead when a script produces lots of output,
      as well as easily losing output because the command can't keep up.

      Sponsored by: Netflix
      Reviewed by: imp, markj
      Differential Revision: https://reviews.freebsd.org/D34216

(chs)

2023-02-07 22:26:46 UTC MAIN commitmail json YAML

2023-02-07 22:25:31 UTC MAIN commitmail json YAML

src/crypto/external/bsd/openssl/dist/CHANGES@1.30 / diff / nxr@1.30
src/crypto/external/bsd/openssl/dist/Configure@1.31 / diff / nxr@1.31
src/crypto/external/bsd/openssl/dist/NEWS@1.30 / diff / nxr@1.30
src/crypto/external/bsd/openssl/dist/README@1.30 / diff / nxr@1.30
src/crypto/external/bsd/openssl/dist/apps/ca.c@1.22 / diff / nxr@1.22
src/crypto/external/bsd/openssl/dist/apps/ocsp.c@1.23 / diff / nxr@1.23
src/crypto/external/bsd/openssl/dist/apps/s_server.c@1.25 / diff / nxr@1.25
src/crypto/external/bsd/openssl/dist/crypto/asn1/asn_mime.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/openssl/dist/crypto/bn/bn_exp.c@1.21 / diff / nxr@1.21
src/crypto/external/bsd/openssl/dist/crypto/bn/bn_mont.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/openssl/dist/crypto/bn/bn_nist.c@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_asn1.c@1.13 / diff / nxr@1.13
src/crypto/external/bsd/openssl/dist/crypto/ec/ec_key.c@1.7 / diff / nxr@1.7
src/crypto/external/bsd/openssl/dist/crypto/evp/evp_enc.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/openssl/dist/crypto/x509/x509_vfy.c@1.26 / diff / nxr@1.26
src/crypto/external/bsd/openssl/dist/crypto/x509v3/v3_addr.c@1.9 / diff / nxr@1.9
src/crypto/external/bsd/openssl/dist/ssl/s3_enc.c@1.17 / diff / nxr@1.17
src/crypto/external/bsd/openssl/dist/ssl/s3_lib.c@1.30 / diff / nxr@1.30
src/crypto/external/bsd/openssl/dist/ssl/ssl_ciph.c@1.23 / diff / nxr@1.23
src/crypto/external/bsd/openssl/dist/ssl/ssl_lib.c@1.22 / diff / nxr@1.22
      :
(more 5 files)
merge changes between openssl 1.1.1n and 1.1.1t

(christos)

2023-02-07 20:45:44 UTC MAIN commitmail json YAML

- Reconfigure port speed only when initial speed was different.
- Time out HCI commands instead of hanging forever.
- When bcm43xx reset fails, assume that firmware is already
  running and start line discipline.

This allows to re-attach bcm43xx without reboot.

(mlelstv)

2023-02-07 20:39:03 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/dist/bfd/config.bfd@1.37 / diff / nxr@1.37
src/external/gpl3/binutils/dist/bfd/elfn32-mips.c@1.12 / diff / nxr@1.12
src/external/gpl3/binutils/dist/ld/configure.tgt@1.44 / diff / nxr@1.44
src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/bfd.h@1.13 / diff / nxr@1.13
src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h@1.11 / diff / nxr@1.11
src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/defs.mk@1.12 / diff / nxr@1.12
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64eb/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/bfd.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/bfdver.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/mipsn64el/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/mipsn64el/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h@1.11 / diff / nxr@1.11
src/external/gpl3/binutils/lib/libiberty/arch/mipsn64el/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb/config.h@1.11 / diff / nxr@1.11
src/external/gpl3/binutils/lib/libopcodes/arch/mipsn64el/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h@1.13 / diff / nxr@1.13
src/external/gpl3/binutils/usr.bin/common/arch/mipsn64el/config.h@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/usr.bin/common/arch/mipsn64el/defs.mk@1.3 / diff / nxr@1.3
      :
(more 5 files)
fix and regen mips64

(christos)

2023-02-07 20:37:48 UTC MAIN commitmail json YAML

Really compute selection coordinates from buffer offset, don't assume
that row=0 col=offset is equivalent.

(mlelstv)

2023-02-07 20:37:30 UTC MAIN commitmail json YAML

remap arm directory names, the same way the source does.

(christos)

2023-02-07 20:36:51 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/earm/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfd.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/earmeb/bfdver.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/earmeb/config.h@1.9 / diff / nxr@1.9
src/external/gpl3/binutils/lib/libbfd/arch/earmeb/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/earmhf/bfd.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/earmhf/bfdver.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/earmhf/config.h@1.9 / diff / nxr@1.9
src/external/gpl3/binutils/lib/libbfd/arch/earmhf/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/earmhfeb/bfd.h@1.7 / diff / nxr@1.7
src/external/gpl3/binutils/lib/libbfd/arch/earmhfeb/bfdver.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/earmhfeb/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/earmhfeb/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libgnuctf/arch/earmeb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/earmeb/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/earmhf/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/earmhf/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/earmhfeb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libgnuctf/arch/earmhfeb/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libiberty/arch/earmeb/defs.mk@1.7 / diff / nxr@1.7
      :
(more 32 files)
regen arm32

(christos)

2023-02-07 20:34:01 UTC MAIN commitmail json YAML

less-608 is out.

(wiz)

2023-02-07 14:27:59 UTC MAIN commitmail json YAML

Make sure to specify volatile explicitly on DMA register accesses.

It looks booting from SCSI disks on next68k have been broken
since NetBSD 1.6 days, but now it works.
Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-02-07 14:11:16 UTC MAIN commitmail json YAML

Avoid using (1<<64)-1 for VM_MAX{,USER}_ADDRESS as rounding that up to
the next page boundary gives 0 and instead make the VA space end one
page earlier.

Fixes PR sparc64/57219.

(hgutch)

2023-02-07 09:25:51 UTC MAIN commitmail json YAML

fix logic-reversing tpyo in putone()

(macallan)

2023-02-07 07:29:44 UTC MAIN commitmail json YAML

pullover fix from xorg-server 21.1.7:

https://gitlab.freedesktop.org/xorg/xserver/-/commit/0ba6d8c37071131a49790243cdac55392ecf71ec

Xi: fix potential use-after-free in DeepCopyPointerClasses

CVE-2023-0494, ZDI-CAN-19596

This vulnerability was discovered by:
Jan-Niklas Sohn working with Trend Micro Zero Day Initiative

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>

(mrg)

2023-02-07 06:19:03 UTC MAIN commitmail json YAML

apply -g1 to the gallium sources as well.  saves another couple of 100MB.

(mrg)

2023-02-07 05:05:51 UTC MAIN commitmail json YAML

2023-02-07 04:53:54 UTC MAIN commitmail json YAML

fix code attempting to skip adding "-g" if "-g*" already is used.

in bsd.lib.mk there's a check for "MKDEBUG != no" that will add
-g to CFLAGS (maybe) and to CSHLIBFLAGS (always), given that it
isn't in CFLAGS already.. except the conditional is "||" instead
of "&&" and since the MKDEBUG/NODEBUG checks pass, the CFLAGS
check isn't even performed.

additionally, check CXXFLAGS as well as CFLAGS.

this fixes the attempt to use "-g1" in the llvmrt build, which
fails because the compile lines end up being "... -g1 .. -g ..",
(the "-g" comes from the CSHLIBFLAGS variable in that case.)

this reduces the size of llvm-enabled gallium debug by ~1.5GiB
on amd64.

(mrg)

2023-02-07 04:46:00 UTC MAIN commitmail json YAML

bump xorg-server version.

(mrg)

2023-02-07 04:45:32 UTC MAIN commitmail json YAML

2023-02-07 01:46:37 UTC MAIN commitmail json YAML

bpf.c: fix a few typos and grammatical issues in comments

(gutteridge)

2023-02-07 01:17:41 UTC MAIN commitmail json YAML

bpf.4: fix a garbled item heading

Make the BIOCSDIRECTION & BIOCGDIRECTION entry like those around it.

(gutteridge)

2023-02-06 22:22:12 UTC MAIN commitmail json YAML

dtrace: re-fix aggregations to report from all online CPUs

Reapply the fix to dt_status() from rev 1.10
("Don't return success when the target CPU is offline")
which was lost in rev 1.12 ("sync with FreeBSD").
The FreeBSD version that we have been using since then does run on NetBSD
but always reports that CPU 0 is online and all other CPUs are offline,
because the sysctl that it uses does not exist on NetBSD.

(chs)

2023-02-06 21:20:58 UTC MAIN commitmail json YAML

tests/lint: sync reference to platform properties generator

(rillig)

2023-02-06 21:01:56 UTC MAIN commitmail json YAML

2023-02-06 20:50:34 UTC MAIN commitmail json YAML

lint: condense code for handling initializations

Remove the assertion for a non-null initialization, as each code path
immediately dereferences it.

No functional change.

(rillig)

2023-02-06 20:26:05 UTC MAIN commitmail json YAML

2023-02-06 17:05:59 UTC netbsd-9 commitmail json YAML

2023-02-06 17:04:48 UTC netbsd-9 commitmail json YAML

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

sys/fs/union/union_vfsops.c: revision 1.86
sys/miscfs/nullfs/null_vfsops.c: revision 1.101 (via patch)

Set IMNT_MPSAFE only if all lower layers have it set.

(martin)

2023-02-06 16:58:34 UTC netbsd-10 commitmail json YAML

2023-02-06 16:57:24 UTC netbsd-10 commitmail json YAML

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

sys/fs/union/union_vfsops.c: revision 1.86
sys/miscfs/nullfs/null_vfsops.c: revision 1.101

Set IMNT_MPSAFE only if all lower layers have it set.

(martin)

2023-02-06 16:54:53 UTC netbsd-9 commitmail json YAML

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

etc/etc.next68k/MAKEDEV.conf: revision 1.6

Remove obsolete bpf entries not neceerary for clonified bpf(4).
Fixes "MAKEDEV: bpf8: unknown device" errors.

(martin)

2023-02-06 16:53:34 UTC netbsd-10 commitmail json YAML

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

etc/etc.next68k/MAKEDEV.conf: revision 1.6

Remove obsolete bpf entries not neceerary for clonified bpf(4).
Fixes "MAKEDEV: bpf8: unknown device" errors.

(martin)

2023-02-06 16:51:00 UTC netbsd-9 commitmail json YAML

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

sys/arch/vax/vsa/smg.c: revision 1.62

Make sure to call wsfont_init(9) as other framebuffer drivers.

Otherwise wsfont_find(9) always fails and wsdisplay(4) is not attached.

(martin)

2023-02-06 16:48:44 UTC netbsd-10 commitmail json YAML

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

sys/arch/vax/vsa/smg.c: revision 1.62

Make sure to call wsfont_init(9) as other framebuffer drivers.
Otherwise wsfont_find(9) always fails and wsdisplay(4) is not attached.

(martin)

2023-02-06 13:30:02 UTC MAIN commitmail json YAML

Remove an obsolete comment.

(tsutsui)

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

Add a support for gpx(4) color framebuffer found on VAXstation 3100.

Poted from OpenBSD/vax. Note smg(4) monochrome onboard framebuffer
driver is also changed attached only if gpx(4) is not installed
or flags 1 is specified in config files, as OpenBSD did.

Tested on my VAXstation 3100/m30 with and without 8bpp gpx(4).
Revied on port-vax@ and "Please go ahead!" from ragge@.
https://mail-index.netbsd.org/port-vax/2023/01/thread1.html#004147

Worth to pullup to netbsd-10.

(tsutsui)

2023-02-06 12:59:13 UTC MAIN commitmail json YAML

Enable UFS_DIRHASH (missed with previous change) and UFS_EXTATTR
(mistakenly commented out with previous change).

(simonb)

2023-02-06 11:53:04 UTC MAIN commitmail json YAML

If /etc/iscsi/volumes does not exist, explicitly exit with 0 status

(martin)

2023-02-06 10:33:32 UTC MAIN commitmail json YAML

Set IMNT_MPSAFE only if all lower layers have it set.

(hannken)

2023-02-06 10:32:58 UTC MAIN commitmail json YAML

Set IMNT_MPSAFE only if the lower layer has it set.

(hannken)

2023-02-05 23:26:20 UTC MAIN commitmail json YAML

avoid redefining xmalloc and xfree.

this file defines them with a parameter, but Xthreads.h (which comes from
xorgproto) only defines them as names, causing conflicting definitions.

fixes build with libX11 1.8.4.

(mrg)

2023-02-05 22:58:21 UTC MAIN commitmail json YAML

2023-02-05 22:42:39 UTC MAIN commitmail json YAML

fix root detection on evbarm when raid is involved

there are several problems solved in this change:
- lots of work was re-done when we already have determined the
  device booted from, so several new early returns introduced
  if booted_device has been set
- due to the lack of cpu_bootconf(), raidframe softroot would
  override "root=xxx" on the boot command line (note that
  platforms that use eg, device_register() to detect the boot
  device are not affected by this issue as they find the
  boot device much earlier.)
- in the new cpu_bootconf(), switch the order of the platform
  boot-config with the set_root_device() call.  this avoids a
  problem where "root=xxx" is checked after automated methods,
  and is thus ignored.
- in fdt_detect_root_device(), remove the code to add "root=xxx""
  string to the boot_args[] that would be later parsed by the
  set_root_device() call, and simply set booted_device and, for
  mbr installs, booted_partition directly.  also, for any
  successful call, perform an early return.
- define __HAVE_CPU_BOOTCONF so early boot calls cpu_bootconf().

tested on:
- rockpro64 booting from emmc, sata (big, and little endian)
- rockpro64 loading kernel from msdos partition
- rockpro64 booting from network (fails to auto-detect, with or
  without this change)
- quartz64 booting from nvme
- lx2k booting from nvme

XXX: pullup-10

(mrg)

2023-02-05 21:20:15 UTC MAIN commitmail json YAML

With MKISCSI we need all files.

(mlelstv)

2023-02-05 21:18:05 UTC MAIN commitmail json YAML

avoid pserialize usage in early boot

there are DEBUG-only aprint_normal() calls early in eg, ksyms
setup that may happen before eg curcpu() is setup.  this is the
case in sparc64, where it sets up ksyms as early as it can so
that DDB has symbols early, which is before the curcpu() setup
is created, and thus the calls to pserialize_read_enter() and
pserialize_read_exit() attempt to access unmapped cpu_info and
due to being so early, the system faults to the prom.

simply use "cold" to determine whether to skip these pserialize
calls or not.

ok riastradh

XXX: pullup-10

(mrg)

2023-02-05 17:23:01 UTC MAIN commitmail json YAML

tests/lint: fix source directory for looking up the .exp-ln files

(rillig)

2023-02-05 16:11:56 UTC MAIN commitmail json YAML

tests/lint1: the redundantly listed files contained .exp-ln as well

(rillig)

2023-02-05 15:11:19 UTC MAIN commitmail json YAML

tests/lint: fix resolving of wildcards in builds from other directories

(rillig)

2023-02-05 14:53:38 UTC MAIN commitmail json YAML

switch the remainder to binutils 2.39

(christos)

2023-02-05 13:39:42 UTC MAIN commitmail json YAML

Fix build without MKISCSI

(mlelstv)

2023-02-05 13:06:36 UTC MAIN commitmail json YAML

tests/lint: update instructions for adding a new test

The redundant variable 'FILES' no longer needs up be updated.

(rillig)

2023-02-05 13:01:28 UTC MAIN commitmail json YAML

2023-02-05 12:45:22 UTC netbsd-10 commitmail json YAML

2023-02-05 12:44:40 UTC netbsd-10 commitmail json YAML

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

external/gpl3/gcc/usr.bin/Makefile.inc: revision 1.35

for MKDEBUG builds, set CXXFLAGS += -g1 for all GCC binaries.

reduces the size of a non-x11 i386 build by 38% - 992MiB -> 612MiB,
and likely similar reductions elsewhere.  it also reduced the build
time by about 3%, perhaps from less IO to write and less data to
compress.  for amd64, the size was reduced 1137MiB -> 741MiB, about
35%, though i don't have timing guesses here.

note that these are sizes of .gz not .xz (i enable pigz for my
builds), and this probably has a much greater benefit for xz builds
as the sets creation phase is much slower there.

(martin)

2023-02-05 12:36:56 UTC MAIN commitmail json YAML

tests/lint: remove redundancy from Makefile

The list of test files is already kept in distrib/sets/lists/tests/mi.

(rillig)

2023-02-05 12:25:11 UTC MAIN commitmail json YAML

2023-02-05 10:57:48 UTC MAIN commitmail json YAML

tests/lint: clean up

The .exp files are no longer kept under version control, so there's no
reason anymore to forcefully trigger a warning or an error.

(rillig)

2023-02-04 16:35:46 UTC MAIN commitmail json YAML

2023-02-04 16:35:32 UTC MAIN commitmail json YAML

doc: mention xfwp removal

(wiz)

2023-02-04 16:34:36 UTC MAIN commitmail json YAML

2023-02-04 16:21:32 UTC netbsd-9 commitmail json YAML

2023-02-04 16:19:20 UTC netbsd-9 commitmail json YAML

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

lib/libc/thread-stub/thread-stub.c: revision 1.31

change libc sched_yield() stub to actually still call the syscall
instead of doing nothing when app is not linked with pthread; this matches
other systems

suggested by Mateusz Guzik in:
http://mail-index.netbsd.org/tech-kern/2020/07/19/msg026620.html

(martin)

2023-02-04 14:42:43 UTC netbsd-9 commitmail json YAML

2023-02-04 14:41:39 UTC netbsd-9 commitmail json YAML

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

lib/libc/thread-stub/thread-stub.c: revision 1.30

Adjust the error return value of pthread_sigmask for !libpthread usage

Instead of returning -1, return errno on error.
Catch up after the fix in libpthread by Andrew Doran in 2008
in lib/libpthread/pthread_misc.c r.1.9.

It's an open question whether this function shall be used without linked
in the POSIX thread library.

Detected by Bruno Haible (GNU) and documented in gnulib in commit
"pthread_sigmask: Avoid test failure on NetBSD 8.0. " r. 4d16a83b0c1fcb6c.

(martin)

2023-02-04 14:38:09 UTC MAIN commitmail json YAML

2023-02-04 14:34:28 UTC MAIN commitmail json YAML

Remove unused stuff, and limit the scope of some of the used ones.
(from des@freebsd)

(christos)

2023-02-04 08:42:45 UTC MAIN commitmail json YAML

Remove leftover "last kernel PT page" settings derived from hp300.

Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.

All hp300 machines has RAMs at a region from the highest address
i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"),
so kernels have to prepare PA==KVA mappings as the "last PT page" to
guarantee the running kernel works both before and after the MMU is
turned on.  For such a special mapping, we have to set up necessary
segment table and page table during early startup, in pmap_bootstrap()
invoked from locore.s.

On the other hand, NeXT machines have RAMs at a region from 0x40000000
to below (i.e. to larger address) so we still need a PA==KVA mapping.
However currently NetBSD/next68k just uses the transparent translation
registers to achieve the PA==KVA mapping, so unlike hp300 we don't have
to prepare special segment table and page table for it.

Note many other m68k ports (like luna68k, news68k, x68k etc.) have
RAMs at a region from 0x00000000 so usually we can assume PA==KVA
and don't have to bother to prepare such speicial mappings.

No user visible changes (except now freed wasted pages for the tables).
Tested on my NeXTstation slab.

(tsutsui)