[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] xhci: move command stop and command abort flag check to the
From: |
Jaroslav Jindrák |
Subject: |
[Qemu-devel] xhci: move command stop and command abort flag check to the case when the crcr_low register is set |
Date: |
Tue, 1 Aug 2017 01:48:21 +0200 |
Hello,
I'd like to submit a patch to the xhci subsystem of QEMU. Currently, when
the command stop or command abort flags in the crcr_low register are set,
nothing happens. This is because the part of the code that tests those two
flags (and performs command ring abort/stop) is in the crcr_high case. This
error has a simple workaround - after writing to the crcr_low register with
either of these two flags set, one can write the value of crcr_high to
crcr_high, so I assume this fix does not have that big of a priority, but a
driver that follows the specification strictly would misbehave in this kind
of situation (stopping/aborting the command ring).
The patch is contained in the attachement.
Kind regards,
Jaroslav Jindrak
xhci_crcr_patch.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] xhci: move command stop and command abort flag check to the case when the crcr_low register is set,
Jaroslav Jindrák <=