Re: [PATCH v1 2/2] nvme: allow cmb and pmr to be enabled on same device

2020-06-09 Thread Klaus Jensen
On Jun 8 12:44, Andrzej Jakowski wrote: > On 6/8/20 1:08 AM, Klaus Jensen wrote: > > On Jun 5 11:10, Andrzej Jakowski wrote: > >> So far it was not possible to have CMB and PMR emulated on the same > >> device, because BAR2 was used exclusively either of PMR or CMB. This > >> patch places CMB at

Re: [PATCH v1 2/2] nvme: allow cmb and pmr to be enabled on same device

2020-06-08 Thread Andrzej Jakowski
On 6/8/20 1:08 AM, Klaus Jensen wrote: > On Jun 5 11:10, Andrzej Jakowski wrote: >> So far it was not possible to have CMB and PMR emulated on the same >> device, because BAR2 was used exclusively either of PMR or CMB. This >> patch places CMB at BAR4 offset so it not conflicts with MSI-X

Re: [PATCH v1 2/2] nvme: allow cmb and pmr to be enabled on same device

2020-06-08 Thread Klaus Jensen
On Jun 5 11:10, Andrzej Jakowski wrote: > So far it was not possible to have CMB and PMR emulated on the same > device, because BAR2 was used exclusively either of PMR or CMB. This > patch places CMB at BAR4 offset so it not conflicts with MSI-X vectors. > Hi Andrzej, Thanks for doing this,

[PATCH v1 2/2] nvme: allow cmb and pmr to be enabled on same device

2020-06-05 Thread Andrzej Jakowski
So far it was not possible to have CMB and PMR emulated on the same device, because BAR2 was used exclusively either of PMR or CMB. This patch places CMB at BAR4 offset so it not conflicts with MSI-X vectors. Signed-off-by: Andrzej Jakowski --- hw/block/nvme.c | 127