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

2024-05-10 10:29:33 UTC Now

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)

2023-02-04 07:07:41 UTC MAIN commitmail json YAML

Remove #ifdef'ed out hp300 specific stuff.

(tsutsui)

2023-02-04 02:08:03 UTC MAIN commitmail json YAML

2023-02-03 23:22:34 UTC MAIN commitmail json YAML

2023-02-03 23:21:18 UTC MAIN commitmail json YAML

2023-02-03 23:19:03 UTC MAIN commitmail json YAML

Use proper LIST(3) macro.

(tsutsui)

2023-02-03 23:17:49 UTC MAIN commitmail json YAML

Make local functions static.

(tsutsui)

2023-02-03 23:16:07 UTC MAIN commitmail json YAML

Misc cleanup.

- use C99 designated initializer
- misc KNF
- TAB/space cleanup

(tsutsui)

2023-02-03 23:13:01 UTC MAIN commitmail json YAML

2023-02-03 23:07:47 UTC MAIN commitmail json YAML

2023-02-03 23:06:42 UTC MAIN commitmail json YAML

2023-02-03 23:04:36 UTC MAIN commitmail json YAML

Use proper C99 int types.

(tsutsui)

2023-02-03 23:02:56 UTC MAIN commitmail json YAML

2023-02-03 23:00:33 UTC MAIN commitmail json YAML

Add proper rnd_add_uint32(9) calls to next68k xe(4) driver.

(tsutsui)

2023-02-03 22:57:05 UTC MAIN commitmail json YAML

Use explicit CPU strings and remove hp300 derived stuff.

(tsutsui)

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

Add a entry point for the complete function for FreeBSD compatibility with sh.

(christos)

2023-02-03 20:16:03 UTC MAIN commitmail json YAML

Add missing template file for iscsid_volumes.

(mlelstv)

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

remove trash (pointed out by des @ freebsd)

(christos)

2023-02-03 19:47:39 UTC MAIN commitmail json YAML

Don't clear the handle to el "sel" and set it earlier to prevent handling
a signal before the handle is set. (From: des at FreeBSD)

(christos)

2023-02-03 19:01:08 UTC MAIN commitmail json YAML

Fix use after free on packet with broken lengths

Under the scenario with a packet with length of 67 bytes, a header length
using the default of 20 bytes and a TCP data offset (th_off) of 48 will
cause m_pullup() to fail to make sure bytes are arranged contiguously.
m_pullup() will free the mbuf chain and return a null. ipfilter stores
the resultant mbuf address (or the resulting NULL) in its fr_info_t
structure. Unfortunately the erroneous packet is not flagged for drop.
From FreeBSD via CY Schubert; originally reported by: Robert Morris
<rtm at lcs.mit.edu>

(christos)

2023-02-03 15:59:04 UTC MAIN commitmail json YAML

missed commit for iscsid_volumes

(mlelstv)

2023-02-03 13:53:40 UTC MAIN commitmail json YAML

Add start script to attach iscsi volumes at boot.

The default is to execute the script (iscsid_volumes=YES), so if you have
any volumes defined, you should also start iscsid (iscsid=YES) to avoid
error messages.

(mlelstv)

2023-02-03 09:21:58 UTC MAIN commitmail json YAML

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

Fixes PR 57017 and PR 56935.

(mlelstv)

2023-02-03 08:08:33 UTC MAIN commitmail json YAML

MPIDR is 64bits. Without this AFF3 would always be zero.

Spotted by Cyprien.

(skrll)

2023-02-03 08:05:27 UTC MAIN commitmail json YAML

Remove useless/harmful casts in debug messages. MPIDR AFF3 would not
be printed before.

(skrll)

2023-02-03 05:43:55 UTC MAIN commitmail json YAML

Use thermal sensor code for IXGBE_DEV_ID_X550EM_A_10G_T, too.

PCI device ID 0x15c8 also use X557-AT PHY, so create the thermal sensor
sysctl for it, too.

(msaitoh)

2023-02-03 05:32:11 UTC MAIN commitmail json YAML

2023-02-03 05:31:52 UTC MAIN commitmail json YAML

2023-02-02 22:23:30 UTC MAIN commitmail json YAML

lint: clean up

In symtab_search, most of the conditions were redundant, so remove them.

In read_byte, using CHAR_MASK was conceptually wrong, as that constant
is from the target platform while the lexical analysis happens on the
host platform.  It was unnecessary as well, as a hypothetical host
platform with 36-bit chars might encode the characters from the basic
source character set as numbers higher than 0x0_0000_00ff.  Since lint
assumes that both the source character set as well as the execution
character set are the same and based on 8-bit bytes, nothing changes.

No functional change.

(rillig)

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

devsw_attach(9): Use semantic markup instead of .Em

(uwe)

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

openssh 9.2p1 is out

(wiz)

2023-02-02 13:25:41 UTC MAIN commitmail json YAML

2023-02-02 08:21:32 UTC MAIN commitmail json YAML

Data units read/written are counted in 1000s of 512 bytes.
Convert to human-readable value.

(mlelstv)

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

Add missing dot in abbreviation.

(wiz)

2023-02-01 19:38:21 UTC MAIN commitmail json YAML

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.

(mrg)

2023-02-01 19:01:48 UTC netbsd-9 commitmail json YAML

2023-02-01 19:00:53 UTC netbsd-9 commitmail json YAML

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

sys/arch/vax/boot/Makefile.inc: revision 1.19

Make a vax bootloader work on 8MB VAXen.

64KB (0x800000 - 0x7f0000) is not enough for the bootloader itself
and more spaces are required for heap on loading a kernel.

https://mail-index.netbsd.org/port-vax/2023/01/24/msg004149.html

"Go ahead" from ragge@.  Should be pulled up to netbsd-10 and netbsd-9.

(martin)

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

2023-02-01 18:59:02 UTC netbsd-10 commitmail json YAML

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

sys/arch/vax/boot/Makefile.inc: revision 1.19

