OpenBSD cvs log

created 2020-11-19T18:27:39Z
begin 2020-06-14T00:00:00Z
end 2020-06-15T00:00:00Z
path src/sys
commits 24

date 2020-06-14T04:48:16Z
author dlg
files src/sys/dev/pci/if_mcx.c log diff annotate
message move tx and rx ring variables into their own structs.

this is a first step toward making mcx work with multiple rings and
interrupts. one ring is still hardcoded in the driver, this is just
shuffling the deck chairs.

ok jmatthew@

date 2020-06-14T05:26:04Z
author jsg
files src/sys/dev/pci/drm/include/linux/err.h log diff annotate
message make IS_ERR() and IS_ERR_OR_NULL() return bool

date 2020-06-14T07:22:55Z
author visa
files src/sys/kern/kern_event.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
message Remove misleading XXX about locking of ps_klist. All of the kqueue
subsystem and ps_klist handling still run under the kernel lock.

date 2020-06-14T09:04:00Z
author jsg
files src/sys/dev/pci/drm/i915/i915_gem_fence_reg.c log diff annotate
message fix i915_gem_swizzle_page()

our version of kunmap() takes a va not a page like linux
problem reported by semarie@ on I945GM

date 2020-06-14T15:05:35Z
author jsg
files src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_gtt.c log diff annotate
message convert kunmap() arguments with pointer to page struct

Our kunmap() has a void * argument with the address to unmap which
results in unconverted uses compiling but doing the wrong thing.

ok kettenis@

date 2020-06-14T15:20:07Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/i915/i915_gem.c log diff annotate
src/sys/dev/pci/drm/i915/i915_gem_fence_reg.c log diff annotate
src/sys/dev/pci/drm/i915/gem/i915_gem_pages.c log diff annotate
src/sys/dev/pci/drm/i915/gt/intel_gtt.c log diff annotate
src/sys/dev/pci/drm/include/linux/highmem.h log diff annotate
src/sys/dev/pci/drm/ttm/ttm_bo_util.c log diff annotate
message rename our kunmap() to kunmap_va()

In linux kunmap() has a page struct * argument our kunmap() has a void *
argument which results in uncoverted uses building but doing the wrong
thing. Renaming will catch any codepaths that need to be changed at
compile time.

date 2020-06-14T15:36:51Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/autoconf.c log diff annotate
message Unstub diskconf().

date 2020-06-14T16:00:08Z
author deraadt
files src/sys/arch/amd64/stand/boot/Makefile log diff annotate
message rewrite mdrandom() in C. previously this XOR'd against rdrand if available,
and alternatively XOR'd against TSC. now always run both sequences, and
also support rdseed as a third procedure.
ok kettenis naddy

date 2020-06-14T16:00:11Z
author deraadt
files src/sys/arch/amd64/stand/cdboot/Makefile log diff annotate
src/sys/arch/amd64/stand/efi32/bootia32/Makefile log diff annotate
src/sys/arch/amd64/stand/efi64/bootx64/Makefile log diff annotate
src/sys/arch/amd64/stand/efiboot/bootia32/Makefile log diff annotate
src/sys/arch/amd64/stand/efiboot/bootx64/Makefile log diff annotate
src/sys/arch/amd64/stand/libsa/mdrandom.c log diff annotate
src/sys/arch/amd64/stand/libsa/Attic/random_amd64.S log diff annotate
src/sys/arch/amd64/stand/libsa/Attic/random_i386.S log diff annotate
src/sys/arch/amd64/stand/pxeboot/Makefile log diff annotate
src/sys/arch/i386/stand/boot/Makefile log diff annotate
src/sys/arch/i386/stand/cdboot/Makefile log diff annotate
src/sys/arch/i386/stand/libsa/libsa.h log diff annotate
src/sys/arch/i386/stand/libsa/mdrandom.c log diff annotate
src/sys/arch/i386/stand/libsa/pslid.S log diff annotate
src/sys/arch/i386/stand/libsa/Attic/random_i386.S log diff annotate
src/sys/arch/i386/stand/pxeboot/Makefile log diff annotate
message rewrite mdrandom() in C. previously this XOR'd against rdrand if available,
and alternatively XOR'd against TSC. now always run both sequences, and
also support rdseed as a third procedure.
ok kettenis naddy

date 2020-06-14T16:04:54Z
author deraadt
files src/sys/arch/amd64/stand/libsa/Attic/random_amd64.S log diff annotate
src/sys/arch/amd64/stand/libsa/Attic/random_i386.S log diff annotate
src/sys/arch/i386/stand/libsa/Attic/random_i386.S log diff annotate
message asm versions of mdrandom() no longer needed

