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

2024-05-09 23:01:08 UTC Now

2021-04-30 13:49:55 UTC netbsd-9 commitmail json YAML

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

distrib/sets/lists/man/mi: revision 1.1718 (patch)
share/man/man4/man4.evbarm/sun8icrypto.4: revision 1.1
share/man/man4/man4.evbarm/Makefile: revision 1.12 (patch)

add a man page for sun8icrypto(4)

(martin)

2021-04-30 06:55:32 UTC MAIN commitmail json YAML

2021-04-30 06:41:36 UTC MAIN commitmail json YAML

2021-04-30 02:34:13 UTC MAIN commitmail json YAML

If we're enumerating the root bus, skip some well-known nodes that
don't have any useful device child nodes:

aliases
options
openprom
chosen
packages

...and also allow machdep additions to this list (XXX which are temporarily
declared here for arm32 until there's a consistent machine/ofw_machdep.h
header file).

(thorpej)

2021-04-30 02:24:06 UTC MAIN commitmail json YAML

Driver for the I2C bus used for RAM serial presence detection.  This
I2C interface is implemented by bit-banging a couple of GPIO pins on
the Sequoia core logic used in the Shark.

Heavy lifting by Julian Coleman, and minor tweaks and a different
autoconfiguration scheme by me.

(thorpej)

2021-04-30 02:13:15 UTC MAIN commitmail json YAML

Allow devices to declare themselves an "ofisa_subclass", allowing
that device to beat "ofisa" in match, but then attach an "ofisa"
instance as a logical child at the same OFW node.

(thorpej)

2021-04-30 02:11:37 UTC MAIN commitmail json YAML

- Introduce sequoiaLock() / sequoiaUnlock() functions that hide away
  the details of what's going on (disable / restore interrupts), and
  use it consistently.
- Give "sequoia" a device_t in the system device tree, matching on
  the Shark's /vlbus/isa node, acting a subclass of ofisa (an "ofisa"
  will be attached to "sequoia").  This allows us to attach other logical
  device nodes to the "sequoia".

(thorpej)

2021-04-30 01:09:29 UTC MAIN commitmail json YAML

Bump MAX_USERLDT_SIZE to the max size (wastes some memory). wine needs more
than PAGE_SIZE and fails spuriously.
XXX: Note the duplicate definition hacks. Should really create <x86/gdt.h>,
put the just the constants there and unify them.
This would also avoid the hack in: src/tests/lib/libi386/t_user_ldt.c#46

(christos)

2021-04-29 20:17:20 UTC MAIN commitmail json YAML

cgram: in hinting mode, show all correct characters in bold face

For almost solved cryptograms, this makes the punctuation stand out
less, helping to focus on the missing letters.

(rillig)

2021-04-29 17:55:51 UTC MAIN commitmail json YAML

Sprinkle __noinline to reduce gigantic stack frames in ALL kernels.

In principle this might just push a real problem around, but this is
unlikely to be a real problem because:

1. The large stack frames are really only in the setup state machine
  message handlers, which run at the top loop of a thread with a
  shallow stack anyway.

2. If these are inlined, gcc might create multiple nonoverlapping
  stack buffers, whereas if not inlined, the stack frames from
  consecutive or alternative procedure calls would overlap anyway.

(I haven't investigated exactly what's going on leading to ~5 KB-byte
stack frames, but this shuts gcc up, at least, and the hypotheses
sound plausible to me!)

(riastradh)

2021-04-29 17:40:42 UTC MAIN commitmail json YAML

2021-04-29 17:38:08 UTC MAIN commitmail json YAML

2021-04-29 17:29:07 UTC MAIN commitmail json YAML

2021-04-29 17:27:54 UTC MAIN commitmail json YAML

2021-04-29 17:26:15 UTC MAIN commitmail json YAML

src/external/mpl/bind/dist/bin/dig/dighost.c@1.11 / diff / nxr@1.11
src/external/mpl/bind/dist/bin/dig/host.c@1.7 / diff / nxr@1.7
src/external/mpl/bind/dist/bin/dnssec/dnssec-signzone.c@1.7 / diff / nxr@1.7
src/external/mpl/bind/dist/bin/named/config.c@1.11 / diff / nxr@1.11
src/external/mpl/bind/dist/bin/named/main.c@1.11 / diff / nxr@1.11
src/external/mpl/bind/dist/bin/named/server.c@1.16 / diff / nxr@1.16
src/external/mpl/bind/dist/bin/nsupdate/nsupdate.c@1.9 / diff / nxr@1.9
src/external/mpl/bind/dist/bin/tests/fromhex.pl deleted
src/external/mpl/bind/dist/bin/tests/optional/gsstest.c@1.6 / diff / nxr@1.6
src/external/mpl/bind/dist/bin/tests/optional/rwlock_test.c@1.6 / diff / nxr@1.6
src/external/mpl/bind/dist/bin/tests/system/ecdsa/ns1/named.conf deleted
src/external/mpl/bind/dist/bin/tests/system/ecdsa/ns2/named.conf deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns1/named.conf deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns2/Xexample.com.+016+09713.key deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns2/Xexample.com.+016+09713.private deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns2/Xexample.com.+016+38353.key deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns2/Xexample.com.+016+38353.private deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns2/example.com.db deleted
src/external/mpl/bind/dist/bin/tests/system/eddsa/ns2/named.conf deleted
src/external/mpl/bind/dist/bin/tests/system/kasp/ns7/named.conf.in deleted
      :
(more 180 files)
Merge our changes between bind 9.16.12 and 9.16.15

(christos)

2021-04-29 17:11:30 UTC MAIN commitmail json YAML

Add constructor and destructor attribute priorities

(christos)

2021-04-29 09:27:29 UTC MAIN commitmail json YAML

Remove some unnecessary tlb invalidate in pmap_growkernel and ASAN shadow
map. Ensure the shadow map mappings are visible to the TLB walkers.

(skrll)

2021-04-29 08:47:26 UTC MAIN commitmail json YAML

Don't force all MALTA kernels to be compiled with -mips64 when they
also support MIPS32-only CPU configs.

(simonb)

2021-04-29 08:45:29 UTC MAIN commitmail json YAML

Fix another misplaced label for cvt_s_w() but use a named local label
and redo fix for cvt_d_w() in rev 1.52 the same way.

(simonb)

2021-04-29 08:14:08 UTC MAIN commitmail json YAML

Move a comment slighty so that it's before two #ifdef blocks that do the
same thing instead of in the middle of them.

(simonb)

2021-04-29 08:11:38 UTC MAIN commitmail json YAML

Move a branch target in cvt_d_w() to where it will be hit for either
case of an #ifdef block of code.  Fixes an FP emulation problem if
compiled with -mips32 or -mips64.

(simonb)

2021-04-29 01:51:40 UTC MAIN commitmail json YAML

netbsd-eabi.h was never merged from the now present upstream version.
reduce diffs to upstream here and in other files in this subdir.

remove unused ARM_EABI_UNWIND_TABLES and __UNWIND_TABLES__.

clang defines __UNWIND_TABLES__, but doing this in GCC triggers the
need for more libgcc / libc unwind functionality to be added, and this
code has never been enabled for netbsd/earm.  (could potentially clean
up unused code in libc now, or, revive this once the full support has
been implemented..)

(mrg)

2021-04-28 16:57:05 UTC MAIN commitmail json YAML

enable sun8icrypto on Allwinner H3 too.

Allwinner H3 needs a slower mod clock according to the Linux driver.

tested on NanoPi R1.

thanks jmcneill@ and riastradh@ for advice.

XXX pullup-9

(bad)

2021-04-28 09:59:33 UTC netbsd-9 commitmail json YAML

2021-04-28 09:58:43 UTC netbsd-9 commitmail json YAML

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

bin/sh/jobs.h: revision 1.24
bin/sh/eval.c: revision 1.182
bin/sh/jobs.c: revision 1.110

Related to PR bin/48875

Correct an issue found by Oguz <oguzismailuysal@gmail.com> and reported
in e-mail (on the bug-bash list initially!) with the code changed to deal
with PR bin/48875

With:
sh -c 'echo start at $SECONDS;
(sleep 3 & (sleep 1& wait) );
echo end at $SECONDS'

The shell should say "start at 0\nend at 1\n", but instead (before
this fix, in -9 and HEAD, but not -8) does "start at 0\nend at 3\n"
(Not in -8 as the 48875 changes were never pulled up)>

There was an old problem, fixed years ago, which cause the same symptom,
related to the way the jobs table was cleared (or not) in subshells, and
it seemed like that might have resurfaced.

But not so, the issue here is the sub-shell elimination, which was part
of the 48875 "fix" (not really, it wasn't really a bug, just sub-optimal
and unexpected behaviour).

What the shell actually has been running in this case is:

sh -c 'echo start at $SECONDS;
(sleep 3 & sleep 1& wait );
echo end at $SECONDS'

as the inner subshell was deemed unnecessary - all its parent would
do is wait for its exit status, and then exit with that status - we
may as well simply replace the current sub-shell with the new one,
let it do its thing, and we're done...

But not here, the running "sleep 3" will remain a child of that merged
sub-shell, and the "wait" will thus wait for it, along with the sleep 1
which is all it should be seeing.

For now, fix this by not eliminating a sub-shell if there are existing
unwaited upon children in the current one.  It might be possible to
simply disregard the old child for the purposes of wait (and "jobs", etc,
all cmds which look at the jobs table) but the bookkeeping required to
make that work reliably is likely to take some time to get correct...

Along with this fix comes a fix to DEBUG mode shells, which, in situations
like this, could dump core in the debug code if the relevant tracing was
enabled, and add a new trace for when the jobs table is cleared (which was
added predating the discovery of the actual cause of this issue, but seems
worth keeping.)  Neither of these changes have any effect on shells
compiled normally.

XXX pullup -9

(martin)

2021-04-28 09:46:39 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1258):

sys/arch/mac68k/mac68k/machdep.c: revision 1.361
sys/arch/mac68k/mac68k/machdep.c: revision 1.362

Make mac68k_set_io_offsets() a little bit cleaner:
- Via1Base is always ``base'' for all supported models.
- Set sccA and SCSIBase for each model of MACH_CLASSQ class.
- Some style fixes.

No functional changes intended.

Change sccA address for Quadra 800 from base + 0xc000 to 0xc020.

The H/W partially decodes its address, and sccA is available at
offsets 0xc000, 0xc020, .... The functionality is same, but Mac
toolbox ROM routines use 0xc020, and QEMU for Quadra 800 only
supports this address.

(martin)

2021-04-28 09:39:39 UTC MAIN commitmail json YAML

