Commit Graph

280608 Commits

Author SHA1 Message Date
mrg
949f2e0433 add new /usr/include/g++/pstl for GCC 9. 2020-09-09 06:50:33 +00:00
yamaguchi
ab03e1c66e Add ixl and iavf 2020-09-09 05:23:26 +00:00
yamaguchi
c5772b6d01 Note iavf(4) 2020-09-09 05:16:01 +00:00
mrg
ca7ab82162 consolidate a bunch of libstdc++ variable collection. 2020-09-09 04:52:32 +00:00
yamaguchi
2f809fbf63 Added the explain about locking order in iavf(4) 2020-09-09 00:56:17 +00:00
jakllsch
37935ca945 fix bad conditional in iavf_parse_modprop()
found by clang
2020-09-09 00:35:36 +00:00
riastradh
c71abd7388 aesarmv8: Reallocate registers to shave off unnecessary MOV. 2020-09-08 23:58:09 +00:00
riastradh
f70af73535 aesarmv8: Issue two 4-register ld/st, not four 2-register ld/st. 2020-09-08 23:57:43 +00:00
riastradh
ab19f80d4d aesarmv8: Adapt aes_armv8_64.S to big-endian.
Patch mainly from (and tested by) jakllsch@ with minor tweaks by me.
2020-09-08 23:57:13 +00:00
riastradh
0fc796c545 aes(9): Fix edge case in bitsliced SSE2 AES-CBC decryption.
Make sure self-tests exercise this edge case.

Discovered by confusion over code inspection of jak's adaptation of
aes_armv8_64.S for big-endian.
2020-09-08 22:48:24 +00:00
riastradh
2b7335b2eb alpha: Use load-acquire/store-release.
Omit needless membar in pmap_kenter_pa while here -- caller must
ensure pmap_kenter_pa on one CPU happens before use of the VA on
another CPU anyway, so there is no benefit to a membar here.

ok thorpej@
2020-09-08 21:41:37 +00:00
mrg
d841008ee6 oops, pull out the value of pstl_headers. 2020-09-08 19:17:24 +00:00
rillig
1276186758 distrib/sets/fmt-list: add no-action mode
This is useful for finding parse errors only.  Inspired by some entries
that are obsolete and have more than the "obsolete" flag.  There are
only few of these entries though, and they don't seem worth fixing.
2020-09-08 19:11:30 +00:00
rillig
45a9907314 lists/man/mi: remove extraneous space 2020-09-08 19:06:49 +00:00
rillig
aa448ea91d make(1): clean up comments in cond.c 2020-09-08 18:51:23 +00:00
rillig
76c80899be make(1): add CondLexer_SkipWhitespace 2020-09-08 18:10:34 +00:00
rillig
9b7d994754 make(1): rename CondLexer.condPushBack to curr
This variable has some context information from the struct now,
therefore its name can be shorter.
2020-09-08 18:06:27 +00:00
rillig
be4d8db544 make(1): group the condition parsing state into a struct
Instead of having 3 global variables, the struct clearly communicates
that the 3 variables belong together. During debugging, it's easy to
just "p *lex" instead of remembering the names of the 3 former global
variables.

Converting the global variables into a local variable makes it
immediately clear that the functions in this file operate on this
struct.  Keeping the global variables in mind is more difficult.  Having
a local variable also gets rid of the 3 sv_* variables in
Cond_EvalExpression, which were also a sign that these "global
variables" were not that global at all.