date 2020-06-14T16:06:25Z
author deraadt
files src/sys/arch/amd64/stand/boot/conf.c log diff annotate
src/sys/arch/amd64/stand/cdboot/conf.c log diff annotate
src/sys/arch/amd64/stand/efi32/conf.c log diff annotate
src/sys/arch/amd64/stand/efi64/conf.c log diff annotate
src/sys/arch/amd64/stand/efiboot/conf.c log diff annotate
src/sys/arch/amd64/stand/pxeboot/conf.c log diff annotate
src/sys/arch/i386/stand/boot/conf.c log diff annotate
src/sys/arch/i386/stand/cdboot/conf.c log diff annotate
src/sys/arch/i386/stand/pxeboot/conf.c log diff annotate
message crank version number

date 2020-06-14T16:10:58Z
author kettenis
files src/sys/arch/powerpc64/include/asm.h log diff annotate
message Minimal >machine/asm.h> to make ffs.S build.

date 2020-06-14T16:12:09Z
author kettenis
files src/sys/arch/powerpc64/include/intr.h log diff annotate
src/sys/arch/powerpc64/powerpc64/intr.c log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Make soft interrupts work.

date 2020-06-14T16:49:21Z
author kettenis
files src/sys/arch/powerpc64/conf/Makefile.powerpc64 log diff annotate
message Add -msoft-float, -mno-altivec and -mno-vsx to the compiler flags.

date 2020-06-14T17:05:45Z
author deraadt
files src/sys/arch/i386/stand/libsa/pslid.S log diff annotate
message do not need assym.h

date 2020-06-14T17:08:17Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Parse bootargs.

date 2020-06-14T17:53:03Z
author kettenis
files src/sys/arch/powerpc64/powerpc64/trap.c log diff annotate
message Put a bit more information in the panic message.

date 2020-06-14T17:56:54Z
author kettenis
files src/sys/arch/powerpc64/dev/opal.c log diff annotate
src/sys/arch/powerpc64/dev/phb.c log diff annotate
src/sys/arch/powerpc64/dev/xive.c log diff annotate
src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/include/frame.h log diff annotate
src/sys/arch/powerpc64/include/opal.h log diff annotate
src/sys/arch/powerpc64/include/pcb.h log diff annotate
src/sys/arch/powerpc64/include/proc.h log diff annotate
src/sys/arch/powerpc64/include/tcb.h 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/locore0.S log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/process_machdep.c log diff annotate
src/sys/arch/powerpc64/powerpc64/trap_subr.S log diff annotate
src/sys/arch/powerpc64/powerpc64/vm_machdep.c log diff annotate
message Get context switching between kernel threads going.

Since the stacks for kernel threads are not mapped 1:1 this involves
translating virtual addresses into physical addresses when making
OPAL calls.

date 2020-06-14T18:37:16Z
author patrick
files src/sys/dev/sdmmc/sdhc.c log diff annotate
message Make sure SDHC_HOST_CTL2 is consistently controlled using 2-byte accesses,
otherwise it would lead to unaligned memory access. Fixes a panic on my
MACCHIATObin.

ok kettenis@

date 2020-06-14T19:00:12Z
author kettenis
files src/sys/arch/powerpc64/dev/phb.c log diff annotate
message Provide address space extents. While the firmware does configure the bridge
windows it doesn't enable the bus master bit in the command register.
This prevents DMA from working. By providing the address space extents
ppb(4) will automatically configure the bridge and set the bit.

date 2020-06-14T19:09:59Z
author kettenis
files src/sys/arch/powerpc64/conf/GENERIC log diff annotate
message Enable ahci(4).

date 2020-06-14T19:21:43Z
author kettenis
files src/sys/arch/powerpc64/dev/xive.c log diff annotate
message Remove debug code.

date 2020-06-14T20:15:09Z
author kettenis
files src/sys/arch/powerpc64/include/cpu.h log diff annotate
src/sys/arch/powerpc64/powerpc64/machdep.c log diff annotate
message Implement cpu-rnd_messybits() as a read of the cycle counter register.

date 2020-06-14T20:29:13Z
author naddy
files src/sys/arch/hppa/hppa/machdep.c log diff annotate
src/sys/arch/hppa/include/cpu.h log diff annotate
message Implement cpu_rnd_messybits() as a read of the cycle counter register.
ok dlg@ deraadt@