Re: [PATCH v2] hw/block/nvme: fix prp mapping status codes

2020-10-22 Thread Klaus Jensen
On Oct 19 11:20, Keith Busch wrote: > On Mon, Oct 19, 2020 at 07:35:38PM +0200, Klaus Jensen wrote: > > From: Gollu Appalanaidu > > > > Address 0 is not an invalid address. Remove those invalikd checks. > > > > Unaligned PRP2 and PRP list entries should result in Invalid PRP Offset > > status

Re: [PATCH v2] hw/block/nvme: fix prp mapping status codes

2020-10-19 Thread Keith Busch
On Mon, Oct 19, 2020 at 07:35:38PM +0200, Klaus Jensen wrote: > From: Gollu Appalanaidu > > Address 0 is not an invalid address. Remove those invalikd checks. > > Unaligned PRP2 and PRP list entries should result in Invalid PRP Offset > status code and not Invalid Field. Fix that. > > See NVMe

[PATCH v2] hw/block/nvme: fix prp mapping status codes

2020-10-19 Thread Klaus Jensen
From: Gollu Appalanaidu Address 0 is not an invalid address. Remove those invalikd checks. Unaligned PRP2 and PRP list entries should result in Invalid PRP Offset status code and not Invalid Field. Fix that. See NVMe Express v1.3d, Section 4.3 ("Physical Region Page Entry and List").