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

2024-05-09 21:01:42 UTC Now

2020-11-21 20:16:14 UTC MAIN commitmail json YAML

make(1): move prototype of SuffFindDeps further down

Just to limit its scope.

(rillig)

2020-11-21 20:12:08 UTC MAIN commitmail json YAML

make(1): move SuffExpandWildcards further up

This avoids an unnecessary forward declaration.

(rillig)

2020-11-21 20:04:10 UTC MAIN commitmail json YAML

make(1): document Suffix and Src

(rillig)

2020-11-21 19:59:10 UTC MAIN commitmail json YAML

Adjust egister usage so that r4 and r5 are preserved as cur{cpu,lwp}
respectively as required by the change to make ASTs operate per-LWP
rather than per-CPU.  DO_AST_AND_RESTORE_ALIGNMENT_FAULTS expects this.

Remove the call to dosoftints while I'm here as it's dont in DO_AST...

XXX untested

(skrll)

2020-11-21 19:58:11 UTC MAIN commitmail json YAML

Adjust egister usage so that r4 and r5 are preserved as cur{cpu,lwp}
respectively as required by the change to make ASTs operate per-LWP
rather than per-CPU.  DO_AST_AND_RESTORE_ALIGNMENT_FAULTS expects this.

Remove the call to dosoftints while I'm here as it's dont in DO_AST...

XXX untested

(skrll)

2020-11-21 19:57:35 UTC MAIN commitmail json YAML

Adjust egister usage so that r4 and r5 are preserved as cur{cpu,lwp}
respectively as required by the change to make ASTs operate per-LWP
rather than per-CPU.  DO_AST_AND_RESTORE_ALIGNMENT_FAULTS expects this.

Remove the call to dosoftints while I'm here as it's dont in DO_AST...

XXX untested

(skrll)

2020-11-21 19:55:49 UTC MAIN commitmail json YAML

Adjust egister usage so that r4 and r5 are preserved as cur{cpu,lwp}
respectively as required by the change to make ASTs operate per-LWP
rather than per-CPU.  DO_AST_AND_RESTORE_ALIGNMENT_FAULTS expects this.

XXX untested

(skrll)

2020-11-21 19:52:56 UTC MAIN commitmail json YAML

Adjust code and register usage so that r4 and r5 are preserved as
cur{cpu,lwp} respectively as required by the change to make ASTs
operate per-LWP rather than per-CPU.  These registers are used by
DO_AST_AND_RESTORE_ALIGNMENT_FAULTS expecting this usage.

XXX untested

(skrll)

2020-11-21 19:46:13 UTC MAIN commitmail json YAML

Sprinkle some comments about ENABLE_ALIGNMENT_FAULTS leaving curcpu in r4
and curlwp in r5

(skrll)

2020-11-21 19:44:52 UTC MAIN commitmail json YAML

Ensure that r5 contains curlwp before DO_AST_AND_RESTORE_ALIGNMENT_FAULTS
in lwp_trampoline as required by the move to make ASTs operate per-LWP
rather than per-CPU.

Thanks to martin@ for bisecting the amap corruption he was seeing and
testing this fix.

(skrll)

2020-11-21 19:40:19 UTC MAIN commitmail json YAML

make(1): improve comment for Suffix_GetSuffix

(rillig)

2020-11-21 19:33:38 UTC MAIN commitmail json YAML

make(1): rename Suff functions whose subject is a single suffix

The naming scheme Suffix_Func makes these functions easily
distinguishable from those that merely happen to be in the Suff module
but have nothing to do with suffixes, such as SuffStrIsPrefix.

(rillig)

2020-11-21 19:24:17 UTC MAIN commitmail json YAML

2020-11-21 19:21:50 UTC MAIN commitmail json YAML

make(1): rename type SuffFlags to SuffixFlags

(rillig)

2020-11-21 19:18:24 UTC MAIN commitmail json YAML

make(1): rename SuffList to SuffixList

(rillig)

2020-11-21 19:15:06 UTC MAIN commitmail json YAML

make(1): rename type Suff to Suffix

This avoids confusion with the module suff.c of the same name.

The existing naming convention is that the module's public functions are
named Suff_Func and its private functions are named SuffFunc.  This
collides with the naming convention that a the functions of the type Suff
are called Suff_Func as well.

To resolve this collision, rename Suff to Suffix.  The related types like
SuffList and the affected functions like SuffRef will be renamed in a
follow-up commit.

(rillig)

2020-11-21 19:02:59 UTC MAIN commitmail json YAML

make(1): rename suffNull to nullSuff

