| Age | Commit message (Collapse) | Author |
|
|
|
|
|
thanks ryo@
|
|
|
|
settings for non-console devices. In the console case, simply clear the
busy bit and continue. Fixes an interrupt storm observed on Macchiatobin.
|
|
magic number reduction
|
|
|
|
|
|
- Not tested well.
- If audioX is not attached, add HDAUDIO_ENABLE_DISPLAYPORT and
HDAUDIO_ENABLE_HDMI to your kernel config.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPTS=-O0
|
|
|
|
variable but also macro definition.
|
|
|
|
|
|
Access the 64-bit registers in their entirety at all times, independent
of the AC64 parameter of the hardware implementation.
Makes xhci(4) work on SolidRun MACCHIATObin (Marvell 8040 SoC)
|
|
|
|
now Xorg can find us
|
|
in virtio_mmio and virtio_acpi
This should fix build failure on evbarm.
|
|
|
|
|
|
|
|
|
|
|
|
Spotted by msaitoh. Thanks!
|
|
|
|
This may fix a problem that some interrupts, for example
link-state change of vioif(4) are not notified.
|
|
into establishment and device configuration
|
|
* Accumulate packets for primary, secondary, finger count packets
before handing off to pms_synaptics_process_packet. This means
that both primary and, possibly, secondary finger locations will
be processed at the same time. Previously the processing each
packet as it arrived.
* Fix the secondary finger position reporting, there was an off by
one in the shifts when decoding which effectively halved the
reported position.
* For a clickpad, make the emulated button region "dead" so that finger
movements in this region are ignored. This makes it easier to click
a button without accidentally repositioning the cursor. There is a
sysctl variable "button_region_movement_enable" that will allow
these finger movements to be reported if this is desirable.
* Reset the finger ballistics when the number of fingers changes. This
stops the annoying position jumps when a second finger touch is added
to or removed from the touchpad.
* Add a level argument to the DPRINTF macro so one can choose their
level of debug spam via the debug sysctl variable.
|
|
|
|
- comma is followed by space
- KNF multi-line comments
- fold long lines
- early returns, fixes a missed iic_release_bus() on error.
- foo == false -> !foo
|
|
- Use wm_flush_desc_rings() for newer than PCH_SPT, too. Same as other OSes.
It seems that some devices has no this errata, but we don't know how to
identify it. So just use >= PCH_SPT.
- Use wm_flush_desc_rings() before chip reset in wm_resume(), too.
|
|
The problem was very rare, so I added those printf()s as we can see.
Last week, knakahara and I found a procedure to reproduce the problem and
verified it worked correctly.
To reproduce the problem:
0) Use I219 V1 to V5. Not all of them have the problem and newer than V5 may
have the problem. I used V2 for the test.
1) Define WM_DEBUG or add printf in wm_flush_desc_rings() to see
DESCRING_STATUS_FLUSH_REQ bit.
2) Run "iperf -s" on the DUT.
3) Run "iperf3 -R -u -c 192.168.1.110 -w 8m -b 1g" repeatedly on another
machine. Note that kern.sbmax should be increased on both machines.
4) run
while true; do
ifconfig wm0 down up
sleep 30
done
5) After DESCRING_STATUS_FLUSH_REQ is set, without wm_flush_desc_rings(),
TX stalls and reboot is required to recover from it.
With wm_flush_desc_rings(), no device hang.
6) If you can't see the DESCRING_STATUS_FLUSH_REQ is set, change the media
to 100BASE-T.
Note that if_wm.c rev. 1.710 originally written by chuq is required for the
test. Without the change, the device becomes unrecoverable state before
wm_flush_desc_rings() and the function doesn't recover from the problem.
|
|
- Even without this change, the workaround works with my machines.
- Add comment.
|
|
Even if stopping flag is set (and handler do nothing), the interrupt
itself should be assume to be processed when ICR is not zero. If not,
interrupt count is not incremented correctly.
|
|
Because the difference has caused INTx/MSI own bugs.
|
|
Check if_snd queue because if.c::if_transmit() doesn't call ifp->if_start()
when IFQ_ENQUEUE failed.
Reviewed and tested by chs@n.o and msaitoh@n.o.
|
|
- avoid kpause with timeo=0
|
|
[-Werror,-Wparentheses-equality]
|
|
|
|
|
|
like the other devices do.
Kernel ALL/amd64 compiles again.
OK: Kengo NAKAHARA <knakahara@netbsd.org>
|
|
|
|
|
|
|