Make a vax bootloader work on 8MB VAXen.

64KB (0x800000 - 0x7f0000) is not enough for the bootloader itself
and more spaces are required for heap on loading a kernel.

https://mail-index.netbsd.org/port-vax/2023/01/24/msg004149.html

"Go ahead" from ragge@.  Should be pulled up to netbsd-10 and netbsd-9.

(martin)

2023-02-01 18:56:44 UTC netbsd-9 commitmail json YAML

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

sys/arch/next68k/next68k/machdep.c: revision 1.117
sys/arch/next68k/dev/esp.c: revision 1.65
sys/arch/next68k/include/cpu.h: revision 1.51
sys/arch/next68k/include/bus_space.h: revision 1.20
sys/arch/next68k/next68k/clock.c: revision 1.13

next68k: Fix delay_divisor value for proper delay(9) on 68040.

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.
Should be pulled up to netbsd-10 and netbsd-9.

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.

This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

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

(martin)

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

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

sys/arch/next68k/next68k/machdep.c: revision 1.117
sys/arch/next68k/dev/esp.c: revision 1.65
sys/arch/next68k/include/cpu.h: revision 1.51
sys/arch/next68k/include/bus_space.h: revision 1.20
sys/arch/next68k/next68k/clock.c: revision 1.13

next68k: Fix delay_divisor value for proper delay(9) on 68040.

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.
Should be pulled up to netbsd-10 and netbsd-9.

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.

This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

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

(martin)

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

ddbping - restore the original narration of the example, NFCI

Adjust previous change so that it only replaces my home-grown define
for the end marker with the new official DDB_END_CMD marker that it
introduced.  Undo the rest of that last change.

As the author of this example I'm pretty sure what example I wanted to
set and this narration order is an important part of it.

(uwe)

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

mutex.9: add a small detail to the history section

(gutteridge)

2023-01-31 21:11:24 UTC MAIN commitmail json YAML

2023-01-31 13:21:37 UTC MAIN commitmail json YAML

module(9): Make error message for multiple MODULE decls more obvious.

(riastradh)

2023-01-31 13:09:54 UTC MAIN commitmail json YAML

sys/modules/drmkms_pci: Remove drm_agpsupport.c.

This was moved to a separate drmkms_agp module.

XXX pullup-10
XXX pullup-9, maybe (not sure any of modularized drmkms works in 9, though)

(riastradh)

2023-01-31 13:09:05 UTC MAIN commitmail json YAML

sys/modules/drmkms: Remove GPU scheduler files.

These have been moved out to drmkms_sched.kmod.

XXX pullup-10

(riastradh)

2023-01-31 01:42:32 UTC MAIN commitmail json YAML

Note that strchrnul() first appeared in glibc 2.1.1 and appeared in
FreeBSD 10 before it appeared in NetBSD 8.

(simonb)

2023-01-30 19:51:33 UTC MAIN commitmail json YAML

2023-01-30 19:49:50 UTC MAIN commitmail json YAML

PR/57205: Dag-Erling Sm�rgrav: Add tests strchrnul(3), fix strchr pasto
from strlen.

(christos)

2023-01-30 15:22:03 UTC MAIN commitmail json YAML

auto-extend suffix length if required

If the input cannot be split into the number of files resulting from the
default suffix length, automatically extend the suffix length rather than
bailing out with 'too many files'.

Suffixes are extended such that the resulting files continue to sort
lexically and "cat *" would reproduce the input.  For example, splitting
a 1M lines file into (default) 1000 lines per file would yield files
named 'xaa', 'xab', ..., 'xyy', 'xyz', 'xzaaa', 'xzaab', ..., 'xzanl'.

If '-a' is specified, the suffix length is not auto-extended.

This behavior matches GNU sort(1) since around version 8.16.

(jschauma)

2023-01-30 13:45:26 UTC MAIN commitmail json YAML

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

2023-01-30 11:54:25 UTC netbsd-10 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #62):

distrib/common/bootimage/fstab.in: revision 1.4

Make sure to mount /var/shm

Programs such as firefox seem to require it,
and this file is used by the live image as well.

(martin)

2023-01-30 11:52:23 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/if_aq.c: revision 1.40
sys/dev/pci/if_aq.c: revision 1.41
sys/dev/pci/if_aq.c: revision 1.42
sys/dev/pci/if_aq.c: revision 1.43
sys/dev/pci/if_aq.c: revision 1.44
share/man/man4/aq.4: revision 1.5

fix build error in sys/module/if_aq/

avoid error of "comparison of integer expressions of different signedness" and -Werror=sign-compare
- avoid panic when failing during attach or detach with modload/drvctl.
- free workqueue resources when detaching.
- remove debug message.

fix indentation

Added support for the Aquantia (Marvell) AQC113 10G Network Adapter and the variants, to aq(4)
- add AQC113 and the variants
- fix first appeared version to 9.1. it was backported.
- Don't discard a packet even if the TX descriptor is temporarily not enough,
  and error messages are not output.
- The argument to aq_encap_txring() need not be an mbuf reference, pass an entity.
pointed out by nisimura@. thanks

(martin)

2023-01-30 11:44:39 UTC netbsd-10 commitmail json YAML

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

share/man/man4/puc.4: revision 1.44
sys/dev/pci/pucdata.c: revision 1.114

Add and entry for the EXAR XR17V354 4-port UART.
From Hakan Engvall.
PR kern/57202

(martin)

2023-01-30 11:44:23 UTC netbsd-10 commitmail json YAML

2023-01-30 11:43:35 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1477

Add ID for the EXAR XR17V354 PCIe UART.
PR kern/57202

(martin)

2023-01-30 11:42:11 UTC netbsd-9 commitmail json YAML

2023-01-30 11:35:16 UTC netbsd-9 commitmail json YAML

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

share/man/man4/puc.4: revision 1.44
sys/dev/pci/pucdata.c: revision 1.114