This variable is internal to the suff.c module, therefore there is no
need to prefix it with the module name.  The new name follows the naming
convention established by emptySuff.

(rillig)

2020-11-21 18:41:57 UTC MAIN commitmail json YAML

make(1): rename GNode.context to vars

Especially in the variables module, the expression 'ctxt->context' looked
redundant.  Having a GNode as a context sounds ok, but a context of a
context just doesn't make sense.

(rillig)

2020-11-21 18:28:35 UTC MAIN commitmail json YAML

make(1): improve name of local variable in SrcList_Add

Now that nothing in suff.c is named 's' anymore, there is no need for
's2' either.

(rillig)

2020-11-21 18:28:33 UTC MAIN commitmail json YAML

2020-11-21 18:23:36 UTC MAIN commitmail json YAML

2020-11-21 18:12:55 UTC MAIN commitmail json YAML

make(1): rename SuffAddSrc to SrcList_Add

The main character in this function is the list of sources, therefore
make it the subject.

(rillig)

2020-11-21 18:09:13 UTC MAIN commitmail json YAML

make(1): improve parameter name in SuffUpdateTarget

(rillig)

2020-11-21 18:06:09 UTC MAIN commitmail json YAML

make(1): document necessary condition in SuffUpdateTarget

(rillig)

2020-11-21 17:59:13 UTC MAIN commitmail json YAML

2020-11-21 17:57:40 UTC MAIN commitmail json YAML

2020-11-21 17:55:38 UTC MAIN commitmail json YAML

2020-11-21 17:54:48 UTC MAIN commitmail json YAML

2020-11-21 17:49:20 UTC MAIN commitmail json YAML

2020-11-21 17:48:26 UTC MAIN commitmail json YAML

2020-11-21 17:46:09 UTC MAIN commitmail json YAML

2020-11-21 17:44:40 UTC MAIN commitmail json YAML

make(1): limit memory usage in tests

There is a suspicious condition in SuffUpdateTarget code that looks wrong
on the first sight.  When removing it though, make allocates huge amounts
of memory.  To stop freezing the whole machine in this situation, limit
the total memory.

The limit of 200000 has been determined experimentally on NetBSD 8.0
x86_64.  With a limit of 100000, make wouldn't even start.  100 MB of
memory is really a lot for such a simple program that according to top(1)
only needs 8 MB.  But 200 MB is still better than 5 GB.

Since the Makefile is used on other platforms as well, via the bmake
distribution, and since every operating system has its own list of ulimit
options, make this configurable.

(rillig)

2020-11-21 17:25:52 UTC MAIN commitmail json YAML

2020-11-21 17:22:03 UTC MAIN commitmail json YAML

2020-11-21 17:18:36 UTC MAIN commitmail json YAML

make(1): in SuffExpandChildren, only expand ${VAr} if needed

(rillig)

2020-11-21 17:18:31 UTC MAIN commitmail json YAML

2020-11-21 17:09:34 UTC MAIN commitmail json YAML

2020-11-21 16:21:24 UTC MAIN commitmail json YAML

2020-11-21 16:07:18 UTC MAIN commitmail json YAML

2020-11-21 15:59:53 UTC MAIN commitmail json YAML

2020-11-21 15:52:32 UTC MAIN commitmail json YAML

2020-11-21 15:48:05 UTC MAIN commitmail json YAML

make(1): add test for dynamic variable with modifiers in global context

(rillig)

2020-11-21 15:42:21 UTC MAIN commitmail json YAML

2020-11-21 15:36:36 UTC MAIN commitmail json YAML

2020-11-21 15:32:52 UTC MAIN commitmail json YAML

make(1): clean up freeing of environment variables in Var_Parse

The previous code with the extra boolean variable was a brain-twister
since the responsibility of freeing the memory was distributed over 3
different functions.

(rillig)

2020-11-21 15:30:07 UTC MAIN commitmail json YAML

2020-11-21 15:28:44 UTC MAIN commitmail json YAML

make(1): clean up parameter order in EvalUndefined

(rillig)

2020-11-21 15:26:54 UTC MAIN commitmail json YAML

2020-11-21 15:02:52 UTC MAIN commitmail json YAML

make(1): rename local variable in Var_Subst

(rillig)

2020-11-21 14:59:11 UTC MAIN commitmail json YAML

make(1): add test for .include with trailing garbage in the line

(rillig)

2020-11-21 13:20:12 UTC MAIN commitmail json YAML

make(1): clean up reference counting in SuffList_Insert

(rillig)

2020-11-21 13:16:37 UTC MAIN commitmail json YAML

make(1): move reference counting for suffixes to SrcNew

(rillig)

