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 (178d) 

2024-05-10 10:50:12 UTC Now

2021-12-05 09:46:05 UTC MAIN commitmail json YAML

dab.6: fix URL reference to the book

(rillig)

2021-12-05 09:22:45 UTC MAIN commitmail json YAML

2021-12-05 08:19:57 UTC MAIN commitmail json YAML

2021-12-05 08:18:18 UTC MAIN commitmail json YAML

s/trival/trivial/ in comment.

(msaitoh)

2021-12-05 08:17:21 UTC MAIN commitmail json YAML

s/transcat/transact/ in comment.

(msaitoh)

2021-12-05 08:16:10 UTC MAIN commitmail json YAML

2021-12-05 08:13:12 UTC MAIN commitmail json YAML

2021-12-05 08:11:40 UTC MAIN commitmail json YAML

s/systme/system/ in comment.

(msaitoh)

2021-12-05 08:10:39 UTC MAIN commitmail json YAML

s/sybolic/symbolic/ in comment.

(msaitoh)

2021-12-05 08:09:30 UTC MAIN commitmail json YAML

2021-12-05 08:03:32 UTC MAIN commitmail json YAML

2021-12-05 08:03:07 UTC MAIN commitmail json YAML

2021-12-05 07:57:38 UTC MAIN commitmail json YAML

2021-12-05 07:56:10 UTC MAIN commitmail json YAML

2021-12-05 07:53:57 UTC MAIN commitmail json YAML

2021-12-05 07:51:26 UTC MAIN commitmail json YAML

2021-12-05 07:47:40 UTC MAIN commitmail json YAML

2021-12-05 07:44:53 UTC MAIN commitmail json YAML

2021-12-05 07:35:17 UTC MAIN commitmail json YAML

2021-12-05 07:33:56 UTC MAIN commitmail json YAML

2021-12-05 07:30:51 UTC MAIN commitmail json YAML

s/recored/record/ in comment.

(msaitoh)

2021-12-05 07:28:20 UTC MAIN commitmail json YAML

2021-12-05 07:26:35 UTC MAIN commitmail json YAML

2021-12-05 07:25:11 UTC MAIN commitmail json YAML

s/rather then/rather than/ in comment.

(msaitoh)

2021-12-05 07:23:44 UTC MAIN commitmail json YAML

s/programatic/programmatic/ in comment.

(msaitoh)

2021-12-05 07:21:59 UTC MAIN commitmail json YAML

2021-12-05 07:18:53 UTC MAIN commitmail json YAML

2021-12-05 07:15:03 UTC MAIN commitmail json YAML

s/prefering/preferring/ in comment.

(msaitoh)

2021-12-05 07:13:49 UTC MAIN commitmail json YAML

2021-12-05 07:11:56 UTC MAIN commitmail json YAML

2021-12-05 07:08:08 UTC MAIN commitmail json YAML

s/persistant/persistent/ in comment.

(msaitoh)

2021-12-05 07:06:17 UTC MAIN commitmail json YAML

2021-12-05 07:04:30 UTC MAIN commitmail json YAML

s/Overwirte/Overwrite/ in comment.

(msaitoh)

2021-12-05 07:02:28 UTC MAIN commitmail json YAML

s/ommit/omit/ in comment.

(msaitoh)

2021-12-05 05:03:05 UTC MAIN commitmail json YAML

2021-12-05 05:01:50 UTC MAIN commitmail json YAML

2021-12-05 04:58:59 UTC MAIN commitmail json YAML

s/imples/implies/ in comment.

(msaitoh)

2021-12-05 04:57:38 UTC MAIN commitmail json YAML

s/gurantee/guarantee/ in comment.

(msaitoh)

2021-12-05 04:56:40 UTC MAIN commitmail json YAML

2021-12-05 04:54:21 UTC MAIN commitmail json YAML

2021-12-05 04:49:36 UTC MAIN commitmail json YAML

s/followings bits/following bits/ in comment.

(msaitoh)

2021-12-05 04:48:35 UTC MAIN commitmail json YAML

s/folllowing/following/

(msaitoh)

2021-12-05 04:47:18 UTC MAIN commitmail json YAML

2021-12-05 04:46:33 UTC MAIN commitmail json YAML

2021-12-05 04:43:57 UTC MAIN commitmail json YAML

s/failes/fails/ in comment.

(msaitoh)

2021-12-05 04:42:55 UTC MAIN commitmail json YAML

2021-12-05 04:39:49 UTC MAIN commitmail json YAML

differnt -> different

(msaitoh)

2021-12-05 04:38:54 UTC MAIN commitmail json YAML

2021-12-05 04:37:12 UTC MAIN commitmail json YAML

2021-12-05 04:35:38 UTC MAIN commitmail json YAML

2021-12-05 04:32:36 UTC MAIN commitmail json YAML

2021-12-05 04:31:06 UTC MAIN commitmail json YAML

