OpenBSD cvs log

created 2021-01-30T22:45:48Z
begin 2021-01-23T00:00:00Z
end 2021-01-24T00:00:00Z
path src/sys
commits 10

date 2021-01-23T05:08:34Z
author thfr
files src/sys/arch/alpha/alpha/conf.c log diff annotate
src/sys/arch/alpha/conf/GENERIC log diff annotate
src/sys/arch/amd64/amd64/conf.c log diff annotate
src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/arch/arm/arm/conf.c log diff annotate
src/sys/arch/arm64/arm64/conf.c log diff annotate
src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/armv7/conf/GENERIC log diff annotate
src/sys/arch/hppa/conf/GENERIC log diff annotate
message introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.
This includes ujoy_hid_is_collection() to work around limitations of
hid_is_collection() until this can be combined without fallout.

input, testing with 8bitdo controller, and ok brynet@
PS4 controller testing, fix for hid_is_collection, and ok mglocker@

date 2021-01-23T05:08:35Z
author thfr
files src/sys/arch/hppa/hppa/conf.c log diff annotate
src/sys/arch/i386/conf/GENERIC log diff annotate
src/sys/arch/i386/i386/conf.c log diff annotate
src/sys/arch/landisk/conf/GENERIC log diff annotate
src/sys/arch/landisk/landisk/conf.c log diff annotate
src/sys/arch/loongson/conf/GENERIC log diff annotate
src/sys/arch/loongson/loongson/conf.c log diff annotate
src/sys/arch/macppc/conf/GENERIC log diff annotate
src/sys/arch/macppc/macppc/conf.c log diff annotate
message introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.
This includes ujoy_hid_is_collection() to work around limitations of
hid_is_collection() until this can be combined without fallout.

input, testing with 8bitdo controller, and ok brynet@
PS4 controller testing, fix for hid_is_collection, and ok mglocker@

date 2021-01-23T05:08:36Z
author thfr
files src/sys/arch/octeon/conf/GENERIC log diff annotate
src/sys/arch/octeon/octeon/conf.c log diff annotate
src/sys/arch/powerpc64/conf/GENERIC log diff annotate
src/sys/arch/powerpc64/powerpc64/conf.c log diff annotate
src/sys/arch/sgi/conf/GENERIC-IP27 log diff annotate
src/sys/arch/sgi/conf/GENERIC-IP30 log diff annotate
src/sys/arch/sgi/conf/GENERIC-IP32 log diff annotate
src/sys/arch/sgi/sgi/conf.c log diff annotate
src/sys/arch/sparc64/conf/GENERIC log diff annotate
src/sys/arch/sparc64/sparc64/conf.c log diff annotate
src/sys/dev/usb/files.usb log diff annotate
src/sys/dev/usb/uhid.c log diff annotate
src/sys/dev/usb/uhid.h log diff annotate
src/sys/dev/usb/ujoy.c log diff annotate
src/sys/sys/conf.h log diff annotate
message introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.
This includes ujoy_hid_is_collection() to work around limitations of
hid_is_collection() until this can be combined without fallout.

input, testing with 8bitdo controller, and ok brynet@
PS4 controller testing, fix for hid_is_collection, and ok mglocker@

date 2021-01-23T12:10:08Z
author kettenis
files src/sys/arch/powerpc64/conf/GENERIC log diff annotate
src/sys/arch/powerpc64/conf/files.powerpc64 log diff annotate
src/sys/arch/powerpc64/dev/ipmi_opal.c log diff annotate
src/sys/arch/powerpc64/dev/opal.c log diff annotate
src/sys/arch/powerpc64/include/opal.h log diff annotate
src/sys/arch/powerpc64/include/smbiosvar.h log diff annotate
src/sys/arch/powerpc64/powerpc64/locore.S log diff annotate
src/sys/dev/ipmi.c log diff annotate
src/sys/dev/ipmivar.h log diff annotate
message OPAL implements firmware calls that abstract communicating with the BMC over
IPMI. Use these calls to add support for impi(4) on PowerNV systems.

ok dlg@

date 2021-01-23T20:01:01Z
author patrick
files src/sys/dev/acpi/acpireg.h log diff annotate
message Fix IORT struct for Context and PMU interrupts. I misread bytes with bits.

ok kettenis@

date 2021-01-23T22:34:46Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message vmm(4): wire faulted in pages

This change wires the pages used by virtual machines managed by vmm(4).
When uvm swaps out a page, vmm(4) does not properly do TLB flushing,
possibly leading to memory corruption or improper page access later.

While this diff is not the correct fix (implementing proper TLB flush
semantics), it does work around the problem by not letting the pages
get swapped out in the first place.

This means that under memory pressure, swap pages will have to come
from other processes, and it also means you cannot overcommit vmm(4)
memory assignment (eg, assign more memory to VMs than you actually
have).

It is my plan to fix this the correct way, but that will take time.

This issue was originally pointed out a long time ago by Maxime V., but
due to my taking a year away from OpenBSD, the issue remained unfixed.

date 2021-01-23T22:56:35Z
author mlarkin
files src/sys/arch/amd64/amd64/vmm.c log diff annotate
message Fix whitespace issues

date 2021-01-23T23:35:28Z
author jsg
files src/sys/dev/pci/pcidevs log diff annotate
message add another Realtek RTL8168 id

shows up on a TP-Link TG-3468 John Batteen has

date 2021-01-23T23:36:20Z
author jsg
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2021-01-23T23:39:40Z
author jsg
files src/sys/dev/pci/if_re_pci.c log diff annotate
message match on another Realtek RTL8168 id

reported and tested by John Batteen on a TP-Link TG-3468