openbsd
4 years agostrip trailing CRs at smtp level rather than io level
eric [Fri, 24 Apr 2020 11:34:07 +0000 (11:34 +0000)]
strip trailing CRs at smtp level rather than io level

ok millert@

4 years agoMake sure devices are properly closed in case of an error.
ratchov [Fri, 24 Apr 2020 11:33:28 +0000 (11:33 +0000)]
Make sure devices are properly closed in case of an error.

Fixes possible crashes if the contol device fails, while the audio
device continues to work.

4 years agoWhitespace fixup for imxehci(4)
patrick [Fri, 24 Apr 2020 11:27:25 +0000 (11:27 +0000)]
Whitespace fixup for imxehci(4)

4 years agoCheck the various options that local-address gives.
claudio [Fri, 24 Apr 2020 10:34:54 +0000 (10:34 +0000)]
Check the various options that local-address gives.

4 years agoRemove the deprecation notice for timegm().
schwarze [Fri, 24 Apr 2020 10:32:33 +0000 (10:32 +0000)]
Remove the deprecation notice for timegm().
The tzcode package marked it dprecated in the late 1980ies
but it is universally supported and here to stay.

Triggered by a question from Rodrigo <hruodr at gmail dot com> on misc@.
William Ahern <william at 25thandclement dot com> listed a number of
sound arguments why it shouldn't be considered deprecated, in
particular that there is no better alternative, in particular none
that is thread-safe.

While here, fix the non-standard section name "NOTES", add the
missing STANDARDS section and provide additional information in the
HISTORY section, based on inspection of C89, C11, POSIX 2008, UNIX
v4 and v5 at TUHS, Tahoe and Reno at the CSRG archives, amd the
SunOS 3.5 and 4.0 manuals on bitsavers.

Reasearch on tzcode and SunOS history done by millert@.
OK millert@ on an earlier version of this patch,
and deraadt@ agrees with the general direction.

4 years agobcmgpio(4)
kettenis [Fri, 24 Apr 2020 10:05:18 +0000 (10:05 +0000)]
bcmgpio(4)

4 years agoAdd bcmgpio(4). For now this driver only provides pinctrl functionality.
kettenis [Fri, 24 Apr 2020 09:52:43 +0000 (09:52 +0000)]
Add bcmgpio(4).  For now this driver only provides pinctrl functionality.
Actual gpio support (possibly including gpio(4) support) will come later.

ok jsg@

4 years agoPrint per queue stats when dumping hardware counters in IX_DEBUG kernels.
mpi [Fri, 24 Apr 2020 08:50:23 +0000 (08:50 +0000)]
Print per queue stats when dumping hardware counters in IX_DEBUG kernels.

Tested by Hrvoje Popovski.

4 years agoFix typo which could lead into a double free
mestre [Fri, 24 Apr 2020 07:28:37 +0000 (07:28 +0000)]
Fix typo which could lead into a double free

CID 1492713

OK deraadt@ jmatthew@

4 years agoFix incorrect error message for "too many known hosts files." bz#3149, patch
dtucker [Fri, 24 Apr 2020 03:33:21 +0000 (03:33 +0000)]
Fix incorrect error message for "too many known hosts files." bz#3149, patch
from jjelen at redhat.com.

4 years agoRemove leave_non_blocking() which is now dead code because nothing sets
dtucker [Fri, 24 Apr 2020 02:19:40 +0000 (02:19 +0000)]
Remove leave_non_blocking() which is now dead code because nothing sets
in_non_blocking_mode any more. Patch from michaael.meeks at collabora.com,
ok djm@

4 years agoEnable imxehci(4).
patrick [Thu, 23 Apr 2020 22:16:10 +0000 (22:16 +0000)]
Enable imxehci(4).

ok kettenis@

4 years agoMove imxehci(4) to sys/dev/fdt.
patrick [Thu, 23 Apr 2020 22:14:49 +0000 (22:14 +0000)]
Move imxehci(4) to sys/dev/fdt.

ok kettenis@

4 years agoSYNOPSIS had no matching Ek, but since it wasn;t needed, remove Bk;
jmc [Thu, 23 Apr 2020 21:33:04 +0000 (21:33 +0000)]
SYNOPSIS had no matching Ek, but since it wasn;t needed, remove Bk;
while here, combine two Ar lines into one;

4 years ago ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;
jmc [Thu, 23 Apr 2020 21:28:08 +0000 (21:28 +0000)]
 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;

4 years agoreplace examples of "Ic arg Ic arg" with "Ic arg arg" and stop the spread;
jmc [Thu, 23 Apr 2020 21:10:53 +0000 (21:10 +0000)]
replace examples of "Ic arg Ic arg" with "Ic arg arg" and stop the spread;

4 years agoAdd support for switching rdomain on IPsec encryption/decryption.
tobhe [Thu, 23 Apr 2020 20:17:48 +0000 (20:17 +0000)]
Add support for switching rdomain on IPsec encryption/decryption.
It can be configured per policy with the new 'rdomain' option
(see iked.conf(5)).
Only the unencrypted (inner) rdomain has to be configured, the
encrypted rdomain is always the one the responsible iked instance
is running in.

The configured rdomain must exist before iked activates the IPsec SAs,
otherwise pfkey will return an error.

ok markus@, patrick@

4 years agoSupport SADB_X_EXT_RDOMAIN extension in pfkey dump (-m).
tobhe [Thu, 23 Apr 2020 19:57:01 +0000 (19:57 +0000)]
Support SADB_X_EXT_RDOMAIN extension in pfkey dump (-m).

ok markus@, patrick@

4 years agoEnable pcie_aux in addition to the other PCIe clocks on i.MX8M.
patrick [Thu, 23 Apr 2020 19:50:52 +0000 (19:50 +0000)]
Enable pcie_aux in addition to the other PCIe clocks on i.MX8M.

4 years agoSince apparently the bikeshedding over i.MX8M PCIe device tree
patrick [Thu, 23 Apr 2020 19:48:26 +0000 (19:48 +0000)]
Since apparently the bikeshedding over i.MX8M PCIe device tree
bindings still hasn't resulted in an upstream commit in Linux,
accept the ext_osc attribute if ext_osc exists without a value,
or if it has a value greater zero.  This improves compatibility
with various device trees.

4 years agoAdd support for autmatically moving traffic between rdomains on ipsec(4)
tobhe [Thu, 23 Apr 2020 19:38:08 +0000 (19:38 +0000)]
Add support for autmatically moving traffic between rdomains on ipsec(4)
encryption or decryption.  This allows us to keep plaintext and encrypted
network traffic seperated and reduces the attack surface for network
sidechannel attacks.

The only way to reach the inner rdomain from outside is by successful
decryption and integrity verification through the responsible Security
Association (SA).
The only way for internal traffic to get out is getting encrypted and
moved through the outgoing SA.
Multiple plaintext rdomains can share the same encrypted rdomain while
the unencrypted packets are still kept seperate.
The encrypted and unencrypted rdomains can have different default routes.

The rdomains can be configured with the new SADB_X_EXT_RDOMAIN pfkey
extension.  Each SA (tdb) gets a new attribute 'tdb_rdomain_post'.
If this differs from 'tdb_rdomain' then the packet is moved to
'tdb_rdomain_post' afer IPsec processing.

Flows and outgoing IPsec SAs are installed in the plaintext rdomain,
incoming IPsec SAs are installed in the encrypted rdomain.
IPCOMP SAs are always installed in the plaintext rdomain.
They can be viewed with 'route -T X exec ipsecctl -sa' where X is the
rdomain ID.

As the kernel does not create encX devices automatically when creating
rdomains they have to be added by hand with ifconfig for IPsec to work
in non-default rdomains.

discussed with chris@ and kn@
ok markus@, patrick@

