* [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices
@ 2019-03-10 23:53 Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI Philippe Mathieu-Daudé
` (8 more replies)
0 siblings, 9 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé
Hi,
This series is a cleanup for the PIIX/PIIX3/PIIX4 devices.
The isapc machine split isn't clean because while designed
on a PIIX3, our model uses ACPI features from the PIIX4.
The i440fx cleanup is left for the the next development cycle.
This series is a prerequisite for the MIPS Malta port to Kconfig.
Please review.
Regards,
Phil.
Philippe Mathieu-Daudé (8):
hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI
hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig
hw/southbridge: Add the PIIX chipset to Kconfig
hw/southbridge: Add the PIIX3 chipset to Kconfig
hw/southbridge: Cleanup the PIIX4 chipset in Kconfig
hw/southbridge: Add ACPI_PIIX4 to Kconfig
hw/i386: The 'isapc' machine is built around a PIIX3 southbridge
hw/i386: Move ACPI_SMBUS out of I440FX (Kconfig)
default-configs/mips-softmmu-common.mak | 1 +
hw/acpi/Kconfig | 7 +++++++
hw/acpi/Makefile.objs | 3 ++-
hw/i2c/Kconfig | 1 +
hw/i386/Kconfig | 9 ++++----
hw/ide/Kconfig | 1 +
hw/input/Kconfig | 4 ++++
hw/isa/Kconfig | 28 ++++++++++++++++++++++++-
8 files changed, 47 insertions(+), 7 deletions(-)
--
2.20.1
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-11 0:27 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig Philippe Mathieu-Daudé
` (7 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/i2c/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig
index ef1caa6d89..ec62909fa1 100644
--- a/hw/i2c/Kconfig
+++ b/hw/i2c/Kconfig
@@ -17,6 +17,7 @@ config VERSATILE_I2C
config ACPI_SMBUS
bool
select I2C
+ depends on ACPI
config BITBANG_I2C
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-11 6:47 ` Thomas Huth
2019-03-10 23:53 ` [Qemu-devel] [PATCH 3/8] hw/southbridge: Add the PIIX chipset " Philippe Mathieu-Daudé
` (6 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé
The Intel 8042 chipset also includes some functions unrelated to
the keyboard, such the A20-Gate.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/input/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/input/Kconfig b/hw/input/Kconfig
index e2e66f0858..83e4546a28 100644
--- a/hw/input/Kconfig
+++ b/hw/input/Kconfig
@@ -10,6 +10,10 @@ config PCKBD
default y
depends on ISA_BUS
+config I8042
+ bool
+ select PCKBD
+
config PL050
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 3/8] hw/southbridge: Add the PIIX chipset to Kconfig
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 4/8] hw/southbridge: Add the PIIX3 " Philippe Mathieu-Daudé
` (5 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé,
John Snow, open list:IDE
The PIIX (Intel 82371FB) is a bridge between PCI <-> ISA.
It contains:
- IDE interface (PIO and burst transfers)
- one 82c54 timer (and speaker tone output)
- two 82c59 interrupts controllers
- two 8237 DMA controllers
- Power Management (programmable SMI)
- NMI
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/ide/Kconfig | 1 +
hw/isa/Kconfig | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/hw/ide/Kconfig b/hw/ide/Kconfig
index ab47b6a7a3..1d997240c1 100644
--- a/hw/ide/Kconfig
+++ b/hw/ide/Kconfig
@@ -17,6 +17,7 @@ config IDE_ISA
config IDE_PIIX
bool
+ select IDE_ISA
select IDE_PCI
select IDE_QDEV
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index 57e09a0cb8..681e6f1bce 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -24,6 +24,19 @@ config PC87312
select FDC
select IDE_ISA
+config PIIX
+ bool
+ select PCI_PIIX
+ select IDE_PIIX
+ select I8254
+ select I8259
+ select PCSPK
+ select I8257
+ #select PM_PIIX
+ #select SMI_PIIX
+ #select NMI_PIIX
+ select ISA_BUS
+
config PIIX4
bool
# For historical reasons, SuperIO devices are created in the board
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 4/8] hw/southbridge: Add the PIIX3 chipset to Kconfig
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
` (2 preceding siblings ...)
2019-03-10 23:53 ` [Qemu-devel] [PATCH 3/8] hw/southbridge: Add the PIIX chipset " Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 5/8] hw/southbridge: Cleanup the PIIX4 chipset in Kconfig Philippe Mathieu-Daudé
` (4 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé
The PIIX3 (Intel 82371SB) is a bridge between PCI <-> ISA.
It is an exhanced PIIX, thus contains the same features.
It also contains:
- separate Master/Slave IDE mode
- compliant to PCI rev 2.1 specifications
- IOAPIC
- USB UHCI (2 ports)
- USB Legacy Support (emulated devices):
- 8042 Keyboard Controller
- A20-Gate
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/isa/Kconfig | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index 681e6f1bce..f8494edd67 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -37,6 +37,15 @@ config PIIX
#select NMI_PIIX
select ISA_BUS
+config PIIX3
+ bool
+ select PIIX
+ #select PCI_PIIX3
+ #select IDE_PIIX3
+ select IOAPIC
+ select USB_UHCI
+ select I8042
+
config PIIX4
bool
# For historical reasons, SuperIO devices are created in the board
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 5/8] hw/southbridge: Cleanup the PIIX4 chipset in Kconfig
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
` (3 preceding siblings ...)
2019-03-10 23:53 ` [Qemu-devel] [PATCH 4/8] hw/southbridge: Add the PIIX3 " Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 6/8] hw/southbridge: Add ACPI_PIIX4 to Kconfig Philippe Mathieu-Daudé
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé
The PIIX4 (Intel 82371AB) is a bridge between PCI <-> ISA.
It is an exhanced PIIX3, thus contains the same features.
It also contains:
- Power Management (ACPI rev 1.0)
- IDE UDMA/33
- SMBus interface (host and slave)
- RTC
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/isa/Kconfig | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index f8494edd67..1c923dfd07 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -48,9 +48,13 @@ config PIIX3
config PIIX4
bool
+ select PIIX3
+ #select ACPI_PIIX4
+ #select IDE_PIIX4
+ select ACPI_SMBUS
+ select MC146818RTC
# For historical reasons, SuperIO devices are created in the board
# for PIIX4.
- select ISA_BUS
config VT82C686
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 6/8] hw/southbridge: Add ACPI_PIIX4 to Kconfig
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
` (4 preceding siblings ...)
2019-03-10 23:53 ` [Qemu-devel] [PATCH 5/8] hw/southbridge: Cleanup the PIIX4 chipset in Kconfig Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 7/8] hw/i386: The 'isapc' machine is built around a PIIX3 southbridge Philippe Mathieu-Daudé
` (2 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé,
Richard Henderson, Marcel Apfelbaum
Since the default-configs/mips-softmmu-common.mak is not yet ported
to the Kconfig format, we have to select this variable there (used
by the MIPS Malta machine).
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
default-configs/mips-softmmu-common.mak | 1 +
hw/acpi/Kconfig | 7 +++++++
hw/acpi/Makefile.objs | 3 ++-
hw/i386/Kconfig | 2 ++
hw/isa/Kconfig | 2 +-
5 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak
index 0795d522db..61cc3d2c6b 100644
--- a/default-configs/mips-softmmu-common.mak
+++ b/default-configs/mips-softmmu-common.mak
@@ -20,6 +20,7 @@ CONFIG_ACPI_X86=y
CONFIG_ACPI_MEMORY_HOTPLUG=y
CONFIG_ACPI_NVDIMM=y
CONFIG_ACPI_CPU_HOTPLUG=y
+CONFIG_ACPI_PIIX4=y
CONFIG_APM=y
CONFIG_I8257=y
CONFIG_PIIX4=y
diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig
index eca3beed75..627f5e9768 100644
--- a/hw/acpi/Kconfig
+++ b/hw/acpi/Kconfig
@@ -8,6 +8,13 @@ config ACPI_X86
select ACPI_CPU_HOTPLUG
select ACPI_MEMORY_HOTPLUG
+config ACPI_PIIX4
+ bool
+ select ACPI
+ select ACPI_NVDIMM
+ select ACPI_CPU_HOTPLUG
+ select ACPI_MEMORY_HOTPLUG
+
config ACPI_X86_ICH
bool
select ACPI_X86
diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs
index 2d46e3789a..2ef78175cb 100644
--- a/hw/acpi/Makefile.objs
+++ b/hw/acpi/Makefile.objs
@@ -1,5 +1,6 @@
ifeq ($(CONFIG_ACPI),y)
-common-obj-$(CONFIG_ACPI_X86) += core.o piix4.o pcihp.o
+common-obj-$(CONFIG_ACPI_X86) += core.o pcihp.o
+common-obj-$(CONFIG_ACPI_PIIX4) += piix4.o
common-obj-$(CONFIG_ACPI_X86_ICH) += ich9.o tco.o
common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) += cpu_hotplug.o
common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) += memory_hotplug.o
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 78fd70396a..f6b74e2dc0 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -69,6 +69,8 @@ config ISAPC
# FIXME: it is in the same file as i440fx, and does not compile
# if separated
depends on I440FX
+ # QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4
+ select ACPI_PIIX4
config Q35
bool
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index 1c923dfd07..d3f03ef7d5 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -49,7 +49,7 @@ config PIIX3
config PIIX4
bool
select PIIX3
- #select ACPI_PIIX4
+ select ACPI_PIIX4
#select IDE_PIIX4
select ACPI_SMBUS
select MC146818RTC
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 7/8] hw/i386: The 'isapc' machine is built around a PIIX3 southbridge
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
` (5 preceding siblings ...)
2019-03-10 23:53 ` [Qemu-devel] [PATCH 6/8] hw/southbridge: Add ACPI_PIIX4 to Kconfig Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 8/8] hw/i386: Move ACPI_SMBUS out of I440FX (Kconfig) Philippe Mathieu-Daudé
2019-03-11 3:54 ` [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices no-reply
8 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé,
Richard Henderson, Marcel Apfelbaum
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/i386/Kconfig | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index f6b74e2dc0..56e72abb8c 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -52,8 +52,6 @@ config I440FX
select PC_PCI
select PC_ACPI
select ACPI_SMBUS
- select PCI_PIIX
- select IDE_PIIX
select DIMM
select SMBIOS
select VMPORT
@@ -62,13 +60,12 @@ config I440FX
config ISAPC
bool
- select ISA_BUS
select PC
- select IDE_ISA
select VGA_ISA
# FIXME: it is in the same file as i440fx, and does not compile
# if separated
depends on I440FX
+ select PIIX3
# QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4
select ACPI_PIIX4
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Qemu-devel] [PATCH 8/8] hw/i386: Move ACPI_SMBUS out of I440FX (Kconfig)
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
` (6 preceding siblings ...)
2019-03-10 23:53 ` [Qemu-devel] [PATCH 7/8] hw/i386: The 'isapc' machine is built around a PIIX3 southbridge Philippe Mathieu-Daudé
@ 2019-03-10 23:53 ` Philippe Mathieu-Daudé
2019-03-11 3:54 ` [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices no-reply
8 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-10 23:53 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo,
Aurelien Jarno, Philippe Mathieu-Daudé,
Richard Henderson, Marcel Apfelbaum
The SMBus interface is a slow bus not related to the i440fx
northbridge, it comes from the PIIX3 southbridge.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/i386/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 56e72abb8c..9ac833b930 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -51,7 +51,6 @@ config I440FX
bool
select PC_PCI
select PC_ACPI
- select ACPI_SMBUS
select DIMM
select SMBIOS
select VMPORT
@@ -68,6 +67,7 @@ config ISAPC
select PIIX3
# QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4
select ACPI_PIIX4
+ select ACPI_SMBUS
config Q35
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI
2019-03-10 23:53 ` [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI Philippe Mathieu-Daudé
@ 2019-03-11 0:27 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-11 0:27 UTC (permalink / raw)
To: Michael S . Tsirkin, Thomas Huth, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo, Aurelien Jarno
On 3/11/19 12:53 AM, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> hw/i2c/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig
> index ef1caa6d89..ec62909fa1 100644
> --- a/hw/i2c/Kconfig
> +++ b/hw/i2c/Kconfig
> @@ -17,6 +17,7 @@ config VERSATILE_I2C
> config ACPI_SMBUS
> bool
> select I2C
> + depends on ACPI
Please ignore this patch in this series, I incorrectly reordered it here
while rebasing, but it doesn't work without the next series "Kconfig:
Cleanup the ICH9 device". As it there is a circular dependency with
PC_ACPI.
>
> config BITBANG_I2C
> bool
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
` (7 preceding siblings ...)
2019-03-10 23:53 ` [Qemu-devel] [PATCH 8/8] hw/i386: Move ACPI_SMBUS out of I440FX (Kconfig) Philippe Mathieu-Daudé
@ 2019-03-11 3:54 ` no-reply
8 siblings, 0 replies; 13+ messages in thread
From: no-reply @ 2019-03-11 3:54 UTC (permalink / raw)
To: philmd
Cc: fam, mst, thuth, pbonzini, imammedo, qemu-devel, hpoussin,
arikalo, aurelien, ehabkost, amarkovic
Patchew URL: https://patchew.org/QEMU/20190310235351.1863-1-philmd@redhat.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
time make docker-test-mingw@fedora SHOW_ENV=1 J=14 NETWORK=1
=== TEST SCRIPT END ===
The full log is available at
http://patchew.org/logs/20190310235351.1863-1-philmd@redhat.com/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig
2019-03-10 23:53 ` [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig Philippe Mathieu-Daudé
@ 2019-03-11 6:47 ` Thomas Huth
2019-03-11 11:14 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 13+ messages in thread
From: Thomas Huth @ 2019-03-11 6:47 UTC (permalink / raw)
To: Philippe Mathieu-Daudé,
Michael S . Tsirkin, Paolo Bonzini, Igor Mammedov, qemu-devel,
Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo, Aurelien Jarno
On 11/03/2019 00.53, Philippe Mathieu-Daudé wrote:
> The Intel 8042 chipset also includes some functions unrelated to
> the keyboard, such the A20-Gate.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> hw/input/Kconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/hw/input/Kconfig b/hw/input/Kconfig
> index e2e66f0858..83e4546a28 100644
> --- a/hw/input/Kconfig
> +++ b/hw/input/Kconfig
> @@ -10,6 +10,10 @@ config PCKBD
> default y
> depends on ISA_BUS
>
> +config I8042
> + bool
> + select PCKBD
I fail to see why you need this config switch. There is a "select I8042"
in a later patch, but that's it - you never use this switch to decide
anything (like including a file in the Makefiles or toggle other
switches), so this seems to be just a defunc switch to me. Or do I miss
something?
Thomas
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig
2019-03-11 6:47 ` Thomas Huth
@ 2019-03-11 11:14 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-03-11 11:14 UTC (permalink / raw)
To: Thomas Huth, Michael S . Tsirkin, Paolo Bonzini, Igor Mammedov,
qemu-devel, Hervé Poussineau
Cc: Eduardo Habkost, Aleksandar Markovic, Aleksandar Rikalo, Aurelien Jarno
On 3/11/19 7:47 AM, Thomas Huth wrote:
> On 11/03/2019 00.53, Philippe Mathieu-Daudé wrote:
>> The Intel 8042 chipset also includes some functions unrelated to
>> the keyboard, such the A20-Gate.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>> hw/input/Kconfig | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/hw/input/Kconfig b/hw/input/Kconfig
>> index e2e66f0858..83e4546a28 100644
>> --- a/hw/input/Kconfig
>> +++ b/hw/input/Kconfig
>> @@ -10,6 +10,10 @@ config PCKBD
>> default y
>> depends on ISA_BUS
>>
>> +config I8042
>> + bool
>> + select PCKBD
>
> I fail to see why you need this config switch. There is a "select I8042"
> in a later patch, but that's it - you never use this switch to decide
> anything (like including a file in the Makefiles or toggle other
> switches), so this seems to be just a defunc switch to me. Or do I miss
> something?
The PIIX3 emulates a 8042 when the USB Legacy Support is enabled.
Oh now I see, I first understood the hw/input/pckbd.c file was
modeling the 8042 and other things, but no, it is simply it.
So please disregard this patch, I'll respin renaming PCKBD -> I8042.
Thanks!
Phil.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2019-03-11 11:26 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-10 23:53 [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 1/8] hw/i2c: The ACPI_SMBUS Kconfig depends on ACPI Philippe Mathieu-Daudé
2019-03-11 0:27 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 2/8] hw/input: Add 8042 PS/2 Keyboard Controller to Kconfig Philippe Mathieu-Daudé
2019-03-11 6:47 ` Thomas Huth
2019-03-11 11:14 ` Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 3/8] hw/southbridge: Add the PIIX chipset " Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 4/8] hw/southbridge: Add the PIIX3 " Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 5/8] hw/southbridge: Cleanup the PIIX4 chipset in Kconfig Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 6/8] hw/southbridge: Add ACPI_PIIX4 to Kconfig Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 7/8] hw/i386: The 'isapc' machine is built around a PIIX3 southbridge Philippe Mathieu-Daudé
2019-03-10 23:53 ` [Qemu-devel] [PATCH 8/8] hw/i386: Move ACPI_SMBUS out of I440FX (Kconfig) Philippe Mathieu-Daudé
2019-03-11 3:54 ` [Qemu-devel] [PATCH 0/8] Kconfig: Clean up the PIIX southbridge devices no-reply
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.