Age | Commit message (Collapse) | Author |
|
OK tedu@
|
|
|
|
have to defrag everything. While working on this I discovered both of
the tx doorbells can be rung once per mcx_start() call, rather than once
per packet. dlg@ helped a lot by making me read the documentation again.
|
|
Problem reported and fix tested by Stephane Guedon
ok jca@ mpi@
|
|
From Miod
OK tedu@
|
|
ok anton@
|
|
|
|
|
|
in_irq() uses ci_idepth on archs that have it
in_interrupt() is the same as in_irq() for now, linux has in_irq() for
hard interrupt context and in_interrupt() is also for soft interrupt
and nmi context.
|
|
From Jan Klemkow, ok tedu@
|
|
|
|
Emulate kvm pvclock in vmm(4). Compatible with pvclock(4) in OpenBSD. Linux
does not attach to this (yet).
Fixes by reyk@ and tested extensively by reyk@, tb@ and phessler@
ok mlarkin@ phessler@ reyk@
|
|
|
|
in ieee80211com's ic_flags because we haven't been paying attention to
them (they're not in the same place in the code and hence easy to miss).
Move them to a dedicated variable to avoid this problem in the future.
Add a new 'stayauth' nwflag which can be set to let net80211 ignore
deauth frames. This can be useful when deauth frames are being
persistently spoofed by an attacker. Idea from beck@
ok beck@ phessler@
|
|
using them. Fixes machines with ancient ACPI 1.0 (such as recent
hypervisors).
ok deraadt@
|
|
representation from the FADT. Mostly fixes the Lanner NCA-1510.
ok lteo@, mlarkin@, deraadt@
|
|
statement at the end of a void function. All inside #if 0, so
no effect on generated code.
|
|
|
|
ok kettenis@
|
|
GPIO driver. This allows us to use the fusbtc(4) interrupt
on the RockPro64.
ok kettenis@
|
|
A Type-C controller has multiple tasks. Even though the orientation
of the plug doesn't matter for the user, it matters for the hardware.
To be able to know how to route the SuperSpeed pins you need to know
which way the plug is connected. Also you need to know if you're a
sink/source or device/host. To get the first connection, you toggle
between the modes until you find a connection. In case you see that
a sink is connected, you can turn on USB Vbus to power the sink.
This driver explicitly does not implement USB's Type-C state machine,
but if we get more and more of these controllers it might be worth
doing. Also there's no support for Power Delivery messages yet.
ok kettenis@
|
|
|
|
|
|
OK deraadt@
|
|
ok jsg@
|
|
is no compatible phy it tries to enable the VBus using the
phy-supply property. Makes the USB ports on the RockPro64
work.
ok kettenis@
|
|
The Mac EFI firmware enables the wireless controller, but does not disable it,
so it continues to receive packets and signal interrupts. This
was originally seen as an interrupt storm that consumes about 50% of
CPU0 on affected machines. The issue was originally discovered in 2012 by
Matthew Garret with a partial fix in Grub, then Lukas Wunner added a fix for
the Linux kernel in 2016.
This piggy-backs on the most-related driver (bwi) for the purpose of detection
and mapping the control registers, but does not actually register the driver if
the affected chip is detected.
See this archived discussion for further analysis of the bug:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1165355.html
ok kettenis stsp
|
|
|
|
|
|
ok mpi@
|
|
Avoids crashes on boot with pineview on chipset flush due to IFP not
being initialised.
Diagnosed by, tested by and ok ratchov@ ok kettenis@
|
|
|
|
ok tedu@
|
|
bits are used by firmware to return the BAID for a BA session.
matches:
Dragonfly 74d41163ddac72b0d7ea7b7873d53fe134723a12
Linux 837c4da98481d4e504b2aba077c8528fee1b6d13
ok kevlo mpi jmatthew
|
|
1) Clamp firmware-provided index into the rx ring to the size of the ring.
Linux started doing this, too, to work around HW bugs in the 9000 series.
(mathes Linux 5eae443eb5e2b3777582ea37c6a002171ec134d5)
2) Don't call iwm_cmd_done() if the firmware response in the Rx buffer
is not recognized. We should just skip such buffers, not act on them.
ok beck kevlo mpi
|
|
ok tedu
|
|
Currently we send the request to the unit indicated as clock source of
the terminals, which may be a clock selector unit that doesn't support
the request. Fix this by following the clock source path until the
clock source unit is found.
|
|
a random streaming iface.
|
|
Even if having multiple control interface descriptors is not allowed
by the UAC spec, there's no reason to stop as long as a proper control
interface was processed.
|
|
It switches the AK5385 and the AK4358 chips between single-, double-
or quad-speed modes depending on the host sample rate.
Help and testing by Andrey Oktyabrskiy <ano at bestmx.net>. Thanks!
|
|
chromebooks.
ok deraadt@
|
|
chromebooks.
ok deraadt@
|
|
|
|
|
|
signals, as we don't have an equivalent use PCATCH and check for all
signals before and after msleep. Discussed with kettenis@.
|
|
Linux allows this sillyness and it is needed to make X work on the
integrated graphics on the AMD Ryzen 3 PRO 2200GE APU.
ok jsg@
|
|
|
|
ok jsg@
|
|
ok deraadt mpi
|
|
ok deraadt mpi
|