4 years agoImplement builtin 'cpu' keyword.
mpi [Thu, 23 Apr 2020 18:36:51 +0000 (18:36 +0000)]
Implement builtin 'cpu' keyword.

This is useful to know which CPU recorded a given event.

While here document 'retval' and comment out 'ustack' until we have a
way to capture userland stacks.

4 years agoUse map keys composed of multiple arguments.
mpi [Thu, 23 Apr 2020 18:20:07 +0000 (18:20 +0000)]
Use map keys composed of multiple arguments.

4 years ago"local-address" can be specified for both address families now, so
sthen [Thu, 23 Apr 2020 17:12:59 +0000 (17:12 +0000)]
"local-address" can be specified for both address families now, so
no more need for separate v4/v6 groups.  ok claudio@

4 years agoTry to document 'no local-address'
claudio [Thu, 23 Apr 2020 16:17:48 +0000 (16:17 +0000)]
Try to document 'no local-address'

4 years agoStore local-address by address family. This allows to configure both
claudio [Thu, 23 Apr 2020 16:13:11 +0000 (16:13 +0000)]
Store local-address by address family. This allows to configure both
an IPv4 and IPv6 local-address on a group and the neighbors bind to the
right local-address. Also implement 'no local-address' to reset a previously
set local address back to zero. This should help with IBGP and multihop
session config and hopefully reduce repetition in bgpd configs.
OK sthen@ benno@

4 years agoCorrectly parse "0/0" as the default route when specifying
krw [Thu, 23 Apr 2020 15:00:27 +0000 (15:00 +0000)]
Correctly parse "0/0" as the default route when specifying
the classless-[ms-]static-routes options in dhcpd.conf.

Brings dhcpd.conf CIDR parsing in line with dhclient.conf,
dhcp-options(5) and the command lines of various utilities.

Inconsistency noted and fix tested by Freda Bundchen. Thanks!

4 years agoAdd support for the i.MX8MM PCIe clocks. These behave exactly like
patrick [Thu, 23 Apr 2020 14:56:28 +0000 (14:56 +0000)]
Add support for the i.MX8MM PCIe clocks.  These behave exactly like
the i.MX8MQ variant and sit in the same places.

4 years agoExtend map to support keys composed of multiple arguments.
mpi [Thu, 23 Apr 2020 14:54:12 +0000 (14:54 +0000)]
Extend map to support keys composed of multiple arguments.

Keys are still strings representing the output value.

The following example is now possible to count the number of "on CPU"
events ordered by thread ID and executable name:

# btrace -e 'tracepoint:sched:on__cpu { @[tid, comm] = count() }'
^C
@[138836, idle0]: 830941
@[161307, sshd]: 716476
@[482901, softnet]: 582008
@[104443, systqmp]: 405749
@[269230, update]: 396133
@[326533, softclock]: 316926
@[61040, sshd]: 177201
@[453567, reaper]: 119676
@[446052, ksh]: 85675
@[26270, syslogd]: 66625
@[504699, sshd]: 52958
@[446052, sshd]: 32207
@[44046, tset]: 13333
@[162960, zerothread]: 101
@[313046, ntpd]: 1

4 years agoExplain in the DESCRIPTION section in which cases mixerctl should be used
ratchov [Thu, 23 Apr 2020 14:47:20 +0000 (14:47 +0000)]
Explain in the DESCRIPTION section in which cases mixerctl should be used

joint work with jmc, thanks

4 years agoAlways initialize cachedir and outputdir.
benno [Thu, 23 Apr 2020 12:55:44 +0000 (12:55 +0000)]
Always initialize cachedir and outputdir.
ok job@

4 years agodrm/amdkfd: kfree the wrong pointer
jsg [Thu, 23 Apr 2020 11:13:47 +0000 (11:13 +0000)]
drm/amdkfd: kfree the wrong pointer

From Jack Zhang
044a884072b4313554d910b792f46c3e1f0099a5 in linux 4.19.y/4.19.118
3148a6a0ef3cf93570f30a477292768f7eb5d3c3 in mainline linux

