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

2024-05-09 20:40:11 UTC Now

2022-05-04 07:34:29 UTC MAIN commitmail json YAML

s/entires/entries/ in local variable definition.

(andvar)

2022-05-04 07:32:50 UTC MAIN commitmail json YAML

2022-05-04 06:45:54 UTC MAIN commitmail json YAML

2022-05-04 06:42:43 UTC MAIN commitmail json YAML

More Xeon Scalable / Skylake-E devices

(nia)

2022-05-04 02:38:27 UTC MAIN commitmail json YAML

White space KNF nits.

(simonb)

2022-05-03 22:18:16 UTC MAIN commitmail json YAML

Add mutt_test to the test runs, this test tries to emulate a real
curses application to test the interaction of various curses calls.

(blymn)

2022-05-03 22:12:54 UTC MAIN commitmail json YAML

doc/CHANGES: add indent(1), lint(1), make(1)

(rillig)

2022-05-03 22:01:13 UTC MAIN commitmail json YAML

2022-05-03 20:52:32 UTC MAIN commitmail json YAML

2022-05-03 20:12:28 UTC MAIN commitmail json YAML

Catch up with aarch64 TTBR0 handling in pmap_{,de}activate_efirt and
kpreempt_{en,dis}able.

(skrll)

2022-05-03 20:10:20 UTC MAIN commitmail json YAML

2022-05-03 20:09:54 UTC MAIN commitmail json YAML

Sprinkle some KASSERT(kpreempt_disabled());

(skrll)

2022-05-03 19:05:34 UTC MAIN commitmail json YAML

make: remove test scenarios for old GCC versions

These had been useful for NetBSD 8, which used GCC 5.

(rillig)

2022-05-03 16:47:15 UTC MAIN commitmail json YAML

Catch up with Elftoolchain head: changes to support 'tools' builds
out of the box.

(jkoshy)

2022-05-03 14:20:24 UTC MAIN commitmail json YAML

Fix vnode locking around VOP_OPEN.

(mlelstv)

2022-05-03 14:11:59 UTC MAIN commitmail json YAML

libwsemul_vt100: Rumpified wscons vt100 emulator (wsvt25).

This library provides wscons vt100 emulation (aka TERM=wsvt25).  This
is internal module, not a device, so there's no RUMP_COMPONENT.  The
public interface provided by this module is wsemul_vt100_ops and it
needs the user to provide (in rump namespace) wsdisplay_emulinput and
wsdisplay_emulbell, provided in the real kernel by wsdisplay.

This subdirectory is not hooked into the build.

(uwe)

2022-05-03 13:55:29 UTC MAIN commitmail json YAML

2022-05-03 13:54:18 UTC MAIN commitmail json YAML

Really depend the lockdebug checks on option VNODE_LOCKDEBUG -- were
enabled by accident.

(hannken)

2022-05-03 13:46:22 UTC MAIN commitmail json YAML

2022-05-03 12:53:52 UTC MAIN commitmail json YAML

2022-05-03 12:09:19 UTC MAIN commitmail json YAML

2022-05-03 10:50:42 UTC MAIN commitmail json YAML

Prepare the ground for <elfdefinitions.h> to be used by the 'tools'
build of 'libctf'.

(jkoshy)

2022-05-03 10:09:40 UTC MAIN commitmail json YAML

2022-05-03 08:35:11 UTC MAIN commitmail json YAML

2022-05-03 08:34:00 UTC MAIN commitmail json YAML

Make option VNODE_LOCKDEBUG more functional.

- Add "LOCKED=EXCL" option for vnode operations needing exclusive locked nodes.

- As it is impossible to check for shared locks held by current thread avoid
  false assertions by testing for exclusive lock only in the "LOCKED=NO" case.

- New option "RUMP_VNODE_LOCKDEBUG" enables VNODE_LOCKDEBUG for the rump kernel.

(hannken)

2022-05-03 07:36:20 UTC MAIN commitmail json YAML

Lock vnode for VOP_LOOKUP().

(hannken)

2022-05-03 07:35:43 UTC MAIN commitmail json YAML

No IO_NODELOCKED for unlocked vnode.

(hannken)

2022-05-03 07:34:38 UTC MAIN commitmail json YAML

Lock devvp for kauth KAUTH_REQ_SYSTEM_MOUNT_DEVICE.

(hannken)

2022-05-03 07:33:07 UTC MAIN commitmail json YAML

2022-05-03 07:26:19 UTC MAIN commitmail json YAML

2022-05-03 07:25:34 UTC MAIN commitmail json YAML

* Don't redraw the background if the new background character is the
  same as the old one.  This prevents excessive redraws in some
  applications.

* Fix bug introduced when wbkgrndset was fixed, we cannot blindly
  replace any instance of the old background character with the new one
  because some of those characters were put there by the application
  leading to display corruption.  So flag characters as background when
  they are erased and only update the flagged characters when setting
  the background.

(blymn)

2022-05-03 00:29:24 UTC MAIN commitmail json YAML

2022-05-03 00:23:33 UTC MAIN commitmail json YAML

if_wm.c: various spelling and grammar fixes

(gutteridge)

2022-05-02 23:25:13 UTC MAIN commitmail json YAML