2020-11-21 13:11:13 UTC MAIN commitmail json YAML

make(1): clean up reference counting for suffixes

(rillig)

2020-11-21 12:26:41 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2020-11-21 12:01:17 UTC MAIN commitmail json YAML

2020-11-21 11:59:22 UTC MAIN commitmail json YAML

make(1): add more debug logging for suffix handling

One notable thing is that there is no debug output when adding a
transformation rule like ".c.o",  which means that these rules don't end
up in the global allTargets variable.

This may or may not be intentional.  It seems not intentional since this
is one of the causes for the suff-rebuild test to behave unexpectedly.

(rillig)

2020-11-21 11:55:57 UTC MAIN commitmail json YAML

make(1): enable debug logging for test suff-rebuild

As long as it is not clear why this test fails, it's better to have the
debug log available, both for reading it and for getting notified if
any behavior in this area changes.

(rillig)

2020-11-21 11:44:00 UTC MAIN commitmail json YAML

Add a per-CPU event counter that counts every time an interrupt handler is
preempted by a higher priority interrupt.

(jmcneill)

2020-11-21 11:41:54 UTC MAIN commitmail json YAML

boot.cfg.5: Note that userconf can be used multiple times

Additionally:
- Make it easier for the reader to learn which keywords can be used
  multiple times
- Use multiple "userconf" lines in the EXAMPLES section, conveniently
  listing the current DRM drivers that a user might need to disable to
  troubleshoot "blank screen after boot" issues.

(kim)

2020-11-21 11:26:55 UTC MAIN commitmail json YAML

Fix previous and tag the right callout...

(mlelstv)

2020-11-21 11:23:23 UTC MAIN commitmail json YAML

Run callout without kernel lock, the softint itself is still protected.

(mlelstv)

2020-11-21 10:56:17 UTC MAIN commitmail json YAML

make(1): improve comment style in GNode_Free

It was unclear what the ellipsis referred to.  It was meant to refer to
the function call Lst_Free, but that was not necessarily obvious to a
casual reader.

(rillig)

2020-11-21 10:51:26 UTC MAIN commitmail json YAML

make(1): fix indentation in Make_HandleUse

(rillig)

2020-11-21 10:50:39 UTC MAIN commitmail json YAML

make(1): fix comment for allTargets

Source nodes are also included in this list.  What's not includes is
nodes that are _only_ source nodes.

(rillig)

2020-11-21 10:36:01 UTC MAIN commitmail json YAML

make(1): add more debug logging for suffixes

The "Removing suffix" is not covered by the current tests.  It would be
best if that code were unreachable at all, since a reference count of -1
doesn't make sense.

(rillig)

2020-11-21 10:32:42 UTC MAIN commitmail json YAML

2020-11-21 09:53:40 UTC MAIN commitmail json YAML

2020-11-21 09:51:00 UTC MAIN commitmail json YAML

make(1): rename local variable s to suff

The name s was ambiguous.  It could have meant suffix, src, str, and
probably more.

(rillig)

2020-11-21 09:36:27 UTC MAIN commitmail json YAML

2020-11-21 09:24:02 UTC MAIN commitmail json YAML

roundsleep(): Too many zeros; tv_nsec should be compared with
500 msec, not 5000. Raised by clang for ILP32 archs.

(rin)

2020-11-21 09:19:46 UTC MAIN commitmail json YAML

make(1): make debug logging more precise in Suff_EndTransform

(rillig)

2020-11-21 09:16:44 UTC MAIN commitmail json YAML

make(1): flatten Suff_EndTransform

This avoids the duplicate code for testing OP_TRANSFORM.

(rillig)

2020-11-21 08:51:57 UTC MAIN commitmail json YAML

2020-11-21 08:23:36 UTC MAIN commitmail json YAML

make(1): rename SuffScanTargets to SuffUpdateTarget

The word "scan" no longer applies to this function since that is done by
SuffUpdateTargets instead.

(rillig)

2020-11-21 08:10:27 UTC MAIN commitmail json YAML

Restore missing message for RB_ASKNAME.
Cleanups.

(mlelstv)

2020-11-21 08:09:21 UTC MAIN commitmail json YAML

Fix build with clang for earmv7hf; loadroundkey() is used only for __aarch64__.

(rin)

2020-11-21 08:01:20 UTC MAIN commitmail json YAML

make(1): clean up parameter names for SuffScanTargets

The prefix "gs" came from a time when SuffScanTargets was called via
Lst_ForEach, passing it a struct GNodeSuff.  The "gs" had just been the
abbreviation for "GNode + Suff", which was already non-expressive.  On
top of that, the struct had a third field "r", also with an unclear name,
which was not even mentioned in the name of the struct.

