diff options
author | John Snow <jsnow@redhat.com> | 2016-02-10 13:29:40 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-02-10 13:29:40 -0500 |
commit | f8a6c5f3188b32db5c63e0759d390cb341888497 (patch) | |
tree | 1176962b7852f11f3c05df4c0c04653669958eda /iothread.c | |
parent | f32a2f33c2e765addcca7748f9df692e4131a0e2 (diff) |
ahci: explicitly reject bad engine states on post_load
Currently, we let ahci_cond_start_engines reject weird configurations
where either the DMA (CLB) or FIS engines are said to be started, but
their matching on/off control bit is toggled off.
There should be no way to achieve this, since any time you toggle the
control bit off, the status bit should always follow synchronously.
Preparing for a refactor in cond_start_engines, move the rejection logic
straight up into post_load.
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1454103689-13042-4-git-send-email-jsnow@redhat.com
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions