Skip to contentSkip to conversation

default-configs: add CONFIG_PARALLEL to hppa-softmmu

PATCH In review Alex Bennée 2 participants 2 messages Jan 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 default-configs: add CONFIG_PARALLEL to hppa-softmmu

The PARISC Lasi chipset emulation requires some of the common parallel support and fails to build on a --without-default-devices. I am assuming the chipset emulation is non-optional for the HPPA case.

---
 default-configs/hppa-softmmu.mak | 1 +
 1 file changed, 1 insertion(+)
default-configs/hppa-softmmu.mak +1 -0
index b64c5eb3ff..9083ce8634 100644
@@ -3,6 +3,7 @@
 # Uncomment the following lines to disable these optional devices:
 #
 #CONFIG_PCI_DEVICES=n
+CONFIG_PARALLEL=y
 
 # Boards:
 #
Signature · 1 line
2.20.1
#1 lore raw

Hi Alex,

Quoted 4 lines · Alex Bennée

The PARISC Lasi chipset emulation requires some of the common parallel support and fails to build on a --without-default-devices. I am assuming the chipset emulation is non-optional for the HPPA case.

Fixes 376b851909d
Quoted 10 lines
---
  default-configs/hppa-softmmu.mak | 1 +
  1 file changed, 1 insertion(+)
default-configs/hppa-softmmu.mak +0 -0
index b64c5eb3ff..9083ce8634 100644

default-configs/hppa-softmmu.mak line 6

Quoted 4 lines
default-configs/hppa-softmmu.mak +1 -0
@@ -3,6 +3,7 @@
  # Uncomment the following lines to disable these optional devices:
  #
  #CONFIG_PCI_DEVICES=n
+CONFIG_PARALLEL=y

We now use Kconfig :)

CONFIG_DINO=y pulls from hw/hppa/Kconfig:

config DINO

    bool
    imply PCI_DEVICES
    imply E1000_PCI
    imply VIRTIO_VGA
    select PCI
    select SERIAL
    select ISA_BUS
    select I8259
    select IDE_CMD646
    select MC146818RTC
    select LSI_SCSI_PCI
    select LASI_82596
    select LASIPS2
    select ARTIST

The fix is:

-- >8 --

hw/hppa/Kconfig +1 -0
index 82178c7dcb..22948db025 100644
@@ -12,4 +12,5 @@ config DINO
     select LSI_SCSI_PCI
     select LASI_82596
     select LASIPS2
+    select PARALLEL
     select ARTIST

---

Btw I suggested Sven to use a different config for LASI:
https://www.mail-archive.com/[email protected]/msg667945.html