espie [Mon, 9 Aug 2021 16:40:20 +0000 (16:40 +0000)]
add $self->fullname to simplify the cumbersome usual name
add $self->extract_to_fh, only for IsFile objects, so that they can be
written to a temporary file without needing to adjust the file object's name
bluhm [Mon, 9 Aug 2021 16:06:31 +0000 (16:06 +0000)]
Fix white spaces.
sthen [Mon, 9 Aug 2021 13:56:17 +0000 (13:56 +0000)]
handle "inet autoconf" in ramdisk, same as /etc/netstart
ok florian deraadt
espie [Mon, 9 Aug 2021 13:34:00 +0000 (13:34 +0000)]
minor tweaks to make things clearer
- in both extract and tie, $self has the right file names
- move the possible creation of the directory into find_safe_dir (passing
state as the only parameter, since we have everything else in self), thus
getting rid of an XXX
should have zero effect on anything
nicm [Mon, 9 Aug 2021 13:08:08 +0000 (13:08 +0000)]
Change copy-line and copy-end-of-line not to cancel and add -and-cancel
variants, like the other copy commands. GitHub issue 2799.
kevlo [Mon, 9 Aug 2021 12:59:53 +0000 (12:59 +0000)]
If an error during attach caused us to detach our resources,
don't do anything on shutdown.
This fixes a panic that was reported by me on X1 Extreme Gen 1.
ok ratchov@
claudio [Mon, 9 Aug 2021 10:30:23 +0000 (10:30 +0000)]
Check for URI with userinfo parts (hostname has an @ sign) and fail for
such URI. The http client in rpki-client does not support http authentication
since it only accesses public websites.
OK jca@ job@
schwarze [Mon, 9 Aug 2021 09:11:26 +0000 (09:11 +0000)]
Unifdef read__fixio() to make it readable.
Also, no need to clear O_NDELAY with fcntl(F_SETFL)
when ioctl(FIONBIO) is called right afterwards.
No functional change intended.
OK martijn@
claudio [Mon, 9 Aug 2021 08:24:36 +0000 (08:24 +0000)]
Make it possible to match on path-id in bgpctl show rib outputs.
To work properly also a neighbor needs to be selected. The assumption
here is that the peer will use the same path-id for the same peer
accross all its routes. The RFC does not require this and it is valid
to assign path-ids randomly. The path-id only matters for one specific
path but most BGP implementations seem to assign the same path-id to
multiple routes when originated from the same source.
OK benno@
claudio [Mon, 9 Aug 2021 08:15:34 +0000 (08:15 +0000)]
Implement reception of multiple paths per BGP session. This is one
side of RFC7911 and the send portion will follow.
The path-id is extracted from the NLRI encoding an put into struct
prefix. To do this the prefix_by_peer() function gets a path-id
argument. If a session is not path-id enabled this argument will
be always 0. If a session is path-id enabled the value is taken
from the NLRI and can be anything, including 0. The value has no
meaning in itself. Still to make sure the decision process is able
to break a tie the path-id is checked as the last step (this is not
part of the RFC but required).
OK benno@
jmatthew [Mon, 9 Aug 2021 07:21:48 +0000 (07:21 +0000)]
Fix up flags passed to usbd_open_pipe_intr() - interrupt pipes are always
opened exclusively, and the flags argument is passed to usbd_setup_xfer().
USBD_EXCLUSIVE_USE has the same value as USBD_NO_COPY, which means that
data transferred would not be copied to the buffer where the driver expects
it.
None of these drivers actually used the interrupt data for anything, and
in some the interrupt pipe code was #if 0'd out, so this doesn't change
anything, but fixing this up prevents unwary developers like me from
copying code that doesn't work.
ok mglocker@
djm [Mon, 9 Aug 2021 07:21:01 +0000 (07:21 +0000)]
on fatal errors, make scp wait for ssh connection before exiting
avoids LogLevel=verbose (or greater) messages from ssh appearing
after scp has returned exited and control has returned to the
shell; ok markus@
(this was originally committed as r1.223 along with unrelated stuff that
I rolled back in r1.224)
djm [Mon, 9 Aug 2021 07:19:12 +0000 (07:19 +0000)]
rever r1.223 - I accidentally committed unrelated changes
djm [Mon, 9 Aug 2021 07:16:09 +0000 (07:16 +0000)]
show only the final path component in the progress meter;
more useful with long paths (that may truncate) and better
matches traditional scp behaviour; spotted by naddy@
ok deraadt@
djm [Mon, 9 Aug 2021 07:13:54 +0000 (07:13 +0000)]
on fatal errors, make scp wait for ssh connection before exiting
avoids LogLevel=verbose (or greater) messages from ssh appearing
after scp has returned exited and control has returned to the
shell; ok markus@
schwarze [Sun, 8 Aug 2021 17:48:25 +0000 (17:48 +0000)]
document the defaults for the locate.updatedb(8) command line options
and make it clear that the config file *modifies* the defaults rather
than *control* them, and that having a config file is optional;
tweak and OK jmc@, OK tim@
jcs [Sun, 8 Aug 2021 14:45:16 +0000 (14:45 +0000)]
Use the correct address offset on OpRegion 2.1+ devices to be able
to find the VBT
ok jsg
sthen [Sun, 8 Aug 2021 13:43:10 +0000 (13:43 +0000)]
Rework examples/snmpd.conf; show more things that people are likely to
actually need, and fewer things that they won't need. In particular don't
rely on default auth/enc settings; SNMPv3 isn't algorithm-agile, it must
be defined on both ends, so relying on a default is going to cause some
problems if it ever does change.
sthen [Sun, 8 Aug 2021 13:41:26 +0000 (13:41 +0000)]
Switch default snmpd and snmp auth back to hmac-sha1.
Practical experience on several machines after updates suggests the snmp
world isn't really ready for hmac-sha2-256, and the HMAC construction doesn't
require collision resistance (which is the weakness of MD5/SHA1; see e.g.
"New proofs for NMAC and HMAC: Security without collision-resistance",
Bellare 2014).
Feedback from martijn@ (who would prefer to keep using the sha2 hmac),
deraadt@, tb@.
sthen [Sun, 8 Aug 2021 13:28:06 +0000 (13:28 +0000)]
mention that "system services" value is in decimal. ok martijn@
dtucker [Sun, 8 Aug 2021 08:49:09 +0000 (08:49 +0000)]
xstrdup environment variable used by ForwardAgent. bz#3328 from
goetze at dovetail.com, ok djm@ deraadt@
dtucker [Sun, 8 Aug 2021 08:27:28 +0000 (08:27 +0000)]
Although it's POSIX, not all shells used in Portable support the
implicit 'in "$@"' after 'for i'.
dtucker [Sun, 8 Aug 2021 07:27:52 +0000 (07:27 +0000)]
Move setting of USER further down the startup In portable we have to
change this and having it in the same hunk as the CVS Id string means
applying changes fails every. single. time.
dtucker [Sun, 8 Aug 2021 06:38:33 +0000 (06:38 +0000)]
Drop -q in ssh-log-wrapper.sh to preserve logs.
scp and sftp like to add -q to the command line passed to ssh which
overrides the LogLevel we set in the config files and suppresses output
to the debug logs so drop any "-q" from the invoked ssh. In the one
case where we actually want to use -q in the banner test, call the ssh
binary directly bypassing the logging wrapper.
deraadt [Sun, 8 Aug 2021 02:22:37 +0000 (02:22 +0000)]
sync
krw [Sat, 7 Aug 2021 17:48:31 +0000 (17:48 +0000)]
style(9) says sort getopt() options and the following switch {}
cases. Make it so.
In passing nuke a single use 'error' variable and move an *errstr
declaration nearer to its friends.
No intentional functional change.
krw [Sat, 7 Aug 2021 13:37:50 +0000 (13:37 +0000)]
Nuke a few Capt. Obvious comments.
krw [Sat, 7 Aug 2021 13:33:12 +0000 (13:33 +0000)]
Nuke unneeded #include's, one param.h -> types.h.
krw [Sat, 7 Aug 2021 12:57:48 +0000 (12:57 +0000)]
Nuke 'p' that r1.97 snuck into getopt() invocation back in 2015.
krw [Sat, 7 Aug 2021 12:51:30 +0000 (12:51 +0000)]
Comment typo 'mmbr' -> 'mbr'.
schwarze [Sat, 7 Aug 2021 12:41:51 +0000 (12:41 +0000)]
Bugfix:
Delete ugly and incorrect workaround for a Linux kernel bug.
If a file is temporarily empty, that by no means implies
it might be permanently non-seekable.
Patch from seL4 at disroot dot org on tech@.
OK both Theos: tb@ and deraadt@
schwarze [Sat, 7 Aug 2021 11:23:07 +0000 (11:23 +0000)]
fix the totally wrong markup in the SYNOPSIS
and add the missing .Xr to weekly(8);
no text change
schwarze [Sat, 7 Aug 2021 11:08:38 +0000 (11:08 +0000)]
document the configuration file - as usual, after the options list;
i wrote this diff more than a year ago, then forgot it
even though millert@ and jung@ OK'ed it back then
stsp [Sat, 7 Aug 2021 09:21:51 +0000 (09:21 +0000)]
Remove another unused DMA allocation from iwx(4).
This driver does not need to allocate a DMA segment for the Tx scheduler.
Instead this driver uses the scheduler byte count array which is allocated
per Tx ring. Remove sc->sched_dma and related code inherited from iwm(4).
Patch by zxystd from OpenIntelWireless.
florian [Sat, 7 Aug 2021 07:07:44 +0000 (07:07 +0000)]
Go to REBOOTING state when interface config changed on reload.
This tries to reaquire the current lease and if that failes will send
a DHCPDISCOVER message to request any lease.
OK benno
jsg [Sat, 7 Aug 2021 06:23:34 +0000 (06:23 +0000)]
use taskq_del_barrier() instead of taskq_barrier() when flushing work
prompted by jcs@ reporting a protection fault trap in
drm_mode_rmfb_work_fn() while playing a youtube video in firefox on a
kaby lake machine. He later saw the same trace on tiger lake.
The arguments to drm_mode_rmfb_work_fn() are on the stack in
drm_mode_rmfb() with flush_work() called before return.
taskq_barrier() is only a barrier for running not queued tasks.
I suspect the linux functions expect any previously queued work to
complete not just any currently running work. I'm not sure if the
difference matters in practice.
deraadt [Sat, 7 Aug 2021 04:03:27 +0000 (04:03 +0000)]
sync
dtucker [Sat, 7 Aug 2021 01:57:08 +0000 (01:57 +0000)]
Fix prototype mismatch for do_cmd. ok djm@
djm [Sat, 7 Aug 2021 01:55:01 +0000 (01:55 +0000)]
sftp-client.c needs poll.h
remove unused variable
djm [Sat, 7 Aug 2021 00:14:17 +0000 (00:14 +0000)]
do_upload() used a near-identical structure for tracking
expected status replies from the server to what do_download()
was using.
Refactor it to use the same structure and factor out some common
code into helper functions.
djm [Sat, 7 Aug 2021 00:12:09 +0000 (00:12 +0000)]
make scp(1) in SFTP mode follow symlinks like traditional scp(1)
ok markus@
djm [Sat, 7 Aug 2021 00:10:49 +0000 (00:10 +0000)]
fix incorrect directory permissions on scp -3 transfers;
ok markus@
djm [Sat, 7 Aug 2021 00:09:57 +0000 (00:09 +0000)]
a bit more debugging of file attributes being sent/received
over the wire
djm [Sat, 7 Aug 2021 00:08:52 +0000 (00:08 +0000)]
make scp(1) in SFTP mode output better match original scp(1) by
suppressing "Retrieving [path]" lines that were emitted to support
the interactive sftp(1) client. ok markus@
djm [Sat, 7 Aug 2021 00:07:18 +0000 (00:07 +0000)]
factor out a structure duplicated between downloading and
crossloading; ok markus@
djm [Sat, 7 Aug 2021 00:06:30 +0000 (00:06 +0000)]
use sftp_client crossloading to implement scp -3
feedback/ok markus@
djm [Sat, 7 Aug 2021 00:02:41 +0000 (00:02 +0000)]
support for "cross"-loading files/directories, i.e. downloading
from one SFTP server while simultaneously uploading to another.
feedback & ok markus@
djm [Sat, 7 Aug 2021 00:01:29 +0000 (00:01 +0000)]
factor our SSH2_FXP_OPEN calls into their own function;
"looks fine" markus@
djm [Sat, 7 Aug 2021 00:00:33 +0000 (00:00 +0000)]
prepare for scp -3 implemented via sftp
schwarze [Fri, 6 Aug 2021 21:50:54 +0000 (21:50 +0000)]
link X509_STORE_get_by_subject(3) and X509_ocspid_print(3) to the build,
forgotten in earlier commits
schwarze [Fri, 6 Aug 2021 21:45:55 +0000 (21:45 +0000)]
new manual page X509_ocspid_print(3)
using input from tb@, and OK tb@ on an earlier version
tim [Fri, 6 Aug 2021 19:14:55 +0000 (19:14 +0000)]
s/updatedb(8)/locate.updatedb(8)/ in comment
OK schwarze@
schwarze [Fri, 6 Aug 2021 19:09:56 +0000 (19:09 +0000)]
add a roff(7) comment marking the API function X509_get_default_private_dir()
as intentionally undocumented because it is trivial and unused in the wild;
OK tb@
abieber [Fri, 6 Aug 2021 17:46:45 +0000 (17:46 +0000)]
Mark matching reportIDs as claimed.
This fixes a panic that was reported on misc@ and bugs@ by
Mike <the.lists () mgm51 ! com> and
Anindya Mukherjee <anindya49 () hotmail ! com>
OK jcs@, thanks to mpi@/jcs@ for the pointers!
krw [Fri, 6 Aug 2021 10:41:31 +0000 (10:41 +0000)]
Cleanup, clarify and generally polish the MBR/GPT initialization
code.
'-g' is promoted to be independant of '-i'. This makes it clearer
that there are four mutually exclusive initialization options.
'-i' puts the default MBR on disk, '-g' puts the default GPT on
disk, '-u' updates the MBR boot code on disk and '-A' puts a new
set of GPT partitions on disk without overwriting 'protected'
partitions.
The last initialization option specified is the one executed, so
existing '-i -g' finger memory, etc. continue to work as before.
man page/usage feedback/tweaks from jmc@
nicm [Fri, 6 Aug 2021 09:34:09 +0000 (09:34 +0000)]
Add basic support for zero width joiners, GitHub issues 1605 and 2784.
nicm [Fri, 6 Aug 2021 09:19:02 +0000 (09:19 +0000)]
Add client focus hooks.
dtucker [Fri, 6 Aug 2021 09:00:18 +0000 (09:00 +0000)]
Make diff invocation more portable. POSIX does not require diff to have -N,
so compare in both directions with just -r, which should catch missing files
in either directory.
nicm [Fri, 6 Aug 2021 07:32:21 +0000 (07:32 +0000)]
Another minor fix - do not draw positions that are under the popup with
spaces, from Anindya Mukherjee. Also a typo fix from Linus Arver.
sthen [Fri, 6 Aug 2021 07:06:34 +0000 (07:06 +0000)]
As tim@ spotted, a use of V4_AUTOCONF crept in when the variable name
was actually V4_DHCPCONF from previous use. Rename all of the V4_DHCPCONF
to V4_AUTOCONF so everything uses the new name. ok and reminder about
the installer from tb@
jsg [Fri, 6 Aug 2021 06:35:13 +0000 (06:35 +0000)]
add riscv64 and octeon intro(4)
dtucker [Fri, 6 Aug 2021 05:04:42 +0000 (05:04 +0000)]
Document "ProxyJump none". bz#3334.
nicm [Fri, 6 Aug 2021 03:29:15 +0000 (03:29 +0000)]
Tweak previous not to replace complete characters with spaces.
nicm [Fri, 6 Aug 2021 03:13:05 +0000 (03:13 +0000)]
Correctly draw wide characters that are partially obscured.
patrick [Thu, 5 Aug 2021 22:35:26 +0000 (22:35 +0000)]
sync
patrick [Thu, 5 Aug 2021 22:32:45 +0000 (22:32 +0000)]
Remove the TableGen library from libLLVM. It's only needed for the tblgen
tools, and it also provides command line options and thus pollutes the name
space. This fixes duplicate command line options in llvm-objdump.
Discussed with jsg@
mglocker [Thu, 5 Aug 2021 20:53:28 +0000 (20:53 +0000)]
After a media link change, the media settings on the hardware need to be
re-initialized, otherwise TX/RX keeps disabled. Fixes the issue on the
RTL8153/B devices, but unfortunately not on the RTL8152 devices. I have
no RTL8152 device available.
Tested by a few on RTL8153/B devices.
ok sthen@
schwarze [Thu, 5 Aug 2021 14:31:06 +0000 (14:31 +0000)]
.OP is not a GNU extension but first appeared in the Documenter's Workbench,
see https://github.com/n-t-roff/DWB3.3/blob/master/macros/man/an.sr#L33
from g dot branden dot robinson at gmail dot com
via GNU troff commit
e3459327 2 Aug 2021 10:49:46 -0400
sthen [Thu, 5 Aug 2021 13:37:04 +0000 (13:37 +0000)]
m_freem in wg_send's path where a peer has no endpoint address,
fixing an mbuf leak way with wgpka (keepalive) found the hard way by Matt P.
Diff from Matt Dunwoodie, ok claudio@
nicm [Thu, 5 Aug 2021 09:43:51 +0000 (09:43 +0000)]
Do not freeze output in panes when a popup is open, let them continue to
redraw. From Anindya Mukherjee .
jmc [Thu, 5 Aug 2021 09:02:19 +0000 (09:02 +0000)]
for nameserver usage, show multiple addresses as "address ..."; ok benno
while here, Pa->Xr for resolv.conf;
jsg [Thu, 5 Aug 2021 08:54:56 +0000 (08:54 +0000)]
use combined u-boot-rockchip.bin in arm64 rockchip instructions
instead of idbloader.img and u-boot.itb
tb [Thu, 5 Aug 2021 07:30:04 +0000 (07:30 +0000)]
superflous -> superfluous
jmc [Thu, 5 Aug 2021 06:35:18 +0000 (06:35 +0000)]
mark up the nameserver command;
jmc [Thu, 5 Aug 2021 06:33:20 +0000 (06:33 +0000)]
rework the "host relay-url" text block a little so it reads better,
and formats a bit nicer;
while here, wrap lines to <80;
jmc [Thu, 5 Aug 2021 06:21:32 +0000 (06:21 +0000)]
sort the new nameserver text; rework it a little; sort SEE ALSO;
djm [Wed, 4 Aug 2021 21:28:00 +0000 (21:28 +0000)]
regression test for scp -3
benno [Wed, 4 Aug 2021 18:19:51 +0000 (18:19 +0000)]
reference route(8) new nameserver command.
benno [Wed, 4 Aug 2021 18:17:23 +0000 (18:17 +0000)]
Add a new 'nameserver' command to route(8).
It sends nameserver proposals to resolvd(8) using the dns proposal
protocol over the route socket. Based on a seperate program
written by florian@. deraadt noticed some whitespace issues.
more fixes and ok florian@
claudio [Wed, 4 Aug 2021 16:10:03 +0000 (16:10 +0000)]
Improve HTTP status handling. Allow 203 as an alternative to 200 OK.
Most other 2xx status codes are still not expected and therefor considered
an error. The GET requests issued by this code should not result in other
2xx result codes.
Also handle and ignore the 1xx Informational headers but again only 100
and 103 are handled and 101 Switching Protocols and 102 Processing are
not expected and are considered an error.
OK deraadt@
jsing [Wed, 4 Aug 2021 12:41:25 +0000 (12:41 +0000)]
SSL_CTX_remove_session() checks for a NULL session, avoid doing it twice.
Noted by tb@ during review of a larger change.
jsg [Wed, 4 Aug 2021 11:32:44 +0000 (11:32 +0000)]
drm/amdgpu: Fix resource leak on probe error path
From Jiri Kosina
fc2756cce06f9833ebabd309b5b5080ed5c56897 in linux 5.10.y/5.10.56
d47255d3f87338164762ac56df1f28d751e27246 in mainline linux
jsg [Wed, 4 Aug 2021 11:29:08 +0000 (11:29 +0000)]
drm/amdgpu: Avoid printing of stack contents on firmware load error
From Jiri Kosina
ccc7a1bb322e4169b738aa3fc8b5dfcfefdacb37 in linux 5.10.y/5.10.56
6aade587d329ebe88319dfdb8e8c7b6aede80417 in mainline linux
jsg [Wed, 4 Aug 2021 11:26:06 +0000 (11:26 +0000)]
drm/amd/display: ensure dentist display clock update finished in DCN20
From Dale Zhao
63570e578094b4f0b6b8c6ac4a68195455733e31 in linux 5.10.y/5.10.56
b53e041d8e4308f7324999398aec092dbcb130f5 in mainline linux
nicm [Wed, 4 Aug 2021 08:07:19 +0000 (08:07 +0000)]
Add a client-active hook, from ncfavier in GitHub issue 2803.
florian [Wed, 4 Aug 2021 05:56:58 +0000 (05:56 +0000)]
Do not enter a tight INIT -> REQUESTING -> INIT loop when the dhcp
server responds to our DHCPDISCOVER but is then slow to respond to our
DHCPREQUEST.
MAX_EXP_BACKOFF_FAST was introduced to get us quickly out of the
REBOOTING state when we switch networks and no dhcp server would NAK
our old lease but just ignore us. This is not the issue here, there is
a dhcp server willing to talk to us, it's just slow.
Problem reported, tested & OK jca
dtucker [Wed, 4 Aug 2021 01:34:55 +0000 (01:34 +0000)]
Allow for different (but POSIX compliant) behaviour of basename(3) and
prevent a use-after-free in that case in the new sftp-compat code.
POSIX allows basename(3) to either return a pointer to static storage
or modify the passed string and return a pointer to that. OpenBSD does
the former and works as is, but on other platforms "filename" points
into "tmp" which was just freed. This makes the freeing of tmp
consistent with the other variable in the loop.
Pinpointed by the -portable Valgrind regress test. ok djm@ deraadt@
schwarze [Tue, 3 Aug 2021 19:47:39 +0000 (19:47 +0000)]
Document X509_get_default_cert_dir_env(3)
and X509_get_default_cert_file_env(3).
LibreSSL itself does not call getenv(3), but a few application programs
including epic5, fetchmail, fossil, slic3r call these functions, so in
case programmers find them in existing code, telling them what they do
seems useful.
schwarze [Tue, 3 Aug 2021 18:49:30 +0000 (18:49 +0000)]
Document X509_get_default_cert_area(3).
Put it into this page because this is the code actually using it.
Despite its name and include file, it is unrelated to X.509
and unrelated to certificates: it is just the default directory
containing the library configuration file, openssl.cnf(5).
tobhe [Tue, 3 Aug 2021 12:46:30 +0000 (12:46 +0000)]
Increase default data bytes limit for Child SAs to 4 GB.
Lower limits lead to excessive rekeying and lost data in high performance
setups without much benefit.
Brought up by mvs@
ok patrick@ sthen@
semarie [Tue, 3 Aug 2021 04:45:54 +0000 (04:45 +0000)]
Make sure VM_MAXUSER_ADDRESS is aligned to a page boundary, as MI code
relies upon this; sparc64 turned out to be the only platform where this
was not the case.
help, diff, and commit message from Miod Vallat
"makes sense" kettenis@
deraadt [Tue, 3 Aug 2021 04:43:30 +0000 (04:43 +0000)]
sync
djm [Tue, 3 Aug 2021 01:05:24 +0000 (01:05 +0000)]
regression tests for scp SFTP protocol support; mostly by Jakub
Jelen in GHPR#194 ok markus
djm [Mon, 2 Aug 2021 23:38:27 +0000 (23:38 +0000)]
support for using the SFTP protocol for file transfers in scp, via a
new "-M sftp" option. Marked as experimental for now.
Some corner-cases exist, in particular there is no attempt to
provide bug-compatibility with scp's weird "double shell" quoting
rules.
Mostly by Jakub Jelen in GHPR#194 with some tweaks by me. ok markus@
Thanks jmc@ for improving the scp.1 bits.
kettenis [Mon, 2 Aug 2021 21:46:39 +0000 (21:46 +0000)]
MP support seems to work fine now
ok deraadt@
mvs [Mon, 2 Aug 2021 21:10:55 +0000 (21:10 +0000)]
Don't call rtm_ifchg() in trunk_port_state().
The preceding trunk_link_active() already produced RTM_IFINFO message when
trunk(4) state was changed. I such case we double RTM_IFINFO message or we
produce false message when trunk(4) state was not changed.
ok florian@
kettenis [Mon, 2 Aug 2021 19:07:29 +0000 (19:07 +0000)]
Add memory barrier (data FENCE) before making the SBI call to issue a
FENCE.I instruction on the remote harts. According to the RISC-V
ISA documentation this is necessary to make remote harts observe earlier
stores. Also issue the local FENCE.I first; this is what both FreeBSD and
Linux does. Seems to fix at least some of the issue we've seen running
GENERIC.MP on MP machines.
ok jca@
patrick [Mon, 2 Aug 2021 18:22:41 +0000 (18:22 +0000)]
rkpwm(4) device tree bindings were updated to not have clock names anymore,
so simply look up the first clock instead of looking for a specific one by
name. Allows rkpwm(4) to find the clock when using a recent device tree.
From Tomasz Bielecki
ok kettenis@
claudio [Mon, 2 Aug 2021 16:51:39 +0000 (16:51 +0000)]
Show if add_path was used when decoding the BGP message in MRT format.
This may help to spot encoding errors a bit more easily.
claudio [Mon, 2 Aug 2021 16:42:13 +0000 (16:42 +0000)]
Shuffle conditions around to help my brain.