Introduce a pointer to refer sp->scp[cp->protoidx]

There is no functional difference.

(yamaguchi)

2021-04-28 09:36:24 UTC MAIN commitmail json YAML

Move paese of conf-req, conf-nak and conf-rej into workqueue
from softint context

When the pases were processed in softint, the state machine
in if_spppsubr.c had been broken by simultaneous events
on rare occasions.

Example:
1. Do ifconfig pppoe* up
    - lcp open event is enqueued to workqueue
2. Receive conf-ack, and parse the packet
    - save mru to sp->lcp.their_mru
    - lcp RCR+ event is enqueued to workqueue
3. Process lcp open event
    - initialize data including sp->lcp.their_mru
4. Process lcp RCR+ event
    - Use sp->lcp.their_mru
        - but it was initialized

(yamaguchi)

2021-04-28 04:54:19 UTC netbsd-9 commitmail json YAML

2021-04-28 04:51:41 UTC MAIN commitmail json YAML

for big endian kernels use DRM_FORMAT_BGRX8888 pixel format.

now my pinebook pro console looks right with evbarm64-eb, instead
of having red and green swapped, and no blue.  fixes both console
"text" mode and X11.

(mrg)

2021-04-28 03:34:02 UTC MAIN commitmail json YAML

Avoid a double "cs0: " in the autoconfiguration messages.

(thorpej)

2021-04-28 03:21:57 UTC MAIN commitmail json YAML

Validate the return value of cfprint functions before using it to
index the msgs[] array.  Use designated initializers to initialize
msgs[].

(thorpej)

2021-04-28 02:28:06 UTC MAIN commitmail json YAML

Change sccA address for Quadra 800 from base + 0xc000 to 0xc020.

The H/W partially decodes its address, and sccA is available at
offsets 0xc000, 0xc020, .... The functionality is same, but Mac
toolbox ROM routines use 0xc020, and QEMU for Quadra 800 only
supports this address.

Thanks Mark Cave-Ayland for discussion, who is working on NetBSD
support to QEMU for Quadra 800!

(rin)

2021-04-28 02:15:03 UTC MAIN commitmail json YAML

config_found_ia.9 and config_found_sm_loc.9 have been obsoleted.
Should fix build.

(rin)

2021-04-28 02:00:59 UTC MAIN commitmail json YAML

Make mac68k_set_io_offsets() a little bit cleaner:

- Via1Base is always ``base'' for all supported models.
- Set sccA and SCSIBase for each model of MACH_CLASSQ class.
- Some style fixes.

No functional changes intended.

(rin)

2021-04-28 00:49:22 UTC MAIN commitmail json YAML

2021-04-28 00:35:47 UTC MAIN commitmail json YAML

clockport_common does not need its own interface attribute.
All children are attached to clockportbus.

(rin)

2021-04-27 23:37:02 UTC MAIN commitmail json YAML

2021-04-27 21:39:40 UTC MAIN commitmail json YAML

"ofisa" carried an "ofbus" interface attribute in addition to its own
in order to attach an "ofrtc" instance.  This worked prior to the
autconfiguration system enforcing non-ambiguous interface attribute
specificaitons due to how the attach args for ofisa were structured.

But it no longer works, and is a big dodgy barring a formalized "subclassing"
facility for interface atributes in config(5).

So, stop using "ofrtc" on Shark, and replace it with an ofisa driver for
the mc146818 real time clock hardware, and remove "ofbus" from "ofisa".

(thorpej)

2021-04-27 21:13:38 UTC MAIN commitmail json YAML

2021-04-27 20:31:02 UTC MAIN commitmail json YAML

If we are attaching the OFW root, print out the banner-name and model
properties, if they exist.

(thorpej)

2021-04-27 19:52:06 UTC MAIN commitmail json YAML

ignore machine-dependent disklabel partitions

(nia)

2021-04-27 19:09:56 UTC MAIN commitmail json YAML

sun4v: add missing method to set hypervisor api version + add defintion for the interrupt hypervisor api group (to be used)

(palle)

2021-04-27 19:03:03 UTC netbsd-8 commitmail json YAML

2021-04-27 19:02:05 UTC netbsd-8 commitmail json YAML

Apply patch, requested by mrg in ticket #1673:

external/mit/xorg-server/dist/Xi/chgfctl.c (apply patch)
external/mit/xorg-server.old/dist/Xi/chgfctl.c (apply patch)

Fix for CVE-2021-3472 (local privilege escalation).

(martin)

2021-04-27 16:25:47 UTC MAIN commitmail json YAML

make: use consistent variable names, types and braces in DebugFailedJob

No functional change.

(rillig)

2021-04-27 16:23:21 UTC MAIN commitmail json YAML

make: remove stray space in -de output in jobs mode

In compat mode, having a space in this place makes sense to align the
target name with the command.  In jobs mode, since each command is
listed in a separate line, there is no need for the double space.

(rillig)

2021-04-27 16:20:06 UTC MAIN commitmail json YAML

tests/make: test the combination of -de with -j1

The test cases are the same as in opt-debug-errors.mk.  The output
differs in several details though.