s/exchage/exchange/ in comment.

(msaitoh)

2021-12-05 04:29:53 UTC MAIN commitmail json YAML

s/corret/correct/ in comment.

(msaitoh)

2021-12-05 04:28:53 UTC MAIN commitmail json YAML

2021-12-05 04:26:37 UTC MAIN commitmail json YAML

s/comparsion/comparision/ in comment.

(msaitoh)

2021-12-05 04:25:33 UTC MAIN commitmail json YAML

auxilary -> auxiliary

(msaitoh)

2021-12-05 04:24:08 UTC MAIN commitmail json YAML

s/asychronous/asynchronous/ in comment.

(msaitoh)

2021-12-05 04:22:50 UTC MAIN commitmail json YAML

s/argumetn/argument/ in comment.

(msaitoh)

2021-12-05 04:21:31 UTC MAIN commitmail json YAML

2021-12-05 03:45:04 UTC MAIN commitmail json YAML

2021-12-05 03:43:51 UTC MAIN commitmail json YAML

2021-12-05 03:42:01 UTC MAIN commitmail json YAML

2021-12-05 03:24:19 UTC MAIN commitmail json YAML

s/absense/absence/ in comment.

(msaitoh)

2021-12-05 03:13:50 UTC MAIN commitmail json YAML

2021-12-05 03:12:14 UTC MAIN commitmail json YAML

2021-12-05 03:10:53 UTC MAIN commitmail json YAML

2021-12-05 03:08:20 UTC MAIN commitmail json YAML

2021-12-05 03:07:16 UTC MAIN commitmail json YAML

2021-12-05 03:04:41 UTC MAIN commitmail json YAML

2021-12-05 03:01:59 UTC MAIN commitmail json YAML

s/implictily/implicitly/ in comment.

(msaitoh)

2021-12-05 02:59:50 UTC MAIN commitmail json YAML

2021-12-05 02:56:55 UTC MAIN commitmail json YAML

s/faciliate/facilitate/ in comment.

(msaitoh)

2021-12-05 02:54:54 UTC MAIN commitmail json YAML

s/explcit/expilcit/ in comment.

(msaitoh)

2021-12-05 02:53:51 UTC MAIN commitmail json YAML

s/expecially/especially/ in comment.

(msaitoh)

2021-12-05 02:52:17 UTC MAIN commitmail json YAML

2021-12-05 02:49:21 UTC MAIN commitmail json YAML

s/encript/encrypt/ in comment.

(msaitoh)

2021-12-05 02:47:01 UTC MAIN commitmail json YAML

2021-12-05 02:41:44 UTC MAIN commitmail json YAML

2021-12-05 02:25:29 UTC MAIN commitmail json YAML

2021-12-05 02:24:16 UTC MAIN commitmail json YAML

s/commited/committed/

(msaitoh)

2021-12-05 02:21:08 UTC MAIN commitmail json YAML

2021-12-04 23:47:10 UTC MAIN commitmail json YAML

make: merge duplicate code in ParseDirective

No functional change.

(rillig)

2021-12-04 15:21:55 UTC MAIN commitmail json YAML

Assume WSMOUSE_TYPE_TPANEL if calibration data is present and the device
is in raw mode. The WSMOUSEIO_GTYPE ioctl may not return the correct type
on a wsmux if there is a mix of absolute and relative pointers attached.

Reverts "xf86-input-ws: Port auto-calibration bits from xf86-input-mouse".

Suggested by uwe@

(jmcneill)

2021-12-04 15:03:58 UTC MAIN commitmail json YAML

cgdconfig.8: Use argon2id in examples

(nia)

2021-12-04 14:53:56 UTC MAIN commitmail json YAML

synaptics: Fix tracking of extended buttons.

- Ensure that packets are processed whenever any button change
  occurs, instead of just processing packets when there is movement
  or trackpad finger activity
- Only transfer the state of the "extended buttons" to the button
  masks when actual changes occur OR a button is being held down.

With this patch, my middle mouse button no longer gets "stuck down",
but proper press/release tracking and dragging behavior is preserved.

Thanks to blymn for pointers.

(nia)

2021-12-04 14:39:08 UTC MAIN commitmail json YAML

Restore the fptr_t type of {init,fini}{,_array} that was removed when initial
support for indirect functions was added.  This fixes {init,fini}_array support
on hppa where each member of the array is (already) a plabel.

Discussed with joerg.

4 files changed, 29 insertions(+), 39 deletions(-)
: ----------------------------------------------------------------------

(skrll)

2021-12-04 13:34:35 UTC MAIN commitmail json YAML

s/establised/established/ in struct variable name. Also fixed typos in comments.

(andvar)

2021-12-04 13:23:04 UTC MAIN commitmail json YAML

2021-12-04 08:53:34 UTC MAIN commitmail json YAML

Provide a stub _rtld_call_ifunc when a platform doesn't use one of the
common ones or doesn't provide its own.

