summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlistair Francis2016-06-27 16:37:32 +0200
committerPeter Maydell2016-06-27 16:37:32 +0200
commitcbdab58d469cc52de30f3d0998a15d32d2fac3a0 (patch)
treea35c27f6e9ba22848fc51531189943b423e8e0bf /include
parentcadence_gem: Avoid infinite loops with a misconfigured buffer (diff)
downloadqemu-cbdab58d469cc52de30f3d0998a15d32d2fac3a0.tar.gz
qemu-cbdab58d469cc52de30f3d0998a15d32d2fac3a0.tar.xz
qemu-cbdab58d469cc52de30f3d0998a15d32d2fac3a0.zip
cadence_gem: Set the last bit when wrap is set
The Cadence GEM data sheet says: "Wrap - marks last descriptor in transmit buffer descriptor list. This can be set for any buffer within the frame." which seems to imply that when the wrap bit is set so is the last bit. Previously if the wrap bit is set, but the last is not then QEMU will enter an infinite loop. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reported-by: Li Qiang <liqiang6-s@360.cn> Reported-by: P J P <ppandit@redhat.com> Message-id: eb23f15c67989ea6a53609dc66568399dadf52a7.1466539342.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions