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 (2m)  netbsd-10 (16d)  netbsd-9 (16d)  netbsd-8 (21d) 

2024-06-02 11:46:35 UTC Now

2020-07-28 17:47:57 UTC MAIN commitmail json YAML

make(1): refine test for detecting misspellings in directives

The names of directives are only checked if the lines are actually
relevant.  In all other cases, the amount of work is reduced to the bare
minimum, which is just to scan for line continuations.

(rillig)

2020-07-28 17:18:40 UTC MAIN commitmail json YAML

make(1): issue a parse error on unclosed variables

These errors had not been detected before by make.
In pkgsrc, this task as been done by pkglint since 2019-04-07.

(rillig)

2020-07-28 16:45:56 UTC MAIN commitmail json YAML

make(1): remove unnecessary struct tag

Identifiers starting with an underscore and an uppercase letter are
reserved for the C implementation.

(rillig)

2020-07-28 16:42:22 UTC MAIN commitmail json YAML

make(1): remove dead code from Var_Subst

The first parameter from Var_Subst had been a literal NULL in all cases.
These have been fixed using this command:

sed -i 's|Var_Subst(NULL, |Var_Subst(|' *.c

The one remaining case was not found because the "NULL," was followed by
a line break instead of a space.

The removed code probably wouldn't have worked as expected anyway.
Expanding a single variable to a literal string would have led to
unexpected behavior for cases like ${VAR:M${pattern}}, in case pattern
would contain an unescaped ':' itself.

(rillig)

2020-07-28 16:26:37 UTC MAIN commitmail json YAML

Ensure .CURDIR is correct for tests that run sub-makes

(sjg)

2020-07-28 16:11:55 UTC MAIN commitmail json YAML

make(1): disable archive test

On FreeBSD, running the archive.mk test results in "create-archive is up
to date" and similar messages.  The situation is unclear, and the
archive code seems to be practically unused.  Furthermore the archive
test doesn't ensure that it is run in ${.PARSEDIR}, so it needs a bit
more work.

(rillig)

2020-07-28 15:59:19 UTC MAIN commitmail json YAML

say what is not configured in nvme_print()

(jdolecek)

2020-07-28 15:42:41 UTC MAIN commitmail json YAML

2020-07-28 15:41:26 UTC MAIN commitmail json YAML

Omit now-unused function.

Ceased to be needed with the AES CCM changes.

For some reason gcc didn't complain about this, but clang did.

(riastradh)

2020-07-28 14:49:55 UTC MAIN commitmail json YAML

Use CPU_IS_PRIMARY macro in cpu_stop(), cpu_resume(), and cpu_get_tsc_freq()
on x86.

OK kamil@

(fcambus)

2020-07-28 14:35:34 UTC MAIN commitmail json YAML

2020-07-28 14:01:35 UTC MAIN commitmail json YAML

Initialize authctr in both branches.

I guess I didn't test the unaligned case, weird.

(riastradh)

2020-07-28 10:29:30 UTC MAIN commitmail json YAML

note that MSI was enabled by default for Xen

(jdolecek)

2020-07-28 09:38:06 UTC MAIN commitmail json YAML

remove NO_PCI_MSI_MSIX again, enabling MSI for Xen Dom0 by default

(jdolecek)

2020-07-28 09:36:05 UTC MAIN commitmail json YAML

add a quirk to disable MSI, and enable it for Intel SSD DC P4500

this device seems to cause serious system responsiveness issues when configured
to use MSI, while it works fine when configured for either INTx or MSI-X

this is important so this works well under Xen Dom0, which doesn't
support MSI-X yet

fixes another issue reported as feedback for PR port-xen/55285 by Frank Kardel

(jdolecek)

2020-07-28 01:40:43 UTC MAIN commitmail json YAML

2020-07-28 00:48:00 UTC MAIN commitmail json YAML

Use -r for export.mk to minimize interference

(sjg)

2020-07-28 00:35:38 UTC MAIN commitmail json YAML

Change cpus_booted back to a simple variable instead of a kcpuset.
octeon_cpu_spinup() was trying to set CPU status immediately on kernel
startup _well_ before the kcpuset was initialised.

(simonb)

2020-07-28 00:13:29 UTC MAIN commitmail json YAML

make(1): add test for modifier part with unbalanced braces

(rillig)

2020-07-28 00:01:13 UTC MAIN commitmail json YAML

make(1): remove redundant ApplyModifiersState.termc

(rillig)

2020-07-27 23:56:15 UTC MAIN commitmail json YAML

make(1): document and reorder ApplyModifiersState

(rillig)

2020-07-27 23:37:38 UTC MAIN commitmail json YAML

make(1): rename ApplyModifiersState.nstr and newStr

The old names were too easy to confuse.  In Var_Parse, nstr is indeed
used for the "new string", but that was misleading in ApplyModifiers,
especially since there was another variable called newStr.

The new variable names focus on the purpose of the variables, not on
their data types.