(skrll)

2021-12-04 08:51:08 UTC MAIN commitmail json YAML

2021-12-04 08:50:41 UTC MAIN commitmail json YAML

2021-12-04 08:45:56 UTC MAIN commitmail json YAML

Error if there are undefined symbols, e.g. _rtld_call_ifunc

(skrll)

2021-12-04 07:23:43 UTC MAIN commitmail json YAML

tests/make: fix test for option '-T'

When run via ATF, the test makefile is not in the current directory.

(rillig)

2021-12-04 06:42:39 UTC MAIN commitmail json YAML

librefuse: Preparation of a proper API versioning; no more #ifdef woes in user code

The goal is to fully support FUSE API version 3.0 while maintaining
API/ABI compatibility with code written for 2.6 (or even older).

* <fuse.h> now emits a compiler warning if it's included without
  defining FUSE_USE_VERSION. It had been silently defaulted to the
  latest supported version prior to this change. This is permissive
  compared to the original FUSE, as it emits an error instead.

* <fuse.h> now emits a warning if FUSE_USE_VERSION is higher than what
  can be provided.

* Added a macro FUSE_MAKE_VERSION(maj, min). It was missing from
  librefuse <fuse.h>.

No actual API updates have been made (yet).

(pho)

2021-12-04 03:40:29 UTC MAIN commitmail json YAML

Change HIDE_AGCRE to be a 0/1 value, rather than defined/undef

By default, don't hide (i.e. export all symbols)

NFC

(agc)

2021-12-04 01:54:51 UTC MAIN commitmail json YAML

Add visibility definitions for agcre.

For any sources embedding these routines, simply define HIDE_AGCRE,
before including the agcre.h header file, and the routines will have
the hidden visibility attribute set on them.  For more information on
that, see

https://gcc.gnu.org/wiki/Visibility

To stop agcre routines being exported in a .so, simply define
HIDE_AGCRE - I've been doing this successfully in library Makefiles,
for example, this is from elex/lib/Makefile (elex is a library that
calls the agcre functions):

# set symbol visibility for .so
CPPFLAGS+=      -DHIDE_AGCRE

and the agcre symbols will be found just fine when linking and
running, but will not be exported by the linker.  This can save
headaches, and weird crashes, especially when combined with ASLR (when
two libraries define the same symbol, but with different structs or
arguments).

BEFORE:
[2021/12/03 Fri 17:47:19] agc@netbsd-002 ~/local/elex-20211115 [13781] > nm -D lib/libelex.so
w _Jv_RegisterClasses
w __cxa_finalize
w __deregister_frame_info
U __fstat50
w __register_frame_info
U __sF
000000000020f198 D _end
000000000000c240 T _fini
0000000000000ea0 T _init
000000000000aa13 T agcre_new
000000000000bc48 T agcre_regasub
000000000000aa28 T agcre_regcomp
000000000000adde T agcre_regerror
000000000000ae48 T agcre_regexec
000000000000b8fd T agcre_regfree
000000000000b9a2 T agcre_regnsub
000000000000b7e8 T agcre_rev_regexec
U asprintf
U calloc
00000000000027f6 T elex_dispose
0000000000002b6a T elex_exec
0000000000002f5b T elex_exec_str
0000000000002982 T elex_make_new_rule
00000000000027bb T elex_new
U fclose
U fopen
U fprintf
U free
U fwrite
U memchr
U memcmp
U memcpy
U memmove
U memset
U mmap
U munmap
U printf
U putchar
U realloc
U snprintf
U strchr
U strcmp
U strdup
000000000000c10c T striter_dispose
000000000000c165 T striter_exec
000000000000c1da T striter_exec_mem
000000000000c0f7 T striter_new
U strlen
U strtol
U strtoul
U vsnprintf
U warn
U warnx
[2021/12/03 Fri 17:47:22] agc@netbsd-002 ~/local/elex-20211115 [13782] >

AFTER adding HIDE_AGCRE (and HIDE_STRITER) to elex/lib/Makefile:
[2021/12/03 Fri 17:47:45] agc@netbsd-002 ~/local/elex-20211115 [13774] > nm -D lib/libelex.so
w _Jv_RegisterClasses
w __cxa_finalize
w __deregister_frame_info
U __fstat50
w __register_frame_info
U __sF
000000000020e160 D _end
000000000000bf30 T _fini
0000000000000c00 T _init
U asprintf
U calloc
00000000000024e6 T elex_dispose
000000000000285a T elex_exec
0000000000002c4b T elex_exec_str
0000000000002672 T elex_make_new_rule
00000000000024ab T elex_new
U fclose
U fopen
U fprintf
U free
U fwrite
U memchr
U memcmp
U memcpy
U memmove
U memset
U mmap
U munmap
U printf
U putchar
U realloc
U snprintf
U strchr
U strcmp
U strdup
U strlen
U strtol
U strtoul
U vsnprintf
U warn
U warnx

