Skip to contentSkip to conversation

isa/piix: move to mips malta

PATCH In review Michael S. Tsirkin 2 participants 4 messages Jan 9, 2018 – Mar 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 isa/piix: move to mips malta

This device is only used on mips malta, move it to the maintainer that's actually testing it.

Cc Aurelien Jarno <[email protected]>
Cc Yongbok Kim <[email protected]>
Cc Hervé Poussineau <[email protected]>

---

Aurelien, pls feel free to merge this or v1.

 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 0255113..0b8a5e7 100644
@@ -641,6 +641,7 @@ Malta
 M: Aurelien Jarno <[email protected]>
 S: Maintained
 F: hw/mips/mips_malta.c
+F: hw/isa/piix4.c
 
 Mipssim
 M: Yongbok Kim <[email protected]>
@@ -849,7 +850,6 @@ F: hw/pci-host/q35.c
 F: hw/pci-host/pam.c
 F: include/hw/pci-host/q35.h
 F: include/hw/pci-host/pam.h
-F: hw/isa/piix4.c
 F: hw/isa/lpc_ich9.c
 F: hw/i2c/smbus_ich9.c
 F: hw/acpi/piix4.c
Signature · 1 line
MST
#1 lore raw

Hi Michael,

Quoted 2 lines · Michael S. Tsirkin

This device is only used on mips malta, move it to the maintainer that's actually testing it.

Slighly related to this patch, since I included it while working on Kconfig/MIPS.
I splitted PIIX3/PIIX4 (Actually PIIX3 was mixed with I440FX). These are indeed 2 different chipsets, PIIX4 is an improved PIIX3.

I compiled MIPS with PIIX4 and it works, however when I ran all the testsuite X86 failed due to PIIX4_PM missing.
I looked where it is used:

$ git grep PIIX4_PM
docs/interop/firmware.json:96:#           enabled with "-global
PIIX4_PM.disable_s3=0" and disabled
docs/interop/firmware.json:97:#           with "-global
PIIX4_PM.disable_s3=1". On the "pc-q35-*"
docs/interop/firmware.json:105:#           can be enabled with "-global
PIIX4_PM.disable_s4=0" and
docs/interop/firmware.json:106:#           disabled with "-global
PIIX4_PM.disable_s4=1". On the
hw/i386/pc.c:282:    { "PIIX4_PM", "memory-hotplug-support", "off" },
hw/i386/pc.c:299:    { "PIIX4_PM",
"acpi-pci-hotplug-with-bridge-support", "off" },

So now I'm confused, looking at git history I see you introduced this in commit 9e047b98245.

What chipset do use the PC machine? An unreal hybrid of PIIX3/PIIX4?

Thanks,

Phil.

Quoted 33 lines
Cc Aurelien Jarno <[email protected]>
Cc Yongbok Kim <[email protected]>
Cc Hervé Poussineau <[email protected]>

---

Aurelien, pls feel free to merge this or v1.

 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 0255113..0b8a5e7 100644
@@ -641,6 +641,7 @@ Malta
 M: Aurelien Jarno <[email protected]>
 S: Maintained
 F: hw/mips/mips_malta.c
+F: hw/isa/piix4.c
 
 Mipssim
 M: Yongbok Kim <[email protected]>
@@ -849,7 +850,6 @@ F: hw/pci-host/q35.c
 F: hw/pci-host/pam.c
 F: include/hw/pci-host/q35.h
 F: include/hw/pci-host/pam.h
-F: hw/isa/piix4.c
 F: hw/isa/lpc_ich9.c
 F: hw/i2c/smbus_ich9.c
 F: hw/acpi/piix4.c
#2 lore raw
Quoted 28 lines · Philippe Mathieu-Daudé

Hi Michael,

Quoted 2 lines · Michael S. Tsirkin

This device is only used on mips malta, move it to the maintainer that's actually testing it.

Slighly related to this patch, since I included it while working on Kconfig/MIPS.
I splitted PIIX3/PIIX4 (Actually PIIX3 was mixed with I440FX). These are indeed 2 different chipsets, PIIX4 is an improved PIIX3.

I compiled MIPS with PIIX4 and it works, however when I ran all the testsuite X86 failed due to PIIX4_PM missing.
I looked where it is used:

