created | 2021-01-12T00:59:03Z |
---|---|
begin | 2020-12-30T00:00:00Z |
end | 2020-12-31T00:00:00Z |
path | src/sys |
commits | 6 |
date | 2020-12-30T06:06:30Z | |||
---|---|---|---|---|
author | gkoehler | |||
files | src/sys/arch/powerpc64/dev/opal.c | log | diff | annotate |
src/sys/arch/powerpc64/include/cpu.h | log | diff | annotate | |
src/sys/arch/powerpc64/include/cpufunc.h | log | diff | annotate | |
src/sys/arch/powerpc64/include/trap.h | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/cpu.c | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/genassym.cf | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/locore.S | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/machdep.c | log | diff | annotate | |
src/sys/arch/powerpc64/powerpc64/trap_subr.S | log | diff | annotate | |
message |
Enter power-saving mode on POWER9 (ISA v3) When opal(4) attaches, look in the device tree for a psscr value. In cpu_idle_cycle(), use this psscr value and the stop instruction to wait for the next interrupt. In mp kernels, cpu_unidle() now sends an interrupt. In "sysctl hw.sensors", the power and temperature sensors from opalsens(4) may show lower values. The cpu may exit stop at the system reset vector after losing user registers. If so, restore some registers. For now, ignore deeper stop states that would lose hypervisor registers. Our mp kernel uses only the first hardware thread of each core. Take the extra threads from the firmware and stop them forever; this may switch the core from SMT4 to single-thread mode and increase performance. partly by kettenis@, ok kettenis@ |
date | 2020-12-30T06:06:31Z | |||
---|---|---|---|---|
author | gkoehler | |||
files | src/sys/dev/ofw/fdt.c | log | diff | annotate |
src/sys/dev/ofw/openfirm.h | log | diff | annotate | |
message |
Enter power-saving mode on POWER9 (ISA v3) When opal(4) attaches, look in the device tree for a psscr value. In cpu_idle_cycle(), use this psscr value and the stop instruction to wait for the next interrupt. In mp kernels, cpu_unidle() now sends an interrupt. In "sysctl hw.sensors", the power and temperature sensors from opalsens(4) may show lower values. The cpu may exit stop at the system reset vector after losing user registers. If so, restore some registers. For now, ignore deeper stop states that would lose hypervisor registers. Our mp kernel uses only the first hardware thread of each core. Take the extra threads from the firmware and stop them forever; this may switch the core from SMT4 to single-thread mode and increase performance. partly by kettenis@, ok kettenis@ |
date | 2020-12-30T12:10:39Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/if_pppoe.c | log | diff | annotate |
message |
Convert the `off' argument of pppoe_dispatch_disc_pkt function to local variable. This argument was always passed as 0. ok kn@ |
date | 2020-12-30T13:18:07Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/net/if_pppoe.c | log | diff | annotate |
message |
Fix pppoe_dispatch_disc_pkt definition to be in accordance with style(9) ok claudio@ kn@ |
date | 2020-12-30T13:33:12Z | |||
---|---|---|---|---|
author | millert | |||
files | src/sys/sys/queue.h | log | diff | annotate |
message |
Add singly-linked tail queue macros from FreeBSD. These are essentially equivalent to the simple queue macros from NetBSD but predate them and are more widely available on other systems. OK mpi@ denis@ |
date | 2020-12-30T17:02:32Z | |||
---|---|---|---|---|
author | visa | |||
files | src/sys/kern/sys_pipe.c | log | diff | annotate |
message |
Set klist lock for pipes. OK anton@, mpi@ |