OpenBSD cvs log

created 2019-09-07T18:05:44Z
begin 2019-09-05T00:00:00Z
end 2019-09-06T00:00:00Z
path src/sys
commits 19

date 2019-09-05T02:37:17Z
author krw
files src/sys/scsi/st.c log diff annotate
message There can be only one -- mode.

So fold 'modeflags' field of st_softc into 'flags' field of same. Nuke
a bunch of dubious/obvious comments.

date 2019-09-05T03:04:45Z
author krw
files src/sys/scsi/st.c log diff annotate
message Nuke unused st_softc field 'numblks'.

date 2019-09-05T03:08:55Z
author deraadt
files src/sys/arch/powerpc/powerpc/pmap.c log diff annotate
message Prepare the bat for kernels greater > 8MB of code, why because clang.
ok kettenis

date 2019-09-05T05:06:33Z
author visa
files src/sys/arch/loongson/include/intr.h log diff annotate
src/sys/arch/mips64/mips64/interrupt.c log diff annotate
src/sys/arch/mips64/mips64/softintr.c log diff annotate
src/sys/arch/octeon/include/intr.h log diff annotate
src/sys/arch/sgi/include/intr.h log diff annotate
message Adjust interrupt priority levels on mips64 so that priorities
of soft interrupts are lower than priorities of hard interrupts.
This allows the delivery of hard interrupts while soft interrupts
are masked.

date 2019-09-05T05:31:38Z
author visa
files src/sys/arch/loongson/include/intr.h log diff annotate
src/sys/arch/mips64/mips64/interrupt.c log diff annotate
src/sys/arch/octeon/include/intr.h log diff annotate
src/sys/arch/sgi/include/intr.h log diff annotate
message Implement splassert() on mips64.

date 2019-09-05T05:33:57Z
author ratchov
files src/sys/dev/audio.c log diff annotate
src/sys/dev/audio_if.h log diff annotate
message Add the set_blksz() and set_nblks() audio driver functions.

The first sets the block size in frames, which is necessarily common
to play and recording directions no matter the number of channels. The
second sets the number of blocks per buffer for the given
direction. Together, these two functions allow audio drivers to easily
set the block size, matching both playback and recording constraints.

The round_blocksize() didn't allow to do so because it returns the
block size in *bytes*. Since the driver doesn't know if it's called
for the play or for the record block size, it's impossible to
calculate the block size in all cases if play and record number of
channels are different.

ok mpi@

date 2019-09-05T05:36:31Z
author ratchov
files src/sys/dev/pci/azalia.c log diff annotate
message Use the new set_{blksz,nblks}() interface to set the block size.

This simplifies the code and allows any block size supported by the
hardware to be used.

ok mpi@

date 2019-09-05T05:38:40Z
author ratchov
files src/sys/dev/usb/uaudio.c log diff annotate
message Use the new set_blksz() interface to set the block size.

This simplifies the code and allows any block size multiple of 1ms to
be used when play and recording number of channels are not the same.

ok mpi@

date 2019-09-05T08:41:20Z
author sf
files src/sys/dev/pci/if_em_hw.c log diff annotate
message em: Fix potential endless loop

If the NIC is in some error state (seen on a i219LM when em_read_phy_reg_ex()
returns at "MDI Error"), it can happen that we loop endlessly because the loop
variable is modified again somewhere down in the call stack. Use a separate
variable to make the attach fail with "Hardware Initialization Failed" instead
of hanging.

yes deraadt@

date 2019-09-05T12:00:09Z
author kettenis
files src/sys/dev/fdt/sxipio.c log diff annotate
src/sys/dev/fdt/sxipio_pins.h log diff annotate
message Add Allwinner H6 support.

ok patrick@

date 2019-09-05T13:22:31Z
author krw
files src/sys/scsi/scsi_tape.h log diff annotate
message Nuke unused struct block_desc_cipher. The Eighties called and want
their "CIPHER ST150S (old drive)" devices back.

date 2019-09-05T16:28:06Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Revert iwm(4) to software WPA crypto because of apparent firmware issues.

For a small proportion of frames on 8265 we have observed firmware reporting
"not encrypted" even though in Wireshark these frames appear as regular
encrypted frames (rx_pkt_status=0xc0400007 type=0x8 subtype=0x80 m_len=1542).
This causes frame drops which do not occur with software crypto.

We might try again after a firmware upgrade. There seems to be no public
record of bug fixes made by Intel between firmware versions which degrades
our development process into pure trial-and-error. We need to waste our own
time to find out information which Intel should be providing to the public.
If anyone is aware of a source of such information, please let us know.

All this is of course very disappointing.

Problem reported by and debugged with help from solene@

date 2019-09-05T16:58:36Z
author patrick
files src/sys/dev/fdt/bcm2835_dog.c log diff annotate
message Add missing RCS Id.

date 2019-09-05T17:35:28Z
author krw
files src/sys/scsi/st.c log diff annotate
message Devices that have no quirks don't need to appear in the list of
devices with quirks.

date 2019-09-05T17:59:12Z
author bluhm
files src/sys/dev/pci/uhci_pci.c log diff annotate
message Supermicro X8DTH-i/6/iF/6F fails to attach uhci(4) via PCI and AHCI.
Result is a crash at power down. Skip the activate function if
attach has failed. Solution taken from ehci(4).
OK deraadt@ kettenis@

date 2019-09-05T18:38:30Z
author patrick
files src/sys/arch/arm64/conf/GENERIC log diff annotate
src/sys/arch/arm64/conf/RAMDISK log diff annotate
src/sys/dev/fdt/files.fdt log diff annotate
src/sys/dev/fdt/mvdog.c log diff annotate
message Add mvdog(4), a driver to support the watchdog on the Armada 3700 SoC.
At the moment it only supports disabling the watchdog, which lets me
continue to work on the Turris Mox.

ok kettenis@

date 2019-09-05T18:49:03Z
author krw
files src/sys/scsi/st.c log diff annotate
message Nuke some 25+year old comments that the oracles at delphi would have
found obscure. Repair a broken WangTEK 5150ES quirks entry that
apparently suffered some damage when imported in 1995. It never made
NetBSD/FreeBSD quirk lists at all.

Some whitespace tweaking to make everything line up.

date 2019-09-05T19:18:32Z
author fcambus
files src/sys/dev/wsfont/spleen12x24.h log diff annotate
src/sys/dev/wsfont/spleen16x32.h log diff annotate
src/sys/dev/wsfont/spleen32x64.h log diff annotate
message Update Spleen kernel fonts to the latest released version, bringing
the following improvements:

- Character at position CB is 'E' with diaeresis, not with tilde (12x24 version)
- Character at position D6 is 'O' with diaeresis, not with tilde (12x24 version)
- Character at position DC is 'U' with diaeresis, not with tilde (12x24 version)
- Fix middle bar thickness in the upper case 'eth' character (12x24 version)
- Fix ring alignment for the 'A' and 'a' characters (16x32 and 32x64 versions)
- Fix tilde alignment in the 'o' with tilde character (32x64 version)
- Remove strain pixel on the '3' and 'k' characters (32x64 version)

OK deraadt@, mpi@

date 2019-09-05T20:47:49Z
author kettenis
files src/sys/dev/pci/if_em_hw.c log diff annotate
message Fix previous commit.

ok millert@, sf@, deraadt@