summary refs log tree commit diff stats
path: root/hw/char/lm32_uart.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-03-27 15:48:11 -0400
committerJohn Snow <jsnow@redhat.com>2015-03-27 15:48:11 -0400
commita13ab5a35bc0435fcfdacb3e171ceedcc077573d (patch)
tree77e816a18f01674578cf3ae24a6f86b96399c3a8 /hw/char/lm32_uart.c
parentb27e767e8c8d56cb7c9d0b78eadd89521bdf836c (diff)
downloadfocaccia-qemu-a13ab5a35bc0435fcfdacb3e171ceedcc077573d.tar.gz
focaccia-qemu-a13ab5a35bc0435fcfdacb3e171ceedcc077573d.zip
AHCI: Do not (re)map FB/CLB buffers while not running
The FIS Receive Buffer and Command List Buffer pointers
should not be edited while the FIS receive engine or
Command Receive engines are running.

Currently, we attempt to re-map the buffers every time they
are adjusted, but while the AHCI engines are off, these registers
may contain stale values, so we should not attempt to re-map these
values until the engines are reactivated.

Reported-by: Jordan Hargrave <jharg93@gmail.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1426283454-15590-2-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/char/lm32_uart.c')
0 files changed, 0 insertions, 0 deletions