4 years agoOverrides need to be applied both before and after features in case they
nicm [Thu, 23 Apr 2020 10:22:53 +0000 (10:22 +0000)]
Overrides need to be applied both before and after features in case they
change flags used to detect a feature.

4 years agoMake debug output less verbose.
mpi [Thu, 23 Apr 2020 09:14:27 +0000 (09:14 +0000)]
Make debug output less verbose.

4 years agoDocument uvmexp.nswget without relying on implementation details.
mpi [Thu, 23 Apr 2020 07:57:27 +0000 (07:57 +0000)]
Document uvmexp.nswget without relying on implementation details.

Prompted by a question from schwarze@

ok deraadt@, schwarze@, visa@

4 years agoUse "control" instead of "variable", more appropriate in this context
ratchov [Thu, 23 Apr 2020 05:54:35 +0000 (05:54 +0000)]
Use "control" instead of "variable", more appropriate in this context

ok and tweaks jmc

4 years agoFix a couple of memory leaks, one when creating a new pane and one when
nicm [Thu, 23 Apr 2020 05:48:42 +0000 (05:48 +0000)]
Fix a couple of memory leaks, one when creating a new pane and one when
adding formats onto the queue item.

4 years agoRecent changes in usr/mdec require (substantial) growth of the ramdisk.
deraadt [Thu, 23 Apr 2020 02:54:50 +0000 (02:54 +0000)]
Recent changes in usr/mdec require (substantial) growth of the ramdisk.
ok jsg kettenis, testing by kmos also

4 years agoadjust section argument of .Dt macro after move from section 1 to 8;
schwarze [Thu, 23 Apr 2020 00:16:59 +0000 (00:16 +0000)]
adjust section argument of .Dt macro after move from section 1 to 8;
patch from Raf Czlonka <rczlonka at gmail dot com>

4 years agouse a root prompt for EXAMPLES; ok ratchov
jmc [Wed, 22 Apr 2020 21:39:21 +0000 (21:39 +0000)]
use a root prompt for EXAMPLES; ok ratchov

4 years agoImprove join-pane, move-pane and break-pane:
nicm [Wed, 22 Apr 2020 21:15:33 +0000 (21:15 +0000)]
Improve join-pane, move-pane and break-pane:

- There is no need for join-pane and move-pane to be different.
- break-pane can just behave like move-window if the source has only one
  pane, instead of failing.
- Add -a to break-pane like move-window.

Also add missing man page bits for previous window-tree.c changes.

GitHub issue 2176.

4 years agoIndicate the marked pane in choose mode in reverse and add key to set
nicm [Wed, 22 Apr 2020 21:01:28 +0000 (21:01 +0000)]
Indicate the marked pane in choose mode in reverse and add key to set
and clear it (m and M) and a key to jump to the starting pane (H).

4 years agoAdd a session_marked format like window_marked.
nicm [Wed, 22 Apr 2020 20:47:00 +0000 (20:47 +0000)]
Add a session_marked format like window_marked.

4 years agosync
sthen [Wed, 22 Apr 2020 18:18:37 +0000 (18:18 +0000)]
sync

4 years agoFix leaks in signature validation.
tobhe [Wed, 22 Apr 2020 17:26:54 +0000 (17:26 +0000)]
Fix leaks in signature validation.

ok markus@

4 years agoRevise regress to match state transition changes.
jsing [Wed, 22 Apr 2020 17:05:53 +0000 (17:05 +0000)]
Revise regress to match state transition changes.

4 years agoImprove TLSv1.3 state machine for HelloRetryRequest handling.
jsing [Wed, 22 Apr 2020 17:05:07 +0000 (17:05 +0000)]
Improve TLSv1.3 state machine for HelloRetryRequest handling.

The state machine currently handles the HelloRetryRequest case by using
WITH_HRR - in other words, we're explicitly indicating when we transition
to the alternate path. The problem here is that we do not know if we're
going to receive a ServerHello or a HelloRetryRequest until we process
the message. This means that the ServerHello processing code has to handle
both types of messages.