Add and entry for the EXAR XR17V354 4-port UART.
From Hakan Engvall.
PR kern/57202

(martin)

2023-01-30 11:34:21 UTC netbsd-9 commitmail json YAML

2023-01-30 11:32:22 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1477

Add ID for the EXAR XR17V354 PCIe UART.
PR kern/57202

(martin)

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

2023-01-29 22:12:25 UTC MAIN commitmail json YAML

Make sure to mount /var/shm

Programs such as firefox seem to require it,
and this file is used by the live image as well.

(maya)

2023-01-29 18:37:20 UTC MAIN commitmail json YAML

lint: properly clean up when leaving a function definition

(rillig)

2023-01-29 18:16:48 UTC MAIN commitmail json YAML

2023-01-29 18:13:56 UTC MAIN commitmail json YAML

2023-01-29 17:36:26 UTC MAIN commitmail json YAML

2023-01-29 17:20:48 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2023-01-29 17:13:10 UTC MAIN commitmail json YAML

lint: don't warn about negative '>>' when the actual value is positive

(rillig)

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

2023-01-29 17:00:12 UTC MAIN commitmail json YAML

Make a vax bootloader work on 8MB VAXen.

64KB (0x800000 - 0x7f0000) is not enough for the bootloader itself
and more spaces are required for heap on loading a kernel.
https://mail-index.netbsd.org/port-vax/2023/01/24/msg004149.html

"Go ahead" from ragge@.  Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-01-29 16:07:14 UTC MAIN commitmail json YAML

Remove old prototypes from writing that shouldn't have been comitted at all!

(reinoud)

2023-01-29 15:17:51 UTC MAIN commitmail json YAML

Add and entry for the EXAR XR17V354 4-port UART.

From H奪kan Engvall.
PR kern/57202

(thorpej)

2023-01-29 15:08:03 UTC MAIN commitmail json YAML

2023-01-29 15:07:32 UTC MAIN commitmail json YAML

Add ID for the EXAR XR17V354 PCIe UART.

From H奪kan Engvall.
PR kern/57202

(thorpej)

2023-01-29 13:57:35 UTC MAIN commitmail json YAML

lint: inline an expression, clean up comments

No functional change.

(rillig)

2023-01-29 13:47:16 UTC MAIN commitmail json YAML

lint: untangle conditions in promote_c90

No functional change.

(rillig)

2023-01-29 09:24:33 UTC MAIN commitmail json YAML

2023-01-29 07:54:11 UTC MAIN commitmail json YAML

build framework for embedded brotli.

need to figure out a way to handle tools build vs installed build
before we can enable it in freetype itself.

(mrg)

2023-01-29 06:55:44 UTC MAIN commitmail json YAML

add brotli to x11 src dirs.

(mrg)

2023-01-28 14:54:43 UTC MAIN commitmail json YAML

revert previous, seems to lose data.

(christos)

2023-01-28 13:13:17 UTC MAIN commitmail json YAML

2023-01-28 13:12:16 UTC MAIN commitmail json YAML

Catch up to 20 years of HTML and URL changes.

(jmcneill)

2023-01-28 12:41:07 UTC MAIN commitmail json YAML

Remove two entries. Those were pulled up to netbsd-10 branch.

(msaitoh)

2023-01-28 12:36:52 UTC MAIN commitmail json YAML

amdsmn(4),amdzentemp(4): Add Zen3+ Rembrandt(19h/4xh) & Zen4 Genoa(19h/1xh).

(msaitoh)

2023-01-28 08:45:11 UTC MAIN commitmail json YAML

Switch sh3 to binutils 2.39

(martin)

2023-01-28 08:36:17 UTC MAIN commitmail json YAML

tests/lint: document how compilers promote bit-fields

(rillig)

2023-01-28 08:30:12 UTC MAIN commitmail json YAML

tests/lint: investigate how compilers interpret bit-fields

(rillig)

2023-01-28 07:45:21 UTC MAIN commitmail json YAML

Reduce diff against DragonFly. No functional change.

(msaitoh)

2023-01-28 05:25:18 UTC MAIN commitmail json YAML

add missing ./etc/fonts/conf.avail/10-yes-antialias.conf, noted by wiz.

(mrg)

2023-01-28 00:55:48 UTC MAIN commitmail json YAML

lint: extract casting to a union into separate function

No functional change.

(rillig)

2023-01-28 00:46:14 UTC MAIN commitmail json YAML

lint: use stronger wording in comments of unimplemented offsetof

(rillig)

2023-01-28 00:39:49 UTC MAIN commitmail json YAML

lint: split usual arithmetic conversions into separate functions

No functional change.

(rillig)

2023-01-28 00:24:05 UTC MAIN commitmail json YAML

lint: split integer promotions into separate functions

No functional change.

(rillig)

2023-01-28 00:12:00 UTC MAIN commitmail json YAML

lint: remove commented code from new_tnode

The approach in that code was wrong anyway.  If an expression is shifted
to the right, that doesn't change the declared type of the expression,
it only changes the possible range of values.  A better way to implement
these restricted value spaces is by using integer_constraints.

No functional change.

(rillig)

2023-01-27 23:36:04 UTC MAIN commitmail json YAML

When trying to scrub characters in a macro to convert:

    # 123 "foo.c" 1 -> .linefile 123"foo.c"1

check if there is space first. Otherwise give up.

On the vax it was trying to scrub:

    # 2672 "foo.c" 1
    emul %r2,%r0,$0,%r4
    # 0 "" 2

and ended up with an incomplete string:

    .linefile 2672"foo.c"1
    emul %r2,%r0,$0,%r4
    .
And then when the assembler tried to parse the next line after the emul
barfed with unknown pseudo-op .

(christos)

2023-01-27 23:29:15 UTC MAIN commitmail json YAML

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

2023-01-27 20:03:03 UTC MAIN commitmail json YAML

mvme68k: Specify proper constraints for bus_space_read region and multi ops.

Sync with next68k.

(tsutsui)