(agc)

2021-12-04 00:01:24 UTC MAIN commitmail json YAML

2021-12-03 23:37:30 UTC MAIN commitmail json YAML

make: do not try to expand fixed variable names

The function SetFilenameVars is only called with fixed variable names,
none of which contains a '$', so take a shortcut.

No functional change.

(rillig)

2021-12-03 23:29:30 UTC MAIN commitmail json YAML

make: only allocate the name of an included file if necessary

The string passed to IncludeFile is only used during that function call,
it is not stored anywhere.

No functional change.

(rillig)

2021-12-03 23:13:29 UTC MAIN commitmail json YAML

make: clean up ParseInclude

It was confusing to let the variable 'file' point to the '<' of the
.include directive.  In each parsing function, there should only be a
single moving pointer, typically named 'p' or historically 'cp', even
though the 'c' is redundant.

No functional change.

(rillig)

2021-12-03 22:48:07 UTC MAIN commitmail json YAML

2021-12-03 22:43:51 UTC MAIN commitmail json YAML

2021-12-03 22:41:18 UTC MAIN commitmail json YAML

add shift instructions

(macallan)

2021-12-03 21:55:10 UTC MAIN commitmail json YAML

2021-12-03 19:55:03 UTC netbsd-8 commitmail json YAML

2021-12-03 19:53:32 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c 1.40-1.42

- Add v_spec_ctrl, avx512_fp16, sme, sev, sev_es, sgx, sgx_lc,
  serialize and tsxldtrk.
- Whitespace fix.

(martin)

2021-12-03 19:53:23 UTC MAIN commitmail json YAML

2021-12-03 19:51:52 UTC netbsd-9 commitmail json YAML

2021-12-03 19:49:35 UTC netbsd-9 commitmail json YAML

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

sys/arch/x86/x86/procfs_machdep.c 1.40-1.42

- Add v_spec_ctrl, avx512_fp16, sme, sev, sev_es, sgx, sgx_lc,
  serialize and tsxldtrk.
- Whitespace fix.

(martin)

2021-12-03 19:45:13 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcireg.h 1.148-1.154, 1.156-1.161
sys/dev/pci/pci_subr.c 1.217-1.222, 1.224, 1.227-1.232
via patch
sys/dev/pci/nvme_pci.c 1.31
sys/dev/pci/pci.c 1.158
sys/dev/pci/ppb.c 1.74

- Print Bridge Config Retry Enable bit and Retimer Presence Detect
  Supported bit.
- Add PCIe 4.0 stuff a little:
  - 10-bit Tag Requester/Completer.
  - Add Data link Feature extended capability.
  - Add Physical Layer 16.0 GT/s extended capability. Not decode yet.
- Change pci_conf_print() to allocate memory for the regs dynamically
  instead of on-stack.
- Print some DPC register values not with %04x but with %08x because
  those are 32bit.
- Fix a bug that the virtual channel extended configuration's
  arbitration phase register can't be decoded correctly.
- When parsing Enhanced Allocation entries, use the correct calculation
  for finding the next entry.
- Add 32.0GT/s to the list of pcie speeds (PCIe 5.x.).
- Add Some PCI config information:
  - Lane Margining at the Receiver
  - NVME admin interface
  - UFSHCI
  - InfiniBand
  - Host fabric
  - HDA 1.0 with vendor ext
  - USB4 HCI
  - MIPI I3C
  - Cellular controller/modem (+ Ethernet)
- Change PCI_VENDOR_MASK and PCI_PRODUCT_MASK to unsigned values, to
  prevent sign extension of product ID when shifted up into place in
  PCI_ID_CODE(). Fixes PR kern/56176.
- Add LCAP & LCAP2 definitions.
- Use PCI-SIG official acronyms for some macros.
- Remove unused shift and mask definitions.
- Fix typo in some messages.
- Fix typo in comments.
- Whitespace fixes.

(martin)

2021-12-03 19:43:22 UTC MAIN commitmail json YAML

start optimizing Copy8() operations
- only go right to left if srcY == dstY in the same pixmap
- special case copy where src and dst X have the same alignment
- special case the above where we don't need to read dst
scrolling should now be about as fast as SX can go

(macallan)

2021-12-03 19:40:38 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcireg.h 1.152-1.154, 1.156-1.161
sys/dev/pci/pci_subr.c 1.222, 1.227-1.232 via patch
sys/dev/pci/nvme_pci.c 1.31
sys/dev/pci/pci.c 1.158, 1.163
sys/dev/pci/ppb.c 1.74

- When parsing Enhanced Allocation entries, use the correct calculation
  for finding the next entry.
- Add 32.0GT/s to the list of pcie speeds (PCIe 5.x.).
- Add Some PCI config information:
  - Lane Margining at the Receiver
  - NVME admin interface
  - UFSHCI
  - InfiniBand
  - Host fabric
  - HDA 1.0 with vendor ext
  - USB4 HCI
  - MIPI I3C
  - Cellular controller/modem (+ Ethernet)