tap.4: trim introduction to match current reality

As of 10.0, tap(4) can no longer be used as a bridge(4) endpoint, so
avoid potentially confusing the reader, who'd later encounter the
caveats section, noting use of vether(4) is required instead.

(gutteridge)

2022-05-02 20:27:43 UTC MAIN commitmail json YAML

2022-05-02 20:09:48 UTC MAIN commitmail json YAML

Follow FreeBSD revision <0e15d9fbeba4> and simplify #ifdef'ed code.

This change avoids redefining 'SHN_SUNW_IGNORE' if the symbol is already
present.

(jkoshy)

2022-05-02 19:57:50 UTC MAIN commitmail json YAML

explicitly set TZ=UTC so that we don't depend on the testing rig for it.

(christos)

2022-05-02 18:28:38 UTC MAIN commitmail json YAML

Bug fix: use the correct target path in a dependency.

(jkoshy)

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

xterm: Try to make manpage substitutions more readable.

Use X11EXTRAMANTRANSFORMS to set most of them, so that the sed(1)
syntax noise doesn't drown out the keys/values.  Add comments.

Keep using X11EXTRAMANDEFS for __app_version__ - my make-fu is too
weak to figure out how to do that properly while keeping happy
multiple levels of quoting along the way.

Same output is generated.

(uwe)

2022-05-02 10:13:16 UTC MAIN commitmail json YAML

Only print the appropriate PAR fields for PAR.F={0,1}

Group the fields in the header.

(skrll)

2022-05-02 09:43:23 UTC MAIN commitmail json YAML

2022-05-02 08:12:51 UTC MAIN commitmail json YAML

gdb-12.1 out

(wiz)

2022-05-02 04:39:29 UTC MAIN commitmail json YAML

fix non-MULTIPROCESSOR build

(ryo)

2022-05-01 23:24:34 UTC MAIN commitmail json YAML

xterm(1): Add substitution for __double_buffer__

(uwe)

2022-05-01 23:12:54 UTC MAIN commitmail json YAML

2022-05-01 23:02:32 UTC MAIN commitmail json YAML

bsd.x11.mk: Add xlocaledir substitution.

(uwe)

2022-05-01 22:55:00 UTC MAIN commitmail json YAML

2022-05-01 19:41:35 UTC MAIN commitmail json YAML

src/external/bsd/elftoolchain/dist/libelf/elf.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_begin.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_cntl.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_data.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_end.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_errmsg.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_errno.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_fill.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_flag.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_getarhdr.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_getarsym.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_getbase.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_getident.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_hash.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_kind.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_memory.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_next.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_phnum.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_rand.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libelf/elf_rawfile.c@1.4 / diff / nxr@1.4
      :
(more 37 files)
Remove trailing whitespace from upstream revision strings.

No functional change.

(jkoshy)

2022-05-01 17:25:19 UTC MAIN commitmail json YAML

Make the generated <sys/elfdefinitions.h> file visible when compiling
libdwarf.

(jkoshy)

2022-05-01 17:20:47 UTC MAIN commitmail json YAML

src/external/bsd/elftoolchain/dist/libdwarf/dwarf_abbrev.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_arange.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_attr.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_attrval.c@1.11 / diff / nxr@1.11
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_cu.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_dealloc.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_die.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_dump.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_errmsg.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_finish.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_form.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_frame.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_funcs.m4@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_init.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_lineno.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_loclist.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_macinfo.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_arange.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_attr.c@1.4 / diff / nxr@1.4
src/external/bsd/elftoolchain/dist/libdwarf/dwarf_pro_die.c@1.4 / diff / nxr@1.4
      :
(more 44 files)
Remove trailing whitespace from upstream revision strings to reduce
diffs against upstream.

No functional change.

(jkoshy)

2022-05-01 13:45:46 UTC MAIN commitmail json YAML

2022-05-01 04:24:47 UTC MAIN commitmail json YAML

attach the other pciid for intel 100 series KT serial.

seen on a thinkpad 460s.

(mrg)

2022-05-01 03:18:41 UTC MAIN commitmail json YAML

Rename variables to be more descriptive of their local meaning rather
than referring to external usage.

(pgoyette)

2022-05-01 00:25:42 UTC MAIN commitmail json YAML

tun.4: some xrefs added and minor grammar fixes applied

(gutteridge)

2022-04-30 22:31:23 UTC MAIN commitmail json YAML

lint: inline macro 'sflag'

Mark all places where lint's C90 mode is stricter than its C99 mode.

Most of the situations in which lint produces only warnings instead of
errors covered by the "Constraints" sections in the relevant standards.
This doesn't prevent a specific compiler from accepting it though.

No functional change.

(rillig)

2022-04-30 21:38:03 UTC MAIN commitmail json YAML

lint: inline macro 'tflag'

The definition of the macro tested both allow_trad and allow_c90, but
there is only a single mode in which allow_c90 is false, therefore it
suffices to test only that.

While double-checking each occurrence of tflag individually, I learned
why lint performs lookups of struct members only by name, independently
of the struct in which they are declared.  See typeok_arrow for details.

No functional change.

(rillig)

2022-04-30 20:43:16 UTC MAIN commitmail json YAML

lint: document why in GCC mode, C99 keywords are enabled

