created | 2022-11-12T00:48:30Z |
---|---|
begin | 2022-11-10T00:00:00Z |
end | 2022-11-11T00:00:00Z |
path | src/sys |
commits | 25 |
date | 2022-11-10T00:14:11Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
message | fix build after 1.298 |
date | 2022-11-10T02:47:52Z | |||
---|---|---|---|---|
author | asou | |||
files | src/sys/dev/pv/xenstore.c | log | diff | annotate |
message |
Return error number instead of call panic(). ok mpi@ |
date | 2022-11-10T07:05:41Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/kern/init_main.c | log | diff | annotate |
src/sys/kern/subr_evcount.c | log | diff | annotate | |
src/sys/sys/evcount.h | log | diff | annotate | |
message |
Add support for per-cpu event counters, to be used for clock and IPI counters where the event being counted occurs across all CPUs in the system. Counter instances can be made per-cpu by calling evcount_percpu() after the counter is attached, and this can occur before or after all system CPUs are attached. Per-cpu counter instances should be incremented using evcount_inc(). ok kettenis@ jca@ cheloha@ |
date | 2022-11-10T07:08:01Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/arch/sparc64/sparc64/clock.c | log | diff | annotate |
message |
Convert sparc64 clock event counter to per-cpu and increment using evcount_inc() rather than atomic operations. ok kettenis@ jca@ cheloha@ |
date | 2022-11-10T08:26:54Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/arch/amd64/amd64/ipi.c | log | diff | annotate |
src/sys/arch/amd64/amd64/lapic.c | log | diff | annotate | |
message |
Convert amd64 clock and ipi event counters to per-cpu ok kettenis@ jca@ cheloha@ |
date | 2022-11-10T10:37:40Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/kern/subr_suspend.c | log | diff | annotate |
message |
Put CPUs in the lowest P-state just before the final suspend step. The firmware probably does this for us on ACPI systems with proper S3 support, but this doesn't happen on systems where we park CPUs in a low-power idle state ourselves. ok deraadt@ |
date | 2022-11-10T11:23:21Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/apm.c | log | diff | annotate |
message |
arm64 can suspend without PSCI support now ok deraadt@, phessler@ |
date | 2022-11-10T11:44:06Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplpmgr.c | log | diff | annotate |
message |
iWe must be careful to only disable power domains that are no longer in use by a device. So maintainer a counter and only disable the power domain if it drops to zero. ok deraadt@, tobhe@ |
date | 2022-11-10T11:45:29Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplsmc.c | log | diff | annotate |
message |
Make the power button function as a wakeup button during suspend. ok phessler@, patrick@, tobhe@ |
date | 2022-11-10T11:46:39Z | |||
---|---|---|---|---|
author | dv | |||
files | src/sys/arch/amd64/include/vmmvar.h | log | diff | annotate |
message |
vmd(8): import mmio decode and emulation, disabled for now. The initial mmio support for vmd adds support for only specific MOV and MOVZX instructions. Plan is to begin iterating in-tree on other missing pieces. All functionality is gated behind an #if for now. Only change to vmm(4) is reordering register #define's in vmmvar.h. ok mlarkin@ |
date | 2022-11-10T12:10:54Z | |||
---|---|---|---|---|
author | matthieu | |||
files | src/sys/dev/wscons/wskbd.c | log | diff | annotate |
message |
Move the code handling brightness keys into a task, since with inteldrm(4) it requires a process context. ok kettenis@ |
date | 2022-11-10T12:12:53Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/files.fdt | log | diff | annotate |
src/sys/dev/fdt/qcpdc.c | log | diff | annotate | |
message |
Add qcpdc(4), a driver for the Qualcomm Power Domain controller found on Qualcomm SoCs. This is mostly a shim torwards agintc(4). ok kettenis@ |
date | 2022-11-10T12:13:22Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/arch/arm64/conf/GENERIC | log | diff | annotate |
src/sys/arch/arm64/conf/RAMDISK | log | diff | annotate | |
message |
Enable qcpdc(4) ok kettenis@ |
date | 2022-11-10T12:14:05Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/pci/if_bwfm_pci.c | log | diff | annotate |
message |
We need to turn a few more things on in the resume path. This makes it possible to ifconfig down the interface suspend/resume and ifconfig up the interface again afterwards in most cases. Suspend/resume with the interface up is still busted. ok patrick@, stsp@ |
date | 2022-11-10T12:16:06Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/qcspmi.c | log | diff | annotate |
message |
Remove hack that uses a timeout to fake interrupts now that qcpdc(4) allows us to properly establish interrupts. The fixed IPL_BIO should probably be replaced by the highest IPL requested by our children. ok kettenis@ |
date | 2022-11-10T12:46:19Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/if_var.h | log | diff | annotate |
message | typofix; ok dlg |
date | 2022-11-10T14:15:15Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplsart.c | log | diff | annotate |
message |
Add suspend/resume support to control the power domain. ok patrick@ |
date | 2022-11-10T14:22:43Z | |||
---|---|---|---|---|
author | sashan | |||
files | src/sys/net/pf.c | log | diff | annotate |
src/sys/net/pfvar.h | log | diff | annotate | |
message |
Add a mutex to pf_state structure. Mutex retain a consistency of structure members without using a global state lock. The first member which uses protection by mutex is key[] array. more will follow. OK dlg@ |
date | 2022-11-10T16:00:17Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
message |
Use local variable for consistency OK claudio |
date | 2022-11-10T16:12:05Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/kern/subr_disk.c | log | diff | annotate |
message |
Add mbr_get_fstype() and use it to translate MBR dp_typ fields into FS_* values. Similar to what gpt_get_fstype() does. Code is clearer and better positioned for planned enhancements to spoofing. No intentional functional change. |
date | 2022-11-10T16:20:54Z | |||
---|---|---|---|---|
author | patrick | |||
files | src/sys/dev/fdt/qcpon.c | log | diff | annotate |
message |
Apparently we receive interrupts for both powerkey press and release, which isn't quite helpful when it's used to come back from suspend and then the second interrupt initiates powerdown. Ignore press, but handle release. ok kettenis@ |
date | 2022-11-10T16:29:20Z | |||
---|---|---|---|---|
author | sashan | |||
files | src/sys/net/pf.c | log | diff | annotate |
src/sys/net/pfvar.h | log | diff | annotate | |
message |
revert pf_state mtx commit, because it breaks tree. pfctl does not build OK dlg@ |
date | 2022-11-10T17:17:47Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/if.c | log | diff | annotate |
message |
bring back r1.673: replace SRP with SMR in the if_idxmap. when i first wrote if_idxmap i didn't realise (and no one thought to tell me) that index 0 was special and means "no interface", so while here use the 0th slot in the interface map to store the length of the map instead of prepending the map with a length field. if_get() now special cases index 0 and returns NULL directly. this also means the size of the map is now always a power of 2, which is a nicer fit with what the kernel malloc aprovides. the problem with r1.673 that hrvoje popovski found was that attaching a lot of interfaces during autoconf would lock up when growing the map called smr_barrier. the fix in this diff is to (ab)use the usedidx bitmap to store an smr_entry and defer the freeing of the interface pointer map with it. tested by hrvoje popovski tweaks and ok visa@ |
date | 2022-11-10T23:21:15Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplsmc.c | log | diff | annotate |
message | Sprinkle some #ifdef SUSPEND to unbreak the tree. |
date | 2022-11-10T23:42:15Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/arm64/dev/apm.c | log | diff | annotate |
message |
pscivar.h include no longer needed ok kettenis@ |