Even though the option '-k' is given (which is the default for any tests
that don't override it in unit-tests/Makefile), there is no message
"(continuing)" anywhere.

The failed target is printed twice.  Once before the failed commands,
once after.  This redundancy is not necessary and may be removed in a
follow-up commit.

The printed commands are in their unexpanded form, which may or may not
be more helpful than the expanded and space-normalized form of compat
mode.  Either way, this is an unnecessary inconsistency between compat
mode and jobs mode.

In jobs mode, the message "make: stopped in $dir" is printed for each
failure, which is helpful since each of the jobs may have started in a
separate directory.

(rillig)

2021-04-27 15:21:42 UTC MAIN commitmail json YAML

Print -de error information when running multiple jobs

Problem and patch description from https://reviews.freebsd.org/D29647:

When running `make -de` (without any -j flag) bmake prints which command
failed. However, when using the -j flag the -de flag is ignored. This can
make it rather difficult to determine which command failed in an very
parallel build (especially when combined with the -s flag to avoid
ridiculously large logfiles). For single-threaded builds we can combine
-s with -de to get the failed command but this does not work with -jN
(even with -j1). This patch prints the failed shell script with -de in the
multiple jobs mode as well.

From Alexander Richardson @ FreeBSD

(christos)

2021-04-27 15:19:26 UTC MAIN commitmail json YAML

2021-04-27 14:48:29 UTC MAIN commitmail json YAML

2021-04-27 14:18:25 UTC MAIN commitmail json YAML

Revert the change for the c-common.c hack. It is meant to be only for 32
bit mips. (Thanks Rin)

(christos)

2021-04-27 10:41:36 UTC netbsd-9 commitmail json YAML

Apply patch, requested by mrg in ticket #1257:

external/mit/xorg-server/dist/Xi/chgfctl.c (apply patch)
external/mit/xorg-server.old/dist/Xi/chgfctl.c (apply patch)

Fix for CVE-2021-3472 (local privilege escalation).

(martin)

2021-04-27 10:38:32 UTC netbsd-9 commitmail json YAML

2021-04-27 10:37:02 UTC netbsd-9 commitmail json YAML

Apply patch, requested by mrg in ticket #1257:

external/mit/xorg-server/dist/Xi/chgfctl.c (apply patch)

Fix for CVE-2021-3472 (local privilege escalation).

(martin)

2021-04-27 10:31:18 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1256):

sys/arch/mac68k/mac68k/machdep.c: revision 1.360
sys/arch/mac68k/conf/GENERIC: revision 1.234
sys/arch/mac68k/conf/files.mac68k: revision 1.131

Add MAC68K_MEMSIZE option to hard-code memory size in MB, instead of
that given by Booter. Work around Booter bug by which max memory is
restricted to 255MB.

(martin)

2021-04-27 10:27:31 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1255):

sys/arch/mac68k/mac68k/locore.s: revision 1.174

Fix DJMEMCMAX option for Quadra/Centris 650/800.
- Use jeq instead of jra for conditional branch.
- Use cmpl instead of cmp (= cmpw) for int variables.

Now, my Quadra 800 recognizes full 520MB memory!

(martin)

2021-04-27 09:14:24 UTC MAIN commitmail json YAML

2021-04-27 06:51:49 UTC MAIN commitmail json YAML

update for libX11 1.7.0.

(mrg)

2021-04-27 06:50:27 UTC MAIN commitmail json YAML

2021-04-27 06:14:35 UTC MAIN commitmail json YAML

2021-04-27 06:03:09 UTC MAIN commitmail json YAML

Fix the barrier confusion.  From Riastradh - thanks!.

(skrll)

2021-04-27 05:40:29 UTC MAIN commitmail json YAML

Improve the membar_ops barriers - no need to use dsb and wait for
completion.  Also, we only to act on the inner shareability domain.

(skrll)

2021-04-27 05:19:51 UTC MAIN commitmail json YAML

pull across the fixes for CVE-2021-3472.

(mrg)

2021-04-27 04:02:09 UTC MAIN commitmail json YAML

xorg-server 1.20.11 is now current.

(mrg)

2021-04-27 04:01:42 UTC MAIN commitmail json YAML

2021-04-27 04:01:25 UTC MAIN commitmail json YAML

2021-04-27 03:58:55 UTC MAIN commitmail json YAML

2021-04-27 03:38:48 UTC MAIN commitmail json YAML

2021-04-27 03:09:16 UTC MAIN commitmail json YAML

2021-04-27 03:02:37 UTC MAIN commitmail json YAML

2021-04-27 02:11:55 UTC MAIN commitmail json YAML

disable attribute warnings.  new libXt triggers them for now..

(mrg)

2021-04-27 02:11:31 UTC MAIN commitmail json YAML

fix the value of STDC_NORETURN

(mrg)

2021-04-27 01:58:19 UTC MAIN commitmail json YAML

2021-04-27 01:47:40 UTC MAIN commitmail json YAML

2021-04-27 01:22:56 UTC MAIN commitmail json YAML

2021-04-26 23:51:08 UTC MAIN commitmail json YAML

Remove accidentally committed autogen file.
Should fix periodic snapshot builds with RO mounted /usr/src.

(rin)

2021-04-26 22:04:51 UTC MAIN commitmail json YAML

2021-04-26 21:54:56 UTC MAIN commitmail json YAML

midi_attach_mi(): Be explicit about using the "midibus" interface attribute,
as the caller may be a device that carries more than one.

(thorpej)

2021-04-26 21:53:54 UTC MAIN commitmail json YAML

2021-04-26 21:43:19 UTC MAIN commitmail json YAML