- Change PCI_VENDOR_MASK and PCI_PRODUCT_MASK to unsigned values, to
  prevent sign extension of product ID when shifted up into place in
  PCI_ID_CODE(). Fixes PR kern/56176.
- Add LCAP & LCAP2 definitions.
- Use PCI-SIG official acronyms for some macros.
- Fix typo in some messages.
- Fix typo in comments.
- Whitespace fixes.

(martin)

2021-12-03 19:31:19 UTC netbsd-8 commitmail json YAML

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

sys/dev/sdmmc/sdhc.c 1.110, 1.112
sys/dev/sdmmc/sdmmc_mem.c 1.74
sys/dev/pci/sdhc_pci.c 1.18

- Support 64bit BAR.
- Use unsigned to avoid undefined behavior in hwrite[12]() and
  sdmmc_mem_sd_switch().
- Fix typo in comment.

(martin)

2021-12-03 18:43:52 UTC MAIN commitmail json YAML

tests/make: document .MAKE.SAVE_DOLLARS in modifier ':@'

(rillig)

2021-12-03 18:29:35 UTC MAIN commitmail json YAML

make: condense ParseModifierPartSubst

No functional change.

(rillig)

2021-12-03 18:23:03 UTC MAIN commitmail json YAML

make: extract ParseModifierPartExpr from ParseModifierPartSubst

No functional change.

(rillig)

2021-12-03 18:20:41 UTC netbsd-9 commitmail json YAML

Pull up the followin revisions (all via patch), requested by msaitoh
in ticket #1383:

sys/dev/sdmmc/sdhc.c 1.110, 1.112
sys/dev/sdmmc/sdmmc_mem.c 1.74
sys/dev/pci/sdhc_pci.c 1.18

- Support 64bit BAR.
- Use unsigned to avoid undefined behavior in hwrite[12]() and
  sdmmc_mem_sd_switch().
- Fix typo in comment.

(martin)

2021-12-03 18:14:28 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pucdata.c 1.103, 1.106-1.112
share/man/man4/puc.4 1.42-1.43

- Add Amazon.com EC2 virtual 16650-compatible PCI serial device.
- Add NetMos NM9900 Quad and Octal serial card.
- Add ASIX AX99100 PCIe 4port serial card.
- Add Oxford Semiconductor Exsys EX-41098 PCI serial card.

(martin)

2021-12-03 18:11:42 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pucdata.c 1.106-1.112
share/man/man4/puc.4 1.42-1.43

- Add NetMos NM9900 Quad and Octal serial card.
- Add ASIX AX99100 PCIe 4port serial card.
- Add Oxford Semiconductor Exsys EX-41098 PCI serial card.

(martin)

2021-12-03 18:08:51 UTC MAIN commitmail json YAML

make: extract ParseModifierPartDollar from ParseModifierPartSubst

No functional change.

(rillig)

2021-12-03 17:54:30 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/ichsmb.c 1.69, 1.71, 1.73-1.75 via patch

- Add Intel 400, 495, and 500 series support.
- Add Intel Jasper Lake and Elkhart Lake support.
- Ignores the SMBALERT# interrupt. Same as other OSes.

(martin)

2021-12-03 17:49:41 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/ichsmb.c 1.69, 1.71, 1.73-1.75 via patch

- Add Intel 400, 495, and 500 series support.
- Add Intel Jasper Lake and Elkhart Lake support.
- Ignore the SMBALERT# interrupt. Same as other OSes.

(martin)

2021-12-03 17:40:39 UTC netbsd-8 commitmail json YAML

2021-12-03 17:38:16 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcidevs 1.1441-1.1444

- Add Intel Gemini Lake TXE HECI 1.
- Add Intel Elkhart Lake and Rocket Lake devices.
- Update Jasper Lake's Processor Transaction Routers.

(martin)

2021-12-03 17:34:39 UTC netbsd-9 commitmail json YAML

2021-12-03 17:32:42 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcidevs 1.1441-1.1444

- Add Intel Gemini Lake TXE HECI 1.
- Add Intel Elkhart Lake and Rocket Lake devices.
- Update Jasper Lake's Processor Transaction Routers.

(martin)

2021-12-03 17:12:17 UTC MAIN commitmail json YAML

Use size_t in place of voff_t in puffs_setrootinfo(3)

Chuck Silvers pointed out that voff_t was also supposed to be
kernel-only. The correct type to use in userland would be off_t, but
since changing vsize_t to either voff_t or off_t is an ABI change on
32-bit platforms, we use size_t knowing that it is technically
incorrect.

(pho)

2021-12-03 16:54:26 UTC MAIN commitmail json YAML

use 32bit accesses for non-trivial cases in Solid8() as well
while there make GXset and GXclear special cases of GXcopy
with this we only ever read the destination pixmap if we really need to