The state machine and associated processing code becomes cleaner if we flip
this around so that we assume we are going to receive a HelloRetryRequest
and upon discovering that it is not, trigger WITHOUT_HRR and hand off to
the ServerHello processing function. In particular, this makes the logic
much more straight forward on the server side, when adding support for HRR.

With feedback from tb@

ok tb@

4 years agoLog authentication verification failure with "info" priority.
tobhe [Wed, 22 Apr 2020 16:52:04 +0000 (16:52 +0000)]
Log authentication verification failure with "info" priority.

ok markus@

4 years agoAdd clock gates for OCOTP and TMU on i.MX8MQ and i.MX8MM.
patrick [Wed, 22 Apr 2020 15:27:26 +0000 (15:27 +0000)]
Add clock gates for OCOTP and TMU on i.MX8MQ and i.MX8MM.

4 years agomark up a function name with .Fn;
schwarze [Wed, 22 Apr 2020 15:00:46 +0000 (15:00 +0000)]
mark up a function name with .Fn;
found with mandoc -Tlint

4 years agocorrect the description of the top line;
schwarze [Wed, 22 Apr 2020 14:53:13 +0000 (14:53 +0000)]
correct the description of the top line;
patch from <clematis at insiberia dot net>

4 years agoCheck for the dispatcher name in the envelope validation function.
eric [Wed, 22 Apr 2020 11:35:34 +0000 (11:35 +0000)]
Check for the dispatcher name in the envelope validation function.
Fixes a possible crash and caching issue when manually moving an
envelope to the queue with smtpctl discover.

ok millert@

4 years agosort SEE ALSO;
jmc [Wed, 22 Apr 2020 11:35:03 +0000 (11:35 +0000)]
sort SEE ALSO;

4 years agoKnock out a few more well-known nodes that we don't intend to attach a
kettenis [Wed, 22 Apr 2020 11:10:07 +0000 (11:10 +0000)]
Knock out a few more well-known nodes that we don't intend to attach a
driver to as well as nodes that start with a double underscore.

ok patrick@

4 years agobcmdmac(4) and bcmsdhost(4)
kettenis [Wed, 22 Apr 2020 10:10:41 +0000 (10:10 +0000)]
bcmdmac(4) and bcmsdhost(4)

4 years agoAdd bcmsdhost(4), a driver for the Broadcom "sdhost" SD controller
kettenis [Wed, 22 Apr 2020 09:48:44 +0000 (09:48 +0000)]
Add bcmsdhost(4), a driver for the Broadcom "sdhost" SD controller
found on the Raspberry Pi.

The driver was ported from NetBSD by Neil Ashford and tobhe@.

ok patrick@, tobhe@

4 years agodrm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
jsg [Wed, 22 Apr 2020 09:46:09 +0000 (09:46 +0000)]
drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled

From Sergei Lopatin
9959d615b715972002ed1ec9961486ded26e2ef4 in linux 4.19.y/4.19.117
8c7f0a44b4b4ef16df8f44fbaee6d1f5d1593c83 in mainline linux

4 years agoUpdate the cursor position when deleting lines from screens without
nicm [Wed, 22 Apr 2020 08:48:44 +0000 (08:48 +0000)]
Update the cursor position when deleting lines from screens without
history, GitHub issue 2173.

4 years agoUse FOREACH_QUEUE() where nothing else is required to support multi-queues.
mpi [Wed, 22 Apr 2020 08:47:11 +0000 (08:47 +0000)]
Use FOREACH_QUEUE() where nothing else is required to support multi-queues.

Tested by Hrvoje Popovski and jmatthew@, ok jmatthew@

4 years agoUse the same workding as in other pages.
ratchov [Wed, 22 Apr 2020 08:25:27 +0000 (08:25 +0000)]
Use the same workding as in other pages.

