| commit | d357230b20e5f238e5ff6084cdf6d3231d27f0c6 | [log] [tgz] |
|---|---|---|
| author | Padmakar Kalghatgi <p.kalghatgi@samsung.com> | Fri Apr 09 12:55:48 2021 +0530 |
| committer | Klaus Jensen <k.jensen@samsung.com> | Mon Apr 12 08:55:20 2021 +0200 |
| tree | 6b92cd8de59a3bf1cfdc851f1de23ccd1b299607 | |
| parent | a3d9f3a9629bfb22864e83e73f047cd62e9ba283 [diff] |
hw/block/nvme: map prp fix if prp2 contains non-zero offset nvme_map_prp needs to calculate the number of list entries based on the offset value. For the subsequent PRP2 list, need to ensure the number of entries is within the MAX number of PRP entries for a page. Signed-off-by: Padmakar Kalghatgi <p.kalghatgi@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>