summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-06Enable stfclock(4) and make xhci(4) attach to fdt.Mark Kettenis
2022-06-06Add stfclock(4), a driver for the clock controller found on the StarFiveMark Kettenis
JH7100 SoC. ok jsg@
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
for the lock operation and to pass a value to the unlock operation. sofree() still needs an extra flag to know if sounlock() should be called or not. But sofree() is called less often and mostly without keeping the lock. OK mpi@ mvs@
2022-06-06Remove unused prototype.Mark Kettenis
Fix a whitespace issue.
2022-06-06Fix comment + spacing.Theo Buehler
Apparently 60 * 5 + 4 seconds is 5 minutes. Presumably this is the case with sufficiently potent crack, which would explain a few things in here.
2022-06-06Remove incorrect and ungrammattical commentTheo Buehler
The fallback to SHA-1 if SHA-256 is disabled fell victim to tedu many moons ago when this file was still called s3_clnt.c and had no RCS ID.
2022-06-06adjust two desired error messages after roff_escape.c rev. 1.11Ingo Schwarze
improved diagnostics for the \C escape sequence
2022-06-06Allow arbitrary argument delimiters for \C, like groff does.Ingo Schwarze
The restriction of only allowing ' as the delimiter was introduced by kristaps@ on 2011/04/09 when he first supported \C. For most other escape sequences, similar restrictions were relaxed later on, but for the rarely used \C, it was apparently forgotten. While here, reject empty character names: they are never valid.
2022-06-06The StarFive JH7100 SoC has peripherals that only support 32-bit DMAMark Kettenis
(in particular the dwmmc(4) and dwge(4) devices; there may be more). ok jsg@
2022-06-06Add support for the XHCI function that is part of the Cadence USB3 DRDMark Kettenis
controller. There are various incarnations of the controller. This diff only adds support for the "V1"/"CDNS3" version as found on the StarFive JH7100 SoC. Further changes may be needed to support controllers integrated on other SoCs. ok jsg@
2022-06-06Fix spaces before tabsTheo Buehler
2022-06-06have compute_checksum return a status, so that we don't report similarMarc Espie
errors several times (for instance, if a file doesn't exist, its checksum is not going to match, obviously)
2022-06-06zap fairly old bug from refactoring: we already validated all the set plists,Marc Espie
don't do it again (would skew the file system usage a bit). Also: we don't need to check for firmware if we're not actively deleting. normal updates won't touch them.
2022-06-06this message is seriously outdated: the packing-lists have been read byMarc Espie
the code that calls delete_handle already
2022-06-06Yet another iteration of the tied algorithm: some packages containMarc Espie
several hundred copies of the same file (even thousands! I'm looking at you sdcc), so matching through a list is O(n^2). So hash the hashes on the actual file name so that we match directly if the same name file didn't change, and use the first entry otherwise, since the name won't match. speeds up updating of texlive somewhat, and makes a huge difference for sdcc.
2022-06-06also zap signer if we zap digital-signatureMarc Espie
2022-06-06drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()Jonathan Gray
From Gustavo A. R. Silva 195fffbf8291a84580762ac6e3101489954d0216 in linux 5.15.y/5.15.45 336feb502a715909a8136eb6a62a83d7268a353b in mainline linux
2022-06-06expand on the mismatches between the tarball and the packing-listMarc Espie
2022-06-06Minor tweaks to psk modes regressTheo Buehler
2022-06-06regenJonathan Gray
2022-06-06drm/amdgpu: add beige goby PCI IDJonathan Gray
From Alex Deucher 62e9bd20035b53ff6c679499c08546d96c6c60a7 in mainline linux
2022-06-05move the calls to psk kex modes tests down to match order in ssl_tlsext.cTheo Buehler
2022-06-05Add regress coverage for PSK kex modes tlsext handlers.Theo Buehler
2022-06-05With the improved escape sequence parser, it becomes easy to also improveIngo Schwarze
diagnostics. Distinguish "incomplete escape sequence", "invalid special character", and "unknown special character" from the generic "invalid escape sequence", also promoting them from WARNING to ERROR because incomplete escape sequences are severe syntax violations and because encountering an invalid or unknown special character makes it likely that part of the document content intended by the authors gets lost.
2022-06-05Revert accidentally committed checkTheo Buehler
2022-06-05Rework how fib_priority is handled.Claudio Jeker
Instead of passing it around all the time put the fib_priority into the kroute state. It is only needed in send_rtmsg() in the end. Additionally insert F_BGP_INSERTED routes with a special RTP_MINE priority. This makes changing the fib_priority at runtime simpler because there is no need to alter the kroute table anymore. OK tb@ deraadt@
2022-06-05Small cleanup of error reporting:Ingo Schwarze
call mandoc_msg() only once at the end, not sometimes in the middle, classify incomplete, non-expanding escape sequences as ESCAPE_ERROR, and also reduce the number of return statemants; no formatting change intended.
2022-06-05enable interrupt coalescing.David Gwynne
mvneta only supports coalescing tx completions by count, so this uses the txmit value or half the ring as the threshold, whichever is lower. rx coalescing has a threshold on the number of packets, and a max time it will wait before interrupting. however, it also has a threshold for how many spare/empty descriptors there are on the ring too. we use this latter threshold to have the chip interrupt as soon as it uses the allocation that the rx ring moderation has granted, and then first two to otherwise rate limit rx to about 4k interrupts per second. ok patrick@
2022-06-05use the write lemtohXX functions for bits of the stats structure.David Gwynne
unbreaks the build on bigendian archs. found by deraadt@
2022-06-05add support for getting the frequency of the clocks mventa uses.David Gwynne
mvneta does interrupt coalescing based on time as counted by these clocks, so being able to ask how fast they tick is useful. lots of help and ok kettenis@
2022-06-04Make iwm(4) handle 9k devices which do not support antenna B.Stefan Sperling
Problem reported by Chris Narkiewicz who owns such a device. Johannes Berg provided helpful hints regarding the reason for the firmware error seen by Chris.
2022-06-04document internal annotations a bit more, explain about the always-updateMarc Espie
changes, and be more specific about @digital-signature and @signer, since we only use the one scheme now.
2022-06-04The parse stubs need to skip over the extension data.Theo Buehler
Found by anton with tlsfuzzer ok anton
2022-06-04When picking a buffer because one isn't specified by the user, ignoreNicholas Marriott
named buffers. GitHub issue 3212 from David le Blanc.
2022-06-04match on Gemini Lake HD Audio (0x3198)Jonathan Gray
on a Star Labs StarLite Mk IV laptop the audio device is subclass audio not hd audio, so azalia does not match reported and tested by Chris Narkiewicz ok deraadt@
2022-06-04KNF nitTheo Buehler
2022-06-04Tweak a comment using review feedback from jsingTheo Buehler
2022-06-03Memory leak when assigning a string to some of the built-in variables.Todd C. Miller
Allocated string erroneously marked DONTFREE. From Miguel Pineiro Jr.
2022-06-03The fulfillment of an assignment operand had been truncating itsTodd C. Miller
entry in ARGV (since circa 1989). From Miguel Pineiro Jr.
2022-06-03Fix a file management memory leak that appears to have been thereTodd C. Miller
since the files array was first initialized with stdin, stdout, and stderr (circa 1992). From Miguel Pineiro Jr.
2022-06-03Add stubbed out handlers for the pre_shared_key extensionTheo Buehler
ok jsing
2022-06-03Implement handlers for the psk_key_exchange_modes extensions.Theo Buehler
ok jsing
2022-06-03Add a use_psk_dhe_ke flag to the TLSv1.3 handshake structTheo Buehler
This will be used to indicate client side support for DHE key establishment. ok jsing
2022-06-03Ensure that a client who sent a PSK extension has also sent a PSKTheo Buehler
key exchange mode extension, as required by RFC 8446, 4.2.9. ok jsing
2022-06-03Check tls_config_new() for NULL returnTheo Buehler
This way we don't crash in tls_config_insecure_noverify_cert(). From Mateusz Piotrowski on bugs ok claudio
2022-06-03Provide #defines for the two currently registered PskKeyExchangeModes.Theo Buehler
ok jsing
2022-06-03oops, update forgotten date in the footerIngo Schwarze
2022-06-03During identifier parsing, handle undefined escape sequencesIngo Schwarze
in the same way as groff: * \\ is always reduced to \ * \. is always reduced to . * other undefined escape sequences are usually reduced to the escape name, for example \G to G, except during the expansion of expanding escape sequences having the standard argument form (in particular \* and \n), in which case the backslash is preserved literally. Yes, this is confusing indeed. For example, the following have the same meaning: * .ds \. and .ds . which is not the same as .ds \\. * \*[\.] and \*[.] which is not the same as \*[\\.] * .ds \G and .ds G which is not the same as .ds \\G * \*[\G] and \*[\\G] which is not the same as \*[G] <- sic! To feel less dirty, have a leaning toothpick, if you are so inclined. This patch also slightly improves the string shown by the "escaped character not allowed in a name" error message.
2022-06-03expose hardware counters as kstats.David Gwynne
some of them are 16 bit, so check frequently. now i can see what packets my apu1 is dropping in hardware. ok claudio@
2022-06-03Do not unintentionally turn off all mouse mode when button is also present.Nicholas Marriott