Use "controls" instead of "variables". Use "audio device" instead of
"mixer" to refer to the sound-card.

ok jmc@

4 years agoAssert that ND6 timer is never set for RTF_LOCAL routes.
mpi [Wed, 22 Apr 2020 07:51:38 +0000 (07:51 +0000)]
Assert that ND6 timer is never set for RTF_LOCAL routes.

Such routes have a valid link-local entry that should not be overwritten.

The current assert in the timeout routine doesn't give enough information
to know where the bug is, if there is still one.

This should play better with syzkaller.

ok claudio@, visa@ as part of a larger diff

4 years agoNever update the ND entry (cache) corresponding to a RTF_LOCAL route.
mpi [Wed, 22 Apr 2020 07:45:31 +0000 (07:45 +0000)]
Never update the ND entry (cache) corresponding to a RTF_LOCAL route.

Such route correspond to a locally configured address and the ND6
subsystem expect its link-local address to be always present.

Fix an issue reported by Julian Brost.

ok claudio@, visa@

4 years agoUse I40E_QUEUE_TYPE_EOL instead of hardcoding its value localy.
mpi [Wed, 22 Apr 2020 07:09:40 +0000 (07:09 +0000)]
Use I40E_QUEUE_TYPE_EOL instead of hardcoding its value localy.

ok jmatthew@

4 years agoChange so main-pane-width and height can be given as a percentage.
nicm [Wed, 22 Apr 2020 06:57:13 +0000 (06:57 +0000)]
Change so main-pane-width and height can be given as a percentage.

4 years agotweak display in previous; ok espie
jmc [Wed, 22 Apr 2020 05:38:19 +0000 (05:38 +0000)]
tweak display in previous; ok espie

4 years agosort SEE ALSO;
jmc [Wed, 22 Apr 2020 05:37:00 +0000 (05:37 +0000)]
sort SEE ALSO;

4 years agosync
deraadt [Wed, 22 Apr 2020 02:04:00 +0000 (02:04 +0000)]
sync

4 years agoadjust for man pages
deraadt [Tue, 21 Apr 2020 23:38:36 +0000 (23:38 +0000)]
adjust for man pages

4 years agoBackslash '$' at then end of string. Prevents warning on some shells.
dtucker [Tue, 21 Apr 2020 23:14:58 +0000 (23:14 +0000)]
Backslash '$' at then end of string.  Prevents warning on some shells.

4 years agomove mixerctl and audioctl man pages to section 8, as these work
deraadt [Tue, 21 Apr 2020 21:32:26 +0000 (21:32 +0000)]
move mixerctl and audioctl man pages to section 8, as these work
against root-only device nodes.

4 years agoRevert r1.207. Apparently mpi(4) on sparc64 blows up if
krw [Tue, 21 Apr 2020 19:27:03 +0000 (19:27 +0000)]
Revert r1.207. Apparently mpi(4) on sparc64 blows up if
sc_link.openings is greater than 34.

Encountered by Sigi Rudzio on his Blade 2500, who kindly did some
testing to discover that the answer is 34, not 42.

Nuke some whitespace on the way by.

4 years agoEnable bcmdmac(4).
tobhe [Tue, 21 Apr 2020 19:10:32 +0000 (19:10 +0000)]
Enable bcmdmac(4).

ok kettenis@

4 years agoAdd bcmdmac, a driver for the DMA controller found on BCM283x SoCs.
tobhe [Tue, 21 Apr 2020 18:56:54 +0000 (18:56 +0000)]
Add bcmdmac, a driver for the DMA controller found on BCM283x SoCs.

Original work by Neil Ashford and dlg@
ok kettenis@

4 years agoHandle TLSv1.3 key shares other than X25519 on the server side.
jsing [Tue, 21 Apr 2020 17:06:16 +0000 (17:06 +0000)]
Handle TLSv1.3 key shares other than X25519 on the server side.

Previously we would only select an X25519 key share from the client,
ignoring any others. Change this so that we will select the first of the
key shares that matches one of our supported groups.