$ git grep PIIX4_PM
docs/interop/firmware.json:96:#           enabled with "-global
PIIX4_PM.disable_s3=0" and disabled
docs/interop/firmware.json:97:#           with "-global
PIIX4_PM.disable_s3=1". On the "pc-q35-*"
docs/interop/firmware.json:105:#           can be enabled with "-global
PIIX4_PM.disable_s4=0" and
docs/interop/firmware.json:106:#           disabled with "-global
PIIX4_PM.disable_s4=1". On the
hw/i386/pc.c:282:    { "PIIX4_PM", "memory-hotplug-support", "off" },
hw/i386/pc.c:299:    { "PIIX4_PM",
"acpi-pci-hotplug-with-bridge-support", "off" },
Quoted 8 lines

So now I'm confused, looking at git history I see you introduced this in commit 9e047b98245.

What chipset do use the PC machine? An unreal hybrid of PIIX3/PIIX4?

Thanks,

Phil.

Yes I think it does not match any real hardware at this point.

Not sure what does grep above show: to create piix4 pm pc_init1 calls piix4_pm_init.

Quoted 33 lines
Quoted 33 lines
Cc Aurelien Jarno <[email protected]>
Cc Yongbok Kim <[email protected]>
Cc Hervé Poussineau <[email protected]>

---

Aurelien, pls feel free to merge this or v1.

 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 0255113..0b8a5e7 100644
@@ -641,6 +641,7 @@ Malta
 M: Aurelien Jarno <[email protected]>
 S: Maintained
 F: hw/mips/mips_malta.c
+F: hw/isa/piix4.c
 
 Mipssim
 M: Yongbok Kim <[email protected]>
@@ -849,7 +850,6 @@ F: hw/pci-host/q35.c
 F: hw/pci-host/pam.c
 F: include/hw/pci-host/q35.h
 F: include/hw/pci-host/pam.h
-F: hw/isa/piix4.c
 F: hw/isa/lpc_ich9.c
 F: hw/i2c/smbus_ich9.c
 F: hw/acpi/piix4.c
#3 lore raw
Quoted 32 lines · Michael S. Tsirkin
Quoted 31 lines · Philippe Mathieu-Daudé

Hi Michael,

Quoted 2 lines · Michael S. Tsirkin

This device is only used on mips malta, move it to the maintainer that's actually testing it.

Slighly related to this patch, since I included it while working on Kconfig/MIPS.
I splitted PIIX3/PIIX4 (Actually PIIX3 was mixed with I440FX). These are indeed 2 different chipsets, PIIX4 is an improved PIIX3.

I compiled MIPS with PIIX4 and it works, however when I ran all the testsuite X86 failed due to PIIX4_PM missing.
I looked where it is used:

$ git grep PIIX4_PM
docs/interop/firmware.json:96:#           enabled with "-global
PIIX4_PM.disable_s3=0" and disabled
docs/interop/firmware.json:97:#           with "-global
PIIX4_PM.disable_s3=1". On the "pc-q35-*"
docs/interop/firmware.json:105:#           can be enabled with "-global
PIIX4_PM.disable_s4=0" and
docs/interop/firmware.json:106:#           disabled with "-global
PIIX4_PM.disable_s4=1". On the
hw/i386/pc.c:282:    { "PIIX4_PM", "memory-hotplug-support", "off" },
hw/i386/pc.c:299:    { "PIIX4_PM",
"acpi-pci-hotplug-with-bridge-support", "off" },

So now I'm confused, looking at git history I see you introduced this in commit 9e047b98245.

Quoted 7 lines
Quoted 5 lines

What chipset do use the PC machine? An unreal hybrid of PIIX3/PIIX4?

Thanks,

Phil.

Yes I think it does not match any real hardware at this point.

This is unfortunate :( I'll try to sort this out.

Quoted 3 lines

Not sure what does grep above show: to create piix4 pm pc_init1 calls piix4_pm_init.

Indeed, which makes me wonder what I'm running =)

Thanks for the quick answer,

Phil.

Quoted 33 lines
Quoted 33 lines
Quoted 33 lines
Cc Aurelien Jarno <[email protected]>
Cc Yongbok Kim <[email protected]>
Cc Hervé Poussineau <[email protected]>

---

Aurelien, pls feel free to merge this or v1.

 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index 0255113..0b8a5e7 100644
@@ -641,6 +641,7 @@ Malta
 M: Aurelien Jarno <[email protected]>
 S: Maintained
 F: hw/mips/mips_malta.c
+F: hw/isa/piix4.c
 
 Mipssim
 M: Yongbok Kim <[email protected]>
@@ -849,7 +850,6 @@ F: hw/pci-host/q35.c
 F: hw/pci-host/pam.c
 F: include/hw/pci-host/q35.h
 F: include/hw/pci-host/pam.h
-F: hw/isa/piix4.c
 F: hw/isa/lpc_ich9.c
 F: hw/i2c/smbus_ich9.c
 F: hw/acpi/piix4.c