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

2020-09-22 Thread Keith Busch
On Tue, Sep 22, 2020 at 11:04:25AM +0200, Klaus Jensen wrote: > On Aug 17 08:29, Klaus Jensen wrote: > > On Jul 30 00:50, Klaus Jensen wrote: > > > On Jul 29 15:01, Andrzej Jakowski wrote: > > > > So far it was not possible to have CMB and PMR emulated on the same > > > > device, because BAR2 was u

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

2020-09-22 Thread Klaus Jensen
On Aug 17 08:29, Klaus Jensen wrote: > On Jul 30 00:50, Klaus Jensen wrote: > > On Jul 29 15:01, 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 BAR

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

2020-08-16 Thread Klaus Jensen
On Jul 30 00:50, Klaus Jensen wrote: > On Jul 29 15:01, 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

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

2020-07-29 Thread Klaus Jensen
On Jul 29 15:01, 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. > > Signed-off-by: Andrzej Jakowski > ---

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

2020-07-29 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 | 124