(rillig)

2020-07-27 23:24:55 UTC MAIN commitmail json YAML

make(1): rename ApplyModifiersState.cp to next

The name "next" is more descriptive than a mere "cp".  It's easy to look
up the type of the variable, but not so easy to guess the purpose of the
variable, therefore the new name concentrates on the purpose.

(rillig)

2020-07-27 23:04:18 UTC MAIN commitmail json YAML

make(1): in ApplyModifier_Match, use short local variable name

(rillig)

2020-07-27 22:59:49 UTC MAIN commitmail json YAML

make(1): in ModifyWord_Match, use different variables

Using the same registers or memory locations for different variables is
the job of the register allocator, not the programmer.  For humans, that
practice is rather confusing.

(rillig)

2020-07-27 22:50:01 UTC MAIN commitmail json YAML

make(1): replace comment in ApplyModifier_Match with code

(rillig)

2020-07-27 22:30:00 UTC MAIN commitmail json YAML

make(1): remove unused lengthPtr and freePtr from ApplyModifiersState

(rillig)

2020-07-27 22:24:04 UTC MAIN commitmail json YAML

make(1): remove unnecessary field from ApplyModifiersState

(rillig)

2020-07-27 22:21:29 UTC MAIN commitmail json YAML

make(1): remove unnecessary variable assignment

It is not the job of an ApplyModifier function to directly manipulate the
final result of the ApplyModifiers function.  In fact, the resulting
pointer was overwritten unconditionally, in such an obvious way that the
compiler could have detected this.  GCC 5 didn't though, which reduces
the code size a bit.

(rillig)

2020-07-27 22:02:26 UTC MAIN commitmail json YAML

make(1): move modifier character out of ApplyModifiersState

It is only used in the outer part of the loop to apply the modifiers.

(rillig)

2020-07-27 21:54:25 UTC MAIN commitmail json YAML

make(1): replace macros with functions

Having the hidden parameter st->endc in the macro made it unnecessarily
difficult to understand the code.

(rillig)

2020-07-27 21:08:41 UTC MAIN commitmail json YAML

make(1): use shorter variable name for parsing :D and :U

(rillig)

2020-07-27 20:59:53 UTC MAIN commitmail json YAML

It's __ARM_NEON, not __ARM_NEON__, sometimes, apparently.

(riastradh)

2020-07-27 20:58:56 UTC MAIN commitmail json YAML

2020-07-27 20:58:07 UTC MAIN commitmail json YAML

Take advantage of REV32 and TBL for 16-bit and 8-bit rotations.

However, disable use of (V)TBL on armv7/aarch32 for now, because for
some reason GCC spills things to the stack despite having plenty of
free registers, which hurts performance more than it helps at least
on ARM Cortex-A8.

(riastradh)

2020-07-27 20:57:23 UTC MAIN commitmail json YAML

2020-07-27 20:55:59 UTC MAIN commitmail json YAML

make(1): document where to fix the .INCLUDEDFROM bug

(rillig)

2020-07-27 20:54:18 UTC MAIN commitmail json YAML

catch up with source rename of fbsd-zfs -> zfs

(christos)

2020-07-27 20:54:12 UTC MAIN commitmail json YAML

Issue aese/aesmc and aesd/aesimc in pairs.

Advised by the aarch64 optimization guide; increases cgd throughput
by about 10%.

(riastradh)

2020-07-27 20:53:23 UTC MAIN commitmail json YAML

2020-07-27 20:52:11 UTC MAIN commitmail json YAML

PIC for aes_neon_32.S.

Without this, tests/sys/crypto/aes/t_aes fails to start on armv7
because of R_ARM_ABS32 relocations in a nonwritable text segment for
a PIE -- which atf quietly ignores in the final report!  Yikes.

(riastradh)

2020-07-27 20:51:29 UTC MAIN commitmail json YAML

Enable ChaCha NEON code on armv7 too.

The 4-blocks-at-a-time assembly helper is disabled for now; adapting
it to armv7 is going to be a little annoying with only 16 128-bit
vector registers.

(Should also do a fifth block in the integer registers for 320 bytes
at a time.)

(riastradh)

2020-07-27 20:50:25 UTC MAIN commitmail json YAML

Use <aarch64/asm.h> rather than copying things from it here.

Vestige from userland build on netbsd-9 during development.

(riastradh)

2020-07-27 20:49:46 UTC MAIN commitmail json YAML

2020-07-27 20:49:10 UTC MAIN commitmail json YAML

Simplify ChaCha selection and allow it to be used much earlier.

This way we can use it for cprng_fast early on.  ChaCha is easy
because there's no data formats that must be preserved from call to
call but vary from implementation to implementation -- we could even
make it a sysctl knob to dynamically select it with negligible cost.

