created | 2023-02-26T08:39:34Z |
---|---|
begin | 2023-02-19T00:00:00Z |
end | 2023-02-20T00:00:00Z |
path | src/sys |
commits | 3 |
date | 2023-02-19T12:23:27Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_iwx.c | log | diff | annotate |
message |
Do not let the iwx init task run in parallel to wakeup code during resume. The driver will resume in the ACPI thread and run code to wake the device. If a firmware error occurs then the init task will be scheduled and could then run in parallel to the wakeup code. This would lead to panics as the init task ran while we were not yet done with device initialization. To prevent this problem we now grab the rwlock during wakeup, the same lock which is used to prevent races between the init task and ioctls. Problem found by mvs@, who also suggested the fix implemented here and tested the changes. ok mvs@ |
date | 2023-02-19T17:16:13Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/arm64/cpu.c | log | diff | annotate |
src/sys/arch/arm64/include/cpu.h | log | diff | annotate | |
src/sys/dev/fdt/psci.c | log | diff | annotate | |
src/sys/dev/fdt/pscivar.h | log | diff | annotate | |
message |
Add support for deep(er) idle states that can be entered using PSCI. For now this only supports states advertised in device trees, but ACPI support could be added as well. The parsing of the idle states as well as the heuristic to pick the deepest one is probably a bit to simple, but more complex cases can be added later. Worst case cores will use WFI and use more power in suspend. ok phessler@ |
date | 2023-02-19T18:46:46Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/kern/kern_pledge.c | log | diff | annotate |
message |
Make pinsyscall(2) always available for pledged processes. Needed by pledge execpromises, as noted by regress/sys/kern/pledge/execpromise. sure deraadt@ |