(rillig)

2022-04-30 20:24:57 UTC MAIN commitmail json YAML

2022-04-30 19:53:37 UTC MAIN commitmail json YAML

lint: move GCC attributes to the bottom of the list

These identifiers have a simpler definition than the other keywords
since they do not define when they were introduced.

No functional change.

(rillig)

2022-04-30 19:18:48 UTC MAIN commitmail json YAML

lint: inline macro Sflag in cases of expected behavior

In the grammar rules 'enums_with_opt_comma' and 'block_item_list',
checking for allow_c99 was redundant since c99ism does not warn in C99
mode.

In the grammar rule 'designator', align the two actions structurally.

No functional change.

(rillig)

2022-04-30 18:51:00 UTC MAIN commitmail json YAML

lint: inline macro c11flag

No functional change.

(rillig)

2022-04-30 17:09:44 UTC MAIN commitmail json YAML

Don't put temporary files and directories into the atf_srcdir (that
might be read-only!).  Instead, put them in the test's working
directory what the atf framework will automatically clean up after
the test completes.

(pgoyette)

2022-04-30 15:45:41 UTC MAIN commitmail json YAML

Mention the changes for /etc/rc.d/gpio

(brad)

2022-04-30 14:06:10 UTC MAIN commitmail json YAML

add CPU_ID_APPLE_M1_ICESTORM and CPU_ID_APPLE_M1_FIRESTORM.

sync cpuids[] to sys/arch/aarch64/aarch64/cpu.c r1.69

(ryo)

2022-04-30 13:48:09 UTC MAIN commitmail json YAML

Like /etc/rc.d/network, add the ability to put a '!' character as the
first character in /etc/gpio.conf and have the rest evaluated in a
shell.  It is useful to be able to do actions after setting up gpio
pins or attaching gpioiic(4).

(brad)

2022-04-30 13:20:09 UTC MAIN commitmail json YAML

Handle warnings and errors from pcap_activate properly (from bch)

(christos)

2022-04-30 09:24:05 UTC MAIN commitmail json YAML

Now, NULL is always defined correctly, as we include <sys/param.h> above.

(rin)

2022-04-30 07:07:01 UTC MAIN commitmail json YAML

2022-04-30 03:59:15 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Use '\0' instead of NULL for NUL-character.

(rin)

2022-04-30 03:52:41 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Do not use NULL for integer 0.

(rin)

2022-04-30 03:41:05 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Use '\0' instead of NULL for NUL-character.

(rin)

2022-04-30 03:37:09 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Use '\0' instead of NULL for NUL-character.

(rin)

2022-04-29 22:44:44 UTC MAIN commitmail json YAML

lint: make grammar compatible with Bison

Bison and BSD Yacc differ in how they translate the grammar into C code.

Bison:
code above '%union' (YYDEBUG is either undefined or 1)
#include "cgram.h" (which defines YYDEBUG to 0 if undefined)
code from below '%union' until the first '%%'
actions
code below the second '%%'