define _CONST_X_STRING.  avoid remaining const issues new libXt.

(mrg)

2021-04-26 21:40:21 UTC MAIN commitmail json YAML

Add the appropriate memory barrier before the lock is cleared in
__sync_lock_release_{1,2,4,8}.  That is, all reads and write for in inner
shareability domain before the lock clear store.

(skrll)

2021-04-26 21:32:49 UTC MAIN commitmail json YAML

Don't try to override an existing -march

(christos)

2021-04-26 21:25:13 UTC MAIN commitmail json YAML

2021-04-26 20:01:13 UTC MAIN commitmail json YAML

Handle the compat builds and both the n64 and non n64 variants

(christos)

2021-04-26 19:59:58 UTC MAIN commitmail json YAML

audioprint(): handle AUDIODEV_TYPE_AUX.

(thorpej)

2021-04-26 19:35:16 UTC MAIN commitmail json YAML

Be explicit about the "eap" interface attribute when attaching a "joy"
instance.

(thorpej)

2021-04-26 19:28:24 UTC MAIN commitmail json YAML

- The "eso" device does not need to carry the "midibus" interface attribute.
  It attaches "opl" and "mpu" instances, which themselves attach "midi".
- Be explicit about specifying the "eso" interface attribute when attaching
  "opl", "mpu", and "joy" instances.

(thorpej)

2021-04-26 19:22:14 UTC MAIN commitmail json YAML

Be explicit about using the "ym" interface attribute when attaching
the "opl" and "mpu" instances.

(thorpej)

2021-04-26 19:21:55 UTC MAIN commitmail json YAML

Be explicit about using the "wss" interface attribute when attaching
the "opl" instance.

(thorpej)

2021-04-26 19:10:38 UTC MAIN commitmail json YAML

- The "ess" device does not need a "midibus" interface attribute; it
  attaches an "opl" instance which itself attaches the "midi".
- Be explicit about using the "ess" interface attribute when attaching
  the "joy" and "opl" instances.

(thorpej)

2021-04-26 18:41:05 UTC netbsd-8 commitmail json YAML

2021-04-26 18:39:26 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1672):

sys/arch/arm/include/lock.h: revision 1.37
common/lib/libc/arch/arm/atomic/atomic_swap_64.S: revision 1.11
common/lib/libc/arch/arm/atomic/atomic_swap.S: revision 1.15
common/lib/libc/arch/arm/atomic/atomic_swap.S: revision 1.16
sys/arch/arm/include/lock.h: revision 1.36

Fix ARMv8 instructions

Fix __sync_lock_release_4 to actually zeroise the whole 4bytes/32bits.

Trailing whitespace

Change #ifdef FOO to #if defined(FOO).  NFCI.

(martin)

2021-04-26 18:36:07 UTC netbsd-9 commitmail json YAML

2021-04-26 18:34:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1254):

sys/arch/arm/include/lock.h: revision 1.37
common/lib/libc/arch/arm/atomic/atomic_swap_64.S: revision 1.11
common/lib/libc/arch/arm/atomic/atomic_swap.S: revision 1.15
common/lib/libc/arch/arm/atomic/atomic_swap.S: revision 1.16
sys/arch/arm/include/lock.h: revision 1.36

Fix ARMv8 instructions

Fix __sync_lock_release_4 to actually zeroise the whole 4bytes/32bits.

Trailing whitespace

Change #ifdef FOO to #if defined(FOO).  NFCI.

(martin)

2021-04-26 18:06:09 UTC MAIN commitmail json YAML

2021-04-26 17:29:27 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/mipsn64el/backtrace-supported.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libbacktrace/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/mipsn64el/auto-target.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/mipsn64el/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64el/gcov-iov.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64el/libgomp.spec@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64el/libgomp_f.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64el/omp.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libiberty/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libobjc/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libobjc/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/c++config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/cxxabi_tweaks.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64el/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/common-target/arch/mipsn64el.mk@1.1 / diff / nxr@1.1
      :
(more 17 files)
regen for mipsn64el

(christos)

2021-04-26 17:26:35 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/targmatch.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/bfd-in3.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/bfd.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/bfd_stdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/bfdver.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64el/targmatch.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/ctf-error.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mipsn64el/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el/init.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el/jit-reader.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el/observer.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64el/observer.inc@1.1 / diff / nxr@1.1
      :
(more 31 files)
regen for mipsn64el

(christos)

2021-04-26 17:24:05 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/bfd.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/bfd_stdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/bfdver.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libgnuctf/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libgnuctf/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libiberty/arch/mipsn64el/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils/lib/libopcodes/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libopcodes/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/common/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/common/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64el/itbl-cpu.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64el/obj-format.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64el/targ-cpu.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64el/targ-env.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gprof/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gprof/arch/mipsn64el/gconfig.h@1.1 / diff / nxr@1.1
      :
(more 3 files)
regen for mipsn64el

(christos)

2021-04-26 17:07:17 UTC MAIN commitmail json YAML

if ddb is enabled set cpu_reset_address to crime_reboot.
'mach reset' works from ddb now.

(mrg)

2021-04-26 16:35:54 UTC MAIN commitmail json YAML

Change #ifdef FOO to #if defined(FOO).  NFCI.

(skrll)

2021-04-26 15:38:11 UTC MAIN commitmail json YAML

2021-04-26 15:02:29 UTC MAIN commitmail json YAML

