summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-09syncMoritz Buhl
2022-09-09Add libc wrappers for the new sendmmsg and recvmmsg system calls.Moritz Buhl
Feedback tb@, miod@, jca@ OK jca@
2022-09-09Implement the F_SHORTER filter by doing explicit lookups for each possibleClaudio Jeker
prefixlen. Even for IPv6 this is much faster than a full table walk. OK tb@
2022-09-09Add mips64/octeon bitsKlemens Nanni
Still fails due to the disklabel/vnd kernel race but running into failing 'installboot -p' helps exercising the fsck/newfs exit code fix. REGRESS_EXIT_EARLY=1 runs past the prepare target without the diff but properly stops with it as installboot now exits 1 if system(3) fails.
2022-09-09Clarify/typofix commentsKlemens Nanni
OpenBSD is not FreeBSD and has no stf(4) interface. No object change.
2022-09-09Add message-line option to control where message and prompt go, fromNicholas Marriott
Varun Kumar E in GitHub issue 3324.
2022-09-09Bump version to 8.0Claudio Jeker
2022-09-09The DSDT on the snapdragon 7c based Acer Aspire 1 (A114-61) uses a bogusMark Kettenis
compatible ID. Add its hardware ID to the list to work around this. ok patrick@, mlarkin@, mglocker@
2022-09-09syncStuart Henderson
2022-09-09Adjust chunked encoding handling.Claudio Jeker
Add an extra state to distinguish in between chunks CRLF handling from the last chunk which can optionally have some trailer fields included. rpki-client ignores these trailer header fields (they are also not common it seems). Also remove the empty line handling in http_parse_chunked() for explicit checks in http_read(). Because of the extra state the switch back to non-chunked mode can now be delayed until the transfer is over. OK tb@
2022-09-09drm/i915: Skip wm/ddb readout for disabled pipesJonathan Gray
From Ville Syrjala 1787ec7dcc3761e040d0cd9896d3a40b4efac4cf in linux 5.15.y/5.15.66 0211c2a0ea600e25db3044daaeff4fe41c3ed6d9 in mainline linux
2022-09-09drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirkJonathan Gray
From Diego Santa Cruz f9a0f49be767a45aa1dc7d846a2745bb7849268a in linux 5.15.y/5.15.66 919bef7a106ade2bda73681bbc2f3678198f44fc in mainline linux
2022-09-09drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"Jonathan Gray
From Colin Ian King 0522550aeed4ec899d16e237be0ae67f8aa1319b in linux 5.15.y/5.15.66 233f56745be446b289edac2ba8184c09365c005e in mainline linux
2022-09-09drm/i915/display: avoid warnings when registering dual panel backlightJonathan Gray
From Arun R Murthy 7828b5d0080a4621973ab5c680c4df0bc6d96437 in linux 5.15.y/5.15.66 868e8e5156a1f8d92ca83fdbac6fd52798650792 in mainline linux
2022-09-09add backlight_device_get_by_name() used by 5.15.66 drmJonathan Gray
2022-09-09drm/i915/backlight: extract backlight code to a separate fileJonathan Gray
From Jani Nikula 630ab29120b5dd1c543150da5e1aa304a5aece2e in linux 5.15.y/5.15.66 6cc42fbeb150ff33b17cbf108713ca4be23994d8 in mainline linux
2022-09-09notifier_complete(NULL, ...) is a noop, so no need to testDamien Miller
that ctx!=NULL; from Corinna Vinschen
2022-09-08There is no need to uncomment the clock gating exit/enter gadget functions,Marcus Glocker
since we define them void anyway.
2022-09-08The SC7180 (snapdragon 7c) needs the SMMU quirk as well.Mark Kettenis
It seems reasonable that SC8180X/XP needs the quirk too, so preemtively add these to the list as well. ok patrick@
2022-09-08There is no need to uncomment the call_gadget macro, since in our driverMarcus Glocker
it's getting defined void anyway.
2022-09-08Zap inactive gadget functions.Marcus Glocker
2022-09-08Move bitmap functions to a new home.Marcus Glocker
ok kettenis@
2022-09-08Remove old debug code knobs, wrong comments, and unused pv entry flags.Miod Vallat
ok kettenis@
2022-09-08Support the sendmmsg and recvmmsg system calls.Moritz Buhl
Input guenther@ OK bluhm@
2022-09-08ssl_cipher_process_rulestr: return early if a cipher command is invalidTodd C. Miller
This is a safer fix for the bug where we might read outside rule_str buffer and is how BoringSSL fixed it. OK tb@
2022-09-08In http_get_line() additionally strip any trailing space or tab from lines.Claudio Jeker
In many places the HTTP allows for extra spaces which need to be ignored. Similar the chunked encoding extensions are separated from the chunk size by a ':' but the spec also allows for bad whitespaces in all shapes and forms. Adjust the logic in http_parse_chunked() to stop when the first space, tab or ':' is seen. There is no need to check for newlines since those are stripped by http_get_line(). OK tb@
2022-09-08Remove useless -tKlemens Nanni
"Make if.c kvm free by fetching the interface stats via sysctl ..." if.c r1.56 in 2008 neutered the -d and -t flags. -d functionality was eventually restored with if.c r1.76 in 2015. -t has been printing zeroes for over fourteen now; this cannot have been useful to anyone and noone complained about a wrong watchdog timer values. Remove -t entirely without printing a warning; `netstat -t ...' now fails. Feedback jsg OK jsg bluhm
2022-09-08_rc_quirks is only called by _rc_parse_conf, so just merge the two.Antoine Jacoutot
ok robert@ sthen@ kn@
2022-09-08initialise inteldrm device params from module paramsJonathan Gray
In inteldrm_attach() we need to call i915_params_copy(). Matching the changes made to i915_driver_create() in linux 8a25c4be583d8a9e38fbadcc49d4de32b1aa8906 (5.10) drm/i915/params: switch to device specific parameters This makes DisplayPort MST work again as the value of enable_dp_mst changes from false to true. Set enable_guc as 0 as I suspect that needs more work. Set request_timeout_ms to 0 as otherwise I see "Fence expiration time out" running Xorg on Broadwell. Problem reported and debugged by Paul Kelly.
2022-09-08Adjust HTTP header parsing to follow RFC more closely.Claudio Jeker
RFC9112 allows any amount of space/tabs between the ':' and the value. Until now this code required exactly one space which works most of the time but is not RFC compliant. OK djm@
2022-09-08Rename global ifnet TAILQKlemens Nanni
Naming the list like the struct itself makes for awful grepping. Call the global variable "ifnetlist" from now on. There used to be kvm(3) consumers in base picking up this symbol, but those have long been converted to other interfaces. A few potential ports users remain, same deal as sys/net/if_var.h r1.116 "Remove struct ifnet's unused if_switchport member": they get bumped. Previous users pointed out by deraadt OK bluhm
2022-09-08Remove vm_page_md fields which were only needed for pre-v7 arm ports.Miod Vallat
2022-09-08Adjust HTTP header parsing to follow RFC more closely.Claudio Jeker
RFC9112 allows any amount of space/tabs between the ':' and the value. Until now this code required exactly one space which works most of the time but is not RFC compliant. Problem reported by Ties de Kock (tdekock (at) ripe.net) OK tb@
2022-09-08Use generic PNP ID to match HID-over-I2C devices.Mark Kettenis
ok patrick@, drahn@
2022-09-08Add a few more pin mappings based on what is in some Linux device treeMark Kettenis
updates that are floating around. Remove some #ifdef'ed out debug code that was left behind. ok patrick@, drahn@
2022-09-08riscv64: cpu_initclocks: install tb_timecounter before cpu_startclock()Scott Soule Cheloha
In the future, the clock interrupt code will need a real timecounter to work correctly. Nudge the tc_init(9) call for tb_timecounter up before cpu_startclock().
2022-09-08macppc: cpu_initclocks: install tb_timecounter before cpu_startclock()Scott Soule Cheloha
In the future, the clock interrupt code will need a real timecounter to work correctly. Nudge the tc_init(9) call for tb_timecounter up before cpu_startclock().
2022-09-08recognise Realtek ALC245Jonathan Gray
from Neel Chauhan
2022-09-08match on Intel 600 Series LP HD Audio (0x51c8)Jonathan Gray
HP Spectre x360 16-f0013dx has subclass audio not hd audio so azalia does not match from Neel Chauhan
2022-09-07ssl_cipher_process_rulestr: don't read outside rule_str bufferTodd C. Miller
If rule_str ended in a "-", "l" was incremented one byte past the end of the buffer. This resulted in an out-of-bounds read when "l" is dereferenced at the end of the loop. OK tb@
2022-09-07Add EVP test coverage for RC2.Theo Buehler
From Joshua Sing
2022-09-07Add output length validation for EVPTheo Buehler
From Joshua Sing
2022-09-07Add a few more PNP IDs to handle variants of the Qualcomm dual roleMark Kettenis
controller based on AML dumps found online and some further detective work looking at Windows drivers by jsg@. ok jsg@, millert@
2022-09-07vmm(4): allow reading MSR_TSC on Intel hosts.Dave Voutila
Add's MSR_TSC to the read bitmap for msr access. This was added to AMD/SVM in Feb 2020, but never added to Intel VMX. Some guests use rdmsr instead of rdtsc, so this prevents a #GP exception. ok mlarkin@
2022-09-07On the Lenovo X13s the named components don't have the single mappingPatrick Wildt
flag set, which we so far had expected to be there. This is allowed by the IORT spec. In that case simply make use of the first mapping if there is a single one. With feedback from and ok kettenis@
2022-09-07sync with arm64.htmlJonathan Gray
2022-09-07Fix passing explicit stage filesKlemens Nanni
Every platform ought to set `stages', `stage1' and optionally `stage2' in md_init(), otherwise passing explicit files results won't work as `stages' is zero-initialised and no default path is set: # installboot -v sd0 /root/BOOTAA64.EFI usage: installboot [-npv] [-r root] disk [stage1] This is correct synopsis and ought to work, but efi_installboot.c has an empty md_init(). Set stage bits to fix this: # ./obj/installboot -nv sd0 /root/BOOTAA64.EFI Using / as root would install bootstrap on /dev/rsd0c using first-stage /root/BOOTAA64.EFI would copy /root/BOOTAA64.EFI to /tmp/installboot.2bGhLGT1eF/efi/boot/bootaa64.efi would write /tmp/installboot.2bGhLGT1eF/efi/boot/startup.nsh This makes regress/usr.sbin/installboot pass on armv7, arm64 and riscv64 (while being lucky or carrying miod's fix for the kernel disklabel race manifesting on vnd).
2022-09-07Remove the .SILENT bits again after feedback from bluhmKlemens Nanni
2022-09-07Mention bsd.rd and install72.imgKlemens Nanni
OK miod jsg
2022-09-07ansiJonathan Gray