Skip to contentSkip to conversation

kconfig: Add NVME to s390x machines

PATCH In review Cédric Le Goater 3 participants 3 messages Aug 28, 2023 – Aug 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig: Add NVME to s390x machines

From: Cédric Le Goater <[email protected]>

We recently had issues with nvme devices on big endian platforms. Include their compilation on s390x to ease tests.

---
 hw/nvme/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/nvme/Kconfig +1 -1
index 8ac90942e55e..cfa2ab0f9d5a 100644
@@ -1,4 +1,4 @@
 config NVME_PCI
     bool
-    default y if PCI_DEVICES
+    default y if PCI_DEVICES || PCIE_DEVICES
     depends on PCI
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Cédric Le Goater

From: Cédric Le Goater <[email protected]>

We recently had issues with nvme devices on big endian platforms. Include their compilation on s390x to ease tests.

---
  hw/nvme/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
hw/nvme/Kconfig +0 -0
index 8ac90942e55e..cfa2ab0f9d5a 100644

hw/nvme/Kconfig line 4

Quoted 5 lines
hw/nvme/Kconfig +1 -1
@@ -1,4 +1,4 @@
  config NVME_PCI
      bool
-    default y if PCI_DEVICES
+    default y if PCI_DEVICES || PCIE_DEVICES
      depends on PCI

hw/nvme/ctrl.c uses INTERFACE_PCIE_DEVICE, so I think looks right to me.

Acked-by on v1 1/1
#2 lore raw
In reply to Cédric Le Goater
Quoted 23 lines · Cédric Le Goater

From: Cédric Le Goater <[email protected]>

We recently had issues with nvme devices on big endian platforms. Include their compilation on s390x to ease tests.

---
 hw/nvme/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/nvme/Kconfig +1 -1
index 8ac90942e55e..cfa2ab0f9d5a 100644
@@ -1,4 +1,4 @@
 config NVME_PCI
     bool
-    default y if PCI_DEVICES
+    default y if PCI_DEVICES || PCIE_DEVICES
     depends on PCI
Signature · 1 line
2.41.0