For now, just remove the needless prefix since it has absolutely no
meaning anymore.  Maybe it will become clear what the "r" was supposed to
mean, it could be some kind of "result".

(rillig)

2020-11-21 03:02:09 UTC MAIN commitmail json YAML

valuator_mask_zero() is enough for mouse button events.

(tsutsui)

2020-11-21 00:27:52 UTC MAIN commitmail json YAML

2020-11-20 20:01:16 UTC MAIN commitmail json YAML

make(1): make string iterator in ParseDependencyTargetWord const

(rillig)

2020-11-20 19:06:56 UTC MAIN commitmail json YAML

valuator_mask_zero() is enough for mouse button events.

(tsutsui)

2020-11-20 18:51:31 UTC MAIN commitmail json YAML

2020-11-20 18:49:45 UTC MAIN commitmail json YAML

2020-11-20 18:37:31 UTC MAIN commitmail json YAML

2020-11-20 18:34:45 UTC MAIN commitmail json YAML

2020-11-20 18:26:26 UTC MAIN commitmail json YAML

2020-11-20 18:18:51 UTC MAIN commitmail json YAML

2020-11-20 18:16:40 UTC MAIN commitmail json YAML

2020-11-20 18:10:07 UTC MAIN commitmail json YAML

2020-11-20 18:09:00 UTC MAIN commitmail json YAML

Sync with xorg-server:

Report which settings are chosen per a config file in the log file.

(tsutsui)

2020-11-20 18:03:53 UTC MAIN commitmail json YAML

2020-11-20 17:48:25 UTC MAIN commitmail json YAML

2020-11-20 17:44:56 UTC MAIN commitmail json YAML

2020-11-20 17:38:05 UTC MAIN commitmail json YAML

2020-11-20 13:33:07 UTC MAIN commitmail json YAML

Note import of dhcpcd-9.3.3

(roy)

2020-11-20 13:24:58 UTC MAIN commitmail json YAML

2020-11-20 10:08:47 UTC MAIN commitmail json YAML

When validating the mount device string make sure its length
is below *data_len and below PATH_MAX.

Reported-by: syzbot+2d3af801141509cc858c@syzkaller.appspotmail.com

(hannken)

2020-11-20 01:29:47 UTC MAIN commitmail json YAML

2020-11-20 01:29:12 UTC MAIN commitmail json YAML

Add newer Intel PCH internal devices.

(msaitoh)

2020-11-20 00:24:57 UTC MAIN commitmail json YAML

make(1): fix local variable name in ParseDoDependencyTargets

(rillig)

2020-11-20 00:24:21 UTC MAIN commitmail json YAML

make(1): run tests with different shells as well, reduce output

(rillig)

2020-11-19 23:50:26 UTC MAIN commitmail json YAML

make(1): fix test opt-debug-jobs for native shell

Even after substituting the actual shell name with <shell>, the trailing
optional -q option needs to be normalized.

(rillig)

2020-11-19 22:03:17 UTC MAIN commitmail json YAML

2020-11-19 21:59:07 UTC MAIN commitmail json YAML

Add modern QUMRANET/Red Hat VIRTIO range PCI devices

(reinoud)

2020-11-19 21:46:10 UTC MAIN commitmail json YAML

make(1): fix test opt-debug-jobs when compiled with dash as shell

make USER_CPPFLAGS=-DDEFSHELL_CUSTOM='\"/usr/pkg/bin/dash\"'

(rillig)

2020-11-19 21:39:50 UTC MAIN commitmail json YAML

make(1): remove redundant postprocessing for test var-op-shell

The regular expression from the previous line already matches everything
that the removed line could ever match.

(rillig)

2020-11-19 21:35:47 UTC MAIN commitmail json YAML

make(1): remove postprocessing for test directive-export-gmake

Since revision 1.3, directive-export-gmake.mk takes care of handling this
case.  Removing the "error" lines from the output of the tests only makes
the test harder to understand and may also hide future bugs.

(rillig)

2020-11-19 21:27:29 UTC MAIN commitmail json YAML

make(1): mark srclist as a bad global variable

The previous comment "List of sources" didn't tell anything about the
purpose of the variable, it was only useful before July 2020, when its
data type was still Lst, without any type information.

Having a global variable here seems pointless, but all the code about
suffix transformations is so tricky and not well covered by tests that I
don't dare to convert the global variable to a local variable in
Suff_FindDeps.  The change itself would be trivial, but the hidden and
undocumented intentions of the original author probably aren't.

(rillig)

2020-11-19 20:58:30 UTC MAIN commitmail json YAML