(macallan)

2021-12-03 14:00:59 UTC MAIN commitmail json YAML

Avoid using register_t or vsize_t in <puffs.h>

<puffs.h> is a user-space header, and should not use any of
kernel-only types. It's not reasonable to require user-land
filesystems to #define _KERNTYPES.

(pho)

2021-12-03 13:27:40 UTC MAIN commitmail json YAML

2021-12-03 13:08:10 UTC MAIN commitmail json YAML

Avoid using register_t in <fs/puffs/puffs_msgif.h>

The purpose of this header file is to interface between the
kernel-space and user-space, and is #include'd by a user-space header
<puffs.h>. It should therefore not use any of kernel-only types, as
it's not reasonable to require user-land filesystems to #define
_KERNTYPES.

(pho)

2021-12-03 10:54:19 UTC MAIN commitmail json YAML

fix the typo that martin spotted.

(skrll)

2021-12-03 10:49:25 UTC MAIN commitmail json YAML

s/rigth/right/ in comment.

(andvar)

2021-12-03 09:20:23 UTC MAIN commitmail json YAML

Fixed a bug in sigreturn that sigmask was not restored.

(ryo)

2021-12-03 08:33:30 UTC MAIN commitmail json YAML

Only one space after comma

(gson)

2021-12-03 08:02:52 UTC MAIN commitmail json YAML

Add a comment and simplify the code ever so slightly.

(skrll)

2021-12-03 08:00:13 UTC MAIN commitmail json YAML

Use the first (not second) event counter as there might only be one
available.

(skrll)

2021-12-03 06:10:07 UTC MAIN commitmail json YAML

2021-12-03 05:28:33 UTC MAIN commitmail json YAML

retire sni_exiu.c in favour of ACPI0013 generic event divice to
respond power button press.

(nisimura)

2021-12-03 05:21:52 UTC MAIN commitmail json YAML

retire sni_exiu.c in favour of ACPI0013 generic event device implemented
by dev/acpi/acpi_ged.c

(nisimura)

2021-12-02 22:53:43 UTC MAIN commitmail json YAML

fix shadow fb geometry calculations
... not that a shadow fb helps much on this hardware.

(macallan)

2021-12-02 22:41:01 UTC MAIN commitmail json YAML

tests/make: fix test for .MAKE.SAVE_DOLLARS

The previous assumption was wrong that only literal '$$' that occur
directly in the right-hand side of a variable assignment would be
affected.  Indirect variable definitions are affected as well when they
are evaluated nestedly, as long as the '$$' appears in the text of the
variable that is actually parsed.  Whether the '$$' ends up in the
expanded value of the expression doesn't matter though.

(rillig)

2021-12-02 22:35:26 UTC MAIN commitmail json YAML

first step towards acceleration in 8 bit colour
- Copy() uses byte mode
- Solid() uses 32bit writes where possible for plain fills
... mostly works, but could be quite a bit faster

(macallan)

2021-12-02 22:32:36 UTC MAIN commitmail json YAML

support 8 bit colour
no acceleration yet, the code is riddled with 32bit per pixel assumptions

(macallan)

2021-12-02 21:59:22 UTC MAIN commitmail json YAML

bta2dpd(8): s/conection/connection/

(andvar)

2021-12-02 21:55:22 UTC MAIN commitmail json YAML

btconfig(8): s/fomat/format/ and article fix.

(andvar)

2021-12-02 14:26:42 UTC MAIN commitmail json YAML

PR/56530: RVP: use ioctl to get the partition size if possible (avoids SEGV)

(christos)

2021-12-02 14:26:12 UTC MAIN commitmail json YAML

PR/56530: RVP: fix iconv open error.

(christos)

2021-12-02 13:26:40 UTC MAIN commitmail json YAML

PR/56529: RVP: mount should try ffs when DIOCGWEDGEINFO returns an empty
dkw_ptype.

(christos)

2021-12-02 05:10:05 UTC MAIN commitmail json YAML

Add some devices.

(msaitoh)

2021-12-02 04:39:45 UTC MAIN commitmail json YAML

2021-12-02 04:29:49 UTC MAIN commitmail json YAML

2021-12-02 04:26:10 UTC MAIN commitmail json YAML

don't call MODULE_HOOK_SET(), if exec_sigcode_alloc() fails.

(ryo)

2021-12-01 23:56:56 UTC MAIN commitmail json YAML

tests/make: test target '.DEFAULT'

(rillig)

2021-12-01 23:56:29 UTC MAIN commitmail json YAML

tests/make: test target '.DEFAULT'

(rillig)

2021-12-01 23:15:38 UTC MAIN commitmail json YAML

tests/make: clean up test for .MAKE.SAVE_DOLLARS

(rillig)

2021-12-01 21:44:12 UTC MAIN commitmail json YAML

flex(1): fix option name in man page.

