created | 2023-05-26T22:26:05Z |
---|---|
begin | 2023-04-22T00:00:00Z |
end | 2023-04-29T00:00:00Z |
path | src/sys |
commits | 111 |
date | 2023-04-22T04:39:46Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if.c | log | diff | annotate |
src/sys/net/if_vlan.c | log | diff | annotate | |
src/sys/net/if_vlan_var.h | log | diff | annotate | |
message |
revert vlan(4) inherits TSO flags tb reports amd64 RAMDISK doesn't build with it. also, vlan_flags_from_parent doesn't look right right. it iterates over ifnetlist, which is all interfaces in the system, but appears to assume they're all vlan interfaces and so uses a vlan_softc * to inspect their if_softc pointers. |
date | 2023-04-22T05:01:44Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/fdt/if_dwqe_fdt.c | log | diff | annotate |
src/sys/dev/ic/dwqe.c | log | diff | annotate | |
message |
use if_baudrate and if_link_state for mac config, not mii media values the phy code sets if_baudrate and if_link_state, so the information needed to config the mac on the chip is there anyway. it also has the benefit that the driver doesnt have to understand every type of media (eg, 1000baseTX vs 1000baseSX) because they're both the same speed and that's what matters when configuring the chip and the clocks etc. this is a step toward being able to use a fixed-link node in the device tree instead of a phy, as is found on the banana pi bpi-r2 pro on the gmac connected to a switch chip. |
date | 2023-04-22T06:36:35Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/ic/dwqe.c | log | diff | annotate |
message |
reduce the delays used in the mii/mdio bus ops this produces a significant speed up. say you're reading 40ish mib counters off a port on switch chip, where each counter read relies on multiple mdio operations. it took well over a second to read the counters off a port in my my initial version. after optimising the switch reads i got that down to a bit under a second. after this change in dwqe i can read counters off 5 ports in about 0.03 seconds. ok patrick@ |
date | 2023-04-22T18:26:17Z | |||
---|---|---|---|---|
author | guenther | |||
files | src/sys/arch/amd64/amd64/db_disasm.c | log | diff | annotate |
message |
Teach the disassembler about xrstors, xsavec, and xsaves ok mlarkin@ |
date | 2023-04-22T18:27:28Z | |||
---|---|---|---|---|
author | guenther | |||
files | src/sys/arch/amd64/amd64/cpu.c | log | diff | annotate |
src/sys/arch/amd64/amd64/identcpu.c | log | diff | annotate | |
src/sys/arch/amd64/amd64/mds.S | log | diff | annotate | |
src/sys/arch/amd64/amd64/Attic/vmm.c | log | diff | annotate | |
src/sys/arch/amd64/include/specialreg.h | log | diff | annotate | |
message |
Rename the XCR0_* #defines to XFEATURE_* and add the new supervisor-state features: while all are appropriate for xsaves/xrstors, the supervisor-state features aren't for xcr0 but rather for the new XSS_MSR, making the current names kinda confusing. Add #defines for masking bits for xcr0 vs XSS. Add and report the new XSAVE_XFD xsave subfeature bit. ok mlarkin@ |
date | 2023-04-22T20:51:56Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/pfkeyv2.c | log | diff | annotate |
src/sys/netinet/ip_spd.c | log | diff | annotate | |
message |
Call pfkeyv2_sysctl_policydumper() with shared netlock. It performs read-olny access to netlock protected data, so the radix tree will not be modified during spd_table_walk() run. Also change netlock assertion within spd_table_add() and ipsec_delete_policy() to exclusive. These are correlating functions which modifies radix tree, so make us sure spd_table_walk() run with shared netlock is safe. Feedback and ok by bluhm@ |
date | 2023-04-22T23:51:27Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_clockintr.c | log | diff | annotate |
message |
clockintr, ddb(4): label non-pending clock interrupts "idle" "idle" is more obvious than "est" and requires no knowledge of the implementation. |
date | 2023-04-23T00:01:40Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_clockintr.c | log | diff | annotate |
message |
clockintr_advance: don't use cached uptime when called outside of dispatch When clockintr_advance() is eventually used by outside callers, there will be no way to know how fresh cq_uptime is. If we're not running in the dispatch loop, we need to call nsecuptime(9) to get a high-res uptime before advancing a clockintr. |
date | 2023-04-23T00:08:36Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_clockintr.c | log | diff | annotate |
message |
clockintr_cpu_init: don't update cached uptime clockintr_advance() now calls nsecuptime(9) when called outside clockintr_dispatch(). There is no need for clockintr_cpu_init() to update the queue's cached uptime (cq->cq_uptime) to ensure it is fresh. |
date | 2023-04-23T00:20:26Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/conf/files | log | diff | annotate |
src/sys/dev/acpi/files.acpi | log | diff | annotate | |
src/sys/dev/acpi/iosf_acpi.c | log | diff | annotate | |
src/sys/dev/ic/iosf.c | log | diff | annotate | |
src/sys/dev/ic/iosfvar.h | log | diff | annotate | |
src/sys/dev/pci/files.pci | log | diff | annotate | |
src/sys/dev/pci/iosf_pci.c | log | diff | annotate | |
message |
add iosf(4), a driver for the Intel OnChip System Fabric The OnChip System Fabric is mostly an implementation detail on a bunch of Intel SoC platforms we usually don't care about, except on some of these machines there are devices shared between the kernel and the platform that need to coordinate. The iosf(4) driver allows the kernel to talk via a mailbox interface to take and release a semaphore that the hardware also uses to lock around accesses to some components. There are two ways to talk to the mailbox interface, one via mmio ops on an INT33BD acpi device. The other is via magic pci conf space operations on the pci host device. This provides a generic iosf driver with attachment glue for both acpi and pci so either can be used. According to linux, the pci ops are a lot more reliable and less buggy, so if both acpi and pci are available we will prefer the pci ops after they attach. I found this because I got a Dell Wyse 3040, which is a cherry trail/braswell system that has an acpitz(4) which talks to a tipmic(4) device attached to dwiic(4) on acpi. This box almost always locked up by the time it got to showing the console login prompt, and it turns out one of the reasons for this is because acpitz was touching the tipmic device at the same time the powerunit on the platform was also trying to use it. The tipmic device lists the iosf mailbox as a dependency, and the dwiic controller has a _SEM property, both of which indicate we should use an iosf device to coordinate iic ops when talking to the tipmic. This adds the code, but doesn't wire it into dwiic or the build yet. help from patrick@ jsg@ kettenis@ ok kettenis@ patrick@ |
date | 2023-04-23T00:33:02Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/acpi/dwiic_acpi.c | log | diff | annotate |
message |
add support for coordinating i2c bus access with iosf(4) if the acpi node has a _SEM property, add wrappers around the i2c bus acquire and release handlers to try and call the iosf provided hardware semaphore ops. this means bus accesses can be coordinate with other parts of the platform such as the punit. this stops my Dell Wyse 3040 from locking up. ok kettenis@ patrick@ |
date | 2023-04-23T00:49:04Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/pci/drm/include/asm/iosf_mbi.h | log | diff | annotate |
message | iosf(4) implements functionality that was stubbed out in drm |
date | 2023-04-23T00:50:29Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/arch/amd64/conf/GENERIC | log | diff | annotate |
message |
enable iosf(4) this should help some braswell and bay trail machines. it definitely helps my dell wyse 3040 avoid locking up. ok kettenis@ patrick@ |
date | 2023-04-23T06:22:15Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/ic/dwqe.c | log | diff | annotate |
src/sys/dev/ic/dwqevar.h | log | diff | annotate | |
message | rename sc_tick to sc_phy_tick. no functional change. |
date | 2023-04-23T10:29:35Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/pv/viogpu.c | log | diff | annotate |
message |
Stop setting ri->ri_bs to prevent a panic caused by rasops accessing its uninitialized content. When we rasops_init() with RI_VCONS, a new screen is allocated. If ri->ri_bs is set, this will be copied. Otherwise a new one will be allocated and filled with ASCII spaces. Copying the ri->ri_bs is useful in case we have an early console which contents we want to keep. As we do not have an early console here, there's no point in setting it at the moment. With this my Hetzner arm64 VM doesn't panic anymore. ok jcs@ kettenis@ |
date | 2023-04-23T22:48:03Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
Prepare for adding Atlantic 2 support by renaming functions and defines specific to Atlantic 1, shuffling some of the setup code, and adding get_mac_addr to the firmware ops struct. ok dlg@ |
date | 2023-04-23T22:57:23Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
Adjust some printfs in the attach code path to make more sense, and include the mac address of the interface on the attach line. ok dlg@ |
date | 2023-04-24T01:33:32Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/dev/fdt/if_dwqe_fdt.c | log | diff | annotate |
src/sys/dev/ic/dwqe.c | log | diff | annotate | |
src/sys/dev/ic/dwqevar.h | log | diff | annotate | |
message |
handle fixed-link configuration in the device tree. if fixed-link is present, populate the interface baudrate and link status (full duplex or half duplex), and then call the statch handler to apply that config to the MAC. if fixed-link is specified then do not attach a phy. note that phy lookup and reset still occurs in case the device tree still uses the deprecated snps,reset-gpio properties. the fixed link port on the bpi r2 pro is connected to a switch chip (which is not really a phy) that needs needs a reset provided by the snps,reset-gpio handling. an improved device tree would have the reset properties on the switch node so it could do its own reset, but we can't have nice things can we? tested on a nanopi r5s, which has a phy but no fixed-link config, and a banana pi bpi-r2 pro, which has both (cos it has two dwqes, one with a phy and one without). |
date | 2023-04-24T09:04:03Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/amd64/acpi_machdep.c | log | diff | annotate |
src/sys/arch/amd64/amd64/cpu.c | log | diff | annotate | |
src/sys/arch/amd64/amd64/hibernate_machdep.c | log | diff | annotate | |
message |
Toggle IBT off during amd64 hibernate before dropping to real mode. Hibernate on IBT-capable MP systems broke when trying to quiesce cpus. Instead of finding the locations of endbr64 in the asm indirect jumps in acpi_wakecode.S, simply disable CR4.CET beforehand and re-enable on resume. This will also disable shadowstack, but there are no plans to use it. "this approach is fine" deraadt@ |
date | 2023-04-24T09:18:55Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
Add initial support for Atlantic 2 hardware. Atlantic 2 has much more complicated rx processing, and here we're doing the bare minimum to get packets moving. RSS is not implemented yet, vlans and multicast (among others) probably don't work yet either. tested by kettenis@ on an M2 Mac Mini, and by me on an AQC113 card provided by Brad ok dlg@ |
date | 2023-04-24T09:20:09Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
message |
Don't check `so_sp' within sofree(). The following isspliced() and issplicedback() already have this check. ok bluhm@ |
date | 2023-04-24T10:22:06Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/kern/kern_exec.c | log | diff | annotate |
message |
Abuse the wxallowed flag to decide whether we should enforce branch target or not. The idea is that since /usr/local has wxallowed by default this will enable enforcement for base while leaving ports alone for now. This will help us transition to a state where ports are properly marked and allow us to establish that base is really clean. Also add an exception for chrome. Chrome already appears to be clean on arm64 and this exception can be easily modified for testing other ports. This will screw over people that deliberately disable wxallowed on /usr/local or who don't have a separate partition for /usr/local. We think that is an acceptable compromise for the next months. ok robert@, deraadt@ (who came up with the idea) |
date | 2023-04-24T10:22:48Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/machdep.c | log | diff | annotate |
message |
Enable branch target control flow enforcement on arm64. ok robert@, deraadt@ |
date | 2023-04-24T12:11:56Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/netinet/in.c | log | diff | annotate |
message |
Hoist privilege checks further in6.c already has the privilege check as early as possible, make in.c match. For unprivileged IPv4 ioctl calls with invalid args, this changes errno from E* to EPERM. OK bluhm |
date | 2023-04-24T14:34:13Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/qcpon.c | log | diff | annotate |
message |
Update qcpon(4) compatibles to match on qcom,pmk8350-pon, which is the updated binding in Linux 6.3 device trees. While there, remove retrieving the register address, as the new binding has an additional register with doesn't work with a single OF_getpropint(), and since we're not using it we don't need to keep it around. |
date | 2023-04-24T15:15:00Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/dwpcie.c | log | diff | annotate |
message |
Enable MSI if the node contains an msi-map, like we already do in pciecam(4). This will make MSIs work on the Lenovo x13s as soon as an updated device tree is installed. Discussed with kettenis@ |
date | 2023-04-24T16:46:43Z | |||
---|---|---|---|---|
author | beck | |||
files | src/sys/kern/vfs_bio.c | log | diff | annotate |
message |
Remove recursive spl grabbing in vfs_bio.c in preparation for improvements. ok claudio@ |
date | 2023-04-24T16:53:57Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/amd64/Attic/vmm.c | log | diff | annotate |
src/sys/arch/amd64/amd64/vmm_machdep.c | log | diff | annotate | |
message |
vmm(4): allow guests to enable and use supervisor IBT. Why should hosts have all the fun? Conditionally unmask the cpuid bits for IBT and allow r/w access to the supervisor CET msr. Will need revisiting when we introduce usage of userland CET msr. ok marlkin@ |
date | 2023-04-25T00:58:47Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/kern_clock.c | log | diff | annotate |
src/sys/kern/subr_prof.c | log | diff | annotate | |
src/sys/sys/resourcevar.h | log | diff | annotate | |
message |
addupc_intr: support adding multiple profiling ticks at once Add a third parameter to addupc_intr(), "u_long nticks". This will allow us to credit more than one profiling tick to the thread at once. Should be useful in the unusual case where the clock interrupt is masked for an extended period. |
date | 2023-04-25T01:32:36Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/kern/subr_prof.c | log | diff | annotate |
message |
prof_state_toggle: keep a count of CPUs with profiling enabled On MULTIPROCESSOR systems, the following sequence of kgmon(8) invocations leaves the statclock() frequency at stathz when there is still a CPU on the system where the gmon state is GMON_PROF_ON: # kgmon -c 0 -b # kgmon -c 1 -b # kgmon -c 0 -h The problem is that we aren't counting CPUs with profiling enabled. Add "gmon_cpu_count" to keep a count. Call startprofclock() for the first CPU to enable profiling and stopprofclock() for the last CPU to disable profiling. |
date | 2023-04-25T08:27:59Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message |
add Kingston KC3000 from Paul de Weerd and Samsung PM9B1 as found in sthen's t14 gen 3 intel |
date | 2023-04-25T08:28:27Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-04-25T10:06:12Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/arch/amd64/stand/boot/conf.c | log | diff | annotate |
src/sys/arch/amd64/stand/cdboot/conf.c | log | diff | annotate | |
src/sys/arch/amd64/stand/libsa/biosdev.c | log | diff | annotate | |
src/sys/arch/amd64/stand/pxeboot/conf.c | log | diff | annotate | |
message |
Do not attempt to write to read-only softraid Bootloaders have no write support for softraid volumes, which manifests in, e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent sysupgrade loops in case of upgrade failure. Set a no-write flag handled by libsa to bail out early in write calls. There should be no real behaviour change, writes just fail earlier now. amd64 BIOS bits first, rest to come. Crank minor. "seems sensible" jsing |
date | 2023-04-25T10:11:20Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/arch/amd64/stand/efiboot/conf.c | log | diff | annotate |
src/sys/arch/amd64/stand/efiboot/efidev.c | log | diff | annotate | |
message |
Do not attempt to write to read-only softraid Bootloaders have no write support for softraid volumes, which manifests in, e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent sysupgrade loops in case of upgrade failure. Set a no-write flag handled by libsa to bail out early in write calls. There should be no real behaviour change, writes just fail earlier now. amd64 EFI bits, other architectues to come. Crank minor. "seems sensible" jsing |
date | 2023-04-25T10:35:48Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/arch/arm64/dev/agintc.c | log | diff | annotate |
message |
Invalidate ITS caches during suspend/resume cycle to commit the changes to the LPIs. So far we have only flipped the enable bit in the shared memory, but it turns out that the state is actually cached in the ITS. We have to send an invalidation to flush it, both after disabling and enabling the LPI. We probably also should do it after establishing an interrupt, and especially when disestablishing, e.g. for PCIe hotplug. Since we do not currently store the device/event IDs we cannot do a targeted invalidation and have to fall back to sending one that clears the whole cache to each ITS. In the future we should keep some more state per established LPI. Furthermore we currently keep a list of LPIs in each ITS instance, which means in case we have multiple ITS we will re-use LPI numbers. But since there's no relevant HW so far that has those, there's no rish to fix that. This fixes suspend/resume on x13s with NVMe+MSI. ok kettenis@ |
date | 2023-04-25T11:12:38Z | |||
---|---|---|---|---|
author | tobhe | |||
files | src/sys/dev/fdt/pwmleds.c | log | diff | annotate |
message |
Disable keyboard backlight on Apple Silicon laptops on suspend, restore on wakeup. ok patrick@ kettenis@ |
date | 2023-04-25T11:21:01Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/pwmbl.c | log | diff | annotate |
message |
Add suspend/resume support to pwmbl(4), so that when suspending the x13s the display turns off and it actually looks like it's properly suspended. ok kettenis@ tobhe@ |
date | 2023-04-25T11:36:55Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/dwpcie.c | log | diff | annotate |
message |
Enable power management for PCI devices. ok kettenis@ |
date | 2023-04-25T12:13:15Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/arch/octeon/stand/boot/Makefile | log | diff | annotate |
src/sys/arch/powerpc64/stand/boot/Makefile | log | diff | annotate | |
message |
Create & use variables MRDISKTYPE and MRMAKEFSARGS like all the other build makefiles. Fixes & ok kn@ No intentional functional change. |
date | 2023-04-25T12:36:30Z | |||
---|---|---|---|---|
author | mpi | |||
files | src/sys/uvm/uvm_map.c | log | diff | annotate |
src/sys/uvm/uvm_map.h | log | diff | annotate | |
message |
Do not grab the `vmmaplk' recursively, prevent a self-deadlock. Change the semantic of vm_map_busy() to be able to completely unlock the `vmmaplk' instead of downgrading it to a read lock in mlock(2). This is necessary because uvm_fault_wire() tries to re-grab the same lock. We now keep track of the thread currently holding the vmmap busy to ensure it can relock & unbusy the vmmap. The new pattern becomes: ....vm_map_lock(map); ....vm_map_busy(map); /* prevent other threads to grab an exclusive lock */ ....vm_map_unlock(map); .... ..../* .... * Do some stuff generally requiring a tsleep(9). .... */ .... ....vm_map_lock(map); ....vm_map_unbusy(map); /* allow other threads to make progress after unlock */ ....vm_map_unlock(map); Fix adapted from NetBSD's r1.249 of uvm/uvm_map.c. Issue reported by Jacqueline Jolicoeur exposed by a "wallet refresh" of the Monero App. Panic hand-copied below: sleep_finish() rw_enter() uvmfault_lookup() uvm_fault_check() uvm_fault() uvm_fault_wire() uvm_map_pageable_wire() sys_mlock() ok kettenis@ |
date | 2023-04-25T12:46:13Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate |
message |
vmm(4)/vmd(8): pull struct members out of vmm ioctl create struct. The object sent to vmm(4) contained file paths and details the kernel does not need for cpu virtualization as device emulation is in userland. Effectively, "pull up" the struct members from the vm_create_params struct to the parent vmop_create_params struct. This allows us to clean up some of vmd(8) and simplify things for switching to having vmctl(8) open the "kernel" file (SeaBIOS, bsd.rd, etc.) to allow users to boot recovery ramdisk kernels. ok mlarkin@ |
date | 2023-04-25T14:00:35Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/arch/sparc64/stand/ofwboot/ofdev.c | log | diff | annotate |
src/sys/arch/sparc64/stand/ofwboot/vers.c | log | diff | annotate | |
message |
Do not attempt to write to read-only softraid Bootloaders have no write support for softraid volumes, which manifests in, e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent sysupgrade loops in case of upgrade failure. Set a no-write flag handled by libsa to bail out early in write calls. There should be no real behaviour change, writes just fail earlier now. sparc64 ofwboot. Crank minor. Tested on T4-2 guest domain with root on softraid. |
date | 2023-04-25T14:04:47Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/arch/riscv64/conf/RAMDISK | log | diff | annotate |
message |
Enable softraid(4) in the ramdisk kernel aka. make disk crypto install work GENERIC, efiboot and installboot(8) all have softraid enabled, the manual already documents boot support for riscv64, "just" bsd.rd lacks it. (thought I had committed this months ago...) SiFive HiFive Unmatched A00. OK patrick |
date | 2023-04-25T14:48:16Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/arch/i386/stand/boot/conf.c | log | diff | annotate |
message |
Do not attempt to write to read-only softraid Bootloaders have no write support for softraid volumes, which manifests in, e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent sysupgrade loops in case of upgrade failure. Set a no-write flag handled by libsa to bail out early in write calls. There should be no real behaviour change, writes just fail earlier now. i386 BIOS. Crank minor. Tested inside amd64 vmm. |
date | 2023-04-25T14:48:17Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/arch/i386/stand/cdboot/conf.c | log | diff | annotate |
src/sys/arch/i386/stand/libsa/biosdev.c | log | diff | annotate | |
src/sys/arch/i386/stand/pxeboot/conf.c | log | diff | annotate | |
message |
Do not attempt to write to read-only softraid Bootloaders have no write support for softraid volumes, which manifests in, e.g. /bsd.upgrade not being stripped of its 'x' permission bit to prevent sysupgrade loops in case of upgrade failure. Set a no-write flag handled by libsa to bail out early in write calls. There should be no real behaviour change, writes just fail earlier now. i386 BIOS. Crank minor. Tested inside amd64 vmm. |
date | 2023-04-25T15:41:17Z | |||
---|---|---|---|---|
author | phessler | |||
files | src/sys/netinet6/nd6_nbr.c | log | diff | annotate |
message |
When configuring a new address on an interface, an upstream router doesn't know where to send traffic. This will send an unsolicited neighbor advertisement, as described in RFC9131, to the all-routers multicast address so all routers on the same link will learn the path back to the address. This is intended to speed up the first return packet on an IPv6 interface. OK florian@ |
date | 2023-04-25T16:24:25Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/if_ether.c | log | diff | annotate |
message |
Exclusive net lock or mutex arp_mtx protect the llinfo_arp fields. So kernel lock is only needed for changing the route rt_flags. In arpresolve() protect rt_llinfo lookup and llinfo_arp modification with arp_mtx. Grab kernel lock for rt_flags reject modification only when needed. Tested by Hrvoje Popovski; OK patrick@ kn@ |
date | 2023-04-25T16:59:57Z | |||
---|---|---|---|---|
author | tb | |||
files | src/sys/lib/libz/adler32.c | log | diff | annotate |
src/sys/lib/libz/compress.c | log | diff | annotate | |
src/sys/lib/libz/crc32.c | log | diff | annotate | |
src/sys/lib/libz/deflate.c | log | diff | annotate | |
src/sys/lib/libz/deflate.h | log | diff | annotate | |
src/sys/lib/libz/infback.c | log | diff | annotate | |
src/sys/lib/libz/inffast.c | log | diff | annotate | |
src/sys/lib/libz/inffast.h | log | diff | annotate | |
src/sys/lib/libz/inflate.c | log | diff | annotate | |
src/sys/lib/libz/inftrees.c | log | diff | annotate | |
src/sys/lib/libz/inftrees.h | log | diff | annotate | |
src/sys/lib/libz/trees.c | log | diff | annotate | |
src/sys/lib/libz/zconf.h | log | diff | annotate | |
src/sys/lib/libz/zlib.h | log | diff | annotate | |
src/sys/lib/libz/zutil.c | log | diff | annotate | |
src/sys/lib/libz/zutil.h | log | diff | annotate | |
message | zlib: sync with src |
date | 2023-04-25T18:14:06Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/kern/kern_exit.c | log | diff | annotate |
src/sys/kern/kern_fork.c | log | diff | annotate | |
src/sys/sys/proc.h | log | diff | annotate | |
message |
Rename ps_refcnt to ps_threadcnt in struct process and implement P_HASSIBLING() using this count. OK mvs@ mpi@ |
date | 2023-04-25T21:57:29Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/pcidevs | log | diff | annotate |
message | Add RK3588. |
date | 2023-04-25T21:58:36Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/pcidevs.h | log | diff | annotate |
src/sys/dev/pci/pcidevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-04-25T22:56:28Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/tcp_output.c | log | diff | annotate |
message | Fix white space. |
date | 2023-04-26T00:14:21Z | |||
---|---|---|---|---|
author | jan | |||
files | src/sys/net/if.c | log | diff | annotate |
src/sys/net/if_vlan.c | log | diff | annotate | |
src/sys/net/if_vlan_var.h | log | diff | annotate | |
message |
Also set TSO flag on vlan interfaces. with tweaks from bluhm, claudio and dlg I fine with it from claudio looks good to me from dlg ok bluhm |
date | 2023-04-26T06:52:45Z | |||
---|---|---|---|---|
author | gnezdo | |||
files | src/sys/sys/syslog.h | log | diff | annotate |
message |
Declare sendsyslog to match its man page This simplifies syzkaller revival after the removal of __syscall. OK bluhm, millert, deraadt |
date | 2023-04-26T08:38:51Z | |||
---|---|---|---|---|
author | bentley | |||
files | src/sys/dev/usb/uts.c | log | diff | annotate |
message | Fix typo in comment: default scalue values -> default scale values |
date | 2023-04-26T09:19:47Z | |||
---|---|---|---|---|
author | bentley | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c | log | diff | annotate |
message |
Rotate the console in amdgpu when there is an orientation quirk. ok jsg@ |
date | 2023-04-26T09:39:56Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/amd64/Attic/vmm.c | log | diff | annotate |
src/sys/arch/amd64/amd64/vmm_machdep.c | log | diff | annotate | |
message |
Unbreak vmm on Intel. Mistakenly enabled CET on non-CET systems. Found by anton@ & jsg@ |
date | 2023-04-26T09:53:55Z | |||
---|---|---|---|---|
author | beck | |||
files | src/sys/nfs/nfs_vnops.c | log | diff | annotate |
message |
Fix missing splbio() needed in nfs ok claudio@ kettenis@ |
date | 2023-04-26T10:00:37Z | |||
---|---|---|---|---|
author | beck | |||
files | src/sys/nfs/nfs_vnops.c | log | diff | annotate |
message |
Don't redeclare s, it's already there. noticed by miod@ ok kettenis@ |
date | 2023-04-26T10:52:55Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/lapic.c | log | diff | annotate |
message | whitespace fix |
date | 2023-04-26T12:25:12Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/uvm/uvm_map.c | log | diff | annotate |
src/sys/uvm/uvm_map.h | log | diff | annotate | |
message |
Backout previous commit: Do not grab the `vmmaplk' recursively, prevent a self-deadlock. It causes panic: uvm_map_pageable_wire: stale map Found by regress/misc/posixtestsuite conformance/interfaces/mmap/18-1 requested by deraadt@ |
date | 2023-04-26T12:30:24Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/trap.c | log | diff | annotate |
message |
Properly handle userland branch target traps. ok deraadt@, patrick@ |
date | 2023-04-26T14:39:42Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/ofw/fdt.c | log | diff | annotate |
message | Fix my email address. |
date | 2023-04-26T15:11:21Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/vmm_machdep.c | log | diff | annotate |
src/sys/arch/amd64/conf/files.amd64 | log | diff | annotate | |
src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate | |
src/sys/dev/vmm/vmm.c | log | diff | annotate | |
src/sys/dev/vmm/vmm.h | log | diff | annotate | |
message |
Refactor MD/MI parts of vmm. ok dv, deraadt |
date | 2023-04-26T15:13:52Z | |||
---|---|---|---|---|
author | beck | |||
files | src/sys/kern/vfs_bio.c | log | diff | annotate |
message |
Fix splassert noticed by sthen Called wrong incore when not holding bio. ok claudio@ |
date | 2023-04-26T15:13:59Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/Attic/vmm.c | log | diff | annotate |
message | vmm.c -> vmm_machdep.c (remove old file) |
date | 2023-04-26T15:34:31Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/vmm_machdep.c | log | diff | annotate |
message |
Integrate r1.339 of vmm.c which I missed during the previous MI/MD split --- revision 1.339 date: 2023/04/22 18:27:28; author: guenther; state: Exp; lines: +3 -3; commitid: ajtkYPSAhtJdB488; Rename the XCR0_* #defines to XFEATURE_* and add the new supervisor-state features: while all are appropriate for xsaves/xrstors, the supervisor-state features aren't for xcr0 but rather for the new XSS_MSR, making the current names kinda confusing. Add #defines for masking bits for xcr0 vs XSS. Add and report the new XSAVE_XFD xsave subfeature bit. --- |
date | 2023-04-26T15:40:33Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/route.c | log | diff | annotate |
message | typofix rttimer comment |
date | 2023-04-26T15:40:51Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/amd64/vmm_machdep.c | log | diff | annotate |
message |
Incorporate r1.140 and r1.141 of vmm.c: |
date | 2023-04-26T16:09:44Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/route.c | log | diff | annotate |
message |
Remove +20y old rt_timer_init() comment Obsolete since last year's r1.411 "Rework the rttimer code." OK claudio |
date | 2023-04-26T16:13:19Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/dev/vmm/vmm.h | log | diff | annotate |
message | Reodrer some things to fix vmctl/vmd builds after the vmm MI/MD split |
date | 2023-04-26T16:53:58Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/arch/amd64/amd64/db_trace.c | log | diff | annotate |
src/sys/arch/arm64/arm64/db_trace.c | log | diff | annotate | |
src/sys/arch/hppa/hppa/db_interface.c | log | diff | annotate | |
src/sys/arch/i386/i386/db_trace.c | log | diff | annotate | |
message |
Implement dt(4) utrace support on amd64 and i386. This adds stacktrace_save_utrace() to extract and save the userland stack which is stubbed out on most archs. alpha and riscv64 do not even implement dt(4) and stacktrace_save_at() so the stubs are excluded there. Additionally add a new ioctl DTIOCGETAUXBASE which allows btrace to fetch the AUX_BASE vallue from the AUX vector of a process. OK mpi@ (some time ago) discussed with kettenis@ |
date | 2023-04-26T16:53:59Z | |||
---|---|---|---|---|
author | claudio | |||
files | src/sys/arch/mips64/mips64/trap.c | log | diff | annotate |
src/sys/arch/powerpc/ddb/db_trace.c | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/db_trace.c | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/db_trace.c | log | diff | annotate | |
src/sys/dev/dt/dt_dev.c | log | diff | annotate | |
src/sys/dev/dt/dt_prov_profile.c | log | diff | annotate | |
src/sys/dev/dt/dtvar.h | log | diff | annotate | |
src/sys/sys/stacktrace.h | log | diff | annotate | |
message |
Implement dt(4) utrace support on amd64 and i386. This adds stacktrace_save_utrace() to extract and save the userland stack which is stubbed out on most archs. alpha and riscv64 do not even implement dt(4) and stacktrace_save_at() so the stubs are excluded there. Additionally add a new ioctl DTIOCGETAUXBASE which allows btrace to fetch the AUX_BASE vallue from the AUX vector of a process. OK mpi@ (some time ago) discussed with kettenis@ |
date | 2023-04-26T19:54:35Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/if.c | log | diff | annotate |
src/sys/net/pf_ioctl.c | log | diff | annotate | |
src/sys/net/route.c | log | diff | annotate | |
src/sys/net/route.h | log | diff | annotate | |
message |
Introduce `rtlabel_mtx' mutex(9) to protect route labels storage. This time kernel and net locks are held in various combination to protect it. We don't want to put kernel lock to all the places. Netlock also can't be used because rtfree(9) which calls rtlabel_unref() has unknown netlock state within. This new `rtlabel_mtx' mutex(9) protects `rt_labels' list and `label' entry dereference. Since we don't export 'rt_label' structure, keep this lock private to net/route.c. For this reason rtlabel_id2name() now copies label string to externally passed buffer instead of returning address of `rt_labels' list data. This is the way which rtlabel_id2sa() already works. ok bluhm@ |
date | 2023-04-26T21:37:46Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/ofw/ofw_misc.c | log | diff | annotate |
message |
Fix phy_enable_prop_idx() to retrieve the property length with the passed property name instead of "phys". ok dlg@ |
date | 2023-04-27T02:32:24Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/drm_buddy.c | log | diff | annotate |
message |
drm: buddy_allocator: Fix buddy allocator init on 32-bit systems From David Gow fb766acce3cf1c9637a79c1ffb3cebc61fd9d859 in linux-6.1.y/6.1.26 4453545b5b4c3eff941f69a5530f916d899db025 in mainline linux |
date | 2023-04-27T02:34:32Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/i915/display/intel_dp_aux.c | log | diff | annotate |
message |
drm/i915: Fix fast wake AUX sync len From Ville Syrjala 66eb772be27e228716bb81feee0400d995cbe605 in linux-6.1.y/6.1.26 e1c71f8f918047ce822dc19b42ab1261ed259fd1 in mainline linux |
date | 2023-04-27T02:36:57Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c | log | diff | annotate |
src/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | log | diff | annotate | |
message |
drm/amdgpu: Fix desktop freezed after gpu-reset From Alan Liu bef774effb278ff0b65ea2dbaa1ab32ba6a1dc13 in linux-6.1.y/6.1.26 c8b5a95b570949536a2b75cd8fc4f1de0bc60629 in mainline linux |
date | 2023-04-27T02:39:04Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/dev/pci/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | log | diff | annotate |
message |
drm/amd/display: set dcn315 lb bpp to 48 From Dmytro Laktyushkin 4ac57c3fe2c0a74c6239170fc58fc824637c6015 in linux-6.1.y/6.1.26 6d9240c46f7419aa3210353b5f52cc63da5a6440 in mainline linux |
date | 2023-04-27T03:19:45Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/dev/ic/r92creg.h | log | diff | annotate |
src/sys/dev/ic/rtwn.c | log | diff | annotate | |
src/sys/dev/usb/if_urtwn.c | log | diff | annotate | |
message | Whitespace fix |
date | 2023-04-27T03:28:34Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/dev/ic/rtwn.c | log | diff | annotate |
message |
Fix logic error in rtwn_r92e_get_txpower(). The RTL8192EU is up to two stream TX/RX (so MCS0->15). ok stsp@ |
date | 2023-04-27T08:33:59Z | |||
---|---|---|---|---|
author | gerhard | |||
files | src/sys/dev/usb/if_cdce.c | log | diff | annotate |
src/sys/dev/usb/if_cdcereg.h | log | diff | annotate | |
message |
The ASIX AX88179A chipset does not work properly with the axen(4) driver. For now switch it to cdce(4) until native support is provided by axen(4). ok bentley@ stsp@ |
date | 2023-04-27T08:55:59Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/rkclock.c | log | diff | annotate |
src/sys/dev/fdt/rkclock_clocks.h | log | diff | annotate | |
message |
Add some RK3588 PCIe related clocks. Also add some RK3588 resets. Whoever reviewed the bindings on Linux gave the brilliant advice that clock IDs and reset IDs should not in any way have a sane mapping to the hardware registers, even though that is the case on all older Rockchip SoCs and greatly simplifies the driver. So now we need to implement pointless lookup code. ok patrick@, dlg@ |
date | 2023-04-27T08:56:39Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/rkcomphy.c | log | diff | annotate |
message |
Add RK3588 support. ok patrick@, dlg@ |
date | 2023-04-27T09:00:03Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/dwpcie.c | log | diff | annotate |
message |
Fix config space access for the root bus of a dwpcie(4) controller when the root bus number isn't zero. ok patrick@, dlg@ |
date | 2023-04-27T09:03:06Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/fdt/dwpcie.c | log | diff | annotate |
message |
Add support for (one of) the PCIe controllers on the RK3588 SoC. Since MSIs don't work (yet) on this SoC, implement support for legacy interrupts for the Rockchip SoCs. Also drop the restrictions on the bus number range as the device tree I'm using has bus numbers start at 64 for the controller in question. ok patrick@, dlg@` |
date | 2023-04-27T11:11:04Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/route.c | log | diff | annotate |
message |
Add `rttimer_mtx' to the locking description. No functional changes. |
date | 2023-04-27T12:10:30Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/pf_ioctl.c | log | diff | annotate |
message |
Remove net lock from DIOCGETTIMEOUT 'pfctl -s timeouts' values are only used inside of pf, entirely protected by the pf lock through the ioctl interface; the net lock is useless. Previous attempts to remove net lock usage showed that the pf lock cannot yet entirely replace it, so start with small pieces like this one. Contrary to IPv4/6 read-only ioctls, some pf ioctls without FWRITE flag do modify internal pf state, which is not entirely obvious when approached from the ioctl layer. OK sashan dlg |
date | 2023-04-27T13:52:58Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/dev/pv/vioscsi.c | log | diff | annotate |
message |
Temporarily workaround double calls into vioscsi_req_done() causing NULL de-reference. Reported, initial patch and tests by Antun Matanovic. Thanks! ok miod@ |
date | 2023-04-27T14:41:09Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/route.c | log | diff | annotate |
message |
Remove kernel lock from rtfree(9). Route timers and route labels protected by corresponding mutexes. `ifa' uses references counting for protection. rt_mpls_clear() could be called lockless because this is the last reference of `rt'. ok bluhm@ kn@ |
date | 2023-04-27T15:06:35Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/stand/efi32/Attic/Makefile | log | diff | annotate |
src/sys/arch/amd64/stand/efi32/Attic/Makefile.common | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/Makefile.inc | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/cmd_i386.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/conf.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/dev_i386.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/diskprobe.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efiboot.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efiboot.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/eficall.S | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/eficall.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efidev.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efidev.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efipxe.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efipxe.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/efirng.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/exec_i386.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/heap.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/ldscript.i386 | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/machdep.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/memprobe.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/run_i386.S | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/run_i386.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/self_reloc.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/Attic/start_i386.S | log | diff | annotate | |
src/sys/arch/amd64/stand/efi32/bootia32/Attic/Makefile | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/Makefile | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/Makefile.common | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/Makefile.inc | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/cmd_i386.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/conf.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/dev_i386.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/diskprobe.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efiboot.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efiboot.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/eficall.S | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/eficall.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efidev.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efidev.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efipxe.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efipxe.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/efirng.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/exec_i386.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/heap.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/ldscript.amd64 | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/machdep.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/memprobe.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/run_i386.S | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/run_i386.h | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/self_reloc.c | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/Attic/start_amd64.S | log | diff | annotate | |
src/sys/arch/amd64/stand/efi64/bootx64/Attic/Makefile | log | diff | annotate | |
message |
Remove efi32 and efi64. These are leftovers from a project that didn't go very far and the presence of these directories just confuse people and make them do more work than necessary. ok patrick@, kn@, mlarkin@ |
date | 2023-04-27T18:21:44Z | |||
---|---|---|---|---|
author | robert | |||
files | src/sys/scsi/st.c | log | diff | annotate |
message |
add support for I/O statistics so that tape speeds can be observed with iostat(8) |
date | 2023-04-27T19:06:57Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/dev/acpi/acpithinkpad.c | log | diff | annotate |
message |
Mark the fan speed sensor as invalid when it reports -1 RPM. This happens for a short while after suspend. ok deraadt@ kn@ |
date | 2023-04-27T23:16:18Z | |||
---|---|---|---|---|
author | gnezdo | |||
files | src/sys/sys/syslog.h | log | diff | annotate |
message |
Use __size_t which is available in syslog.h Directly including sys/syslog.h would fail due to size_t being unknown. OK millert, miod |
date | 2023-04-28T01:24:14Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/dev/ic/r92creg.h | log | diff | annotate |
src/sys/dev/ic/rtwn.c | log | diff | annotate | |
src/sys/dev/ic/rtwnvar.h | log | diff | annotate | |
src/sys/dev/microcode/urtwn/Makefile | log | diff | annotate | |
src/sys/dev/microcode/urtwn/build.c | log | diff | annotate | |
src/sys/dev/microcode/urtwn/microcode.h | log | diff | annotate | |
src/sys/dev/usb/if_urtwn.c | log | diff | annotate | |
src/sys/dev/usb/usbdevs | log | diff | annotate | |
message |
Add support for RTL8188FTV chip to urtwn(4). Tested with Comfast CF-WU710N v4. "go ahead" deraadt@ OK stsp@ |
date | 2023-04-28T01:24:51Z | |||
---|---|---|---|---|
author | kevlo | |||
files | src/sys/dev/usb/usbdevs.h | log | diff | annotate |
src/sys/dev/usb/usbdevs_data.h | log | diff | annotate | |
message | regen |
date | 2023-04-28T05:13:37Z | |||
---|---|---|---|---|
author | phessler | |||
files | src/sys/arch/arm64/conf/GENERIC | log | diff | annotate |
src/sys/arch/arm64/conf/RAMDISK | log | diff | annotate | |
src/sys/dev/fdt/files.fdt | log | diff | annotate | |
src/sys/dev/fdt/qcrng.c | log | diff | annotate | |
message |
Add a driver for the Qualcomm rng device found on the Thinkpad X13s, based on kettenis's amlrng driver. suggestions and OK patrick@ |
date | 2023-04-28T08:45:26Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/arch/octeon/stand/boot/Makefile | log | diff | annotate |
src/sys/arch/powerpc64/stand/boot/Makefile | log | diff | annotate | |
message |
Retire -E's "expert" mode. Introduced 23 years ago to avoid confusing users with FFS attributes that only experts should fiddle with. Actual use has withered away with functionality rendered moot or moved elsewhere. '-e' remains for the truly obscure corner cases. Simply excise the code for now to see if hidden users/uses are exposed. Further simplifications are possible if no such users/uses surface. ok with sthen@ millert@ kn@ otto@ |
date | 2023-04-28T10:18:57Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/dev/pci/if_igc.c | log | diff | annotate |
src/sys/dev/pci/if_ix.c | log | diff | annotate | |
message |
Remove error handling around mallocarray(9). I cannot fail when called with M_WAITOK. OK kevlo@ |
date | 2023-04-28T10:18:58Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/dev/pci/if_oce.c | log | diff | annotate |
message |
Remove error handling around mallocarray(9). I cannot fail when called with M_WAITOK. OK kevlo@ |
date | 2023-04-28T10:19:07Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/qcscm.c | log | diff | annotate |
message |
Fix memory constraints in the inline-assembly stub that calls into secure mode. Without this change the compiler doesn't realize that the memory behind the array that contains the return values might have changed and optimizes the access away. With this change it properly access the array to retrieve the returned values. ok drahn@ |
date | 2023-04-28T10:19:35Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/pf_ioctl.c | log | diff | annotate |
message |
Remove net lock from DIOCGETQUEUES Both ticket and number of queues stem from the pf_queues_active list which is effectively static to pf_ioctl.c and fully protected by the pf lock. OK sashan |
date | 2023-04-28T12:53:42Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/kern/uipc_socket.c | log | diff | annotate |
message |
Add a membar_consumer() for the taskq_create() in sosplice(). Membar producer and consumer must come in pair and the latter was missing. Also move the code a bit to make clear which check is needed for what. OK mvs@ |
date | 2023-04-28T14:08:34Z | |||
---|---|---|---|---|
author | phessler | |||
files | src/sys/net/pf.c | log | diff | annotate |
message |
Relax the "pass all" rule so all forms of neighbor advertisements are allowed in either direction. This more closely matches the IPv4 ARP behaviour. From sashan@ discussed with kn@ deraadt@ |
date | 2023-04-28T14:08:38Z | |||
---|---|---|---|---|
author | sashan | |||
files | src/sys/net/pf_ioctl.c | log | diff | annotate |
src/sys/net/pf_ruleset.c | log | diff | annotate | |
src/sys/net/pfvar.h | log | diff | annotate | |
src/sys/net/pfvar_priv.h | log | diff | annotate | |
message |
This change speeds up DIOCGETRULE ioctl(2) which pfctl(8) uses to retrieve rules from kernel. The current implementation requires like O((n^2)/2) operation to read the complete rule set, because each DIOCGETRULE operation must iterate over previous n rules to find (n + 1)-th rule to read. To address the issue diff introduces a pf_trans structure to keep pointer to next rule to read, thus reading process does not need to iterate from beginning of rule set to reach the next rule. All transactions opened by process get closed either when process is done (reads all rules) or when /dev/pf device is closed. the diff also comes with lots of improvements from dlg@ and kn@ OK dlg@, kn@ |
date | 2023-04-28T14:09:06Z | |||
---|---|---|---|---|
author | phessler | |||
files | src/sys/netinet6/nd6_nbr.c | log | diff | annotate |
message |
Inbound portion of RFC9131. Routers can create new neighbor cache entries when receiving a valid Neighbor Advertisement. OK florian@ kn@ |
date | 2023-04-28T15:50:05Z | |||
---|---|---|---|---|
author | sashan | |||
files | src/sys/net/if_pfsync.c | log | diff | annotate |
message |
remove superfluous/invalid KASSERT() in pfsync_q_del(). pointed and OK bluhm@ |
date | 2023-04-28T18:27:55Z | |||
---|---|---|---|---|
author | cheloha | |||
files | src/sys/arch/sparc64/conf/GENERIC | log | diff | annotate |
src/sys/arch/sparc64/conf/RAMDISK | log | diff | annotate | |
src/sys/arch/sparc64/conf/RAMDISKU1 | log | diff | annotate | |
src/sys/arch/sparc64/conf/RAMDISKU5 | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/autoconf.c | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/clock.c | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/locore.s | log | diff | annotate | |
src/sys/arch/sparc64/sparc64/Attic/timerreg.h | log | diff | annotate | |
message |
timer(4/sparc64): remove driver The timer(4/sparc64) driver was effectively disabled during the previous release. Nobody has come forward asking for it to be adapted to work with the new clockintr framework, so it's time to remove the driver from the tree. As of today, if you want to run OpenBSD on SPARC v9 hardware, that hardware needs to sport either %tick and %tick_compare (%asr23), or %stick (%asr24) and %stick_compare (%asr25). All Sun/Oracle SPARC v9 hardware meets these conditions, from the UltraSPARC I onward. Most HAL/Fujitsu SPARC v9 hardware meets these conditions, from the SPARC64 III onward. The only HAL/Fujitsu hardware that might not have %tick_compare are the HAL SPARC64 I and SPARC64 II, for which I can find no documentation. However, those processors are currently unsupported by OpenBSD for other reasons, so their support status is unchanged by the removal of this driver. With help from miod@. Link: https://marc.info/?l=openbsd-tech&m=167898759928206&w=2 "after unlock" deraadt@, ok mlarkin@ miod@ |
date | 2023-04-28T18:33:22Z | |||
---|---|---|---|---|
author | robert | |||
files | src/sys/arch/amd64/include/vmparam.h | log | diff | annotate |
src/sys/arch/arm64/include/vmparam.h | log | diff | annotate | |
message |
bump MAXDSIZ to 128G on amd64 and 64G on arm64 discussed with kettenis@, ok deraadt@ |
date | 2023-04-28T20:03:13Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/dev/dt/dt_prov_static.c | log | diff | annotate |
message |
Add rtentry refcnt type to dt(4). ok bluhm@ |
date | 2023-04-28T20:03:14Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/route.c | log | diff | annotate |
src/sys/sys/refcnt.h | log | diff | annotate | |
message |
Add rtentry refcnt type to dt(4). ok bluhm@ |