ok beck@ inoguchi@ tb@

4 years agounwind(8) is supposed to work in all situations, it no longer
florian [Tue, 21 Apr 2020 17:03:44 +0000 (17:03 +0000)]
unwind(8) is supposed to work in all situations, it no longer
closes its service port when resolving is not working to give asr(3) a
chance (because it falls back to asr(3) internally)
Therefore it is ok to only list 127.0.0.1 in /etc/resolv.conf.
Triggered by a question from Frantisek Holop.
OK benno

4 years agoConsolidate TLSv1.3 constants.
jsing [Tue, 21 Apr 2020 16:55:17 +0000 (16:55 +0000)]
Consolidate TLSv1.3 constants.

Move all of the TLSv1.3 constants to the top of tls13_lib.c. Also mark
these all as const so that they end up in .rodata rather than .data.

ok tb@

4 years agoReplace parameter -> control
ratchov [Tue, 21 Apr 2020 14:04:17 +0000 (14:04 +0000)]
Replace parameter -> control

Audio parameter is ambigous in this context, it refers also to sample
rate, encoding, etc.

ok jmc

4 years agoMove the background colour to clear with (if any) up as well as the data
nicm [Tue, 21 Apr 2020 13:48:56 +0000 (13:48 +0000)]
Move the background colour to clear with (if any) up as well as the data
when scrolling, redraw problem reported by sthen@.

4 years agoSend broadcast packets to INADDR_BROADCAST, not INADDR_ANY.
krw [Tue, 21 Apr 2020 13:44:29 +0000 (13:44 +0000)]
Send broadcast packets to INADDR_BROADCAST, not INADDR_ANY.

Should fix '-r' (a.k.a. release a lease) for leases without a valid
DHCP_SERVER_IDENTIFIER.

Spotted by Alexander Markert. Thanks!

4 years agoThe group is not optional.
ratchov [Tue, 21 Apr 2020 13:24:29 +0000 (13:24 +0000)]
The group is not optional.

Controls that belong to a group must be expressed with the group name
included.  Not all control belong to a group, though.

4 years agoDescribe behavior when channel numbers are omitted
ratchov [Tue, 21 Apr 2020 13:18:27 +0000 (13:18 +0000)]
Describe behavior when channel numbers are omitted

4 years agoUse "real world" examples, like output.level.
ratchov [Tue, 21 Apr 2020 13:13:16 +0000 (13:13 +0000)]
Use "real world" examples, like output.level.

4 years agoRemove (confusing) description of non-scalar controls.
ratchov [Tue, 21 Apr 2020 13:05:04 +0000 (13:05 +0000)]
Remove (confusing) description of non-scalar controls.

Nothing exposes such controls yet, so it's not necessary.

4 years ago256 and RGB features can imply AX (for aixterm colours).
nicm [Tue, 21 Apr 2020 10:37:11 +0000 (10:37 +0000)]
256 and RGB features can imply AX (for aixterm colours).

4 years agoWork around FIFO_UNDERRUN (0x84) Tx errors being reported by iwn(4) firmware.
stsp [Tue, 21 Apr 2020 10:34:24 +0000 (10:34 +0000)]
Work around FIFO_UNDERRUN (0x84) Tx errors being reported by iwn(4) firmware.

When this error occurs, it tends to occur multiple times in a row. Affected
frames are lost and never get transmitted, and traffic stalls for a while.

I don't understand what is causing this. I have found that it only occurs if
we ask the firmware to use its multi-rate retry table. If we send frames at
a fixed rate, it does not happen. So this can be used as a workaround until
the real problem is understood.

Since this error is particularly problematic with block ack, use a fixed Tx
rate for aggregation queues for now. All subframes contained in an aggregate
are always sent together at the same rate anyway.

ok mpi@

4 years agoFix TID value set by iwn(4) in the Tx command when sending block ack requests.
stsp [Tue, 21 Apr 2020 10:33:30 +0000 (10:33 +0000)]
Fix TID value set by iwn(4) in the Tx command when sending block ack requests.
ok jmatthew@ mpi@