simplebus, cpus, and syscon do not need their own interface attribute; they
use the "fdt" interface attribute to attach children.

(thorpej)

2021-04-26 14:08:11 UTC MAIN commitmail json YAML

The image, with all sorts of MK*DEBUG* turned on, has once again grown.
This time probably as a result of the move to gcc-10.

Bump size to accomodate.

(pgoyette)

2021-04-26 14:02:49 UTC MAIN commitmail json YAML

audio_attach_mi(): Be explicit about using the "audiobus" interface attribute,
as the caller may be a device that carries more than one.

(thorpej)

2021-04-26 14:01:47 UTC MAIN commitmail json YAML

snapper carries multiple interface attributes, so be explicit about
"onewirebus" when attaching to it.

(thorpej)

2021-04-26 13:29:51 UTC MAIN commitmail json YAML

Make MACHINE_ARCH for n64 binaries mipsn64e[bl] instead of mips64e[bl] to
differentiate them from n32/o32 binaries.

(christos)

2021-04-26 08:45:57 UTC MAIN commitmail json YAML

Fix the wrong CHAP option length in conf-nak

RFC 1994 defines that the CHAP option length in conf-nak is 5.
However, 4 was used when CHAP is cofigured and PPP is proposed
by a peer.

(yamaguchi)

2021-04-26 08:42:19 UTC MAIN commitmail json YAML

Avoid updating of the state if the state is not changed
not to reset the timer for state machine

(yamaguchi)

2021-04-26 08:37:54 UTC MAIN commitmail json YAML

Reset LCP fail counter when doing "ifconfig pppoe* up"

(yamaguchi)

2021-04-26 08:34:22 UTC MAIN commitmail json YAML

Added ipcp option name for logging

(yamaguchi)

2021-04-26 08:31:21 UTC MAIN commitmail json YAML

Ignore 0.0.0.0 offered from PPPoE server

(yamaguchi)

2021-04-26 07:27:25 UTC MAIN commitmail json YAML

if raidframe sets booted_device, log a debug message about it.

(mrg)

2021-04-26 07:18:01 UTC MAIN commitmail json YAML

iommu_enter() and iommu_remove() are static to iommu.c.

(mrg)

2021-04-26 07:17:30 UTC MAIN commitmail json YAML

use GCC_NO_IMPLICIT_FALLTHRU.

(mrg)

2021-04-26 02:36:46 UTC MAIN commitmail json YAML

Fix locking order since IFNET_LOCK must be held
before acquiring SPPP_LOCK

(yamaguchi)

2021-04-26 00:38:23 UTC MAIN commitmail json YAML

Revert the AFLAGS change since it affects kernels.

(christos)

2021-04-26 00:28:01 UTC MAIN commitmail json YAML

Produce elf32 images for mipsn64eb too

(christos)

2021-04-25 23:58:23 UTC MAIN commitmail json YAML

2021-04-25 23:57:47 UTC MAIN commitmail json YAML

2021-04-25 23:55:55 UTC MAIN commitmail json YAML

2021-04-25 23:52:59 UTC MAIN commitmail json YAML

2021-04-25 23:45:58 UTC MAIN commitmail json YAML

2021-04-25 23:43:48 UTC MAIN commitmail json YAML

Use ${MACHINE_MIPS64}

(christos)

2021-04-25 23:43:20 UTC MAIN commitmail json YAML

Use ${MACHINE_MIPS64}

(christos)

2021-04-25 23:42:08 UTC MAIN commitmail json YAML

2021-04-25 23:41:23 UTC MAIN commitmail json YAML

2021-04-25 23:40:52 UTC MAIN commitmail json YAML

2021-04-25 23:40:06 UTC MAIN commitmail json YAML

2021-04-25 23:38:42 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/mipsn64eb/bfd.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64eb/bfd_stdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64eb/bfdver.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libbfd/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libgnuctf/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libgnuctf/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libiberty/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libiberty/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libiberty/arch/mipsn64el/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libiberty/arch/mipsn64el/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libopcodes/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/lib/libopcodes/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/common/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/common/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64eb/itbl-cpu.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64eb/obj-format.h@1.1 / diff / nxr@1.1
src/external/gpl3/binutils/usr.bin/gas/arch/mipsn64eb/targ-cpu.h@1.1 / diff / nxr@1.1
      :
(more 6 files)
regen for mipsn64eb

(christos)

2021-04-25 23:35:52 UTC MAIN commitmail json YAML

2021-04-25 23:24:00 UTC MAIN commitmail json YAML

2021-04-25 23:23:19 UTC MAIN commitmail json YAML

2021-04-25 23:21:10 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/bfd-in3.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/bfd.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/bfd_stdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/bfdver.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libbfd/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libdecnumber/arch/mipsn64eb/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/init.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/jit-reader.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/observer.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/observer.inc@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/version.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/arch/mipsn64eb/xml-builtin.c@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdbsupport/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
      :
(more 28 files)
regen for mipsn64eb

(christos)

2021-04-25 23:19:16 UTC thorpej-i2c-spi-conf commitmail json YAML

Use a private devhandle to implement i2c device enumeration on the
Sandpoint-based NAS devices.

(thorpej)

2021-04-25 23:18:42 UTC MAIN commitmail json YAML

