[PATCH 0/2] hw/nvme: fix namespace attachment on controller hotplug

Klaus Jensen posted 2 patches 2 years, 7 months ago
Failed in applying to current master (apply log)
docs/system/devices/nvme.rst | 24 ++++++++++++++----------
hw/core/machine.c            |  4 +++-
hw/nvme/ns.c                 |  8 +-------
hw/nvme/subsys.c             | 10 +++++++++-
4 files changed, 27 insertions(+), 19 deletions(-)
[PATCH 0/2] hw/nvme: fix namespace attachment on controller hotplug
Posted by Klaus Jensen 2 years, 7 months ago
From: Klaus Jensen <k.jensen@samsung.com>

First patch from Hannes fixes the subsystem registration process such
that shared (but non-detached) namespaces are automatically attached to
hotplugged controllers.

The second patch changes the default for 'shared' such that namespaces
are shared by default and will thus by default be attached to hotplugged
controllers. This adds a compat property for older machine versions and
updates the documentation to reflect this.

Hannes Reinecke (1):
  hw/nvme: reattach subsystem namespaces on hotplug

Klaus Jensen (1):
  hw/nvme: change nvme-ns 'shared' default

 docs/system/devices/nvme.rst | 24 ++++++++++++++----------
 hw/core/machine.c            |  4 +++-
 hw/nvme/ns.c                 |  8 +-------
 hw/nvme/subsys.c             | 10 +++++++++-
 4 files changed, 27 insertions(+), 19 deletions(-)

-- 
2.33.0


Re: [PATCH 0/2] hw/nvme: fix namespace attachment on controller hotplug
Posted by Keith Busch 2 years, 5 months ago
On Fri, Sep 24, 2021 at 09:27:40AM +0200, Klaus Jensen wrote:
> From: Klaus Jensen <k.jensen@samsung.com>
> 
> First patch from Hannes fixes the subsystem registration process such
> that shared (but non-detached) namespaces are automatically attached to
> hotplugged controllers.
> 
> The second patch changes the default for 'shared' such that namespaces
> are shared by default and will thus by default be attached to hotplugged
> controllers. This adds a compat property for older machine versions and
> updates the documentation to reflect this.

Series looks good.

Reviewed-by: Keith Busch <kbusch@kernel.org>

Re: [PATCH 0/2] hw/nvme: fix namespace attachment on controller hotplug
Posted by Klaus Jensen 2 years, 5 months ago
On Sep 24 09:27, Klaus Jensen wrote:
> From: Klaus Jensen <k.jensen@samsung.com>
> 
> First patch from Hannes fixes the subsystem registration process such
> that shared (but non-detached) namespaces are automatically attached to
> hotplugged controllers.
> 
> The second patch changes the default for 'shared' such that namespaces
> are shared by default and will thus by default be attached to hotplugged
> controllers. This adds a compat property for older machine versions and
> updates the documentation to reflect this.
> 
> Hannes Reinecke (1):
>   hw/nvme: reattach subsystem namespaces on hotplug
> 
> Klaus Jensen (1):
>   hw/nvme: change nvme-ns 'shared' default
> 
>  docs/system/devices/nvme.rst | 24 ++++++++++++++----------
>  hw/core/machine.c            |  4 +++-
>  hw/nvme/ns.c                 |  8 +-------
>  hw/nvme/subsys.c             | 10 +++++++++-
>  4 files changed, 27 insertions(+), 19 deletions(-)
> 

Ping :)