summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-28regenMark Kettenis
2020-12-28Add Synopsys vendor and their DesignWare PCIe bridge.Mark Kettenis
2020-12-28Do not list user options with show-hooks.Nicholas Marriott
2020-12-28Remove current match indicator which can't work anymore since we onlyNicholas Marriott
search the visible region. From Anindya Mukherjee, GitHub issue 2508.
2020-12-27acpi_map_address() cannot be wrapped by SMALL_KERNEL anymore, asTheo de Raadt
it is used by acpihpet.c
2020-12-27Enable acpihpet on install media, because otherwise clock initializationTheo de Raadt
is just too different from GENERIC or GENERIC.MP pointed out by jsg
2020-12-27Fix "any" and "dynamic" keywords for flows and add proper IPv6 support.tobhe
For traffic selectors with a keyword on either 'from' or 'to' side, install flow with address family of the opposite side. If both source and destination address are keywords, install flows for both address families. The 'dynamic' keyword is special as it will only install flows for the address family of the dynamically assigned address (specified with the 'config address' option). ok patrick@
2020-12-27Remove debug printf.Mark Kettenis
2020-12-27PCIe support has been added.Mark Kettenis
2020-12-27Add PCIe support.Mark Kettenis
2020-12-27Add PCIe power domain.Mark Kettenis
2020-12-27Link disklabel and newfs regress to build.Alexander Bluhm
2020-12-27We know about optreset from unistd.h.Florian Obser
From Jan Stary, thanks. OK martijn
2020-12-27Ensure that a sufficient part of the remote log file has beenAlexander Bluhm
transferred before the local side greps for the spliced keyword. Fixes a race seen on the arm64 regress machine.
2020-12-27Make NET_LOCK() assertions conditional to DIAGNOSTICVisa Hankala
This saves about 2.5 KiB off amd64's RAMDISK after gzip compression. OK deraadt@, mpi@, cheloha@
2020-12-27Use GBR that adheres to the restricted vcard profile defined in RFC 6493job
2020-12-27have mcx_process_txeof return the number of slots it processed.David Gwynne
it used a pointer in an argument to communicate that back to the caller, while being a void functon. this seems more natural and brings it in line with how the rx completion function returns free slots to its caller too.
2020-12-27do a bus space barrier after arming the eq.David Gwynne
ok jmatthew@
2020-12-27disable timestamping a little bit harder to avoid divide by 0.David Gwynne
hrvoje popovski reports the current code faults on some boxes. i'm working on it, but the code isn't being used right now.
2020-12-27shuffle filling the rx ring so the sw prod is updated before the hw.David Gwynne
ok jmatthew@
2020-12-26Update default preference listkn
OK florian
2020-12-26Include expat_config.h to run regress with matching set of ifdefs.Alexander Bluhm
2020-12-26bpf(4): bpf_d struct: replace bd_rdStart member with bd_nreaders membercheloha
bd_rdStart is strange. It nominally represents the start of a read(2) on a given bpf(4) descriptor, but there are several problems with it: 1. If there are multiple readers, the bd_rdStart is not set by subsequent readers, so their timeout is screwed up. The read timeout should really be tracked on a per-thread basis in bpfread(). 2. We set bd_rdStart for poll(2), select(2), and kevent(2), even though that makes no sense. We should not be setting bd_rdStart in bpfpoll() or bpfkqfilter(). 3. bd_rdStart is buggy. If ticks is 0 when the read starts then bpf_catchpacket() won't wake up the reader. This is a problem inherent to the design of bd_rdStart: it serves as both a boolean and a scalar value, even though 0 is a valid value in the scalar range. So let's replace it with a better struct member. "bd_nreaders" is a count of threads sleeping in bpfread(). It is incremented before a thread goes to sleep in bpfread() and decremented when a thread wakes up. If bd_nreaders is greater than zero when we reach bpf_catchpacket() and fbuf is non-NULL we wake up all readers. The read timeout, if any, is now tracked locally by the thread in bpfread(). Unlike bd_rdStart, bpfpoll() and bpfkqfilter() don't touch bd_nreaders. Prompted by mpi@. Basic idea from dlg@. Lots of input from dlg@. Tested by dlg@ with tcpdump(8) (blocking read) and flow-collector (https://github.com/eait-itig/flow-collector, non-blocking read). ok dlg@
2020-12-26Otto hit an impossible situation: an answer bigger than 64k.Florian Obser
Log the query and answer SERVFAIL instead of exiting fataly. That way we can at least figure out where libunbound goes off the rail. OK otto
2020-12-26Start each regress run from scratch with new keys and CA database.Alexander Bluhm
2020-12-26Simplify parameters of pselregister().Visa Hankala
OK mpi@
2020-12-26Timing on slow armv7 machine is different. Instead of a brokenAlexander Bluhm
pipe error we may also receive a TLS alert.
2020-12-26Fix a nasty mem leak in ld.so's own malloc. This was hard to diagnose, sinceOtto Moerbeek
malloc dumping and gdb do not help at all when studying ld.so. In the end it turns out ot be a simple merge error causing extra mmap calls. ok miller@ tb@
2020-12-26reuse the calculated vector as the argument to pci_intr_map_msix.David Gwynne
doing the maths again feels error prone.
2020-12-26add bus_dmamap_sync ops around the eq.David Gwynne
ok jmatthew@
2020-12-26add some bus_dmamap_syncs around the rq.David Gwynne
ok jmatthew@
2020-12-26sprinkle some bus_dmamap_syncs around the cq handling.David Gwynne
ok jmatthew@
2020-12-26sprinkle some bus_dmamap_syncs around the sq.David Gwynne
ok jmatthew@
2020-12-26better manage the lifetime of the dmamem used for various rings.David Gwynne
ok jmatthew@
2020-12-26sdmmc(4): sdmmc_io_function_enable(): don't sleep on lboltcheloha
Just sleep for 1 second on the nowake channel instead. With input from kettenis@, mpi@, and claudio@. ok kettenis@
2020-12-26Convert CA regress implementation from shell script to make file.Alexander Bluhm
Ensure that it works with obj directory and link regress to build.
2020-12-26Missed a python2.7, scapy 2, copyright bump in previous scapy 3 commits.Alexander Bluhm
2020-12-26Wrap long lines.Alexander Bluhm
2020-12-25Send fragment that reaches beyond max packet length. pf ignoresAlexander Bluhm
it, but stack somehow puts it into the fragment queue.
2016-07-11Add regression tests for the path MTU discovery implementation in Alexander Bluhm
the kernel. Generate TCP and TCP6 and UDP6 packets with Scapy, check the kernel's reaction to ICMP fragmentation needed and ICMP6 packet too big. OK mpi@
2020-12-25Wrap long lines.Alexander Bluhm
2020-12-25expose the mcx timer as a timecounter.David Gwynne
this is mostly to help me better understand where i accumulate error when trying to sync the chip to the kernel clocks. ie, if im using mcx as the kernel clock source and my attempts to sync to it still produce errors, then my code is very wrong instead of slightly wrong. it's also fun and a tiny amount of code.
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25match on Gemini Lake I2CJonathan Gray
Makes touchpad work on Joel Carnat's Teclast F7 Plus laptop. Patch from James Hastings.
2020-12-25Link pktinfo_addr and srcaddr regress to build.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm
2020-12-25Switch to scapy with python 3.Alexander Bluhm