From Anon.

(wiz)

2021-12-01 21:33:19 UTC MAIN commitmail json YAML

Use aprint_debug instead of aprint_error for expected failure.

(msaitoh)

2021-12-01 17:47:11 UTC MAIN commitmail json YAML

remove old guesswork code to determine VRAM size - we can rely on OBP now

(macallan)

2021-12-01 14:17:51 UTC MAIN commitmail json YAML

Revert my previous change to struct fuse_opt

I should have thought twice before commiting it. Of course changing
the layout of a struct breaks ABI compatibility. Change the offset
back to fixed 32 bits.

(pho)

2021-12-01 13:51:33 UTC MAIN commitmail json YAML

Use correct types for the fields of struct fuse_opt

This change shouldn't make any behavioral differences in reality, but
compilers these days dislike converting -1U to int32_t implicitly,
which is indeed understandable.

(pho)

2021-11-30 23:58:10 UTC MAIN commitmail json YAML

tests/make: document that undefining .MAKE.SAVE_DOLLARS has no effect

(rillig)

2021-11-30 23:52:19 UTC MAIN commitmail json YAML

2021-11-30 20:48:01 UTC MAIN commitmail json YAML

tests/make: convert tests for modifier '::=' to parse time

This puts the expected result of the expressions closer to the
expressions, making the tests self-contained.

The error messages that used to produce trailing spaces have been fixed
in var.c 1.853 from 2021-02-23. The error message now encloses the
variable name in quotes.

(rillig)

2021-11-30 15:16:42 UTC MAIN commitmail json YAML

2021-11-30 15:16:18 UTC MAIN commitmail json YAML

Add Intel Rocket Lake devices.

(msaitoh)

2021-11-30 13:13:10 UTC netbsd-9 commitmail json YAML

2021-11-30 13:11:47 UTC netbsd-9 commitmail json YAML

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

usr.bin/msgs/pathnames.h: revision 1.5

msgs(1): avoid executing /usr/bin/Mail, it no longer exists.

(martin)

2021-11-30 12:37:38 UTC MAIN commitmail json YAML

In zfs_statvfs(), set f_bresvd and f_fresvd to 0.  Fixes random kernel
accounting suspend/resumes with erroneous values leaking out.

Note: no userland leakage as statvfs(2) handler memset 0's the buffer.

XXX: Should be fixed with a memset in VFS_STATVFS().

(simonb)

2021-11-30 12:32:10 UTC MAIN commitmail json YAML

2021-11-30 12:13:12 UTC MAIN commitmail json YAML

Move the call of fuse_operations::init() from fuse_new() to fuse_loop()

Prior to this change we were calling init() before daemonizing the
process. Some filesystems call chdir(2) in init() but fuse_daemonize()
call chdir("/"), which breaks assumptions about the state of the
process.

(pho)

2021-11-30 12:03:38 UTC MAIN commitmail json YAML

msgs(1): avoid executing /usr/bin/Mail, it no longer exists.

https://groups.google.com/g/comp.unix.bsd.netbsd.misc/c/Yni35VNCXOY

(nia)

2021-11-30 11:49:40 UTC netbsd-8 commitmail json YAML

2021-11-30 11:48:29 UTC netbsd-8 commitmail json YAML

Apply patch, requested by msaitoh in ticket #1709:

sys/dev/pci/piixpm.c patch

Fix a bug that I2C access panics on old AMD chipset (e.g SB600).
Fixes PR kern/56525.

(martin)

2021-11-30 11:46:23 UTC netbsd-9 commitmail json YAML

2021-11-30 11:44:39 UTC netbsd-9 commitmail json YAML

Apply patch, requested by msaitoh in ticket #1378:

sys/dev/pci/piixpm.c patch

Fix a bug that I2C access panics on old AMD chipset (e.g SB600).
Fixes PR kern/56525.

(martin)

2021-11-30 11:00:29 UTC MAIN commitmail json YAML

Revert previous. Explicitly load the value of npf or pf

(sborrill)

2021-11-30 06:21:58 UTC MAIN commitmail json YAML

Add /etc/sshd/ssh_host_ed25519_key* .

(simonb)

2021-11-30 05:02:29 UTC MAIN commitmail json YAML

2021-11-30 01:52:06 UTC MAIN commitmail json YAML

- uname should return "aarch64" or "aarch64_be" instead of "evbarm".
- define LINUX_LARGEFILE64 to use rlimit instead of orlimit.

(ryo)

2021-11-30 01:17:02 UTC MAIN commitmail json YAML

2021-11-29 23:58:06 UTC MAIN commitmail json YAML

tests/lint: demonstrate non-enum warning for enum type mismatch

Seen in usr.bin/make/job.c:2122.

(rillig)

2021-11-29 20:03:15 UTC MAIN commitmail json YAML

enable UFS_ACL option for XEN3_DOMU, it's useful for e.g. running Samba in DomU