2023-01-27 19:50:02 UTC MAIN commitmail json YAML

news68k: Specify proper constraints for bus_space_read region and multi ops.

Synk with next68k.
Also use consistent register name constrains, i.e. no '%' prefix.

(tsutsui)

2023-01-27 19:49:21 UTC MAIN commitmail json YAML

luna68k: Specify proper constraints for bus_space_read region and multi ops.

Sync with next68k.

(tsutsui)

2023-01-27 19:48:00 UTC MAIN commitmail json YAML

hp300: Specify proper constraints for bus_space_read region and multi ops.

Synk with next68k.
Also use consistent register name constrains, i.e. no '%' prefix.

(tsutsui)

2023-01-27 19:39:04 UTC MAIN commitmail json YAML

whitespace / comment pedantry

(jschauma)

2023-01-27 15:36:58 UTC MAIN commitmail json YAML

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

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

(tsutsui)

2023-01-27 15:31:05 UTC MAIN commitmail json YAML

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.
This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

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

(tsutsui)

2023-01-27 15:25:47 UTC MAIN commitmail json YAML

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.

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

(tsutsui)

2023-01-27 15:21:52 UTC MAIN commitmail json YAML

2023-01-27 09:33:43 UTC MAIN commitmail json YAML

ipsec: remove unnecessary splsoftnet

Because the code of IPsec itself is already MP-safe.

(ozaki-r)

2023-01-27 09:28:41 UTC MAIN commitmail json YAML

2023-01-26 22:20:16 UTC MAIN commitmail json YAML

+ABE    attribute-based encryption
+TEE    Trusted Execution Environment

(jschauma)

2023-01-26 20:48:18 UTC MAIN commitmail json YAML

2023-01-26 17:16:57 UTC MAIN commitmail json YAML

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

2023-01-26 01:24:19 UTC MAIN commitmail json YAML

- Don't discard a packet even if the TX descriptor is temporarily not enough,
  and error messages are not output.
- The argument to aq_encap_txring() need not be an mbuf reference, pass an entity.

pointed out by nisimura@. thanks

(ryo)

2023-01-26 00:15:48 UTC MAIN commitmail json YAML

do some cleanup
the gm driver has been commented out for 20 years, time to remove it
while there, remove ofb and the old ADB code which have been commented out
since 2007

(macallan)

2023-01-25 22:36:56 UTC MAIN commitmail json YAML

add mipsel and m68k to binutils 2.39

(christos)

2023-01-25 22:35:06 UTC MAIN commitmail json YAML

2023-01-25 21:45:37 UTC MAIN commitmail json YAML

2023-01-25 21:43:33 UTC MAIN commitmail json YAML

merge our changes from 9.16.33 to 9.16.37

(christos)

2023-01-25 19:52:14 UTC MAIN commitmail json YAML

shar.1: remove false security claim

It's easy to embed arbitrary shell code in a line starting with 'X',
which the suggested egrep command would fail to detect.

(rillig)

2023-01-25 19:08:41 UTC MAIN commitmail json YAML

disable no ifuncs no mips error for now.

(christos)

2023-01-25 15:54:53 UTC MAIN commitmail json YAML

2023-01-25 13:37:31 UTC MAIN commitmail json YAML

2023-01-25 00:16:50 UTC MAIN commitmail json YAML

switch sun2 to binutils 2.39

(christos)

2023-01-24 23:23:31 UTC MAIN commitmail json YAML

sparc64/db_trace.c: Don't dereference; use db_read_bytes.

Makes crash(8) and ddb match, and avoids crashing in ddb when you
feed in a bad lwp pointer!

(riastradh)

2023-01-24 23:23:12 UTC MAIN commitmail json YAML

sparc64/db_trace.c: Nix trailing whitespace.

No functional change intended.

(riastradh)

2023-01-24 18:49:29 UTC MAIN commitmail json YAML

switch vax to binutils 2.39

(christos)

2023-01-24 17:50:18 UTC MAIN commitmail json YAML

mark unused arguments as such

(christos)

2023-01-24 09:57:16 UTC MAIN commitmail json YAML

x86/isa/clock.c: Nix trailing whitespace.

No functional change intended.

(riastradh)

2023-01-24 09:35:20 UTC MAIN commitmail json YAML

x86/acpi/acpi_machdep.c: Nix trailing whitespace.

No functional change intended.

(riastradh)

2023-01-24 08:45:47 UTC MAIN commitmail json YAML

Consistently use cached chipset tag value.

(mlelstv)

2023-01-24 08:40:46 UTC MAIN commitmail json YAML

Consistently use cached chipset tag value.

(mlelstv)

2023-01-24 08:34:18 UTC MAIN commitmail json YAML

Sanitize capacity values.

(mlelstv)

2023-01-24 08:17:11 UTC MAIN commitmail json YAML

Pace I/O timing to match the audio interface.
Enable interrupts while copying buffers.

(mlelstv)

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

Use opendisk when looking for filesystem type, otherwise the detection
only works if the correct device path is given as an argument.

(mlelstv)

2023-01-24 08:05:07 UTC MAIN commitmail json YAML

2023-01-24 08:02:58 UTC MAIN commitmail json YAML

Shut down SSL when closing connection.

(mlelstv)

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

2023-01-24 07:57:20 UTC MAIN commitmail json YAML

whitespace, no code change.

(mlelstv)

2023-01-24 07:09:48 UTC MAIN commitmail json YAML

Don't panic with invalid user data, just return an error.

(mlelstv)

2023-01-24 07:04:27 UTC MAIN commitmail json YAML

Fix two signed comparisons that were missed in the last patch.
Found be rillig@

(mlelstv)

2023-01-24 06:56:40 UTC MAIN commitmail json YAML

2023-01-24 00:24:02 UTC MAIN commitmail json YAML

2023-01-24 00:20:00 UTC MAIN commitmail json YAML

2023-01-24 00:19:15 UTC MAIN commitmail json YAML