BSD Yacc:
code above the first '%%' (YYDEBUG is either undefined or 1)
(no #include for "cgram.h")
define YYDEBUG to 0 if undefined
code below the second '%%' (YYDEBUG is either 0 or 1)
actions

The easiest way around these differences is to remove the 'defined(...)'
around the conditionals YYDEBUG, YYBISON and YYBYACC.

(rillig)

2022-04-29 22:17:50 UTC MAIN commitmail json YAML

2022-04-29 21:39:51 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

SCANWAIT and PWAIT are renamed to SCANDELAY and SCANWAIT, respectively,
in order not to redefine PWAIT.

XXX
Too many copies for tgets.c...

(rin)

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

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

Use '\0' instead of NULL for NUL-character.

(rin)

2022-04-29 20:48:27 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

SCANWAIT and PWAIT are renamed to SCANDELAY and SCANWAIT, respectively,
in order not to redefine PWAIT.

(rin)

2022-04-29 20:24:02 UTC MAIN commitmail json YAML

Fix fallout from libsa change; stand.h includes <sys/param.h> now.

- Stop redefining roundup2().
- Compare kvamap->start (uint64_t) with 0 instead of NULL.
- Include <sys/param.h> explicitly.

Thanks gson@ for notification.

(rin)

2022-04-29 19:37:00 UTC MAIN commitmail json YAML

lint: reorder grammar rule begin_type_typespec

This makes the rule structurally more similar to the other rules.  The
goal is that all rules whose name starts with 'begin_type_' actually
start with the rule 'begin_type'.  Currently, some rules parse their
type attributes before 'begin_type', which feels wrong, as type
attributes should be part of the type.

No functional change intended.

(rillig)

2022-04-29 07:45:20 UTC MAIN commitmail json YAML

2022-04-29 07:42:07 UTC MAIN commitmail json YAML

Re-introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is
used instead of secsize obtained by SAIOSECSIZE ioctl.

This hack avoids divdi3 and friends from being linked, in order to
support variable secsize for some archs.

Should be useful for ancient archs, for which secsize is fixed.

Thanks christos@ for comment.

(rin)

2022-04-29 07:19:33 UTC MAIN commitmail json YAML

Remove unused; switched to usr.sbin/installboot/arch/amiga.c long ago.

(rin)

2022-04-29 07:18:17 UTC MAIN commitmail json YAML

Stop twiddling when loading boot.amiga; it is small enough.

Slightly reduce insn's for primary loaders, and stop them to output garbage.

(rin)

2022-04-29 07:12:42 UTC MAIN commitmail json YAML

Simplify relocation rules.

Now, both single- and triple-byte encodings in relocation table
represent addrdiff (instead of absolute file offset for the latter).

Shave off one insn for boot.amiga. Also, for elf2bb(1), relocation
overflow is mitigated and detectable at least even if inevitable
(it seems unlikely to happen although).

(rin)

2022-04-29 07:02:40 UTC MAIN commitmail json YAML

lint: only allow GCC attribute in null statement

The only indented usage in that position is a fallthrough statement, as
a replacement for a /* FALLTHROUGH */ comment.  There is no point in
using _Noreturn or _Alignas as a statement.

Ideally, instead of gcc_attribute, the grammar would allow
gcc_attribute_list here (as always with GCC attributes), but that would
have introduced a reduce/reduce conflict, due to the attributes in the
middle of labeled_statement.

(rillig)

2022-04-29 06:59:29 UTC MAIN commitmail json YAML

Comment that (buffer + 14) stands for reltab in bbstart.s.

(rin)

2022-04-29 06:56:56 UTC MAIN commitmail json YAML

Now, cread.c can be built with -Os.

It was not a compiler bug actually; object code generated with
"-Os -Wa,-l" contains R_68K_16, which is not supported by elf2bb(1).

We should have fixed elf2bb(1), but the problem is gone at the moment.

(rin)

2022-04-29 06:48:22 UTC MAIN commitmail json YAML

Compile boot.amiga without -l option for gas(1).

Fix build failure due to relocation overflows for R_68K_PC16.

(rin)

2022-04-29 06:42:58 UTC MAIN commitmail json YAML

Fix boot.amiga when relocation table is located beyond 0x8000.

In this case, we cannot load reltab directly into %a2 by movw:

For m68k, movw is actually synonym for different instructions when
its destination is data or address register, respectively.

(1) For data register, it is for move.w, which loads source into lower
    half word with upper wharf word being kept untouched.

(2) For address register, it is movea.w, which loads source with
    *sign extension*.

XXX
We should really stop using movw, and use move.w or movea.w explicitly.
However, this will end up with BIG diff...

Thanks ryo@ and isaki@ for comments offlist.

(rin)

2022-04-29 06:40:52 UTC MAIN commitmail json YAML

lint: do not allow type attributes after label

After a label, the type attributes _Alignas, __packed and _Noreturn do
not make sense, so don't allow them.  The only kind of attributes that
makes sense there syntactically is GCC __attribute__.  Allow multiple
such attributes, like everywhere in the GCC grammar.

(rillig)

2022-04-28 21:38:38 UTC MAIN commitmail json YAML

lint: revert resolving grammar conflicts for labeled statements

Restore the grammar rule for labeled_statement as it was before cgram.y
1.400 from 2022-04-24.  This allows labels with attributes again.  Fix
the wrong interpretation in the tests; the attributes belong to the
label, not to the statement.

Today in the morning, when I thought that the change in cgram.y 1.400
were innocent, I accidentally ran lint only with the options '-Sw' but
forgot the option '-g' for GNU mode.  Without that option, the token
'__attribute__' is unknown, which unsurprisingly leads to lots of syntax
errors, and these didn't change with that commit.  The actual change was
only visible in GNU mode.

(rillig)

2022-04-28 17:28:15 UTC MAIN commitmail json YAML

Make the thmap(9) used for params use sleepable allocations,
suggested by rmind@. Should fix PR 56802.

(martin)

2022-04-28 15:43:51 UTC MAIN commitmail json YAML

Temporary hack to make PR 56802 (when it happens) tell us for sure that
it is caused by KM_NOSLEEP memory allocation failure.

(martin)

2022-04-28 10:05:47 UTC MAIN commitmail json YAML

2022-04-28 07:17:52 UTC MAIN commitmail json YAML

Add missing "show vmem[s]".

(msaitoh)

2022-04-28 07:10:39 UTC MAIN commitmail json YAML

tests/lint: add test for GCC unused statement

Seen in xsrc/LRGB.c:799.

Even though it looks like this lint error may have been introduced by
cgram.y 1.400 from 2022-04-24 (since LRGB.c has been unchanged for a
month), earlier versions of lint produce the same parse errors.

(rillig)

2022-04-28 07:08:39 UTC MAIN commitmail json YAML

Remove 'a' modifier from "show vmem". It was removed in sbur_vmem.c rev. 1.55.

(msaitoh)

2022-04-28 03:12:03 UTC MAIN commitmail json YAML

be lazy about clearing the cursor - in most cases we're about to overwrite it
anyway. Same logic as with VCONS_DONT_READ.
visible speedup in things like systat and top

(macallan)

2022-04-28 03:07:44 UTC MAIN commitmail json YAML

add locations where pkgsrc installs X11 fonts to the default font path

(macallan)

2022-04-27 23:38:31 UTC MAIN commitmail json YAML

since pmap_activate_efirt() rewrites TTBR0, it is necessary to pmap_activate() again after pmap_deactivate_efirt() to restore the original TTBR0.

- Fix to do pmap_{de,}activate() before/after pmap_{,de}activate_efirt().
- moved kpreempt_{disable,enable}() to the caller since everything between
  arm_efirt_md_enter() and arm_efirt_md_exit() should be kpreempt disabled.

ok skrll@

(ryo)

2022-04-27 23:15:30 UTC MAIN commitmail json YAML

I have been using this for a while and forgot to commit it.  This add
a number of KERNEL_LOCK() calls and at the very least prevents gpioiic
from panicing the system.  This may be a fix for kern/56438.

(brad)

2022-04-27 23:11:25 UTC MAIN commitmail json YAML

After testing with a couple of more samples of the SHT3x sensor chip
it was found that the datasheet does not appear to provide enough
information to make use of the alarm and interrupt function work.  So
actually remove the dead code that was an attempt at making that all
work.  Adjust the man page to mention that this.

(brad)

2022-04-27 22:04:04 UTC MAIN commitmail json YAML

Fix for PR 56243
clear the past EOL flags when moving the cursor - they are no longer
valid as move cannot put the cursor past the EOL.

(blymn)

2022-04-27 17:38:52 UTC MAIN commitmail json YAML

As VOP_GETATTR() needs a shared lock at least move the preopattr lookup
inside nfs_namei() where we may lock the start directory without violating
the lock order.

(hannken)

2022-04-27 16:56:09 UTC netbsd-8 commitmail json YAML

2022-04-27 16:55:18 UTC netbsd-8 commitmail json YAML

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

usr.sbin/quotaon/quotaon.c: revision 1.31
lib/libquota/quota_oldfiles.c: revision 1.10
sys/ufs/ufs/ufs_quota1.c: revision 1.25

Fix default quota file names, both user and group quota used the
same default name "QUOTAFILENAME, names[USRQUOTA])" resulting in
diagnostic assertion and possibly corrupted quota data.

Keep flag "UFS_QUOTA" set until the last quota is closed.
Prevents a live lock when dqrele() finds a struct with "dq_cnt == 1"
and flag "DQ_MOD" and cannot sync as flag UFS_QUOTA is unset.

As the quota type comes from the kernel and is only valid when
quota is on get the type before quota_off and after quota_on.

(martin)

2022-04-27 16:54:20 UTC netbsd-9 commitmail json YAML

2022-04-27 16:53:32 UTC netbsd-9 commitmail json YAML

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

usr.sbin/quotaon/quotaon.c: revision 1.31
lib/libquota/quota_oldfiles.c: revision 1.10
sys/ufs/ufs/ufs_quota1.c: revision 1.25

Fix default quota file names, both user and group quota used the
same default name "QUOTAFILENAME, names[USRQUOTA])" resulting in
diagnostic assertion and possibly corrupted quota data.

Keep flag "UFS_QUOTA" set until the last quota is closed.
Prevents a live lock when dqrele() finds a struct with "dq_cnt == 1"
and flag "DQ_MOD" and cannot sync as flag UFS_QUOTA is unset.

As the quota type comes from the kernel and is only valid when
quota is on get the type before quota_off and after quota_on.

(martin)

2022-04-27 14:50:35 UTC MAIN commitmail json YAML

Revert previous.

On 2022/04/27 21:10, Rin Okuyama wrote:
> Module Name: src
> Committed By: rin
> Date: Wed Apr 27 12:10:47 UTC 2022
>
> Modified Files:
> src/sys/arch/amiga/stand/bootblock/boot: Makefile
>
> Log Message:
> Sprinkle SA_HARDCODED_SECSIZE; now everything fits into
> +/-32KB range visible for PC relative addressing mode.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.57 -r1.58 src/sys/arch/amiga/stand/bootblock/boot/Makefile
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

(rin)

2022-04-27 14:48:50 UTC MAIN commitmail json YAML

Revert previous at the moment.

This is wrong reasoning; 68020 and above (incl. 040 and 060) support
32-bit displacements for PC relative addressing (via "fully extension
addressing mode" with null index register).

I've still not figured out what goes wrong with amiga/boot(8) when
compiled without -l option for gas(1)...

On 2022/04/27 20:48, Rin Okuyama wrote:
> Module Name: src
> Committed By: rin
> Date: Wed Apr 27 11:48:26 UTC 2022
>
> Modified Files:
> src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c
>
> Log Message:
> Introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is
> used instead of secsize obtained by SAIOSECSIZE ioctl.
>
> This hack avoids divdi3 and friends from being linked, in order to
> support variable secsize.
>
> This is useful for amiga/boot(8); it is loaded by firmware into
> unpredictable address, and therefore all symbols should be
> addressable by PC relative mode with only 16-bit displacements.
>
> See sys/arch/amiga/stand/bootblock/{boot/bbstart.s,elf2bb,txlt} for
> more details.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.31 -r1.32 src/sys/lib/libsa/ext2fs.c
> cvs rdiff -u -r1.10 -r1.11 src/sys/lib/libsa/minixfs3.c
> cvs rdiff -u -r1.83 -r1.84 src/sys/lib/libsa/stand.h src/sys/lib/libsa/ufs.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

(rin)

2022-04-27 12:10:47 UTC MAIN commitmail json YAML

Sprinkle SA_HARDCODED_SECSIZE; now everything fits into
+/-32KB range visible for PC relative addressing mode.

(rin)

2022-04-27 11:48:26 UTC MAIN commitmail json YAML

Introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is
used instead of secsize obtained by SAIOSECSIZE ioctl.

This hack avoids divdi3 and friends from being linked, in order to
support variable secsize.

This is useful for amiga/boot(8); it is loaded by firmware into
unpredictable address, and therefore all symbols should be
addressable by PC relative mode with only 16-bit displacements.

See sys/arch/amiga/stand/bootblock/{boot/bbstart.s,elf2bb,txlt} for
more details.

(rin)

2022-04-27 08:06:20 UTC MAIN commitmail json YAML

Add support for the mailbox that provides a communications channel with
additional cores integrated in Apple Silicon.

Also, add an implementation for the protocol to communicate with
coprocessors running firmware based Apple's RTKit OS.

From OpenBSD.

(skrll)

2022-04-27 08:03:06 UTC MAIN commitmail json YAML

Sync with OpenBSD

- port initialisation and device power up. Latter requires the SMC
  GPIO controller which is WIP.

While here
- improve the MSI vector search algorithm; and
- spinkle some BITS(3)

(skrll)

2022-04-27 07:59:18 UTC MAIN commitmail json YAML

Add a driver for the Apple GPIO controller found in Apple silicon.

Derived from the OpenBSD driver.

(skrll)

2022-04-27 07:55:42 UTC MAIN commitmail json YAML

Add support for the power domain controller found in Apple silicon
machines.

(skrll)

2022-04-27 07:53:24 UTC MAIN commitmail json YAML

Sync with OpenBSD

- Use subpage feature
- Catch up with new device tree bindings
- Skip locked DARTs
- Use bypass mode for USB3 DARTs

Other changes from me
- Sprinkle BITS(3)
- Improve interrupt error handling

(skrll)

2022-04-27 06:59:26 UTC MAIN commitmail json YAML

Rename for AMD F15/6X device. No functional change.

(msaitoh)

2022-04-27 06:58:17 UTC MAIN commitmail json YAML

2022-04-27 06:57:48 UTC MAIN commitmail json YAML

Update some AMD devices:

- Rename AMD 15h/6xh devices.
- Add some devices.
- Use OHCI for OHCI device.
- Use EHCI for EHCI device.
- and some minor changes.

(msaitoh)

2022-04-26 22:48:53 UTC MAIN commitmail json YAML

Added new libcurses test.

(blymn)

2022-04-26 22:48:36 UTC MAIN commitmail json YAML

2022-04-26 22:40:32 UTC MAIN commitmail json YAML

Fix for PR 55517.
Actually us x values to recalculate subwin columns.

(blymn)

2022-04-26 15:39:00 UTC MAIN commitmail json YAML

As the quota type comes from the kernel and is only valid when
quota is on get the type before quota_off and after quota_on.

(hannken)

2022-04-26 15:37:25 UTC MAIN commitmail json YAML

Keep flag "UFS_QUOTA" set until the last quota is closed.

Prevents a live lock when dqrele() finds a struct with "dq_cnt == 1"
and flag "DQ_MOD" and cannot sync as flag UFS_QUOTA is unset.

(hannken)

2022-04-26 15:36:42 UTC MAIN commitmail json YAML

Fix default quota file names, both user and group quota used the
same default name "QUOTAFILENAME, names[USRQUOTA])" resulting in
diagnostic assertion and possibly corrupted quota data.

(hannken)

2022-04-26 15:18:08 UTC MAIN commitmail json YAML

Avoid warning by clang of unused variable

While here, use the computated obj_size even though it's always the same as
its information length since we don't use extended attribute files or
stream directories.

(reinoud)

2022-04-26 15:11:42 UTC MAIN commitmail json YAML

Fix endian bug also in commented out code

(reinoud)

2022-04-26 15:09:53 UTC MAIN commitmail json YAML

Fix endian bug : Logblks recorded in fe/efe VAT is 64 bits

(reinoud)

2022-04-26 14:59:37 UTC MAIN commitmail json YAML

Fix endian bug that resulted in UniqueIDs of 0 in file identifiers; note that
the the unique ID in a longad stored in a FID is 32 bit where in the file
descriptor (fe/efe) its 64 bits long.

(reinoud)

2022-04-26 14:54:40 UTC MAIN commitmail json YAML

Fix endian bug in permission storage

(reinoud)

2022-04-26 13:40:15 UTC MAIN commitmail json YAML

Fix endian bug with VAT 1.50 format

(reinoud)

2022-04-26 13:27:24 UTC MAIN commitmail json YAML

No need to use ceilf() when ceil() is already used

(reinoud)

2022-04-26 13:26:30 UTC MAIN commitmail json YAML

Fix endian bug in makefs for udf

(reinoud)

2022-04-26 05:29:15 UTC MAIN commitmail json YAML

Fix typo. No funcitonal change.

(msaitoh)

2022-04-25 20:41:25 UTC MAIN commitmail json YAML

Fix endian bug in logical volume creation for metadata/VAT partitions.

(reinoud)

2022-04-25 15:48:57 UTC MAIN commitmail json YAML

One more style. No binary changes.

(rin)

2022-04-25 15:37:14 UTC MAIN commitmail json YAML

Relax constraints on sequential media detection by checking for VAT format.
This allows fixing images of VAT formatted media too.

(reinoud)

2022-04-25 15:18:15 UTC MAIN commitmail json YAML

Fix endian bug in descriptor CRC length on updating a FE/EFE

(reinoud)

2022-04-25 15:12:07 UTC MAIN commitmail json YAML

libsa now needs ioctl to support media with large sectors. Provide
missing functions.

libsa defines files[] array itself, just reference it.
This also adds another global variable that tracks the root
filesystem module.

(mlelstv)

2022-04-25 15:06:34 UTC MAIN commitmail json YAML

libsa now needs ioctl support to handle media with large sectors.
Provide dummy functions.

(mlelstv)

2022-04-25 14:46:38 UTC MAIN commitmail json YAML

static-ify function bodies of usage() and eval().

No binary changes.

(rin)

2022-04-25 14:45:26 UTC MAIN commitmail json YAML

One more style... No binary changes.

(rin)

2022-04-25 14:39:30 UTC MAIN commitmail json YAML

Wrap looong lines, and misc style/cosmetic fixes.

No binary changes.

(rin)

2022-04-25 14:36:47 UTC MAIN commitmail json YAML

Do not cast return value from malloc(3).

No binary changes.

(rin)

2022-04-25 14:10:15 UTC MAIN commitmail json YAML

- static-ify usage(), intcmp(), and eval()
- remove prototype declaration for main()

NFCI; no binary changes observed for amd64 with -O0.

(rin)

2022-04-25 14:03:15 UTC MAIN commitmail json YAML

Use htobe{16,32}(9) instead of be{16,32}toh(9) where appropriate.

No binary changes both for little and big endian machines.

(rin)

2022-04-25 13:43:50 UTC MAIN commitmail json YAML

2022-04-25 12:39:27 UTC netbsd-9 commitmail json YAML

2022-04-25 12:38:38 UTC netbsd-9 commitmail json YAML

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

xsrc/external/mit/xinit/dist/startx.cpp: revision 1.9

Do not attempt to trap SIGKILL

(martin)

2022-04-25 07:57:23 UTC MAIN commitmail json YAML

Add missing num_{tx,rx}_desc sysctl to sync with ixgbe.c.

(msaitoh)

2022-04-25 07:56:47 UTC MAIN commitmail json YAML

Add missing num_tx_desc sysctl.

(msaitoh)

2022-04-25 07:54:43 UTC MAIN commitmail json YAML

Limit {tx,rx}_process_limit sysctl values from 1 to num_{tx,rx}_desc.

(msaitoh)

2022-04-25 07:51:12 UTC MAIN commitmail json YAML

Use cached rx_copy_len in ixgbe_rxeof().

(msaitoh)

2022-04-25 07:48:53 UTC MAIN commitmail json YAML

Modify comment for consistency. No functional change.

(msaitoh)

2022-04-25 02:29:14 UTC MAIN commitmail json YAML

Update firmware for Intel Centrino Advanced-N 6205 WiFi cards

Use the final version of firmware provided for these cards. This has
been tested with both variants of impacted iwn(4) cards (6005_2X2_1 and
6005_2X2_2, as found in a Dell E6230 and a Lenovo T420), improvements
noted.

(gutteridge)

2022-04-24 20:32:44 UTC MAIN commitmail json YAML

lfs: fix lint warning about empty declaration

(rillig)

2022-04-24 20:08:23 UTC MAIN commitmail json YAML

2022-04-24 19:46:29 UTC MAIN commitmail json YAML

tests/lint: demonstrate missing check for missing type

(rillig)

2022-04-24 19:21:01 UTC MAIN commitmail json YAML

2022-04-24 17:32:23 UTC MAIN commitmail json YAML

lint: resolve 4 shift/reduce conflicts in labeled_statement

The attributes are already parsed as part of the statement.

No functional change intended.

(rillig)

2022-04-24 16:54:09 UTC MAIN commitmail json YAML

lint: resolve 6 shift/reduce conflicts in type_direct_declarator

No functional change intended.

(rillig)

2022-04-24 16:50:06 UTC MAIN commitmail json YAML

lint: solve 6 shift/reduce conflicts in notype_direct_declarator

No functional change intended.

(rillig)

2022-04-24 16:39:56 UTC netbsd-9 commitmail json YAML

2022-04-24 16:39:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by reinoud in ticket #1438):

sys/compat/netbsd32/netbsd32.h: revision 1.140
sys/compat/netbsd32/netbsd32_fs.c: revision 1.95
sys/fs/udf/udf_subr.c: revision 1.169

Fix endian issue with UDF extended attribute handling

Implement support for mounting UDF in compat32
Fixes PR#56801

(martin)

2022-04-24 15:55:50 UTC MAIN commitmail json YAML

2022-04-24 15:07:08 UTC MAIN commitmail json YAML

Fix endian bug in allocation extents processing

(reinoud)

2022-04-24 13:38:57 UTC MAIN commitmail json YAML

lint: reduce shift/reduce conflicts in C grammar

Previously, direct_abstract_declarator allowed type attributes like
_Noreturn to be prepended and appended to a type without specifying any
order.

No functional change intended.

(rillig)

2022-04-24 11:51:09 UTC MAIN commitmail json YAML

virtio: cosmetics - use (*pfn)(...) syntax.

Some people prefer to call function pointers without an explicit
dereference (that is purely cosmetic in this position), especially to
create faux c++ s->pfn(...) with function pointers in struct members.
Some prefer explicit dereference (that requires parens around it).

(pfn)(...) without dereference but with parens looks odd to both, so
make it conform to one of the established alternatives.

Same object code is generated.

(uwe)

2022-04-24 10:36:37 UTC MAIN commitmail json YAML

tests/indent: migrate token tests to other tests

In indent.h 1.49 from 2021-10-25, the enumeration token_type was split
into lexer_symbol and parser_symbol to more clearly express that these
tokens fall into completely different classes of usage patterns.

(rillig)

2022-04-24 10:35:15 UTC MAIN commitmail json YAML

Cast read()/write() result to size_t to make this compile again.

(hannken)

2022-04-24 09:55:48 UTC MAIN commitmail json YAML

Add missing argument to debug printf.

(hannken)

2022-04-24 09:04:12 UTC MAIN commitmail json YAML

2022-04-24 08:52:44 UTC MAIN commitmail json YAML

2022-04-24 08:48:17 UTC MAIN commitmail json YAML

2022-04-24 07:11:31 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2022-04-24 06:52:59 UTC MAIN commitmail json YAML

Don't load filessytem module for filesystem that was found but isn't used
for booting.

(mlelstv)

2022-04-24 06:49:38 UTC MAIN commitmail json YAML

Use physical sector size as unit for disk addresses.
Provide new ioctl to libsa to query for sector size.

(mlelstv)

2022-04-24 06:48:15 UTC MAIN commitmail json YAML

Ask driver about sector size to support reading superblocks from fixed
byte offsets.

(mlelstv)

2022-04-23 22:40:28 UTC MAIN commitmail json YAML

Support large disk sectors.

(mlelstv)

2022-04-23 20:56:43 UTC MAIN commitmail json YAML

gcc-11.3 out.

(wiz)

2022-04-23 17:46:23 UTC MAIN commitmail json YAML

2022-04-23 17:25:58 UTC MAIN commitmail json YAML

2022-04-23 16:22:23 UTC MAIN commitmail json YAML

2022-04-23 13:08:49 UTC MAIN commitmail json YAML

1. add check for December in MM/DD/YYYY
2. unsetenv("TZ") since tests assume UTC (all relative tests and one date test
  fail otherwise)

(christos)

2022-04-23 13:02:04 UTC MAIN commitmail json YAML

fix date -d 12/01/2022, found by Anon Ymous

(christos)

2022-04-23 11:44:01 UTC MAIN commitmail json YAML

audio(4): Fix a typo in comment.  Remove several old comments.

(isaki)

2022-04-23 11:30:57 UTC MAIN commitmail json YAML

audio(4): Clean up about audio_realloc().
- audio_realloc() never returns NULL, so there is no need to check it.
- audio_free() is no point in this case.

(isaki)

2022-04-23 09:59:14 UTC MAIN commitmail json YAML

2022-04-23 09:35:26 UTC MAIN commitmail json YAML

2022-04-23 09:01:03 UTC MAIN commitmail json YAML

2022-04-23 07:55:07 UTC MAIN commitmail json YAML

audio(4): Remove no longer used counters.
These were used at very early phase of development.

(isaki)

2022-04-23 07:47:42 UTC MAIN commitmail json YAML

tests: Add tests for AUDIO_GET[IO]OFFS ioctls.
- AUDIO_GETIOFFS_one_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_one_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_wrap_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_flush_{RDONLY,RDWR,WRONLY}
- AUDIO_GETOOFFS_set_{RDONLY,RDWR,WRONLY}

(isaki)

2022-04-23 07:43:16 UTC MAIN commitmail json YAML

audio(4): Restore(implement) AUDIO_GETIOFFS ioctl.

(isaki)

2022-04-23 06:43:23 UTC MAIN commitmail json YAML

2022-04-23 06:32:20 UTC MAIN commitmail json YAML

indent: remove Capsicum support

NetBSD doesn't have Capsicum.

(rillig)

2022-04-23 06:17:59 UTC MAIN commitmail json YAML

audio(4): Fix an (unintended) minor behavior on AUDIO_FLUSH.
On NetBSD7, when AUDIO_FLUSH was issued, .offset of AUDIO_GETOOFFS was
reinitialized (to one block ahead from zero) or unchanged depend on
whether the user encoding is hardware native or not (probably).
I don't believe that it's intended or we need to maintain it.
Now, AUDIO_FLUSH always clears the offset to zero.

(isaki)

2022-04-22 21:22:15 UTC MAIN commitmail json YAML

Fix endian issues with UDF extended attributes

(reinoud)

2022-04-22 21:21:20 UTC MAIN commitmail json YAML

2022-04-22 21:21:10 UTC MAIN commitmail json YAML

Fix endian issue with UDF extended attribute handling

(reinoud)