OpenBSD cvs log

created 2019-02-23T16:28:13Z
begin 2019-02-21T00:00:00Z
end 2019-02-22T00:00:00Z
path src/sys
commits 3

date 2019-02-21T03:16:47Z
author dlg
files src/sys/dev/pci/if_ix.c log diff annotate
src/sys/dev/pci/if_ix.h log diff annotate
message get rid of atomic_foo ops in the tx start and completion paths.

atomics were used to coordinate updates to the number of available
slots on the tx ring. start would use what was available, and txeof
(completion) would add back freed slots. start and completion
update a producer and consumer index respectively, so we can use
those with the size of the ring to calculate space instead.

while here i simplified what txeof does a fair bit, which combined
with the removal of the atomics gives us a bit of a speed improvement.
hrvoje popovski reports up to a 20% improvement in one environment,
but 5 to 10 is probably more realistic.

ive had this in a tree since 2017, but mpi's "Faster vlan(4)
forwarding?" post made me dig it out and clean it up.

ok jmatthew@

date 2019-02-21T03:37:30Z
author jsg
files src/sys/arch/arm64/arm64/cpu.c log diff annotate
message Cortex A76 is not affected by spectre variant 2 branch target injection
attacks described in CVE-2017-5715 and ATF does not implement a
workaround for Cortex A76.

date 2019-02-21T22:44:44Z
author patrick
files src/sys/dev/usb/xhci.c log diff annotate
message Transfers that span multiple TRBs which wrap around the ring and
thus have the Link TRB inbetween must have the Chain Bit set in the
Link TRB. Otherwise xHCI controllers might think that the transfer
ends at that point.

Fixes an issue that was most prominently seen as Invalid CSW error
when using umass0 on octeon and i.MX8M.

Tested by visa@
ok mpi@