(In contrast, different AES implementations use different expanded
key formats which must be preserved from aes_setenckey to aes_enc,
for example, which means a considerably greater burden on dynamic
selection that's not really worth it.)

(riastradh)

2020-07-27 20:48:18 UTC MAIN commitmail json YAML

Reduce some duplication.

Shouldn't substantively hurt performance -- the comparison that has
been moved into the loop was essentially the former loop condition --
and may improve performance by reducing code size since there's only
one inline call to chacha_permute instead of two.

(riastradh)

2020-07-27 20:46:18 UTC MAIN commitmail json YAML

2020-07-27 20:45:15 UTC MAIN commitmail json YAML

New sysctl subtree kern.crypto.

kern.crypto.aes.selected (formerly hw.aes_impl)
kern.crypto.chacha.selected (formerly hw.chacha_impl)

XXX Should maybe deduplicate creation of kern.crypto.

(riastradh)

2020-07-27 20:44:30 UTC MAIN commitmail json YAML

Gather auth[16] and ctr[16] into one authctr[32].

Should appease clang.

(riastradh)

2020-07-27 19:59:59 UTC MAIN commitmail json YAML

make(1): remove unnecessary argument validation

(rillig)

2020-07-27 19:53:37 UTC MAIN commitmail json YAML

make(1): add test for exporting single-character variables

(rillig)

2020-07-27 19:45:56 UTC MAIN commitmail json YAML

make(1): prepare test for .export to show all exported variables

Currently the unit tests don't cover exporting of local variables like
.TARGET or @.  To see the effects, all exported variables must be listed
by the tests.

(rillig)

2020-07-27 19:23:12 UTC MAIN commitmail json YAML

make(1): sort flags for test cases alphabetically

(rillig)

2020-07-27 19:06:45 UTC MAIN commitmail json YAML

make(1): improve const-correctness in archive handling

The return value of Var_Value must not be modified.  Ideally it would be
declared as const char *, but that still takes a while, especially since
much of the make code is not yet covered by the unit tests.

The variable cp had to be changed to const char * as well, and while here
was split up into one variable per actual use case.

(rillig)

2020-07-27 18:59:56 UTC MAIN commitmail json YAML

make(1): ignore gcov files for CVS

(rillig)

2020-07-27 18:57:42 UTC MAIN commitmail json YAML

make(1): add test for unsetting an environment variable in -e mode

(rillig)

2020-07-27 18:51:56 UTC MAIN commitmail json YAML

make(1): add very basic test for archive handling

The whole code in arch.c had been uncovered by tests before.

The code coverage shows that neither the archive name nor the member
contain any $, even though archive.mk looks like it.  It could be
necessary to place the variable assignments below the dependency line,
to force late evaluation.

(rillig)

2020-07-27 18:51:03 UTC MAIN commitmail json YAML

make(1): add very basic test for archive handling

The whole code in arch.c had been uncovered by tests before.

The code coverage shows that neither the archive name nor the member
contain any $, even though archive.mk looks like it.  It could be
necessary to place the variable assignments below the dependency line,
to force late evaluation.

(rillig)

2020-07-27 18:38:10 UTC MAIN commitmail json YAML

Skip v2m probe if armgic fails to attach

(jmcneill)

2020-07-27 18:36:23 UTC MAIN commitmail json YAML

Remove CPU ID test in armgic_match. Perfectly normal to have GIC in
non-Cortex cores.

(jmcneill)

2020-07-27 17:41:09 UTC MAIN commitmail json YAML

make(1): document API of Var_Value

(rillig)

2020-07-27 16:57:45 UTC MAIN commitmail json YAML

Skip the repeated_link_addr test by default as it causes the
evbarm-aarch64 testbed to hang (PR port-evbarm/55521), and will not be
safe to run by default even after that bug is fixed, for similar
reasons as t_repeated_updown.

(gson)

2020-07-27 16:26:51 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-07-27 15:41:03 UTC MAIN commitmail json YAML

Improve the workqueue and callout handling.  Prompted by riastradh@.

(jdc)

2020-07-27 14:52:55 UTC MAIN commitmail json YAML

icmp6: Remove __packed attribute from icmp6 structures

They should naturally align.
Add compile time assertations to icmp6.c to prove this.

(roy)

2020-07-27 14:17:47 UTC MAIN commitmail json YAML

add reference to net/py-xmm7360 for the network initialization script

(jdolecek)

2020-07-27 14:09:00 UTC MAIN commitmail json YAML

Nix trailing whitespace.

Helpful hint:

(setq show-trailing-whitespace t)

(riastradh)

2020-07-27 14:06:58 UTC MAIN commitmail json YAML

ip6: Remove __packed attribute from ip6 structures

They should naturally align.
Add compile time assertations to ip6_input.c to prove this.

(roy)

2020-07-27 12:32:54 UTC MAIN commitmail json YAML

2020-07-27 11:12:56 UTC MAIN commitmail json YAML

2020-07-27 10:59:11 UTC MAIN commitmail json YAML

s/MODULE/_MODULE/

spotted by chuq@

(skrll)

2020-07-27 10:37:58 UTC MAIN commitmail json YAML

Don't remove the _LKM #ifdefs, but do s/_LKM/_MODULE/

(skrll)

2020-07-27 08:26:09 UTC MAIN commitmail json YAML

Don't define _LKM. LKMs are dead. Long live modules.

(skrll)

2020-07-27 08:25:28 UTC MAIN commitmail json YAML

Fix typo _MODULAR -> _MODULE.  Hopefully this fixes the builds.

(skrll)

2020-07-27 07:36:19 UTC MAIN commitmail json YAML

Use the new "run_unsafe" atf_config_get() option also with a couple of other
tests that are known to be unsafe.

(jruoho)

2020-07-27 07:32:48 UTC MAIN commitmail json YAML

fix build error. need cast.

(ryo)

2020-07-27 06:52:48 UTC MAIN commitmail json YAML

Instead of just skipping interfaces that are "up", skip the whole
repeated_updown test case unless explicitly enabled with "atf-run -v
run_unsafe=yes".  Gratuitously configuring interfaces "up" is no more
safe than gratuitously configuring them "down"; for example, it could
lead to accidentally connecting to an insecure network or diverting
traffic from the desired route.

(gson)

2020-07-27 00:34:56 UTC MAIN commitmail json YAML

Improve PostScript output.

Some highlights in no particular order:

%destructor was somehow lost from the list that follows, it should be
part of it.

Use .Ic for yacc directives when they are defined, .Ql otherwise.

Use explicit .Sq Li (instead of .Ql) in description of %destructor to
make sure the result is consistently quoted.  It more readable that
way.

Use .Va and .Vt where appropriate.

C preprocessor directives are marked up with .No (a nop), so that it's
easy to switch them to something else if need be.  For now just use
them as plain words.

(uwe)

2020-07-26 23:18:06 UTC MAIN commitmail json YAML

2020-07-26 23:03:54 UTC MAIN commitmail json YAML

make(1): make test for dynamic variable name more specific

Since all the string literals have either 7 or 8 characters, there is no
need to call strcmp for shorter or longer variable names.

(rillig)

2020-07-26 22:43:17 UTC MAIN commitmail json YAML

make(1): extract code for dynamic variable names out of Var_Parse

(rillig)

2020-07-26 22:40:52 UTC MAIN commitmail json YAML

Add debug output for ENDDEFS.

This makes it more clear in the debug output where config switched
from definitions to selections.

(uwe)

2020-07-26 22:25:47 UTC MAIN commitmail json YAML

Don't print the location of the include directive twice.

cfgdbg() already prints the current file and line number, so don't
print the same information ourselves in the message too.

(uwe)

2020-07-26 22:19:12 UTC MAIN commitmail json YAML

make(1): fix off-by-one error in Var_Parse for dynamic variables

(rillig)

2020-07-26 22:15:36 UTC MAIN commitmail json YAML

2020-07-26 21:47:16 UTC MAIN commitmail json YAML

Minor wording improvements.

(wiz)

2020-07-26 21:46:10 UTC MAIN commitmail json YAML

make(1): add coverage test for dynamic = TRUE in Var_Parse

(rillig)

2020-07-26 21:31:11 UTC MAIN commitmail json YAML

make(1): rename VarEvalFlags variables to eflags

This way, they cannot be confused with other flags, and any mismatch of
mixing eflags with constants other than VARE_* is immediately apparent.

(rillig)

2020-07-26 21:28:33 UTC MAIN commitmail json YAML

use the right printing function

(christos)

2020-07-26 21:19:43 UTC MAIN commitmail json YAML

make(1): rename local variable in Var_Parse

(rillig)

2020-07-26 21:09:49 UTC MAIN commitmail json YAML

2020-07-26 20:30:42 UTC MAIN commitmail json YAML

2020-07-26 20:21:31 UTC MAIN commitmail json YAML

make(1): make return value of Var_Parse constant

This return value is not supposed to be modified since it can be a string
literal.  The modifiable part is returned via freePtr, but only for
freeing, not for actually modifying anything.

(rillig)

2020-07-26 20:04:57 UTC MAIN commitmail json YAML

make(1): explicitly add dependencies on headers

This prevents partial builds after changing a header.  The declared
dependencies are more than strictly necessary, but that's still better
than having inconsistent partial builds because too few dependencies are
declared.

(rillig)

2020-07-26 19:55:24 UTC MAIN commitmail json YAML

make(1): revert making Var_Parse return a const string

The dependencies between the C files and nonints.h are not declared
properly, which resulted in a successful partial build, but a full "make
clean && make" failed.

(rillig)

2020-07-26 19:44:04 UTC MAIN commitmail json YAML

make(1): mark result of Var_Parse as const

Var_Parse can return either a string literal or an allocated string.  The
former must not be modified by the caller.  If the string is allocated,
it is returned in freePtr as well, but only for freeing it after use.

(rillig)

2020-07-26 19:36:24 UTC MAIN commitmail json YAML

make(1): reduce scope and rename local variable in Var_Parse

(rillig)

2020-07-26 19:16:18 UTC MAIN commitmail json YAML

make(1): eliminate another local variable in Var_Parse

(rillig)

2020-07-26 19:13:43 UTC MAIN commitmail json YAML

make(1): split local variable into two in Var_Parse

(rillig)

2020-07-26 19:11:06 UTC MAIN commitmail json YAML

make(1): split local variable into two

Reusing a const char * parameter to store a char * and later free that
string was not a good idea. It made the pretty long code of Var_Parse
more difficult to understand.

(rillig)

2020-07-26 18:53:50 UTC MAIN commitmail json YAML

replace KDE with a desktop that's actually current in pkgsrc

(nia)

2020-07-26 18:47:02 UTC MAIN commitmail json YAML

make(1): reorder arguments of ParseModifierPart

First the input parameters, then additional data, then special arguments.

(rillig)

2020-07-26 18:11:43 UTC MAIN commitmail json YAML

2020-07-26 18:11:12 UTC MAIN commitmail json YAML

make(1): merge VARE_NOSUBST into VARE_WANTRES

The flag VARE_NOSUBST is only a few days old. It had grown out of the
VARP_NOSUBST and VAR_NOSUBST flags, not knowing at that time that it
meant the exact opposite of VARE_WANTRES.

(rillig)

2020-07-26 18:10:01 UTC MAIN commitmail json YAML

this file contained the same information as extattr_namespace_to_string.3
and somewhat incorrect too.

(christos)

2020-07-26 17:44:54 UTC MAIN commitmail json YAML

make(1): remove wrong comment from VarOrder

(rillig)

2020-07-26 17:23:00 UTC MAIN commitmail json YAML

make(1): reorder code in ParseModifierPart to be more readable

(rillig)

2020-07-26 17:21:28 UTC MAIN commitmail json YAML

make(1): in ParseModifierPart, only update length on success

(rillig)

2020-07-26 17:12:41 UTC MAIN commitmail json YAML

fix attribution - I was confused what was the correct final version

(jdolecek)

2020-07-26 17:10:56 UTC MAIN commitmail json YAML

make(1): remove wrong comment for VarUniq

VarUniq is not about sorting the words.

(rillig)

2020-07-26 17:09:23 UTC MAIN commitmail json YAML

make(1): save a few bytes and cycles by comparing against 0

The comparison against ac - 1 could have been optimized by the compilers
as well, but both GCC 5 and Clang produce smaller code for the comparison
against 0.

(rillig)

2020-07-26 16:59:09 UTC MAIN commitmail json YAML

make(1): remove unnecessary block scope

(rillig)

2020-07-26 16:51:53 UTC MAIN commitmail json YAML

make(1): document the circumstances in which brk_string returns NULL

(rillig)

2020-07-26 15:57:03 UTC MAIN commitmail json YAML

2020-07-26 15:56:30 UTC MAIN commitmail json YAML

add note that the network initialization script needs the device nodes
to be created

(jdolecek)

2020-07-26 15:53:05 UTC MAIN commitmail json YAML

If Unwind_Backtrace is broken, ctx.n will still contain ~0, and we will
return that which poor behavior for the user, so return 0 instead.
We could document ~0 to be an error, but that would deviate from the
Linux behavior which is not desirable. Noted by Poul-Henning Kamp

(christos)

2020-07-26 15:53:01 UTC MAIN commitmail json YAML

make(1): avoid memory allocation for oneBigWord in modifiers

(rillig)

2020-07-26 15:47:27 UTC MAIN commitmail json YAML

add support for wwanc(4) device nodes (xmm[0-9])

(jdolecek)

2020-07-26 15:38:22 UTC MAIN commitmail json YAML

robots: Use arc4random_uniform for better uniform distribution

(nia)

2020-07-26 15:37:44 UTC MAIN commitmail json YAML

make(1): help the compiler to find common subexpressions

(rillig)

2020-07-26 15:26:27 UTC MAIN commitmail json YAML

make(1): add convenience functions for adding to a SepBuf

(rillig)

2020-07-26 15:24:00 UTC MAIN commitmail json YAML

random(6): Use arc4random_uniform to simplify code

(nia)

2020-07-26 15:14:23 UTC MAIN commitmail json YAML

note new Intel XMM7360 driver

(jdolecek)

2020-07-26 15:14:09 UTC MAIN commitmail json YAML

Revert arc4random usage for now

this is a host tool and needs to be portable

future plans: add arc4random to libnbcompat

(nia)

2020-07-26 15:13:10 UTC MAIN commitmail json YAML

2020-07-26 15:09:10 UTC MAIN commitmail json YAML

make(1): add Buffer functions for common tasks

Adding a string or a substring to a buffer are common tasks when handling
variables.  There is no need to spell out the strlen call or the pointer
subtraction at every call site.

Subtracting pointers results in a ptrdiff_t, which would have to be
converted to an int in each case for WARNS=6. Having this conversion in a
single place keeps the code clean.

(rillig)

2020-07-26 14:51:19 UTC MAIN commitmail json YAML

Add driver for Intel XMM7360 LTE modem, based upon Linux driver available
at https://github.com/xmm7360/xmm7360-pci

This version works on Linux, OpenBSD, and NetBSD.

OpenBSD port written for genua GmbH

Modem requires python script from the master site to initialize the network,
it will be added to pkgsrc shortly

(jdolecek)

2020-07-26 14:39:46 UTC MAIN commitmail json YAML

2020-07-26 14:22:22 UTC MAIN commitmail json YAML

Another /usr/libdata/usr/tests/sys/crypto/chacha set list entry.

(Why do we need this here _and_ in debug/mi?)

(riastradh)

2020-07-26 14:16:45 UTC MAIN commitmail json YAML

make(1): add test for missing input validation in :[123] modifier

(rillig)

2020-07-26 14:01:14 UTC MAIN commitmail json YAML

2020-07-26 13:39:30 UTC MAIN commitmail json YAML

make(1): add Buf_AddInt to make the calling code simpler

(rillig)

2020-07-26 13:09:53 UTC MAIN commitmail json YAML

make(1): add basic tests for the :S modifier

(rillig)

2020-07-26 12:43:27 UTC MAIN commitmail json YAML

Add missing include to fix the build on architectures w/o any special
accelerated AES implementation.

(martin)

2020-07-26 12:27:09 UTC MAIN commitmail json YAML

make(1): make code in the :S modifier simpler

This code path is covered by the "sequences of letters" in modmisc.mk.

(rillig)

2020-07-26 12:19:37 UTC MAIN commitmail json YAML

make(1): fix bug in :S modifier from 2020-07-19

(rillig)

2020-07-26 12:18:12 UTC MAIN commitmail json YAML

make(1): demonstrate bug in the :S modifier with the 1 modifier

The bug has been introduced in var.c r1.268 on 2020-07-19.

(rillig)

2020-07-26 11:39:56 UTC MAIN commitmail json YAML

2020-07-26 11:19:04 UTC MAIN commitmail json YAML

make(1): add test for prefix mismatch in SysV substitution

(rillig)

2020-07-26 11:10:29 UTC MAIN commitmail json YAML

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

2020-07-26 11:07:56 UTC netbsd-9 commitmail json YAML

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

distrib/notes/evbarm/hardware: revision 1.15
distrib/notes/evbarm/contents: revision 1.11

Fix location of device trees

more 9.0 hardware

(martin)

2020-07-26 11:05:57 UTC netbsd-9 commitmail json YAML

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

distrib/notes/evbarm/upgrade: revision 1.3
distrib/notes/evbarm/upgrade: revision 1.4
distrib/notes/evbarm/upgrade: revision 1.5

Initial evbarm upgrade instructions - need work

clarify

upgrades to upgrade instructions

(martin)

2020-07-26 11:05:39 UTC MAIN commitmail json YAML

Remove Arm OABI -> EABI change notice

(jmcneill)

2020-07-26 11:00:28 UTC MAIN commitmail json YAML

2020-07-26 10:59:56 UTC MAIN commitmail json YAML

make(1): add tests for appending to a variable

(rillig)

2020-07-26 10:59:48 UTC netbsd-9 commitmail json YAML

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

share/mk/bsd.x11.mk: revision 1.135
external/mit/xorg/server/xorg-server/hw/xnest/Makefile: revision 1.22
external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile: revision 1.4

Fix typos in ${X11INCS.DIX} include paths. PR/55500
Remove extra "-I" for ${X11INCS.DIX} macro.

(martin)

2020-07-26 10:58:59 UTC MAIN commitmail json YAML

Remove duplicate word

(jmcneill)

2020-07-26 10:58:27 UTC MAIN commitmail json YAML

List all supported Amlogic SoCs

(jmcneill)

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

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

external/mit/xorg-server/dist/fb/fbcmap_mi.c: revision 1.2
external/mit/xorg-server.old/dist/fb/fbscreen.c: revision 1.2
external/mit/xorg-server.old/dist/fb/fb.h: revision 1.2
external/mit/xorg-server/dist/fb/fb.h: revision 1.2
external/mit/xorg-server/dist/fb/fbscreen.c: revision 1.2
external/mit/xorg-server.old/dist/fb/fbcmap_mi.c: revision 1.2

Fix 1bpp Xservers on "whitePixel=0, blackPixel=1" VRAMs.

- Don't override pScreen->blackPixel and pScreen->whitePixel
  (set in MD server Init functions per -filpPixels option)
  on 1bpp servers in merged fbSetupScreen() (merged one
  from cfbSetupScrenn and mfbSetupScreen() in old xsrc/xfree)
- Pull mfbCreateColormap() function from old xsrc/xfree tree
  and use it on 1bpp servers

Required by forthcoming X11R7'fied ancient Xsun and XsunMono servers:
https://mail-index.netbsd.org/port-sun3/2020/07/17/msg000157.html

Without these fixes, mouse pointers and twm window titlebar etc. are
rendered inverted.

Pull 1bpp server fixes from xorg-server.old:
https://mail-index.netbsd.org/source-changes/2020/07/18/msg119488.html

Confirmed on luna68k 1bpp Xorg 1.20 server using xf86-video-wsfb
with "-flipPixels" option.

(martin)

2020-07-26 10:55:36 UTC MAIN commitmail json YAML

2020-07-26 10:52:17 UTC MAIN commitmail json YAML

ThunderX is covered by SBBR+SBSA

(jmcneill)

2020-07-26 10:51:57 UTC MAIN commitmail json YAML

2020-07-26 10:50:27 UTC MAIN commitmail json YAML

2020-07-26 10:49:52 UTC netbsd-9 commitmail json YAML

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

external/mit/xorg-server.old/dist/hw/netbsd/x68k/x68kInit.c: revision 1.3

Use AllocDevicePair() to initialize input devices in InitInput().

This should have been done on the initial X11R7'fied imoprt as
upstream xnest did:
https://cgit.freedesktop.org/xorg/xserver/commit?id=32ce5c83a504d2cafd2b19ed628b40032ef347b3

Tested and no visible regression on XM6i.

(martin)

2020-07-26 10:49:05 UTC MAIN commitmail json YAML

Note support for TI AM335x SoC

(jmcneill)

2020-07-26 10:48:21 UTC MAIN commitmail json YAML

2020-07-26 10:47:25 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #1025):

sys/dev/wsfb/genfb.c: revision 1.73

reduce stack usage in genfb_calc_hsize()

(martin)

2020-07-26 10:46:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #1024):

sys/dev/pci/pci_subr.c: revision 1.224

change pci_conf_print() to allocate memory for the regs dynamically
instead of on-stack

(martin)

2020-07-26 10:44:29 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #1023):

external/apache2/mDNSResponder/dist/mDNSShared/PlatformCommon.c: revision 1.6
external/apache2/mDNSResponder/dist/mDNSPosix/mDNSPosix.c: revision 1.17
external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.13
external/apache2/mDNSResponder/dist/mDNSPosix/PosixDaemon.c: revision 1.14

mdnsd: Treat EADDRNOTAVAIL as a transient error

mdnsd: starting and stopping are informational messages

mdnsd: Make the unable to parse resolv.conf message informative

(martin)

2020-07-26 10:11:04 UTC MAIN commitmail json YAML

make(1): fix missing error message about missing @ delimiter

This had been broken since 2020-07-03, during a "refactoring".

(rillig)

2020-07-26 10:04:06 UTC MAIN commitmail json YAML

make(1): add test about missing delimiters in :@ modifier

These error conditions have been broken since var.c 1.236 on 2020-07-03.

(rillig)

2020-07-26 09:22:43 UTC MAIN commitmail json YAML

share/mk/bsd.README: fix typo

(rillig)

2020-07-26 09:22:15 UTC MAIN commitmail json YAML

style: fix typo about enum constants being capitalized

(rillig)

2020-07-26 09:17:24 UTC MAIN commitmail json YAML

make(1): remove references to the removed lst.lib

(rillig)

2020-07-26 08:20:23 UTC MAIN commitmail json YAML

Refactor remaining mount_* commands to use the common pathadj()
function for resolving paths.

Make pathadj() no longer warn about symlinks. Symlinks in /dev are
regularly used in several places like LVM . The warning was also
only visible when calling a mount_* command directly as mount(8)
itself would resolve the path witout warning before passing it to
a mount_* command.

(mlelstv)

2020-07-26 08:08:41 UTC MAIN commitmail json YAML

2020-07-26 07:57:06 UTC MAIN commitmail json YAML

Rework "machine cp0" command and support macros to use CP0 reg defines
instead of magic numbers for CP0 regs with a select number.

(simonb)

2020-07-26 07:52:08 UTC MAIN commitmail json YAML

Add CP0 Config Registers 6 and 7.

(simonb)

2020-07-26 07:48:07 UTC MAIN commitmail json YAML

Use EIMR/EIRR regs definitions from <mips/cpuregs.h>

(simonb)

2020-07-26 07:47:27 UTC MAIN commitmail json YAML

Adjust for new CP0 reg names, comment out most of the Cavium CP0
specific functions that are unused.

(simonb)

2020-07-26 07:46:21 UTC MAIN commitmail json YAML

Remove mostly duplicate MIPS spec CP0 regs from octeon_corereg.h, move
the Cavium specific CP0 regs to <mips/cpuregs.h> as done for other core
specific regs.

(simonb)

2020-07-26 07:35:37 UTC MAIN commitmail json YAML

Explicitly initialize origColormapValid for readability.

(tsutsui)

2020-07-26 07:26:52 UTC MAIN commitmail json YAML

add support swp,swpb instruction emulation

(ryo)

2020-07-26 07:25:38 UTC MAIN commitmail json YAML

- add support conditionally execution for A32 instruction emulation
- separated the processing of ARM and THUMB emul clearly. do not confuse the Thumb-32bit instruction with the ARM instruction.
- use far_el1 instead of tf_pc to return correct fault address when instruction emulation

(ryo)

2020-07-26 07:24:27 UTC MAIN commitmail json YAML

make(1): replace macros with functions

(rillig)

2020-07-26 07:20:50 UTC MAIN commitmail json YAML

2020-07-26 07:19:09 UTC MAIN commitmail json YAML

Add prototype declarations for CG2 functions.

(tsutsui)

2020-07-26 07:15:26 UTC MAIN commitmail json YAML

make(1): condense the list library into a single file

The list library is only used in make(1). Having it spread out over 28
files made it look more complex than it really is. In fact, it's just a
versatile generic data type like in hash.c.

Having all the list functions in a single file reduces the code size,
both by omitting the many RCS Ids and by inlining commonly used code.

(rillig)

2020-07-26 07:13:51 UTC MAIN commitmail json YAML

2020-07-26 07:02:14 UTC MAIN commitmail json YAML

Give syspkg name to Xsun server files.

(tsutsui)

2020-07-26 05:06:29 UTC MAIN commitmail json YAML

Add /usr/tests/sys/crypto/chacha to etc/mtree/NetBSD.dist.tests.

(riastradh)

2020-07-26 04:44:47 UTC MAIN commitmail json YAML

Ensure aes_ccm module init runs after aes module init.

Otherwise the AES implementation might not be selected early enough.

(riastradh)

2020-07-26 04:25:49 UTC MAIN commitmail json YAML

2020-07-26 04:25:14 UTC MAIN commitmail json YAML

Add missing aes_ccm.c, aes_ccm_mbuf.c.  Fix sort order.

(riastradh)

2020-07-26 04:05:20 UTC MAIN commitmail json YAML

Simplify internal Poly1305 API in adiantum.c.

Should be slightly faster this way too.

(riastradh)

2020-07-26 04:03:45 UTC MAIN commitmail json YAML

Add chacha to rump libcrypto.

(riastradh)

2020-07-26 00:21:24 UTC MAIN commitmail json YAML

pull in a bit more FreeBSD code to allow specifying truncation of
the regular bmap (IO_NORMAL) independently of the extattr bmap (IO_EXT).
fixes fs corruption when removing extattrs in UFS2.

(chs)

2020-07-26 00:20:14 UTC MAIN commitmail json YAML

skip the assertions about page-locking when allocating to the extattr bmap,
since extattrs do not use the page cache.

(chs)

2020-07-25 23:38:48 UTC MAIN commitmail json YAML

Start teaching sh3 code about STX7105.

Kernel option STX7105 to select CPU product (TODO: all of the options
that select CPU product should be defflag'ed to opt_cputype.h).

The ST40 cache sizes can be customized for each product.  For now just
hardcode the STx7105 values in the switch, but may be they should be
kernel options.

(uwe)

2020-07-25 23:05:40 UTC MAIN commitmail json YAML

Fix typo in comment; match the paper's notation.

No functional change.

(riastradh)

2020-07-25 22:59:55 UTC MAIN commitmail json YAML

Define CPU_PRODUCT_STX7105.

I'm not sure if this should rather be named CPU_PRODUCT_ST40_300, but
that's probably too general.  These constants don't have to be
backward compatible, so we can re-do this properly later if we need to.

(uwe)

2020-07-25 22:53:38 UTC MAIN commitmail json YAML

2020-07-25 22:51:57 UTC MAIN commitmail json YAML

2020-07-25 22:49:20 UTC MAIN commitmail json YAML

2020-07-25 22:47:16 UTC MAIN commitmail json YAML

2020-07-25 22:46:35 UTC MAIN commitmail json YAML

2020-07-25 22:45:10 UTC MAIN commitmail json YAML

Add some Intel intrinsics for ChaCha.

_mm_load1_ps
_mm_loadu_si128
_mm_movelh_ps
_mm_slli_epi32
_mm_storeu_si128
_mm_unpackhi_epi32
_mm_unpacklo_epi32

(riastradh)

2020-07-25 22:44:32 UTC MAIN commitmail json YAML

Fix target attribute on _mm_movehl_ps, fix clang _mm_unpacklo_epi64.

- _mm_movehl_ps is available in SSE2, no need for SSSE3.
- _mm_unpacklo_epi64 operates on v2di, not v4si; fix.

(riastradh)

2020-07-25 22:44:02 UTC MAIN commitmail json YAML

Nix outdated comment.

The substance of the change that introduced it was reverted, but I
neglected to revert the comment when reverting the substance.

(riastradh)