Update 'elfdefinitions.h' to elftoolchain revision [r3891].

(jkoshy)

2020-11-19 14:42:33 UTC MAIN commitmail json YAML

make(1): compare pointers against NULL instead of implicit conversion

(rillig)

2020-11-19 14:32:25 UTC MAIN commitmail json YAML

make(1): fix compilation error in -DDEBUG_SRC mode

(rillig)

2020-11-19 11:28:09 UTC netbsd-8 commitmail json YAML

2020-11-19 11:27:22 UTC netbsd-8 commitmail json YAML

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

libexec/httpd/bozohttpd.c: revision 1.124

Bozohttpd clobbers files greater than 4GB on 32bit archs.
Make sure the alignment mask derived from pagesize is an off_t.

(martin)

2020-11-19 11:26:10 UTC netbsd-9 commitmail json YAML

2020-11-19 11:25:18 UTC netbsd-9 commitmail json YAML

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

libexec/httpd/bozohttpd.c: revision 1.124

Bozohttpd clobbers files greater than 4GB on 32bit archs.
Make sure the alignment mask derived from pagesize is an off_t.

(martin)

2020-11-19 10:47:47 UTC MAIN commitmail json YAML

We have to ignore interrupts when suspending here the same way
we have to do with revoke.

Reported-by: syzbot+0cfb253b382a9836450a@syzkaller.appspotmail.com

(hannken)

2020-11-19 10:45:37 UTC MAIN commitmail json YAML

Bozohttpd clobbers files greater than 4GB on 32bit archs.

Make sure the alignment mask derived from pagesize is an off_t.

(hannken)

2020-11-19 02:36:30 UTC MAIN commitmail json YAML

Add some sysctl values for debugging TX/RX queues.

(msaitoh)

2020-11-19 02:23:24 UTC MAIN commitmail json YAML

2020-11-18 22:23:05 UTC MAIN commitmail json YAML

Sync 'utarray.h' and 'uthash.h' with elftoolchain revision [r3891].

This change upgrades these files to UT{HASH,ARRAY}_VERSION 2.1.0.

(jkoshy)

2020-11-18 20:00:15 UTC MAIN commitmail json YAML

Sort options.

Prompted by pgoyette.

(wiz)

2020-11-18 16:36:43 UTC MAIN commitmail json YAML

Preserve Xen SIR slots for VM_GUEST_XENPVH.

(bouyer)

2020-11-18 16:13:34 UTC MAIN commitmail json YAML

Make this at least compile.
Looks like a missing part from "Round of uvm.h cleanup (2020-09-05 18:30)".

(hannken)

2020-11-18 12:49:52 UTC MAIN commitmail json YAML

Don't complain about additional DNAME records received when resolving A or
AAAA (like already done for SIG/KEY and CNAME).

(is)

2020-11-18 07:42:46 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-11-18 06:49:14 UTC MAIN commitmail json YAML

2020-11-18 04:10:34 UTC MAIN commitmail json YAML

Cleanup - colliding fixes for same issue

(sjg)

2020-11-18 03:46:25 UTC MAIN commitmail json YAML

2020-11-18 03:40:50 UTC MAIN commitmail json YAML

2020-11-18 02:22:17 UTC MAIN commitmail json YAML

2020-11-18 02:14:13 UTC MAIN commitmail json YAML

2020-11-18 02:04:30 UTC MAIN commitmail json YAML

2020-11-18 01:12:00 UTC MAIN commitmail json YAML

Some tests need help with dash

(sjg)

2020-11-18 01:06:59 UTC MAIN commitmail json YAML

Always use -r -f /dev/null when not  intending to read a makefile

(sjg)

2020-11-17 20:49:12 UTC MAIN commitmail json YAML

Remove heuristic for dealing with trailing newlines being truncated by mailers.

Patch and explanation taken from bsdimp:
https://bsdimp.blogspot.com/2020/08/a-35-year-old-bug-in-patch-found-in.html
https://svnweb.freebsd.org/base?view=revision&revision=364291

Every version of patch since the first one posted to mod.sources in 1985 have
included a heuristic for coping with the state of email messaging at the
time. This heuristic would add up to 4 blank lines to a patch if it thought it
needed it. The trouble is, though this causes at least one bug.

The bug in my case is that if you have a context diff whose last hunk only
deletes 3 or fewer lines, then if you try to reverse apply it with -R, it will
fail. The reason for this is the heuristic builds an internal representation
that includes those blank lines. However, it should really replicate the lines
from the pattern lines line it would any other time, not assume they are blank
lines. Removing this heuristic will prevent patch from misapplying the lines
removed after applying a 'fuzz' factor to the previous blank line in the file. I
believe this will only affect 'new-style' 4.3BSD context diffs and not the
older-style 4.2BSD diffs and plain, non-context diffs. It won't affect any of
the newer formats, since they don't use the 'omitted' construct in the same way.