make: log adjustments of var.readOnly

(sjg)

2023-01-23 23:01:53 UTC MAIN commitmail json YAML

2023-01-23 22:20:59 UTC MAIN commitmail json YAML

fix typos in comments.

(andvar)

2023-01-23 22:16:45 UTC MAIN commitmail json YAML

2023-01-23 21:52:01 UTC MAIN commitmail json YAML

s/cyliner/cylinder/ and s/specturm/spectrum/ in messages.

(andvar)

2023-01-23 21:22:44 UTC MAIN commitmail json YAML

s/makre/make/ in comment.

(andvar)

2023-01-23 16:02:49 UTC netbsd-10 commitmail json YAML

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

sys/dev/pci/piixpm.c: revision 1.68
sys/dev/pci/piixpm.c: revision 1.69
sys/dev/pci/piixpmreg.h: revision 1.13
sys/dev/pci/piixpm.c: revision 1.70
sys/dev/pci/piixpm.c: revision 1.71
sys/dev/pci/piixpm.c: revision 1.72

Modify comment. Whitespace. No functional change.

Simplify and modify for following MMIO support. No functional change.
Modify for following MMIO support. No functional change.

Use MMIO for PM register access on newer revision's devices.
Newer revision's device only support memory mapped access. At least,
X670E's SMBus device that the revision ID is 0x71 doesn't support I/O
access. Use MMIO access for newer devices. Linux uses >= 0x51 for the
check, so we do the same check. Note that X570's SMBus(rev. 0x61) supports
I/O access...

Modify error message to match the current behavior.

(martin)

2023-01-23 14:12:59 UTC netbsd-10 commitmail json YAML

2023-01-23 14:12:08 UTC netbsd-9 commitmail json YAML

2023-01-23 14:11:23 UTC netbsd-8 commitmail json YAML

2023-01-23 14:07:25 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/files.pci 1.442
sys/dev/pci/ixgbe/ix_txrx.c 1.99-1.100
sys/dev/pci/ixgbe/ixgbe.c 1.320-1.324 via patch
sys/dev/pci/ixgbe/ixgbe_82598.c 1.19
sys/dev/pci/ixgbe/ixgbe_api.c 1.28
sys/dev/pci/ixgbe/ixgbe_common.c 1.43
sys/dev/pci/ixgbe/ixgbe_netbsd.h 1.17
sys/dev/pci/ixgbe/ixv.c 1.183

- Add an option for Tx to use deferred softint regardless of whether
  can get txq lock or not. It's off by default.
- Call txeof first, then rxeof for the consistency.
- Make three "Unsupported SFP+ module..." messages the same.
- KNF. Modify comment. Fix typo.

(martin)

2023-01-23 14:04:42 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/files.pci 1.442
sys/dev/pci/ixgbe/ix_txrx.c 1.99-1.100
sys/dev/pci/ixgbe/ixgbe.c 1.320-1.324 via patch
sys/dev/pci/ixgbe/ixgbe_82598.c 1.19
sys/dev/pci/ixgbe/ixgbe_api.c 1.28
sys/dev/pci/ixgbe/ixgbe_common.c 1.43
sys/dev/pci/ixgbe/ixgbe_netbsd.h 1.17
sys/dev/pci/ixgbe/ixv.c 1.183

- Add an option for Tx to use deferred softint regardless of whether
  can get txq lock or not. It's off by default.
- Call txeof first, then rxeof for the consistency.
- Make three "Unsupported SFP+ module..." messages the same.
- KNF. Modify comment. Fix typo.

(martin)

2023-01-23 14:01:26 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/if_wm.c 1.764-1.767 via patch
sys/dev/pci/if_wmreg.h 1.128

- Workaround for some hypervisor environments. The environments
  cannot stop e1000 interrupt immediately.
- Rename nq_txdesc' member "nqrx_ctx" to "nqtx_ctx". No functional
  change.
- Add comment. Modify comment.
- KNF.

(martin)

2023-01-23 13:59:04 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_wm.c 1.764-1.767 via patch
sys/dev/pci/if_wmreg.h 1.128

- Workaround for some hypervisor environments. The environments
  cannot stop e1000 interrupt immediately.
- Rename nq_txdesc' member "nqrx_ctx" to "nqtx_ctx". No functional
  change.
- Add comment. Modify comment.
- KNF.

(martin)

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

Sync to HEAD, requested by mrg in ticket #59:

external/mit/xorg/bin/cxpm/Makefile            up to 1.3
external/mit/xorg/bin/sxpm/Makefile            up to 1.3
external/mit/xorg/lib/libXpm/xpm.mk            up to 1.2
external/mit/xorg/lib/libXpm/Makefile          up to 1.4

Adjust for upstream fixes for CVE-2022-46285, CVE-2022-44617, and
CVE-2022-4883.

(martin)

2023-01-23 13:49:22 UTC netbsd-10 commitmail json YAML

xsrc/external/mit/libXpm/dist/AUTHORS@1.1.1.1.28.1 / diff / nxr@1.1.1.1.28.1
xsrc/external/mit/libXpm/dist/COPYING@1.1.1.3.12.1 / diff / nxr@1.1.1.3.12.1
xsrc/external/mit/libXpm/dist/ChangeLog@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/libXpm/dist/Makefile.am@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/libXpm/dist/Makefile.in@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/libXpm/dist/README.md@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/libXpm/dist/aclocal.m4@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/libXpm/dist/compile@1.1.1.2.2.1 / diff / nxr@1.1.1.2.2.1
xsrc/external/mit/libXpm/dist/config.guess@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/libXpm/dist/config.h.in@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
xsrc/external/mit/libXpm/dist/config.sub@1.1.1.6.2.1 / diff / nxr@1.1.1.6.2.1
xsrc/external/mit/libXpm/dist/configure@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/libXpm/dist/configure.ac@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/libXpm/dist/cxpm/Makefile.in@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/libXpm/dist/cxpm/cxpm.c@1.1.1.4.14.1 / diff / nxr@1.1.1.4.14.1
xsrc/external/mit/libXpm/dist/depcomp@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
xsrc/external/mit/libXpm/dist/doc/Makefile.in@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/libXpm/dist/doc/README.MSW@1.1.1.2.14.1 / diff / nxr@1.1.1.2.14.1
xsrc/external/mit/libXpm/dist/doc/README.html@1.1.1.2.14.1 / diff / nxr@1.1.1.2.14.1
xsrc/external/mit/libXpm/dist/include/Makefile.in@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
      :