This commit only contains the minimal code changes for converting the
variables into a local struct.  It was tempting to add functions like
CondLexer_SkipWhitespace, but this is better left for a follow-up
commit.
2020-09-08 17:55:23 +00:00
jakllsch
fa2a85c807 Enable __BUS_SPACE_HAS_STREAM_METHODS in std.generic64
These are needed for virtio_pci on aarch64eb.
2020-09-08 17:39:04 +00:00
jakllsch
3eade4a405 Acknowledge clang warning for NEON cipher code on aarch64eb
We've already made the nonportable vector initializations portable; the
code works on aarch64eb.
2020-09-08 17:35:27 +00:00
wiz
7088981fda Serial comma. 2020-09-08 17:30:44 +00:00
wiz
428b31fd5e Improve BINDANY formatting. 2020-09-08 17:30:10 +00:00
wiz
850df987a7 Remove superfluous Pp. 2020-09-08 17:29:20 +00:00
wiz
1e0cbee197 Use \(em. 2020-09-08 17:29:09 +00:00
jmcneill
c71ab72cec Disable EFI runtime support for BE kernels 2020-09-08 17:20:10 +00:00
jakllsch
b762c4de07 use correct condition 2020-09-08 17:17:32 +00:00
riastradh
d18cf1b917 workqueue: Lift unnecessary restriction on workqueue_wait.
Allow multiple concurrent waits at a time, and allow enqueueing work
at the same time (as long as it's not the work we're waiting for).
This way multiple users can use a shared global workqueue and safely
wait for individual work items concurrently, while the workqueue is
still in use for other items (e.g., wg(4) peers).

This has the side effect of taking away a diagnostic measure, but I
think allowing the diagnostic's false positives instead of rejecting
them is worth it.  We could cheaply add it back with some false
negatives if it's important.
2020-09-08 17:02:18 +00:00
maxv
e578d74917 nvmm-x86: avoid hogging behavior observed recently
When the FPU code got rewritten in NetBSD, the dependency on IPL_HIGH was
eliminated, and I took _vcpu_guest_fpu_enter() out of the VCPU loop since
there was no need to be in the splhigh window.

Later, the code was switched to use the kernel FPU API, API that works at
IPL_VM, not at IPL_NONE.

These two changes mean that the whole VCPU loop is now executing at IPL_VM,
which is not desired, because it introduces a delay in interrupt processing
on the host in certain cases.

Fix this by putting _vcpu_guest_fpu_enter() back inside the VCPU loop.
2020-09-08 17:02:03 +00:00
maxv
ed31958707 nvmm-x86-vmx: improve the handling of CR0
- CR0_ET is hard-wired to 1 in the cpu, so force CR0_ET to 1 in the
   shadow.
 - Clarify.
2020-09-08 17:00:07 +00:00
maxv
8d3066d385 nvmm: cosmetic changes
- Style.
 - Explicitly include ioccom.h.
2020-09-08 16:58:38 +00:00
jmcneill
96761d896a Define ACPI_BIG_ENDIAN on BE targets 2020-09-08 16:56:29 +00:00
riastradh
3a2683694c wg: Drop wgp_lock while waiting for endpoint psref to drain.
- This is safe because wgp_endpoint_changing locks out any attempts
  to change the endpoint until the draining is complete.

- This is necessary to avoid a deadlock where the handshake thread
  holds a psref and awaits mutex_enter(wgp->wgp_lock).

XXX The same deadlock may occur in wg_destroy_session.  Not clear
that it's safe to just release wgp_lock there; may need to create a
new session state, say WGS_STATE_DRAINING, while we wait for
psref_target_destroy.  But this needs a little more thought; a new
state may not be necessary, and would be nice to avoid if not
necessary.
2020-09-08 16:39:57 +00:00
jmcneill
6a59eace58 Build EFI bootloader on big endian armv7 and aarch64 targets. 2020-09-08 16:39:36 +00:00
jmcneill
e66e766944 Be explicit about building for little endian. This allows efiboot to be
built with the aarch64eb toolchain.
2020-09-08 16:34:43 +00:00
martin
6cb68e4497 Ooops, overlooked one MOUNTCRITLOCAL reference in the rename to
CRITLOCALMOUNTED.
2020-09-08 16:10:53 +00:00
riastradh
da697e67ba ipi: Split up initialization into two parts.
First part runs early so ipi_register can be used in module
initialization, e.g. via pktqueue_create; second part runs after CPUs
have been detected.
2020-09-08 16:00:35 +00:00
jmcneill
b4ab0863f3 Be explicit about building for little endian. This allows efiboot to be
built with the armv7be toolchain.
2020-09-08 15:36:37 +00:00
martin
e6dd42d44f Add if_iavf 2020-09-08 14:57:32 +00:00
martin
bdb3c472cf Remove if_iavf 2020-09-08 14:55:44 +00:00
martin
3f05a659fd Add if_iavf 2020-09-08 14:53:10 +00:00
rillig
9f6b7470f7 make(1): in CondGetString, replace repeated Buf_Add with Buf_AddStr 2020-09-08 14:51:43 +00:00
christos
cf8329dab9 Add bind test 2020-09-08 14:17:03 +00:00
christos
ecd0250189 Add tests for IP_BINDANY, IPV6_BINDANY 2020-09-08 14:13:50 +00:00
christos
e5e40d965d Add IP_BINDANY, IPV6_BINDANY which can be used to bind to any address in
order to implement transparent proxies.
2020-09-08 14:12:57 +00:00
jakllsch
65211a97a9 iaq_datalen is 16-bit, always use htole16
fixes build failure on big endian
2020-09-08 13:28:51 +00:00
adam
1575e0afaa Restore libgomp, liblsan, and libstdc++ as GCC-only 2020-09-08 13:01:47 +00:00
martin
8782d54f6b Sort - no functional change 2020-09-08 12:54:36 +00:00
martin
fdb483b5a5 Adjust for MOUNTCRITLOCAL -> CRITLOCALMOUNTED rename 2020-09-08 12:52:44 +00:00
martin
0a9098d00f Rename MOUNTCRITLOCAL to CRITLOCALMOUNTED to avoid a name collision
on case insensitive file systems
2020-09-08 12:52:18 +00:00
martin
2647485e8b Make it work with empty /var 2020-09-08 12:45:03 +00:00