summaryrefslogtreecommitdiffstats
path: root/dump.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2017-09-11 08:56:06 +0200
committerGerd Hoffmann2017-09-13 10:41:39 +0200
commit6100dda70d84be83d131c3b35cb9c00f7b07db15 (patch)
tree5749e849bdb788e720fd241954c4b6abc162e2ae /dump.c
parentMerge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-signed' int... (diff)
downloadqemu-6100dda70d84be83d131c3b35cb9c00f7b07db15.tar.gz
qemu-6100dda70d84be83d131c3b35cb9c00f7b07db15.tar.xz
qemu-6100dda70d84be83d131c3b35cb9c00f7b07db15.zip
xhci: Avoid DMA when ERSTBA is set to zero
The existing XHCI code reads the Event Ring Segment Table Base Address Register (ERSTBA) every time when it is changed. However zero is its default state so one would think that zero there means it is not in use. This adds a check for ERSTBA in addition to the existing check for the Event Ring Segment Table Size Register (ERSTSZ). Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-id: 20170911065606.40600-1-aik@ozlabs.ru Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions