created | 2022-02-20T02:50:04Z |
---|---|
begin | 2022-02-13T00:00:00Z |
end | 2022-02-14T00:00:00Z |
path | src/sys |
commits | 10 |
date | 2022-02-13T11:58:53Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplsmc.c | log | diff | annotate |
message |
Add basic GPIO support. ok patrick@ |
date | 2022-02-13T12:02:21Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplpcie.c | log | diff | annotate |
message |
Some PCIe devices on the M1 and M1 Pro/Max need to be explicitly powered on (most notably the WiFi chip). This is done through a GPIO controlled by the SMC. Add support for this and make sure we wait for the 100ms required by the PCIe standard when we use that GPIO to turn on power. This makes sure these devices are available even if U-Boot doesn't turn them on for us. ok patrick@ |
date | 2022-02-13T12:58:46Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/kern/kern_event.c | log | diff | annotate |
src/sys/kern/sys_pipe.c | log | diff | annotate | |
src/sys/kern/uipc_socket.c | log | diff | annotate | |
src/sys/miscfs/fifofs/fifo_vnops.c | log | diff | annotate | |
src/sys/net/bpf.c | log | diff | annotate | |
src/sys/sys/event.h | log | diff | annotate | |
message |
Rename knote_modify() to knote_assign() This avoids verb overlap with f_modify. |
date | 2022-02-13T13:03:02Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/sys/event.h | log | diff | annotate |
message |
Add helper functions for f_modify and f_process to condense code These new functions, knote_modify() and knote_process(), implement the logic that is common to most f_modify and f_process instances. The code is inlined so as to not add yet another call frame on the already towering stack of kqueue functions. Also, the _fn versions allow direct calling of an event function when there is only one filter type to handle. |
date | 2022-02-13T13:05:51Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/kern/kern_event.c | log | diff | annotate |
src/sys/kern/sys_pipe.c | log | diff | annotate | |
message | Use knote_modify() and knote_process() in obvious places. |
date | 2022-02-13T15:54:07Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/arm64/dev/aplintc.c | log | diff | annotate |
message |
The Apple M1 SoC has two mechanism for doing IPIs. The first method uses the interrupt controller, the second method used implementation-specific CPU registers. The M1 Pro/Max SoCs use a modified interrupt controller that no longer provides the first method. So switch to the second method in preparation for adding M1 Pro/Max support to OpenBSD. As a bonus this mechanism seems to be faster (which may be why Apple calls these "fast" IPIs). ok patrick@ |
date | 2022-02-13T15:56:55Z | |||
---|---|---|---|---|
author | deraadt | |||
files | src/sys/arch/amd64/amd64/acpi_machdep.c | log | diff | annotate |
src/sys/arch/i386/i386/acpi_machdep.c | log | diff | annotate | |
src/sys/kern/subr_suspend.c | log | diff | annotate | |
message |
Move some MI pieces out of suspend_mp/resume_mp ok kettenis |
date | 2022-02-13T16:44:50Z | |||
---|---|---|---|---|
author | tobhe | |||
files | src/sys/arch/armv7/marvell/mvpcie.c | log | diff | annotate |
message |
Fix return value check of OF_getproplen(). If "reset-gpios" is not found in the device tree -1 is returned, causing a panic in the following malloc call. ok kn@ patrick@ kettenis@ |
date | 2022-02-13T19:15:09Z | |||
---|---|---|---|---|
author | mlarkin | |||
files | src/sys/arch/amd64/isa/clock.c | log | diff | annotate |
message | remove stray tab whitespace. no code change. |
date | 2022-02-13T23:11:10Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/bpf.c | log | diff | annotate |
message |
The length value in bpf_movein() is casted to from size_t to u_int and then rounded before checking. Put the same check before the calculations to avoid overflow. Reported-by: [email protected] OK claudio@ |