]> git.proxmox.com Git - mirror_qemu.git/commit
AHCI: Do not (re)map FB/CLB buffers while not running
authorJohn Snow <jsnow@redhat.com>
Fri, 27 Mar 2015 19:48:11 +0000 (15:48 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 27 Mar 2015 19:48:11 +0000 (15:48 -0400)
commita13ab5a35bc0435fcfdacb3e171ceedcc077573d
tree77e816a18f01674578cf3ae24a6f86b96399c3a8
parentb27e767e8c8d56cb7c9d0b78eadd89521bdf836c
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
hw/ide/ahci.c