(more 91 files)
Sync with HEAD, requested by mrg in ticket #59:

external/mit/libXpm/dist/man/XpmAttributesSize.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateBuffer.man up to 1.1.1.2
external/mit/libXpm/dist/man/XpmCreateBufferFromImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateBufferFromPixmap.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateBufferFromXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateData.man  up to 1.1.1.2
external/mit/libXpm/dist/man/XpmCreateDataFromImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateDataFromPixmap.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateDataFromXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateImage.man up to 1.1.1.2
external/mit/libXpm/dist/man/XpmFree.man        up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateImageFromBuffer.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateImageFromData.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateImageFromXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreatePixmap.man up to 1.1.1.2
external/mit/libXpm/dist/man/XpmCreatePixmapFromBuffer.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreatePixmapFromData.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreatePixmapFromXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateXpmImage.man up to 1.1.1.2
external/mit/libXpm/dist/man/XpmCreateXpmImageFromBuffer.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateXpmImageFromData.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateXpmImageFromImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmCreateXpmImageFromPixmap.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmFreeAttributes.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmFreeXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmFreeExtensions.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmFreeXpmInfo.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmGetErrorString.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmLibraryVersion.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmMisc.man        up to 1.1.1.2
external/mit/libXpm/dist/man/XpmRead.man        up to 1.1.1.2
external/mit/libXpm/dist/man/XpmReadFileToBuffer.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmReadFileToData.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmReadFileToImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmReadFileToPixmap.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmReadFileToXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmWrite.man      up to 1.1.1.2
external/mit/libXpm/dist/man/XpmWriteFileFromBuffer.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmWriteFileFromImage.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmWriteFileFromPixmap.man up to 1.1.1.1
external/mit/libXpm/dist/man/XpmWriteFileFromXpmImage.man up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/BlueCurves.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/Dimple.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/Dolphins.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/Miniweave.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/Squares.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/Swirl.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/Utah-teapot.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/chromesphere.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/plaid-lisp.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/plaid-v1.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/plaid-v2.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/plaid-v3.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/xorg-bw.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/good/xorg.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/CVE-2016-10164-poc.xpm.gz.gz.gz up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/doom.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/doom2.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/invalid-type.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/no-contents.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/unending-comment-c.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/zero-width-v1.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/invalid/zero-width.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/pixmaps/no-mem/oversize.xpm up to 1.1.1.1
external/mit/libXpm/dist/test/CompareXpmImage.h up to 1.1.1.1
external/mit/libXpm/dist/test/Makefile.am      up to 1.1.1.1
external/mit/libXpm/dist/test/Makefile.in      up to 1.1.1.1
external/mit/libXpm/dist/test/TestAllFiles.h    up to 1.1.1.1
external/mit/libXpm/dist/test/XpmCreate.c      up to 1.1.1.1
external/mit/libXpm/dist/test/XpmMisc.c        up to 1.1.1.1
external/mit/libXpm/dist/test/XpmRead.c        up to 1.1.1.1
external/mit/libXpm/dist/test/XpmWrite.c        up to 1.1.1.1
external/mit/libXpm/dist/test/tap-test          up to 1.1.1.1
external/mit/libXpm/dist/tap-driver.sh          up to 1.1.1.1
external/mit/libXpm/dist/test-driver            up to 1.1.1.1
external/mit/libXpm/dist/AUTHORS                up to 1.1.1.2
external/mit/libXpm/dist/COPYING                up to 1.1.1.4
external/mit/libXpm/dist/ChangeLog              up to 1.1.1.9
external/mit/libXpm/dist/Makefile.am            up to 1.1.1.6
external/mit/libXpm/dist/Makefile.in            up to 1.1.1.9
external/mit/libXpm/dist/README.md              up to 1.1.1.3
external/mit/libXpm/dist/aclocal.m4            up to 1.1.1.9
external/mit/libXpm/dist/compile                up to 1.1.1.4
external/mit/libXpm/dist/config.guess          up to 1.1.1.7
external/mit/libXpm/dist/config.h.in            up to 1.1.1.6
external/mit/libXpm/dist/config.sub            up to 1.1.1.8
external/mit/libXpm/dist/configure              up to 1.1.1.9
external/mit/libXpm/dist/configure.ac          up to 1.1.1.9
external/mit/libXpm/dist/depcomp                up to 1.1.1.6
external/mit/libXpm/dist/install-sh            up to 1.1.1.6
external/mit/libXpm/dist/ltmain.sh              up to 1.1.1.9
external/mit/libXpm/dist/missing                up to 1.1.1.7
external/mit/libXpm/dist/cxpm/Makefile.in      up to 1.1.1.9
external/mit/libXpm/dist/cxpm/cxpm.c            up to 1.1.1.5
external/mit/libXpm/dist/doc/Makefile.in        up to 1.1.1.7
external/mit/libXpm/dist/doc/README.MSW        up to 1.1.1.3
external/mit/libXpm/dist/doc/README.html        up to 1.1.1.3
external/mit/libXpm/dist/include/Makefile.in    up to 1.1.1.7
external/mit/libXpm/dist/m4/libtool.m4          up to 1.1.1.4
external/mit/libXpm/dist/man/Makefile.am        up to 1.1.1.2
external/mit/libXpm/dist/man/Makefile.in        up to 1.1.1.6
external/mit/libXpm/dist/src/Makefile.in        up to 1.1.1.9
external/mit/libXpm/dist/src/RdFToI.c          up to 1.1.1.5
external/mit/libXpm/dist/src/WrFFrI.c          up to 1.1.1.7
external/mit/libXpm/dist/src/create.c          up to 1.5
external/mit/libXpm/dist/src/data.c            up to 1.1.1.5
external/mit/libXpm/dist/src/hashtab.c          up to 1.1.1.4
external/mit/libXpm/dist/src/parse.c            up to 1.1.1.8
external/mit/libXpm/dist/src/rgbtab.h          up to 1.1.1.2
external/mit/libXpm/dist/src/scan.c            up to 1.1.1.5
external/mit/libXpm/dist/sxpm/Makefile.in      up to 1.1.1.9

Upstream fixes for CVE-2022-46285, CVE-2022-44617, and CVE-2022-4883.

(martin)

2023-01-23 13:43:07 UTC netbsd-9 commitmail json YAML

Apply patch, requested by mrg in ticket #1577:

Adjust for upstream patches for the followign CVEs:

  CVE-2022-46285, CVE-2022-44617, CVE-2022-4883, CVE-2020-14363,
  CVE-2022-46340, CVE-2022-46341, CVE-2022-46342 CVE-2022-46343,
  CVE-2022-46344, CVE-2022-46283, CVE-2021-4008, CVE-2021-4009,
  CVE-2021-4010, CVE-2021-4011

(martin)

2023-01-23 13:40:05 UTC MAIN commitmail json YAML

npf(9): Drop table lock around copyout.

It is forbidden to hold a spin lock around copyout, and t_lock is a
spin lock.

We need t_lock in order to iterate over the list of entries.
However, during copyout itself, we only need to ensure that the
object we're copying out isn't freed by npf_table_remove or
npf_table_gc.

Fortunately, the only caller of npf_table_list, npf_table_remove, and
npf_table_gc is npfctl_table, and it serializes all of them by the
npf config lock.  So we can safely drop t_lock across copyout.

PR kern/57136
PR kern/57181

(riastradh)

2023-01-23 13:40:01 UTC netbsd-9 commitmail json YAML

2023-01-23 13:36:04 UTC netbsd-8 commitmail json YAML

Apply patch, requested by mrg in ticket #1794:

Adjust for upstream fixes for the following CVEs:

  CVE-2022-46285, CVE-2022-44617, CVE-2022-4883, CVE-2020-14363,
  CVE-2022-46340, CVE-2022-46341, CVE-2022-46342 CVE-2022-46343,
  CVE-2022-46344, CVE-2022-46283, CVE-2021-4008, CVE-2021-4009,
  CVE-2021-4010, CVE-2021-4011

(martin)

2023-01-23 13:33:05 UTC netbsd-8 commitmail json YAML

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

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

usr.bin/locate/locate/updatedb.sh: revision 1.18

locate.updatedb: Add -- to the invocation of locate.code

A bigram can start with a dash/minus, don't let getopt misinterpret it
as an option.

From Hakan Engvall in PR misc/57191

(martin)

2023-01-23 13:17:28 UTC netbsd-9 commitmail json YAML

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

usr.bin/locate/locate/updatedb.sh: revision 1.18

locate.updatedb: Add -- to the invocation of locate.code

A bigram can start with a dash/minus, don't let getopt misinterpret it
as an option.

From Hakan Engvall in PR misc/57191

(martin)

2023-01-23 13:16:18 UTC netbsd-8 commitmail json YAML

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

usr.bin/locate/locate/updatedb.sh: revision 1.18

locate.updatedb: Add -- to the invocation of locate.code

A bigram can start with a dash/minus, don't let getopt misinterpret it
as an option.

From Hakan Engvall in PR misc/57191

(martin)

2023-01-23 13:13:08 UTC netbsd-8 commitmail json YAML

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

usr.sbin/cpuctl/arch/i386.c                    1.129-1.135

- Print cpuid 7 sub-leaf 1 %ebx, %edx and sub-leaf 2 %edx.
- Add Raptor Lake and Sapphire Rapids.
- Modify messages a little.

(martin)

2023-01-23 13:09:54 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/include/specialreg.h 1.193-1.198

- 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 11 RTM_ALWAYS_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 definitions.
- Add CPUID Fn0000_000d sub-leaf 1 %eax bit 4 XFD.
- Add CPUID Fn0000_001d Tile Information.
- Add CPUID Fn0000_001e TMUL Information.
- Add CPUID Fn8000_0007 %eax RAS capabilities.
- Add CPUID Fn8000_0008 %ebx BTC_NO,
- Add cpuid Fn8000_000a x2AVIC, VNMI, IBSVIRT and ROGPT.
- Add CPUID Fn8000_001b Instruction-Based Sampling.
- Add CPUID Fn8000_001e Processor Topology Information.
- Add CPUID Fn8000_001f %eax RPMQUERY, VmplSSS, TscAuxVirt,
  VmgexitParam, VirtualTomMsr, IbsVirtGuest, SmtProtection,
  vsmCommPageMSR and NestedVirtSnpMsr.
- Add CPUID Fn8000_0021 AMD Extended Features Identification 2.
- Add CPUID Fn8000_0022 AMD Extended Performance Monitoring and Debug.
- Rename HW_FEEDBACK to HWI (Hardware Feedback Interface).
- Rename TSX_FORCE_ABORT to RTM_FORCE_ABORT.
- Modify comment. Both Intel and AMD support CPUID Fn0000000b.
- Modify comment. Hybrid Information -> Native Model ID Information.
- Use __BIT(). Add comment. Whitespace fix.

(martin)

2023-01-23 13:04:12 UTC netbsd-9 commitmail json YAML

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

usr.sbin/cpuctl/arch/i386.c 1.129-1.135 (via patch)

- Print cpuid 7 sub-leaf 1 %ebx, %edx and sub-leaf 2 %edx.
- Add Raptor Lake and Sapphire Rapids.
- Modify messages a little.

