OpenBSD cvs log

created 2020-09-27T09:19:49Z
begin 2020-09-23T00:00:00Z
end 2020-09-24T00:00:00Z
path src/sys
commits 6

date 2020-09-23T03:03:11Z
author gkoehler
files src/sys/arch/powerpc64/dev/opal.c log diff annotate
message Use an IPI, so hw.setperf affects all cores in the mp kernel.

Before, apm -A was speeding up only one core of my POWER9.
Now, apm -A speeds up all cores, so my parallel builds are faster.

I copy the idea from amd64 and i386: mp_setperf() sends an IPI to all
cpus; the interrupt handler calls ul_setperf().

ok deraadt@ kettenis@

date 2020-09-23T03:03:12Z
author gkoehler
files src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/include/intr.h log diff annotate
src/sys/arch/powerpc64/powerpc64/cpu.c log diff annotate
src/sys/arch/powerpc64/powerpc64/intr.c log diff annotate
message Use an IPI, so hw.setperf affects all cores in the mp kernel.

Before, apm -A was speeding up only one core of my POWER9.
Now, apm -A speeds up all cores, so my parallel builds are faster.

I copy the idea from amd64 and i386: mp_setperf() sends an IPI to all
cpus; the interrupt handler calls ul_setperf().

ok deraadt@ kettenis@

date 2020-09-23T15:13:26Z
author deraadt
files src/sys/arch/i386/i386/db_memrw.c log diff annotate
src/sys/arch/i386/i386/pmap.c log diff annotate
src/sys/arch/i386/i386/pmapae.c log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
message shuffle "extern int cpu_pae" into cpu.h, as the number of users will soon
increase.
ok kettenis

date 2020-09-23T15:24:16Z
author krw
files src/sys/scsi/sdvar.h log diff annotate
message Remove 'void *sc_sdhook' member of sd_softc.

Unused since mpi@ removed sd_shutdown() in 2014.

date 2020-09-23T17:52:58Z
author mvs
files src/sys/net/rtsock.c log diff annotate
message Fix declaration of `routedomain'. It's not external here.

"Correct" by deraadt@

date 2020-09-23T19:45:32Z
author deraadt
files src/sys/arch/m88k/m88k/trap.c log diff annotate
message |= is not supposed to be spelled +=