idea from Matthias Petermann via current-users@

(jdolecek)

2021-11-29 05:59:58 UTC MAIN commitmail json YAML

Set totals.f_frsize to DEV_BSIZE instead of totals.f_bsize so that
addstat() uses an initialised value for total size calculations.
Fixes core dump for "df -c".

(simonb)

2021-11-29 03:57:22 UTC MAIN commitmail json YAML

gmp: pullover fixes for https://nvd.nist.gov/vuln/detail/CVE-2021-43618

changeset 18135:561a9c25298e

mpz/inp_raw.c: Avoid bit size overflows
author Marco Bodrato <bodrato@mail.dm.unipi.it>

XXX: pullup-8, pullup-9

(mrg)

2021-11-29 00:17:10 UTC MAIN commitmail json YAML

tests/make: test escape sequences in string literals for .MAKEFLAGS

These escape sequences differ from those in string literals in
conditions.  In "assignments" to .MAKEFLAGS, \n is a newline, while in a
line like '.if ${VAR} == "\n"', it is simply the letter 'n'.

(rillig)

2021-11-28 23:12:51 UTC MAIN commitmail json YAML

make: fix a few lint warnings about type mismatch in enum comparisons

These warnings were triggered with the lint flag '-e', which enables
additional checks on enums.  This check would have detected the type
mismatch from the previous commit.

The check has a few strange warnings though, complaining about
initialization of 'unsigned long' with 'unsigned long', so don't enable
it for the official builds.

No functional change.

(rillig)

2021-11-28 22:58:55 UTC MAIN commitmail json YAML

make: fix type of variable in ApplyModifier_IfElse

No functional change.

(rillig)

2021-11-28 22:48:07 UTC MAIN commitmail json YAML

make: move duplicate function Buf_AddFlag to buf.c

It is used only for debug output, therefore performance doesn't matter.

No functional change.

(rillig)

2021-11-28 22:38:17 UTC MAIN commitmail json YAML

make: inline SuffixFlags_ToString into Suffix_Print

This gets rid of the string literal "none" and the complicated memory
handling.

No functional change.

(rillig)

2021-11-28 22:27:35 UTC MAIN commitmail json YAML

make: inline SuffixFlags into the Suffix itself

No functional change.

(rillig)

2021-11-28 21:46:17 UTC MAIN commitmail json YAML

make: eliminate CachedStatsFlags

Having two boolean flags as parameters should be easier to understand
than bit manipulations.  The variable names now match more directly.

No functional change.

(rillig)

2021-11-28 20:11:45 UTC MAIN commitmail json YAML

make: fix leftover typo from previous refactoring

(rillig)

2021-11-28 19:51:06 UTC MAIN commitmail json YAML

make: convert GNodeFlags from enum into bit-fields

Now that Enum_ToString is implemented for each type separately, it's
easy to convert them to bit-fields.  This gets rid of the magic numbers
12 for CYCLE and 13 for DONECYCLE that left a suspicious gap in the
numbers.  This gap was not needed since the code didn't make use of the
relative ordering of the enum constants.

The effects of this conversion are fewer capital letters in the code,
smaller scope for the GNode flags, and clearer code especially when
setting a flag back to false.

One strange thing is that GCC 10.3.0 doesn't optimize GNodeFlags_IsNone
to an single bitmasking instruction, at least on x86_64.  Instead it
generates a testb instruction for each of the flags, even loading bit 8
separately from the others.  Clang 12.0.1 knows this optimization
though and generates the obvious sequence of movzwl, testl, jz.

No functional change.

(rillig)

2021-11-28 18:58:58 UTC MAIN commitmail json YAML

make: replace bloated bit-set-to-string code with simple code

It was a nice idea to implement a bit-set using an enum type and have a
generic ToString function for them.  In the end, the implementation
involved really heavy preprocessor magic and was probably difficult to
understand.  Replace all the code with a few bits of straight-forward
preprocessor magic that can be readily understood by just looking 5
lines around, instead of digging through 130 lines of lengthy macro
definitions.

Curiously, this reduces the binary size even though the 3 ToString
functions now have a few lines of duplicate code and there are more
explicit function calls.

The ToString functions are only seldom used, so the additional memory
allocation is acceptable.

No functional change.

(rillig)

2021-11-28 18:08:51 UTC MAIN commitmail json YAML

aarch64 also now can execute both 32 and 64 bit

(ryo)

2021-11-28 17:26:07 UTC MAIN commitmail json YAML

make: eliminate common subexpressions in DebugFailedJob

No functional change.

(rillig)

2021-11-28 17:20:39 UTC MAIN commitmail json YAML

make: fix memory leak in jobs mode with -de (since today)

(rillig)

2021-11-28 16:31:39 UTC MAIN commitmail json YAML

tests/indent: test variants of the 'return' statement

(rillig)

2021-11-28 16:20:13 UTC MAIN commitmail json YAML