Commit 9620cfb
Christoph Hellwig
nvme-pci: propagate (some) errors from host memory buffer setup
We want to catch command execution errors when resetting the device, so
propagate errors from the Set Features when setting up the host memory
buffer. We keep ignoring memory allocation failures, as the spec
clearly says that the controller must work without a host memory buffer.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Cc: [email protected]1 parent 30f92d6 commit 9620cfb
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1693 | 1693 | | |
1694 | 1694 | | |
1695 | 1695 | | |
1696 | | - | |
| 1696 | + | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | 1699 | | |
1700 | 1700 | | |
1701 | 1701 | | |
| 1702 | + | |
1702 | 1703 | | |
1703 | 1704 | | |
1704 | 1705 | | |
1705 | 1706 | | |
1706 | 1707 | | |
1707 | 1708 | | |
1708 | 1709 | | |
1709 | | - | |
| 1710 | + | |
1710 | 1711 | | |
1711 | 1712 | | |
1712 | 1713 | | |
| |||
1723 | 1724 | | |
1724 | 1725 | | |
1725 | 1726 | | |
1726 | | - | |
| 1727 | + | |
1727 | 1728 | | |
1728 | 1729 | | |
1729 | 1730 | | |
1730 | 1731 | | |
1731 | 1732 | | |
1732 | 1733 | | |
1733 | 1734 | | |
1734 | | - | |
| 1735 | + | |
| 1736 | + | |
1735 | 1737 | | |
| 1738 | + | |
1736 | 1739 | | |
1737 | 1740 | | |
1738 | 1741 | | |
| |||
2176 | 2179 | | |
2177 | 2180 | | |
2178 | 2181 | | |
2179 | | - | |
2180 | | - | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
2181 | 2187 | | |
2182 | 2188 | | |
2183 | 2189 | | |
| |||
0 commit comments