2021-04-25 23:16:28 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/mipsn64eb/backtrace-supported.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libbacktrace/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/mipsn64eb/auto-target.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/mipsn64eb/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/mipsn64eb/gcov-iov.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64eb/libgomp.spec@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64eb/libgomp_f.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/mipsn64eb/omp.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libiberty/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libobjc/arch/mipsn64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libobjc/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64eb/c++config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64eb/cxxabi_tweaks.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64eb/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsn64eb/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/common-target/arch/mipsn64eb.mk@1.1 / diff / nxr@1.1
      :
(more 17 files)
regen for mipsn64eb

(christos)

2021-04-25 23:12:54 UTC MAIN commitmail json YAML

2021-04-25 22:45:16 UTC MAIN commitmail json YAML

2021-04-25 22:30:30 UTC MAIN commitmail json YAML

Choose the right compat sets for the platform:
mipsn64 -> o32 n32
mips64 -> o32 64

(christos)

2021-04-25 22:29:22 UTC MAIN commitmail json YAML

Add mipsn64e[bl] targets which use 64 bit binaries instead of n32 ones.

(christos)

2021-04-25 22:27:08 UTC MAIN commitmail json YAML

All mips64 has compat_netbsd32

(christos)

2021-04-25 22:25:55 UTC MAIN commitmail json YAML

Limit no-error to stack-protector

(christos)

2021-04-25 22:25:00 UTC MAIN commitmail json YAML

- Disable stack-protector errors like we did for cc1plus
- use ${MACHINE_MIPS64}

(christos)

2021-04-25 22:20:08 UTC thorpej-i2c-spi-conf commitmail json YAML

- Don't call of_enter_i2c_devs() -- it no longer exists.
- Pass along the provided devhandle to the i2c bus instance.

XXX fdtbus_attach_i2cbus() is now just a thin wrapper around config_found()
and should probably just go away in favor of making FDT-attached i2c
controller drivers consistent with everyone else.

(thorpej)

2021-04-25 22:16:05 UTC thorpej-i2c-spi-conf commitmail json YAML

2021-04-25 22:02:59 UTC thorpej-i2c-spi-conf commitmail json YAML

2021-04-25 21:59:38 UTC MAIN commitmail json YAML

fix a comment to match the code.

(mrg)

2021-04-25 21:55:58 UTC MAIN commitmail json YAML

make MACHINE_MIPS a boolean not a condition

(christos)

2021-04-25 21:52:28 UTC thorpej-i2c-spi-conf commitmail json YAML

2021-04-25 21:49:56 UTC thorpej-i2c-spi-conf commitmail json YAML

Implement "i2c-enumerate-devices" for ACPI.

(thorpej)

2021-04-25 21:45:16 UTC thorpej-i2c-spi-conf commitmail json YAML

Stop using a prop_array of child device data to perform direct
configuration of i2c devices.  Instead, introduce and use a new
device call "i2c-enumerate-devices" that can be implemented by
devhandle providers that have I2C bindings.  This device call
gathers up the data into i2c_attach_args and invoked a callback
(back to the i2c layer) to attach the device.  The I2C controller
device supplies its devhandle (or the appropriate devhandle for
the I2C bus) when attaching the i2c bus instance using CFARG_DEVHANDLE.

(thorpej)

2021-04-25 21:05:38 UTC MAIN commitmail json YAML

tests/make: add tests for ${...} without operator in conditions

These tests are already covered in cond-cmp-unary.mk, but my first guess
was to search for these tests in cond-token-var.mk, so keep them in both
tests.

(rillig)

2021-04-25 20:38:03 UTC MAIN commitmail json YAML

cgram: use ASCII-only implementation of <ctype.h> functions

The function 'encode' already assumes that all letter characters are
contiguous and that there are only 26 letters of each case.  At the
moment, cgram cannot handle UTF-8 anyway since it reads the input
byte-wise, assuming that each byte is exacty one character.

(rillig)

2021-04-25 20:19:19 UTC MAIN commitmail json YAML

cgram: provide usage on incorrect invocation

(rillig)

2021-04-25 20:14:29 UTC MAIN commitmail json YAML

cgram: conform to lint's strict bool mode, KNF

(rillig)

2021-04-25 18:44:05 UTC MAIN commitmail json YAML

define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.

(christos)

2021-04-25 18:30:58 UTC netbsd-9 commitmail json YAML

2021-04-25 18:29:56 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by cjep in ticket #1253):

external/gpl2/texinfo/dist/configure: revision 1.3

Hack to get the "has ANSI C headers" check to pass on newer versions
of clang as bundled with Xcode.  If someone really cares about ensuring
NetBSD's host tools build on a system without <stdlib.h>, then I'm sure
that enterprising individual will also find a super #correct fix for
this specific problem.

(martin)

2021-04-25 18:26:15 UTC MAIN commitmail json YAML

it8368_attach_socket(): Pass the device_t to config_found(), not the
softc.  This was missed due to a (void *) cast when the device_t / softc
split changes occurred.

(thorpej)

2021-04-25 18:16:25 UTC MAIN commitmail json YAML

Document thorpej-i2c-spi-conf branch.

(thorpej)

2021-04-25 15:33:15 UTC MAIN commitmail json YAML

Add missing \ for previous.

(rin)

2021-04-25 15:32:25 UTC MAIN commitmail json YAML

Update as(1) failure on armv6; it occurs also for earmv6hfeb, whereas it
does not for earmv6{,eb}.

(rin)

2021-04-25 15:18:23 UTC MAIN commitmail json YAML

