Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 21:42:55 UTC Now

2020-07-31 09:07:17 UTC MAIN commitmail json YAML

Added sysctl nodes for ixl(4) Interrupt throttling(ITR)

(yamaguchi)

2020-07-31 08:54:09 UTC MAIN commitmail json YAML

Fix a tyop.  Thankfully this #define was unused.

(simonb)

2020-07-31 08:06:33 UTC MAIN commitmail json YAML

Fix TLB count probe on MIPS32R2+/MIPS64R2+ for CPUs that have a Config4
register with a Config4[MMUExtDef] value.

(simonb)

2020-07-31 07:29:21 UTC MAIN commitmail json YAML

make(1): fix undefined behavior in malformed :S modifier

The unit tests failed on Ubuntu, and by looking closely at the code, it
was trivial to see the out-of-bounds memory read.

Other modifiers may have the same problem and will be inspected later.

(rillig)

2020-07-31 04:07:30 UTC MAIN commitmail json YAML

fix the UFS2 extattr truncate code to play nice with wapbl.
also, rather than pull in the FreeBSD V_NORMAL/V_ALT flags to
vinvalbuf() and the buf b_xflags field and BX_ALTDATA flag,
add a binvalbuf() function to invalid a specific buffer
and use that to invalidate the two possible exattr bufs
during IO_EXT truncations.

(chs)

2020-07-31 03:35:05 UTC MAIN commitmail json YAML

Rename MIPSNN_CFG4_MMU_EXT_DEF_MMU_SIZE_EXT to MIPSNN_CFG4_MMU_SIZE_EXT.

(simonb)

2020-07-31 03:07:36 UTC MAIN commitmail json YAML

CN70XX also has Config6 (CvmMemCtl2) and Config7 (CvmVMConfig) registers.

(simonb)

2020-07-31 03:03:04 UTC MAIN commitmail json YAML

CP0 Config6 and Config7 aren't probeable.  Adjust comments for these two.

(simonb)

2020-07-31 02:58:03 UTC MAIN commitmail json YAML

CN70XX has a config4 CP0 register.

(simonb)

2020-07-31 02:56:49 UTC MAIN commitmail json YAML

Add two cnMIPS III COP0 register names.

(simonb)

2020-07-31 02:34:38 UTC MAIN commitmail json YAML

Bit definitions Config4 and Config5 registers.

(simonb)

2020-07-30 21:29:20 UTC MAIN commitmail json YAML

if we find composity sync enabled, leave it on instead of unconditionally
enabling it on sparc*

(macallan)

2020-07-30 21:25:43 UTC MAIN commitmail json YAML

Publicly declare st40_pmb_init().

(uwe)

2020-07-30 21:23:36 UTC MAIN commitmail json YAML

2020-07-30 20:59:09 UTC MAIN commitmail json YAML

ST40_PMB_DA_BITS - all values for the non-continuous size field.

Size field has two reserved bits in the middle.  Don't depend on them
being zero, they can be defined in future versions.  Provide exhaustive
list with all possibile "filler" bits in the middle so that we
correctly report the size field value regardless of the unrelated bits.

(uwe)

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

Cite Cryptography Research evaluation of VIA RNG and give live URL.

(URL verified to be archived in the Internet Archive for posterity)

(riastradh)

2020-07-30 14:32:52 UTC MAIN commitmail json YAML

2020-07-30 14:15:49 UTC MAIN commitmail json YAML

Initialize ModMap dynamically using keymap data per each keyboard.

Now ScrollLock LED works properly.

(tsutsui)

2020-07-30 13:50:27 UTC MAIN commitmail json YAML

make(1): add test for indirect unclosed variable

The error message mentions only the original variable name right now.
It's left to the Makefile author to see where the actual unclosed
variable value comes from.  From a usability standpoint that's not
optimal, but everything else would need additional cycles even in the
good cases, or it might have side-effects when evaluating a variable
twice (once to detect the error, and a second time to find out the
details of the error).

(rillig)

2020-07-30 07:31:30 UTC MAIN commitmail json YAML

2020-07-30 06:54:07 UTC MAIN commitmail json YAML

Sort the #define __HAVEs. NFCI.

(skrll)

2020-07-30 03:57:52 UTC MAIN commitmail json YAML

Code to dump PMB contents.

(uwe)

2020-07-30 03:19:34 UTC MAIN commitmail json YAML

Add snprintb formats.  Fix PASCR name.

(uwe)

2020-07-29 23:29:42 UTC MAIN commitmail json YAML

db_get_line - raw access to the DDB command line.

Provide a way for DDB commands to access the remainder of the command
line as-is.

(uwe)

2020-07-29 21:35:35 UTC MAIN commitmail json YAML

make(1): remove unnecessary assignments to st->next

No change in the size of the resulting binary.  Apparently GCC already
knew these assignments were redundant.

(rillig)

2020-07-29 21:23:26 UTC MAIN commitmail json YAML

make(1): document parameters to ApplyModifiers

(rillig)

2020-07-29 20:57:31 UTC MAIN commitmail json YAML

make(1): use specialized return type for ApplyModifier functions

This makes it immediately obvious what happens after a modifier has been
applied, instead of having to translate single-character mnemonics or
booleans to their actual intention.

This also reduces the size of the binary since there are fewer jumps.

(rillig)

2020-07-29 20:33:38 UTC MAIN commitmail json YAML

make(1): fix segfault when evaluating ${::=value}

The bug had been in the handling of the SysV modifier for many years, but
it had not been triggered since the "parsing position for the next
modifier" had been initialized to a non-NULL pointer.