4 years agoCorrect cdev_ipmi_init()'s poll stub to return 0 instead of ENODEV.
mpi [Tue, 21 Apr 2020 08:29:27 +0000 (08:29 +0000)]
Correct cdev_ipmi_init()'s poll stub to return 0 instead of ENODEV.

poll functions shouldn't return errnos, selfalse() and seltrue() exist
for this reason :)

While here fix some comments.

ok visa@

4 years agoPrevent infinite for loop since i went from ssize_t to size_t. Patch from
dtucker [Tue, 21 Apr 2020 08:25:22 +0000 (08:25 +0000)]
Prevent infinite for loop since i went from ssize_t to size_t.  Patch from
eagleoflqj via OpenSSH github PR#178, ok djm@, feedback & ok millert@

4 years agoAdd support for the additional SDHC controller found on the Raspberry Pi.
kettenis [Tue, 21 Apr 2020 07:58:57 +0000 (07:58 +0000)]
Add support for the additional SDHC controller found on the Raspberry Pi.

ok patrick@

4 years agoSet DMA constraint based on the openbsd,dma-constraint property if
kettenis [Tue, 21 Apr 2020 07:57:17 +0000 (07:57 +0000)]
Set DMA constraint based on the openbsd,dma-constraint property if
present.  Make sure bus_dmamap_alloc(9) allocates memory that meets that
constraint.

ok patrick@

4 years agoAdd an openbsd,dma-constraint property to the /chosen node and set it
kettenis [Tue, 21 Apr 2020 07:54:01 +0000 (07:54 +0000)]
Add an openbsd,dma-constraint property to the /chosen node and set it
to an appropriate value for the Raspberry Pi 4.

ok patrick@

4 years agoTurn off the block flag to reset the state or the cursor will not be
nicm [Tue, 21 Apr 2020 06:34:13 +0000 (06:34 +0000)]
Turn off the block flag to reset the state or the cursor will not be
moved back to the right place.

4 years agoDo not clear client pane redraw flags until the redraw actually happens.
nicm [Tue, 21 Apr 2020 06:32:40 +0000 (06:32 +0000)]
Do not clear client pane redraw flags until the redraw actually happens.

4 years agoCommands that create objects return a 24 bit object ID, so mask off the
jmatthew [Tue, 21 Apr 2020 05:49:25 +0000 (05:49 +0000)]
Commands that create objects return a 24 bit object ID, so mask off the
high 8 bits of the value we extract, in case the firmware leaves junk there.
Hrvoje Popovski has seen this with newer firmware on a ConnectX 5 card,
which now works properly.

ok dlg@

4 years agotweak previous;
jmc [Tue, 21 Apr 2020 05:36:04 +0000 (05:36 +0000)]
tweak previous;

4 years agoxterm* needs XT also.
nicm [Tue, 21 Apr 2020 05:26:13 +0000 (05:26 +0000)]
xterm* needs XT also.

4 years agovmd: improve concurrency control in pause
pd [Tue, 21 Apr 2020 03:36:56 +0000 (03:36 +0000)]
vmd: improve concurrency control in pause

Previous implementation hit a deadlock sometimes as the pthread_cond_broadcast
for the pause mutex could happen before pthread_cond_wait.  This implementation
uses a barrier which is hit when all vpcus are paused.

ok mpi@

4 years agoregen
kettenis [Mon, 20 Apr 2020 21:52:25 +0000 (21:52 +0000)]
regen

4 years agoAdd Broadcom BCM2711.
kettenis [Mon, 20 Apr 2020 21:52:02 +0000 (21:52 +0000)]
Add Broadcom BCM2711.

4 years agoFix the example: now mixerctl uses /dev/audioctl0
ratchov [Mon, 20 Apr 2020 20:54:31 +0000 (20:54 +0000)]
Fix the example: now mixerctl uses /dev/audioctl0