Since this heuristic was put into patch at a time when email / etc ate trailing
white space on a regular basis, and since it's clear that this heuristic is the
wrong thing to do at least some of the time, it's better to remove it
entirely. It's not been needed for maybe 20 years since patch files are not
usually corrupted. If there are a small number of patch files that would benefit
from this corruption fixing, those already-currupt patches can be fixed by the
addition of blank lines. I'd wager that no one will ever come to me with an
example of a once-working patch file that breaks with this change. However, I
have 2 patches from the first 195 patches to 2.11BSD that are affected by this
bug, suggesting that the relative frequency of the issue has changed
signficantly since the original heuristic was put into place.

(rhialto)

2020-11-17 20:27:35 UTC MAIN commitmail json YAML

make(1): make test vardebug independent from the shell

(rillig)

2020-11-17 20:19:24 UTC MAIN commitmail json YAML

make(1): fix test output of var-op-shell for dash

Dash is helpful and outputs the line number in case of an error.  The
other shells don't do this.  Accept both variants.

(rillig)

2020-11-17 20:16:44 UTC MAIN commitmail json YAML

make(1): fix test directive-export-gmake for dash

Dash only accepts environment variables whose names follow the usual
naming conventions.  (I didn't look up the exact details.)  In
particular, it rejects environment variables whose names start or end
with spaces.

This would result in an empty output from grep, in which case the exit
status from the shell command is non-zero, thus make prints an error
about this.  This error message should not appear in the test output, to
keep the test output the same for all platforms.

(rillig)

2020-11-17 20:11:02 UTC MAIN commitmail json YAML

2020-11-17 20:08:09 UTC MAIN commitmail json YAML

2020-11-17 19:56:42 UTC MAIN commitmail json YAML

Add "AOT" Ahead Of Time

(maya)

2020-11-17 18:01:09 UTC MAIN commitmail json YAML

don't expose 'compatible[]'

(ryo)

2020-11-17 17:59:31 UTC MAIN commitmail json YAML

use aprint_verbose_dev()

(ryo)

2020-11-17 10:49:41 UTC MAIN commitmail json YAML

Set USE_XZ_SETS to yes by default for aarch64eb in the same manner as aarch64.

(rin)

2020-11-17 10:47:17 UTC MAIN commitmail json YAML

Support aarch64eb; just works fine.

(rin)

2020-11-17 10:35:16 UTC MAIN commitmail json YAML

Support aarch64eb in */config.guess.

Cherry-picked from upstream:
https://git.savannah.gnu.org/gitweb/?p=config.git;a=commit;h=1c4398015583eb77bc043234f5734be055e64bea

Everything except external/apache2/llvm/dist/llvm/cmake/config.guess
is patched, which is under vendor tag and cannot be modified. I expect
that this file is not actually used as we use hand-crafted version of
configure script instead of cmake for building LLVM.

Note that external/apache2/llvm/autoconf/autoconf/config.guess has
already been committed on Oct. 20, but commit message disappeared as
cvs aborted due to "permission denied" when trying to modify the file
mentioned above. Sorry for confusing you.

Also note that GMP uses its own config.guess Patch for
external/lgpl3/gmp/dist/config.guess is provided by ryo@. Thanks!

(rin)

2020-11-17 08:25:57 UTC MAIN commitmail json YAML

2020-11-17 04:50:29 UTC MAIN commitmail json YAML

Add new spin mutex to avoid race between ixgbe_msix_admin() and ixgbe_handle_admin().

At first, it seems "IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_OTHER)"
cannot stop interrupts, because 31th bit is reserved for 82598, 82599,
X540 and X550.  So, the current following design
    (1) ixgbe_msix_admin() disables interrupts
    (2) ixgbe_msix_admin() calls workqueue_enqueue() for ixgbe_handle_admin()
    (3) ixgbe_handle_admin() does interrupt processing
    (4) after ixgbe_handle_admin() has done all interrupt processings,
        ixgbe_handle_admin() enables interrupts
does not work correctly, that is, interrupts can be lost while
ixgbe_handle_admin() is running.

To fix that, add new spin mutex(adapter->admmin_mtx) which protects
atomically the following two members.
    - adapter->admin_pending
    - adapter->task_requests

The unnecessary "IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_OTHER)"
code will be removed later.

Reviewed and tested by hikaru@n.o and msaitoh@n.o, thanks.

(knakahara)

2020-11-17 03:22:33 UTC MAIN commitmail json YAML

When SS_RESTARTSYS was added, it was accidentally given the same value as
the existing SS_ASYNC.  SS_ASYNC was already vestigial at that point,
having been superceded by SB_ASYNC, however the SS_ASYNC flag is still
set and cleared, unlessly because it is never checked.
Fix this conflict by removing SS_ASYNC and its vestigial uses.

(chs)

2020-11-17 03:20:33 UTC MAIN commitmail json YAML

2020-11-16 23:27:41 UTC MAIN commitmail json YAML

make(1): rename local functions in suffix handling

Name these functions after their main object, which is the suffix list.

(rillig)

2020-11-16 23:23:57 UTC MAIN commitmail json YAML

make(1): merge duplicate calls to SuffInsert

(rillig)

2020-11-16 22:31:42 UTC MAIN commitmail json YAML

make(1): clean up code style in make.c and suff.c

(rillig)

2020-11-16 22:28:44 UTC MAIN commitmail json YAML

make(1): clean up code style in targ.c

(rillig)

2020-11-16 22:27:04 UTC MAIN commitmail json YAML

make(1): initialize and free GNode fields in declaration order

Initialization and destruction of the fields is independent from the
other fields.  Therefore use declaration order, which allows to quickly
see whether a field was forgotten.

While here, add comments that in cleanup mode, not all memory is freed.
The variables of a node and the suffix survive right now.

(rillig)

2020-11-16 22:08:20 UTC MAIN commitmail json YAML

make(1): fix initialization order of modules (broken since today)

In CLEANUP mode, Var_Init depends on Targ_Init since the variable scopes
are implemented as GNodes.

By the way, since 1999-09-15 variables are no longer stored in lists but
in hash tables.

(rillig)

2020-11-16 21:59:08 UTC MAIN commitmail json YAML

make(1): rename variables in targ.c

The previous names didn't make it obvious that 'allTargets' and 'targets'
belong together.  Naming both 'allTargets' provides a stronger hint.

(rillig)

2020-11-16 21:53:10 UTC MAIN commitmail json YAML

make(1): clean up and extend comments in targ.c

(rillig)

2020-11-16 21:48:19 UTC MAIN commitmail json YAML

make(1): make some GNode functions const

(rillig)

2020-11-16 21:44:29 UTC MAIN commitmail json YAML

make(1): in CLEANUP mode, preallocate list of all GNodes

This makes the code simpler and more uniform.

(rillig)

2020-11-16 21:41:02 UTC MAIN commitmail json YAML

make(1): rename TargFreeGN to GNode_Free

This is the usual counterpart to a New function, like for Lst, HashTable,
Buffer.

(rillig)

2020-11-16 21:39:22 UTC MAIN commitmail json YAML

make(1): rename Targ_NewGN to GNode_New

This function is a classical constructor function, and if it weren't for
CLEANUP mode, it would have no dependencies on anything else besides the
memory allocator.  Therefore it doesn't really matter which module
defines this function, and there is no need for the "Targ" to be part of
the function name.

(rillig)

2020-11-16 18:49:54 UTC MAIN commitmail json YAML

make(1): inline SUFF_DEBUG3 and SUFF_DEBUG4

Each of them was only used a single time, which was not worth an
additional macro.

(rillig)

2020-11-16 18:47:03 UTC MAIN commitmail json YAML

make(1): clean up coding style in suff.c

(rillig)

2020-11-16 18:45:44 UTC MAIN commitmail json YAML

make(1): improve local variable names in suff.c

The name 's' was used for both 'suff' and 'src', which was unnecessarily
confusing.

(rillig)

2020-11-16 18:41:41 UTC MAIN commitmail json YAML

make(1): remove redundant braces and parentheses from suff.c

(rillig)

2020-11-16 18:38:50 UTC MAIN commitmail json YAML

make(1): use boolean expressions in conditions

(rillig)

2020-11-16 18:34:29 UTC MAIN commitmail json YAML

make(1): clean up comments in suff.c

(rillig)

2020-11-16 18:29:49 UTC MAIN commitmail json YAML

make(1): use postfix increment where possible

(rillig)

2020-11-16 18:29:48 UTC netbsd-9 commitmail json YAML

2020-11-16 18:28:27 UTC MAIN commitmail json YAML

2020-11-16 18:21:45 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_wm.c: revision 1.696

Fix little-endian dependence in wm_rxeof(), by which packets cannot be
received by 82574 and successors on big-endian machines.

Tested by aarch64eb with I210-T1 on ROCKPro64.

Thanks msaitoh for discussion!
XXX
pullup to netbsd-9 and netbsd-8

(martin)

2020-11-16 18:20:31 UTC netbsd-8 commitmail json YAML

2020-11-16 18:18:15 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/if_wm.c: revision 1.696

Fix little-endian dependence in wm_rxeof(), by which packets cannot be
received by 82574 and successors on big-endian machines.

Tested by aarch64eb with I210-T1 on ROCKPro64.

Thanks msaitoh for discussion!
XXX
pullup to netbsd-9 and netbsd-8

(martin)

2020-11-16 16:46:28 UTC MAIN commitmail json YAML

Report which settings are chosen per a config file in the log file.

Also reorganize a logging strategy in parseError() and
make several variables and functions static or const.

(tsutsui)

2020-11-16 16:15:37 UTC MAIN commitmail json YAML

make(1): mark Suff.ref as probably unused

(rillig)

2020-11-16 15:12:16 UTC MAIN commitmail json YAML

make(1): add test for self-referencing suffix rule

Just to ensure that make doesn't run into an endless loop.

(rillig)

2020-11-16 14:12:46 UTC MAIN commitmail json YAML

system.ctwmrc: Set Cursors to avoid strange default fallbacks

(nia)

2020-11-16 11:54:10 UTC MAIN commitmail json YAML

Fix little-endian dependence in wm_rxeof(), by which packets cannot be
received by 82574 and successors on big-endian machines.

Tested by aarch64eb with I210-T1 on ROCKPro64.

Thanks msaitoh for discussion!

XXX
pullup to netbsd-9 and netbsd-8

(rin)

2020-11-16 11:38:30 UTC MAIN commitmail json YAML

Correctly support aarch64eb and earmv7hfeb in a similar manner to
their little-endian counterparts.

Fix build failures for periodic binary snapshots.

(rin)

2020-11-16 00:12:13 UTC MAIN commitmail json YAML

2020-11-15 22:31:03 UTC MAIN commitmail json YAML

2020-11-15 22:28:08 UTC MAIN commitmail json YAML

make(1): document why .BEGIN cannot be combined with .USE/.USEBEFORE

(rillig)

2020-11-15 20:50:46 UTC MAIN commitmail json YAML

2020-11-15 20:49:20 UTC MAIN commitmail json YAML

2020-11-15 20:47:01 UTC MAIN commitmail json YAML

2020-11-15 20:20:59 UTC MAIN commitmail json YAML

make(1): update and add comments in tests

As a result of the new comments, some line numbers have changed in the
output of the tests.  No other changes.

(rillig)

2020-11-15 18:33:41 UTC MAIN commitmail json YAML

make(1): add remarks to var.c and the test varmod-match

(rillig)

2020-11-15 18:32:29 UTC MAIN commitmail json YAML

make(1): rename ApplyModifiersState.v to var

(rillig)

2020-11-15 14:58:14 UTC MAIN commitmail json YAML

2020-11-15 14:14:24 UTC MAIN commitmail json YAML

2020-11-15 14:07:53 UTC MAIN commitmail json YAML

2020-11-15 14:04:26 UTC MAIN commitmail json YAML

make(1): add test for operator precedence using truth tables

(rillig)

2020-11-15 14:01:06 UTC MAIN commitmail json YAML

Don't restrict debug event to XENPV, it's also usefull for PVH/PVHVM

(bouyer)

2020-11-15 13:59:42 UTC MAIN commitmail json YAML

remove unused x86_cpu_initclock_func()

(bouyer)

2020-11-15 12:33:53 UTC MAIN commitmail json YAML

Don't unlock without having taken the lock.

(mlelstv)

2020-11-15 12:02:44 UTC MAIN commitmail json YAML

make(1): clean up make.h, meta.c, parse.c, str.c

The main changes are in the comments, which have been shortened and
corrected.

Some local variables changed their names.

In ParseErrorInternal, the scope of va_start is now narrower.

In ParseDoDependency, the type of tOp has been fixed.

ParseGetLine doesn't take flags anymore but instead a parsing mode.
Previously, the flags had not been combined anyway.

At the beginning of Parse_File, fatals is already guaranteed to be 0, and
even if not, it would be wrong to just discard the fatal errors.

(rillig)

2020-11-15 11:57:01 UTC MAIN commitmail json YAML

2020-11-15 10:11:26 UTC MAIN commitmail json YAML

make(1): clean up make.c stylistically

(rillig)

2020-11-15 09:57:05 UTC MAIN commitmail json YAML

make(1): rename checked to checked_seqno

The new name is more precise and also matches the GNode field.

(rillig)