Commit 62aab08
s390/vfio-ap: store entire AP queue status word with the queue object
Store the entire AP queue status word returned from the ZAPQ command with
the struct vfio_ap_queue object instead of just the response code field.
The other information contained in the status word is need by the
apq_reset_check function to display a proper message to indicate that the
vfio_ap driver is waiting for the ZAPQ to complete because the queue is
not empty or IRQs are still enabled.
Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Tested-by: Viktor Mihajlovski <mihajlov@linux.ibm.com>
Link: https://lore.kernel.org/r/20230815184333.6554-7-akrowiak@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>1 parent dd17483 commit 62aab08
2 files changed
Lines changed: 17 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
| 677 | + | |
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
| 1631 | + | |
1631 | 1632 | | |
1632 | 1633 | | |
1633 | 1634 | | |
| |||
1643 | 1644 | | |
1644 | 1645 | | |
1645 | 1646 | | |
1646 | | - | |
1647 | | - | |
| 1647 | + | |
| 1648 | + | |
1648 | 1649 | | |
1649 | | - | |
| 1650 | + | |
1650 | 1651 | | |
1651 | 1652 | | |
1652 | 1653 | | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
1657 | 1658 | | |
1658 | | - | |
1659 | | - | |
| 1659 | + | |
| 1660 | + | |
1660 | 1661 | | |
1661 | 1662 | | |
1662 | 1663 | | |
| |||
1673 | 1674 | | |
1674 | 1675 | | |
1675 | 1676 | | |
1676 | | - | |
| 1677 | + | |
1677 | 1678 | | |
1678 | 1679 | | |
1679 | 1680 | | |
| |||
1688 | 1689 | | |
1689 | 1690 | | |
1690 | 1691 | | |
1691 | | - | |
| 1692 | + | |
| 1693 | + | |
1692 | 1694 | | |
1693 | 1695 | | |
1694 | 1696 | | |
| |||
2042 | 2044 | | |
2043 | 2045 | | |
2044 | 2046 | | |
| 2047 | + | |
2045 | 2048 | | |
2046 | 2049 | | |
2047 | 2050 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments