OpenBSD cvs log

created 2018-11-30T02:42:30Z
begin 2018-08-25T00:00:00Z
end 2018-08-26T00:00:00Z
path src/sys
commits 17

date 2018-08-25T00:12:14Z
author yasuoka
files src/sys/arch/arm64/stand/efiboot/efiboot.c log diff annotate
src/sys/arch/armv7/stand/efiboot/efiboot.c log diff annotate
message Don't treat UnicodeChar == 0 as a keyboard input. The same fix was
done on amd64 already. Original diff from Frank Groeneveld

ok tb patrick

date 2018-08-25T05:29:28Z
author deraadt
files src/sys/arch/amd64/amd64/cpu.c log diff annotate
message As Intel(TM) cpus are discovered to have more bugs, more workaround MSRs
are added. Presence of such MSRs is indicated with a feature flag, which
we probe and print at startup for each AP CPU. EFI screen scrolling hasn't
gotten faster (yet) and 9600 baud serial console is still the same speed
as 1980. Final piece of the puzzle is machines have more cpus, providing
more opportunity for screen scrolling and serial fifo's to fill up. The
BSP cpu is watching the AP cpus probe and print, but increased latency
causes it to exceed a timeout and print "cpuXX: failed messages".
Crank that timeout.
discussed with kettenis, ok guenther

date 2018-08-25T09:39:20Z
author kettenis
files src/sys/dev/acpi/acpi.c log diff annotate
src/sys/dev/acpi/acpivar.h log diff annotate
src/sys/dev/acpi/pluart_acpi.c log diff annotate
message Match ACPI devices based on _CID if no match for _HID is found.

ok mpi@

date 2018-08-25T10:41:38Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/fdt.c log diff annotate
message Insert new child nodes at the end.

ok patrick@

date 2018-08-25T12:23:45Z
author kettenis
files src/sys/dev/rasops/rasops.c log diff annotate
message The current rasops cursor implementation simply inverts the appropriate
framebuffer pixels by doing an XOR with an all-ones bit pattern. This
means the code has to read from the framebuffer which can be very slow.
Add an implementation that simply redraws the character covered by the
cursor with the foreground and background color swapped. While this
doesn't necessarily have the same visual result, most people probably
won't notice the difference (let's see). Use this implementation when
the RI_WRONLY or the RI_VCONS flags are set.

ok fcambus@

date 2018-08-25T15:38:07Z
author anton
files src/sys/dev/kcov.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Change kcov semantics, kernel code coverage tracing is now enabled on a per
thread basis instead of process. The decision to enable on process made
development easier initially but could lead to non-deterministic results for
processes with more than one thread. This behavior matches the implementation
found on both Linux and FreeBSD.

With help and ok mpi@ visa@

date 2018-08-25T16:09:29Z
author kettenis
files src/sys/arch/amd64/amd64/ioapic.c log diff annotate
src/sys/arch/i386/i386/ioapic.c log diff annotate
message Fix printing of ioapic remapping messages; avoid printing duplicate info.

ok deraadt@

date 2018-08-25T17:07:20Z
author mestre
files src/sys/dev/usb/if_upgt.c log diff annotate
message fix misplaced parenthesis inside an if-clause. already fixed in NetBSD in rev
1.13.

OK stsp@ jca@ claudio@

date 2018-08-25T17:09:40Z
author mestre
files src/sys/dev/usb/if_smsc.c log diff annotate
message fix misplaced parenthesis inside an if-clause. already fixed in FreeBSD in rev
295608.

OK jca@

date 2018-08-25T17:24:22Z
author kettenis
files src/sys/arch/amd64/include/param.h log diff annotate
src/sys/arch/i386/include/param.h log diff annotate
message Define __HAVE_ACPI.

ok deraadt@, krw@, jca@

date 2018-08-25T17:38:28Z
author kettenis
files src/sys/dev/pci/pcidevs log diff annotate
message Audio as found on an "Oland" Radeon card. Naming is a bit arbitrary, but
this one is present on several GCN gen 1 cards that have names that start
in the HD 7700 range.

date 2018-08-25T17:39:15Z
author kettenis
files src/sys/dev/pci/pcidevs.h log diff annotate
src/sys/dev/pci/pcidevs_data.h log diff annotate
message regen

date 2018-08-25T18:32:05Z
author jcs
files src/sys/dev/hid/hidmt.c log diff annotate
src/sys/dev/hid/hidmtvar.h log diff annotate
src/sys/dev/i2c/ihidev.c log diff annotate
src/sys/dev/i2c/ihidev.h log diff annotate
src/sys/dev/i2c/imt.c log diff annotate
src/sys/dev/usb/uhidev.c log diff annotate
src/sys/dev/usb/uhidev.h log diff annotate
message Move HID->bus constant conversion for HID report types out of ihidev
into hidmt.

The HID code uses hid_feature, hid_input, and hid_output constants
to refer to report types internally that then need to be converted
to their bus-level counterparts before actually getting sent out (so
hid_feature becomes UHID_FEATURE_REPORT for USB,
I2C_HID_REPORT_TYPE_FEATURE for i2c).

This conversion was hard-coded in ihidev but ihidev_[gs]et_report
should assume the type passed is already an i2c-level define, not a
hid one. This is how uhidev does it.

Add a conversion routine callback that any hidmt callers need to set
so that hidmt can convert hid constants to the bus-level versions.

Also add a similar conversion function to uhidev.

ok deraadt

date 2018-08-25T18:42:43Z
author kettenis
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/radeon/radeon_bios.c log diff annotate
message Use __HAVE_ACPI to decide whether ACPI support should be considered.

ok deraadt@, krw@, jca@

date 2018-08-25T20:31:31Z
author jcs
files src/sys/arch/amd64/conf/GENERIC log diff annotate
src/sys/dev/hid/hidmt.c log diff annotate
src/sys/dev/hid/hidmtvar.h log diff annotate
src/sys/dev/i2c/imt.c log diff annotate
src/sys/dev/usb/files.usb log diff annotate
src/sys/dev/usb/umt.c log diff annotate
message Add umt(4) for USB Windows Precision Touchpad devices

Based on imt(4)

Rename HIDMT_INPUT_MODE_MT to HIDMT_INPUT_MODE_MT_TOUCHPAD

ok deraadt

date 2018-08-25T20:43:39Z
author kettenis
files src/sys/arch/arm64/stand/efiboot/efidev.c log diff annotate
message Add GPT support. Mostly copied from amd64.

ok krw@

date 2018-08-25T20:45:28Z
author kettenis
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
src/sys/arch/arm64/include/armreg.h log diff annotate
message Add code to print the characteristics of the caches that can be discovered
through the CLIDR_EL1 register.

ok patrick@