In var.v r1.350, this pointer had been initialized to NULL instead since
every ApplyModifier function must set it in every case where it returns
anything except "default_case".

There might have been a slight chance of tricking make to output a wrong
error message, but nothing worse.

(rillig)

2020-07-29 19:48:33 UTC MAIN commitmail json YAML

make(1): add enough tests to cover the ApplyModifier functions

Only a few return statements are still missing from the code coverage.

In ApplyModifier_Assign, the test for an empty variable name is skipped
for now since it segfaults.

In ApplyModifier_SysV after the second ParseModifierPart, the branch for
the missing delimiter is not reached since this case is already checked
for in the first part of the function. To trigger this branch, a
specially crafted, unrealistic string needs to be created, and that's too
complicated for the moment.

(rillig)

2020-07-29 18:48:47 UTC MAIN commitmail json YAML

2020-07-29 17:29:53 UTC MAIN commitmail json YAML

2020-07-29 17:27:44 UTC MAIN commitmail json YAML

Fix LED defintions to match xkb/xkbInit.c.

Now CapsLock and NumLock LEDs work correctly.
XXX: No ScrollLock LED

(tsutsui)

2020-07-29 14:23:59 UTC MAIN commitmail json YAML

Issue three more swaps to save eight stores.

Reduces code size and yields a small (~2%) cgd throughput boost.

Remove duplicate comment while here.

(riastradh)

2020-07-29 13:03:36 UTC MAIN commitmail json YAML

fix xmm7360_os_msleep() macro to actually work when not wrapped inside a block

from genua

(jdolecek)

2020-07-29 13:01:19 UTC MAIN commitmail json YAML

sprinkle __diagused so this compiles without DIAGNOSTIC

(jdolecek)

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

adjust OpenBSD mbuf handling so tcpdump(1) works there; from genua

keep code as-is for NetBSD, DLT_RAW works there

(jdolecek)

2020-07-29 09:00:05 UTC MAIN commitmail json YAML

Add definitions for the CP0 WatchLo/WatchHi registers.

(simonb)

2020-07-29 07:14:45 UTC MAIN commitmail json YAML

rename label now that it has dual purpose; suggested by mrg@

(jdolecek)

2020-07-29 06:50:33 UTC MAIN commitmail json YAML

gettext-0.21 is out.

(wiz)

2020-07-29 01:55:58 UTC MAIN commitmail json YAML

cninit - don't reset cn_tab on entry.

cn_tab can be already set up by the MD startup code to point to an
early console vtable that can still be useful for debugging and as a
fallback.

(uwe)

2020-07-28 22:44:45 UTC MAIN commitmail json YAML

2020-07-28 21:38:15 UTC MAIN commitmail json YAML

Build mkubootimage for evbsh3 too.

(uwe)

2020-07-28 21:25:48 UTC MAIN commitmail json YAML

Don't write SR twice.

__INTR_MASK sets PSL_IMASK bits in SR but then in the next instruction
we overwrite SR anyway, so drop that redundant __INTR_MASK.

(uwe)

2020-07-28 20:57:59 UTC MAIN commitmail json YAML

make(1): add test for including a nonexistent or empty file

(rillig)

2020-07-28 20:36:43 UTC MAIN commitmail json YAML

G/c trailing whitespace.

(uwe)

2020-07-28 20:15:07 UTC MAIN commitmail json YAML

2020-07-28 20:11:09 UTC MAIN commitmail json YAML

Draft 2x vectorized neon vpaes for aarch64.

Gives a modest speed boost on rk3399 (Cortex-A53/A72), around 20% in
cgd tests, for parallelizable operations like CBC decryption; same
improvement should probably carry over to rpi4 CPU which lacks
ARMv8.0-AES.

(riastradh)

2020-07-28 20:08:48 UTC MAIN commitmail json YAML

Implement 4-way vectorization of ChaCha for armv7 NEON.

cgd performance is not as good as I was hoping (~4% improvement over
chacha_ref.c) but it should improve substantially more if we let the
cgd worker thread keep fpu state so we don't have to pay the cost of
isb and zero-the-fpu on every 512-byte cgd block.

(riastradh)

2020-07-28 20:05:33 UTC MAIN commitmail json YAML

Fix big-endian build with appropriate casts around vrev32q_u8.

(riastradh)

2020-07-28 19:39:43 UTC MAIN commitmail json YAML

make(1): add test for missing argument validation in .undef

(rillig)

2020-07-28 19:19:30 UTC MAIN commitmail json YAML

make(1): add test about possibly ambiguous suffix rule

(rillig)

2020-07-28 19:13:49 UTC MAIN commitmail json YAML

make(1): remove unnecessary parentheses in obvious cases

(rillig)

2020-07-28 18:53:07 UTC MAIN commitmail json YAML

Use egrep rather than grep -E

Also we need to exclude noise that some shells include.
This is why the original test restricted itself to checking
for UT_* in env.

(sjg)

2020-07-28 18:39:56 UTC MAIN commitmail json YAML

Use cat if no POSTPROC.${.TARGET:R}

On Linux sed with no flags throws an error.

(sjg)

2020-07-28 18:31:16 UTC MAIN commitmail json YAML

make(1): remove dead code in parse error handling

(rillig)

2020-07-28 18:25:33 UTC MAIN commitmail json YAML

make(1): add tests for unknown indented directives

It's quite expected that the .${:Uinfo} is not yet expanded when the
directive is parsed, otherwise the directive would have been accepted.
The surprising thing is that it is expanded at the point where the error
message is generated.

(rillig)

2020-07-28 18:15:11 UTC MAIN commitmail json YAML

make(1): when parsing an unknown directive, print the directive name

(rillig)

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)