2021-04-25 15:16:56 UTC MAIN commitmail json YAML

2021-04-25 15:12:02 UTC MAIN commitmail json YAML

2021-04-25 15:11:28 UTC MAIN commitmail json YAML

Make mips-elf2ecoff available for all mips

(christos)

2021-04-25 15:09:40 UTC MAIN commitmail json YAML

2021-04-25 15:09:08 UTC MAIN commitmail json YAML

2021-04-25 15:08:28 UTC MAIN commitmail json YAML

2021-04-25 15:06:49 UTC MAIN commitmail json YAML

MACHINE_CPU is always mips (no functional change)

(christos)

2021-04-25 14:32:20 UTC MAIN commitmail json YAML

- since we are using regex already, shorten by merging arm and mips entries
- add a MACHINE_MIPS64 macro shorthand
- pass -m{soft,hard}-float to the assembler when we are passing it to the
  compiler

(christos)

2021-04-25 13:33:27 UTC MAIN commitmail json YAML

PCI busses do not attach directly to mainbus (they attach to shpcic,
which in turn attaches to mainbus), so there is no need for mainbus
to carry the "pcibus" interface attribute.

Fixes kern/56126.

(thorpej)

2021-04-25 13:22:49 UTC MAIN commitmail json YAML

PCI busses do not attach to "ebus", therefore there is no need for
it to carry the "pcibus" interface attribute.

Fixes kern/56124.

(thorpej)

2021-04-25 11:26:01 UTC MAIN commitmail json YAML

2021-04-25 11:15:14 UTC netbsd-9 commitmail json YAML

2021-04-25 11:13:03 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.18 (patch)
sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.24 (patch)
sys/arch/arm/dts/sun50i-h5.dtsi: revision 1.2 (patch)

arm/sunxi: Wire up sun8icrypto(4) on Allwinner H5.

Tested on NanoPi Neo PLUS2.

(martin)

2021-04-25 11:07:45 UTC netbsd-9 commitmail json YAML

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

usr.sbin/hdaudioctl/hdaudioctl.8: revision 1.8

hdaudioctl.8: add missing arguments
pointed out by RVP

(martin)

2021-04-25 10:08:25 UTC MAIN commitmail json YAML

armv6 little endian has problems with GCC 10.

rpi# cat bar.s
        .cfi_startproc
        .cfi_endproc
rpi# as bar.s
bar.s: Assembler messages:
bar.s: Internal error (Illegal instruction).
Please report this bug.

(mrg)

2021-04-25 09:40:34 UTC MAIN commitmail json YAML

configure: check all glob flags we use

Also check GLOB_NOCHECK, even though it's standard.
Makes the autoconf check consistent with the usage within src/*.
Suggseted by Christos on 2020-07-05.

(lukem)

2021-04-25 09:29:43 UTC MAIN commitmail json YAML

2021-04-25 09:09:55 UTC MAIN commitmail json YAML

ftp(1): consistently use FTP for protocol use.

(lukem)

2021-04-25 08:46:19 UTC MAIN commitmail json YAML

ftp(1): consistent Ic (not Nm) for commands

(lukem)

2021-04-25 08:26:35 UTC MAIN commitmail json YAML

better XXX comment for buggy ftp server

(lukem)

2021-04-25 08:23:22 UTC MAIN commitmail json YAML

2021-04-25 08:05:49 UTC MAIN commitmail json YAML

ChangeLog: previous va_copy fix. today's import

(lukem)

2021-04-25 08:01:54 UTC MAIN commitmail json YAML

2021-04-25 07:50:37 UTC MAIN commitmail json YAML

2021-04-25 06:21:37 UTC MAIN commitmail json YAML

postinstall: re-align list output

(lukem)

2021-04-25 05:52:22 UTC MAIN commitmail json YAML

these sysctl variables were removed

(nia)

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

config_found_ia() -> config_found().

(thorpej)

2021-04-25 05:16:27 UTC MAIN commitmail json YAML

Sample # of RX packets as entropy source.

(rin)

2021-04-25 05:15:20 UTC MAIN commitmail json YAML

Sample # of TX packets as entropy source.

For RX packets, individual drivers need to be modified.

(rin)

2021-04-25 01:44:55 UTC MAIN commitmail json YAML

postinstall: sort the items. keep obsolete* last

Consistency and quality of life improvements to postinstall:

Order all of the items (including disabled) alphabetically.
Consistent comment style before each item block.
Move other functions used by do_*() before rather than after do_*().

(lukem)

2021-04-25 01:15:40 UTC MAIN commitmail json YAML

postinstall: comment and usage style

Use NOTE: for comments to be aware of.
Remove double space before "fix|check" in some items.

(lukem)

2021-04-25 01:01:09 UTC MAIN commitmail json YAML

thorpej-cfargs has been merged.

(thorpej)

2021-04-25 00:36:47 UTC MAIN commitmail json YAML

postinstall: ensure SRC_DIR and DEST_DIR are quoted

(lukem)

2021-04-25 00:29:52 UTC MAIN commitmail json YAML

postinstall: use correct DEST_DIR in obsolete_stand

(lukem)

2021-04-24 23:40:16 UTC MAIN commitmail json YAML

Bienvenido a NetBSD 9.99.82 (thorpej-cfargs merge).

(thorpej)

2021-04-24 23:37:01 UTC MAIN commitmail json YAML

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

(thorpej)