(martin)

2023-01-23 13:00:53 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/include/specialreg.h 1.193-1.198

- 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 11 RTM_ALWAYS_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 definitions.
- Add CPUID Fn0000_000d sub-leaf 1 %eax bit 4 XFD.
- Add CPUID Fn0000_001d Tile Information.
- Add CPUID Fn0000_001e TMUL Information.
- Add CPUID Fn8000_0007 %eax RAS capabilities.
- Add CPUID Fn8000_0008 %ebx BTC_NO,
- Add cpuid Fn8000_000a x2AVIC, VNMI, IBSVIRT and ROGPT.
- Add CPUID Fn8000_001b Instruction-Based Sampling.
- Add CPUID Fn8000_001e Processor Topology Information.
- Add CPUID Fn8000_001f %eax RPMQUERY, VmplSSS, TscAuxVirt,
  VmgexitParam, VirtualTomMsr, IbsVirtGuest, SmtProtection,
  vsmCommPageMSR and NestedVirtSnpMsr.
- Add CPUID Fn8000_0021 AMD Extended Features Identification 2.
- Add CPUID Fn8000_0022 AMD Extended Performance Monitoring and Debug.
- Rename HW_FEEDBACK to HWI (Hardware Feedback Interface).
- Rename TSX_FORCE_ABORT to RTM_FORCE_ABORT.
- Modify comment. Both Intel and AMD support CPUID Fn0000000b.
- Modify comment. Hybrid Information -> Native Model ID Information.
- Use __BIT(). Add comment. Whitespace fix.

(martin)

2023-01-23 12:54:14 UTC netbsd-10 commitmail json YAML

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

usr.sbin/cpuctl/arch/i386.c: revision 1.134
usr.sbin/cpuctl/arch/i386.c: revision 1.135

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

Add Raptor Lake and Sapphire Rapids.

(martin)

2023-01-23 12:52:17 UTC netbsd-10 commitmail json YAML

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

sys/arch/x86/include/specialreg.h: revision 1.200
sys/arch/x86/include/specialreg.h: revision 1.201
sys/arch/x86/include/specialreg.h: revision 1.199

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

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.

Fix comment.

(martin)

2023-01-23 12:46:14 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/piixpm.c 1.66,1.68-1.72 via patch
sys/dev/pci/piixpmreg.h 1.13

Add support new AMD chipsets that do not have indirect access
I/O ports.

(martin)

2023-01-23 12:43:36 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/piixpm.c 1.66,1.68-1.72 via patch
sys/dev/pci/piixpmreg.h 1.13

Add support new AMD chipsets that do not have indirect access
I/O ports.

(martin)

2023-01-23 12:28:51 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/pci/amdzentemp.c: revision 1.16

match zen3 "cezanne" (ryzen 5000-series APU.)

(martin)

2023-01-23 12:27:33 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/pci/amdzentemp.c: revision 1.16

match zen3 "cezanne" (ryzen 5000-series APU.)

(martin)

2023-01-23 12:25:06 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c: revision 1.46

Add x2avic. Modify comment.

(martin)

2023-01-23 12:23:53 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c: revision 1.46

Add x2avic. Modify comment.

(martin)

2023-01-23 12:21:48 UTC netbsd-10 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c: revision 1.46

Add x2avic. Modify comment.

(martin)

2023-01-23 12:16:00 UTC netbsd-10 commitmail json YAML

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

sys/dev/ic/igpio.c: revision 1.5
sys/dev/ic/igpioreg.h: revision 1.3
sys/dev/ic/igpioreg.h: revision 1.4
sys/dev/ic/igpioreg.h: revision 1.5
sys/dev/ic/igpioreg.h: revision 1.6
sys/dev/ic/igpioreg.h: revision 1.7
sys/dev/ic/igpioreg.h: revision 1.8
sys/dev/ic/igpiovar.h: revision 1.2
share/man/man4/igpio.4: revision 1.3

Fix entries for Lewisburg.

One more fix for Lewisburg.

Modify comment. Whitespace. No functional change.

Whitespace. No functional change.

Whitespace. No functional change.

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

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.

igpio.4: Update list of supported devices.

(martin)

2023-01-23 12:10:12 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/xhci_pci.c 1.31 via patch
sys/dev/usb/xhci.c 1.173-1.175
sys/dev/usb/xhcivar.h 1.22

Support xHCI device which has USB 2 port only.

(martin)

2023-01-23 12:05:36 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/xhci_pci.c 1.31 via patch
sys/dev/usb/xhci.c 1.173-1.175
sys/dev/usb/xhcivar.h 1.22

Support xHCI device which has USB 2 port only.

(martin)

2023-01-22 21:36:12 UTC MAIN commitmail json YAML

fix typos in comments (s/adn/and/ and s/wan tDHCP/want DHCP/).

(andvar)

2023-01-22 21:09:48 UTC MAIN commitmail json YAML

revert workaround for lint

A simple '-DFC_NO_MT' in the Makefile works even better.

(rillig)

2023-01-22 20:47:13 UTC MAIN commitmail json YAML

2023-01-22 20:41:25 UTC MAIN commitmail json YAML

new vax compiler issues

(christos)

2023-01-22 20:36:46 UTC MAIN commitmail json YAML

2023-01-22 19:57:59 UTC MAIN commitmail json YAML

fontconfig: fix lint build (GCC internals in <stdatomic.h>)

(rillig)

2023-01-22 18:45:43 UTC MAIN commitmail json YAML

npf(9): Another comment tweak to match upstream.

No functional change.

(riastradh)

2023-01-22 18:39:35 UTC MAIN commitmail json YAML

npf(9): Update comment to reduce diff from upstream.

No functional change.

(riastradh)

2023-01-22 18:39:22 UTC MAIN commitmail json YAML

npf(9): Use __HAVE_ATOMIC_AS_MEMBAR around refcnt consistently.

(riastradh)