* [Qemu-devel] [PATCH v2 1/6] mips: Express dependencies of the MIPSsim machine with kconfig
2019-02-04 20:26 [Qemu-devel] [PATCH v2 0/6] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
@ 2019-02-04 20:26 ` Philippe Mathieu-Daudé
2019-02-05 3:35 ` Thomas Huth
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 2/6] mips: Express dependencies of the Jazz " Philippe Mathieu-Daudé
` (4 subsequent siblings)
5 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-04 20:26 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth, Philippe Mathieu-Daudé
The MIPSsim machine only emulates an 8250 UART and a simple network
controller, connected via an ISA bus.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
default-configs/mips-softmmu-common.mak | 1 -
hw/mips/Kconfig | 3 +++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak
index 0795d522db..8c5fdf5ee1 100644
--- a/default-configs/mips-softmmu-common.mak
+++ b/default-configs/mips-softmmu-common.mak
@@ -26,7 +26,6 @@ CONFIG_PIIX4=y
CONFIG_IDE_ISA=y
CONFIG_IDE_PIIX=y
CONFIG_NE2000_ISA=y
-CONFIG_MIPSNET=y
CONFIG_PFLASH_CFI01=y
CONFIG_I8259=y
CONFIG_MC146818RTC=y
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index cdc07e59b6..3433e97e1a 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -6,6 +6,9 @@ config MALTA
config MIPSSIM
bool
+ select ISA_BUS
+ select SERIAL_ISA
+ select MIPSNET
config JAZZ
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 1/6] mips: Express dependencies of the MIPSsim machine with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 1/6] mips: Express dependencies of the MIPSsim machine with kconfig Philippe Mathieu-Daudé
@ 2019-02-05 3:35 ` Thomas Huth
0 siblings, 0 replies; 17+ messages in thread
From: Thomas Huth @ 2019-02-05 3:35 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan
On 2019-02-04 21:26, Philippe Mathieu-Daudé wrote:
> The MIPSsim machine only emulates an 8250 UART and a simple network
> controller, connected via an ISA bus.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> default-configs/mips-softmmu-common.mak | 1 -
> hw/mips/Kconfig | 3 +++
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak
> index 0795d522db..8c5fdf5ee1 100644
> --- a/default-configs/mips-softmmu-common.mak
> +++ b/default-configs/mips-softmmu-common.mak
> @@ -26,7 +26,6 @@ CONFIG_PIIX4=y
> CONFIG_IDE_ISA=y
> CONFIG_IDE_PIIX=y
> CONFIG_NE2000_ISA=y
> -CONFIG_MIPSNET=y
> CONFIG_PFLASH_CFI01=y
> CONFIG_I8259=y
> CONFIG_MC146818RTC=y
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index cdc07e59b6..3433e97e1a 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -6,6 +6,9 @@ config MALTA
>
> config MIPSSIM
> bool
> + select ISA_BUS
> + select SERIAL_ISA
> + select MIPSNET
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Qemu-devel] [PATCH v2 2/6] mips: Express dependencies of the Jazz machine with kconfig
2019-02-04 20:26 [Qemu-devel] [PATCH v2 0/6] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 1/6] mips: Express dependencies of the MIPSsim machine with kconfig Philippe Mathieu-Daudé
@ 2019-02-04 20:26 ` Philippe Mathieu-Daudé
2019-02-05 4:04 ` Thomas Huth
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 3/6] mips: Express dependencies of the r4k platform " Philippe Mathieu-Daudé
` (3 subsequent siblings)
5 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-04 20:26 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth, Philippe Mathieu-Daudé
The Jazz use the RC4030 Asic to provide an EISA bus and DMA/IRQ. The
framebuffer display is managed by a G364, the network card is a Sonic
DP83932. A QLogic ESP216 provides a SCSI bus.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
default-configs/mips-softmmu-common.mak | 1 -
default-configs/mips64-softmmu.mak | 5 -----
default-configs/mips64el-softmmu.mak | 6 ------
hw/mips/Kconfig | 17 +++++++++++++++++
4 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak
index 8c5fdf5ee1..caebafd416 100644
--- a/default-configs/mips-softmmu-common.mak
+++ b/default-configs/mips-softmmu-common.mak
@@ -3,7 +3,6 @@
CONFIG_ISA_BUS=y
CONFIG_PCI=y
CONFIG_PCI_DEVICES=y
-CONFIG_ESP=y
CONFIG_VGA_ISA=y
CONFIG_VGA_ISA_MM=y
CONFIG_VGA_CIRRUS=y
diff --git a/default-configs/mips64-softmmu.mak b/default-configs/mips64-softmmu.mak
index bad7496672..a169738635 100644
--- a/default-configs/mips64-softmmu.mak
+++ b/default-configs/mips64-softmmu.mak
@@ -1,9 +1,4 @@
# Default configuration for mips64-softmmu
include mips-softmmu-common.mak
-CONFIG_RC4030=y
-CONFIG_DP8393X=y
-CONFIG_DS1225Y=y
CONFIG_JAZZ=y
-CONFIG_G364FB=y
-CONFIG_JAZZ_LED=y
diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
index 8b255efc54..23445cfcf9 100644
--- a/default-configs/mips64el-softmmu.mak
+++ b/default-configs/mips64el-softmmu.mak
@@ -2,13 +2,7 @@
include mips-softmmu-common.mak
CONFIG_IDE_VIA=y
-CONFIG_RC4030=y
-CONFIG_DP8393X=y
-CONFIG_DS1225Y=y
CONFIG_FULONG=y
-CONFIG_JAZZ=y
-CONFIG_G364FB=y
-CONFIG_JAZZ_LED=y
CONFIG_VT82C686=y
CONFIG_AHCI=y
CONFIG_MIPS_BOSTON=y
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index 3433e97e1a..ab006477c7 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -12,6 +12,23 @@ config MIPSSIM
config JAZZ
bool
+ select ISA_BUS
+ select RC4030
+ select I8259
+ select I8254
+ select I8257
+ select PCSPK
+ select VGA_ISA_MM
+ select G364FB
+ select DP8393X
+ select ESP
+ select FDC
+ select MC146818RTC
+ select PCKBD
+ select SERIAL
+ select PARALLEL
+ select DS1225Y
+ select JAZZ_LED
config FULONG
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 2/6] mips: Express dependencies of the Jazz machine with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 2/6] mips: Express dependencies of the Jazz " Philippe Mathieu-Daudé
@ 2019-02-05 4:04 ` Thomas Huth
2019-02-05 11:57 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 17+ messages in thread
From: Thomas Huth @ 2019-02-05 4:04 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan
On 2019-02-04 21:26, Philippe Mathieu-Daudé wrote:
> The Jazz use the RC4030 Asic to provide an EISA bus and DMA/IRQ. The
> framebuffer display is managed by a G364, the network card is a Sonic
> DP83932. A QLogic ESP216 provides a SCSI bus.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> default-configs/mips-softmmu-common.mak | 1 -
> default-configs/mips64-softmmu.mak | 5 -----
> default-configs/mips64el-softmmu.mak | 6 ------
> hw/mips/Kconfig | 17 +++++++++++++++++
> 4 files changed, 17 insertions(+), 12 deletions(-)
>
> diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak
> index 8c5fdf5ee1..caebafd416 100644
> --- a/default-configs/mips-softmmu-common.mak
> +++ b/default-configs/mips-softmmu-common.mak
> @@ -3,7 +3,6 @@
> CONFIG_ISA_BUS=y
> CONFIG_PCI=y
> CONFIG_PCI_DEVICES=y
> -CONFIG_ESP=y
> CONFIG_VGA_ISA=y
> CONFIG_VGA_ISA_MM=y
> CONFIG_VGA_CIRRUS=y
> diff --git a/default-configs/mips64-softmmu.mak b/default-configs/mips64-softmmu.mak
> index bad7496672..a169738635 100644
> --- a/default-configs/mips64-softmmu.mak
> +++ b/default-configs/mips64-softmmu.mak
> @@ -1,9 +1,4 @@
> # Default configuration for mips64-softmmu
>
> include mips-softmmu-common.mak
> -CONFIG_RC4030=y
> -CONFIG_DP8393X=y
> -CONFIG_DS1225Y=y
> CONFIG_JAZZ=y
> -CONFIG_G364FB=y
> -CONFIG_JAZZ_LED=y
> diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
> index 8b255efc54..23445cfcf9 100644
> --- a/default-configs/mips64el-softmmu.mak
> +++ b/default-configs/mips64el-softmmu.mak
> @@ -2,13 +2,7 @@
>
> include mips-softmmu-common.mak
> CONFIG_IDE_VIA=y
> -CONFIG_RC4030=y
> -CONFIG_DP8393X=y
> -CONFIG_DS1225Y=y
> CONFIG_FULONG=y
> -CONFIG_JAZZ=y
Please keep the CONFIG_JAZZ line here.
Thomas
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 2/6] mips: Express dependencies of the Jazz machine with kconfig
2019-02-05 4:04 ` Thomas Huth
@ 2019-02-05 11:57 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-05 11:57 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan
On 2/5/19 5:04 AM, Thomas Huth wrote:
> On 2019-02-04 21:26, Philippe Mathieu-Daudé wrote:
>> The Jazz use the RC4030 Asic to provide an EISA bus and DMA/IRQ. The
>> framebuffer display is managed by a G364, the network card is a Sonic
>> DP83932. A QLogic ESP216 provides a SCSI bus.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>> default-configs/mips-softmmu-common.mak | 1 -
>> default-configs/mips64-softmmu.mak | 5 -----
>> default-configs/mips64el-softmmu.mak | 6 ------
>> hw/mips/Kconfig | 17 +++++++++++++++++
>> 4 files changed, 17 insertions(+), 12 deletions(-)
>>
>> diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak
>> index 8c5fdf5ee1..caebafd416 100644
>> --- a/default-configs/mips-softmmu-common.mak
>> +++ b/default-configs/mips-softmmu-common.mak
>> @@ -3,7 +3,6 @@
>> CONFIG_ISA_BUS=y
>> CONFIG_PCI=y
>> CONFIG_PCI_DEVICES=y
>> -CONFIG_ESP=y
>> CONFIG_VGA_ISA=y
>> CONFIG_VGA_ISA_MM=y
>> CONFIG_VGA_CIRRUS=y
>> diff --git a/default-configs/mips64-softmmu.mak b/default-configs/mips64-softmmu.mak
>> index bad7496672..a169738635 100644
>> --- a/default-configs/mips64-softmmu.mak
>> +++ b/default-configs/mips64-softmmu.mak
>> @@ -1,9 +1,4 @@
>> # Default configuration for mips64-softmmu
>>
>> include mips-softmmu-common.mak
>> -CONFIG_RC4030=y
>> -CONFIG_DP8393X=y
>> -CONFIG_DS1225Y=y
>> CONFIG_JAZZ=y
>> -CONFIG_G364FB=y
>> -CONFIG_JAZZ_LED=y
>> diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
>> index 8b255efc54..23445cfcf9 100644
>> --- a/default-configs/mips64el-softmmu.mak
>> +++ b/default-configs/mips64el-softmmu.mak
>> @@ -2,13 +2,7 @@
>>
>> include mips-softmmu-common.mak
>> CONFIG_IDE_VIA=y
>> -CONFIG_RC4030=y
>> -CONFIG_DP8393X=y
>> -CONFIG_DS1225Y=y
>> CONFIG_FULONG=y
>> -CONFIG_JAZZ=y
>
> Please keep the CONFIG_JAZZ line here.
Oops... Thanks for catching this :)
Phil.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Qemu-devel] [PATCH v2 3/6] mips: Express dependencies of the r4k platform with kconfig
2019-02-04 20:26 [Qemu-devel] [PATCH v2 0/6] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 1/6] mips: Express dependencies of the MIPSsim machine with kconfig Philippe Mathieu-Daudé
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 2/6] mips: Express dependencies of the Jazz " Philippe Mathieu-Daudé
@ 2019-02-04 20:26 ` Philippe Mathieu-Daudé
2019-02-05 4:11 ` Thomas Huth
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine " Philippe Mathieu-Daudé
` (2 subsequent siblings)
5 siblings, 1 reply; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-04 20:26 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth, Philippe Mathieu-Daudé
This platform use standard PC devices connected to an ISA bus.
Networking is provided by a ne2000 chipset.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/mips/Kconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index ab006477c7..ee6290d497 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -1,5 +1,15 @@
config R4K
bool
+ select ISA_BUS
+ select SERIAL_ISA
+ select I8259
+ select I8254
+ select MC146818RTC
+ select VGA_ISA
+ select NE2000_ISA
+ select IDE_ISA
+ # I8042
+ select PCKBD
config MALTA
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 3/6] mips: Express dependencies of the r4k platform with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 3/6] mips: Express dependencies of the r4k platform " Philippe Mathieu-Daudé
@ 2019-02-05 4:11 ` Thomas Huth
2019-02-05 11:58 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 17+ messages in thread
From: Thomas Huth @ 2019-02-05 4:11 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan
On 2019-02-04 21:26, Philippe Mathieu-Daudé wrote:
> This platform use standard PC devices connected to an ISA bus.
> Networking is provided by a ne2000 chipset.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> hw/mips/Kconfig | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index ab006477c7..ee6290d497 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -1,5 +1,15 @@
> config R4K
> bool
> + select ISA_BUS
> + select SERIAL_ISA
> + select I8259
> + select I8254
> + select MC146818RTC
> + select VGA_ISA
> + select NE2000_ISA
> + select IDE_ISA
> + # I8042
> + select PCKBD
I think you can now also remove "CONFIG_NE2000_ISA=y" from
default-configs/mips-softmmu-common.mak.
Thomas
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 3/6] mips: Express dependencies of the r4k platform with kconfig
2019-02-05 4:11 ` Thomas Huth
@ 2019-02-05 11:58 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-05 11:58 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan
On 2/5/19 5:11 AM, Thomas Huth wrote:
> On 2019-02-04 21:26, Philippe Mathieu-Daudé wrote:
>> This platform use standard PC devices connected to an ISA bus.
>> Networking is provided by a ne2000 chipset.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>> hw/mips/Kconfig | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
>> index ab006477c7..ee6290d497 100644
>> --- a/hw/mips/Kconfig
>> +++ b/hw/mips/Kconfig
>> @@ -1,5 +1,15 @@
>> config R4K
>> bool
>> + select ISA_BUS
>> + select SERIAL_ISA
>> + select I8259
>> + select I8254
>> + select MC146818RTC
>> + select VGA_ISA
>> + select NE2000_ISA
>> + select IDE_ISA
>> + # I8042
>> + select PCKBD
>
> I think you can now also remove "CONFIG_NE2000_ISA=y" from
> default-configs/mips-softmmu-common.mak.
Correct!
Thanks,
Phil.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine with kconfig
2019-02-04 20:26 [Qemu-devel] [PATCH v2 0/6] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
` (2 preceding siblings ...)
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 3/6] mips: Express dependencies of the r4k platform " Philippe Mathieu-Daudé
@ 2019-02-04 20:26 ` Philippe Mathieu-Daudé
2019-02-05 4:13 ` Thomas Huth
2019-02-28 22:26 ` Paul Burton
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 5/6] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge Philippe Mathieu-Daudé
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig Philippe Mathieu-Daudé
5 siblings, 2 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-04 20:26 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth, Philippe Mathieu-Daudé
Boston is built around a Xilinx FPGA, which includes a PCIe root port
and an UART. An Intel EG20T PCH connects the I/O peripherals, but only
the SATA bus is emulated.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
default-configs/mips64el-softmmu.mak | 4 ----
hw/mips/Kconfig | 5 +++++
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
index 23445cfcf9..c6f1f9c9aa 100644
--- a/default-configs/mips64el-softmmu.mak
+++ b/default-configs/mips64el-softmmu.mak
@@ -4,8 +4,4 @@ include mips-softmmu-common.mak
CONFIG_IDE_VIA=y
CONFIG_FULONG=y
CONFIG_VT82C686=y
-CONFIG_AHCI=y
CONFIG_MIPS_BOSTON=y
-CONFIG_FITLOADER=y
-CONFIG_PCI_EXPRESS=y
-CONFIG_PCI_EXPRESS_XILINX=y
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index ee6290d497..2940ff39ab 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -49,3 +49,8 @@ config MIPS_CPS
config MIPS_BOSTON
bool
+ select FITLOADER
+ select MIPS_CPS
+ select PCI_EXPRESS_XILINX
+ select AHCI
+ select SERIAL
--
2.20.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine " Philippe Mathieu-Daudé
@ 2019-02-05 4:13 ` Thomas Huth
2019-02-28 22:26 ` Paul Burton
1 sibling, 0 replies; 17+ messages in thread
From: Thomas Huth @ 2019-02-05 4:13 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan
On 2019-02-04 21:26, Philippe Mathieu-Daudé wrote:
> Boston is built around a Xilinx FPGA, which includes a PCIe root port
> and an UART. An Intel EG20T PCH connects the I/O peripherals, but only
> the SATA bus is emulated.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> default-configs/mips64el-softmmu.mak | 4 ----
> hw/mips/Kconfig | 5 +++++
> 2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
> index 23445cfcf9..c6f1f9c9aa 100644
> --- a/default-configs/mips64el-softmmu.mak
> +++ b/default-configs/mips64el-softmmu.mak
> @@ -4,8 +4,4 @@ include mips-softmmu-common.mak
> CONFIG_IDE_VIA=y
> CONFIG_FULONG=y
> CONFIG_VT82C686=y
> -CONFIG_AHCI=y
> CONFIG_MIPS_BOSTON=y
> -CONFIG_FITLOADER=y
> -CONFIG_PCI_EXPRESS=y
> -CONFIG_PCI_EXPRESS_XILINX=y
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index ee6290d497..2940ff39ab 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -49,3 +49,8 @@ config MIPS_CPS
>
> config MIPS_BOSTON
> bool
> + select FITLOADER
> + select MIPS_CPS
> + select PCI_EXPRESS_XILINX
> + select AHCI
> + select SERIAL
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine " Philippe Mathieu-Daudé
2019-02-05 4:13 ` Thomas Huth
@ 2019-02-28 22:26 ` Paul Burton
1 sibling, 0 replies; 17+ messages in thread
From: Paul Burton @ 2019-02-28 22:26 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel@nongnu.org, Hervé Poussineau, Aurelien Jarno,
Yang Zhong, Paul Burton, Paolo Bonzini, Aleksandar Markovic,
Aleksandar Rikalo, James Hogan, Thomas Huth
On Mon, Feb 04, 2019 at 09:26:07PM +0100, Philippe Mathieu-Daudé wrote:
> Boston is built around a Xilinx FPGA, which includes a PCIe root port
> and an UART. An Intel EG20T PCH connects the I/O peripherals, but only
> the SATA bus is emulated.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paul Burton <pburton@wavecomp.com>
Thanks,
Paul
> ---
> default-configs/mips64el-softmmu.mak | 4 ----
> hw/mips/Kconfig | 5 +++++
> 2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
> index 23445cfcf9..c6f1f9c9aa 100644
> --- a/default-configs/mips64el-softmmu.mak
> +++ b/default-configs/mips64el-softmmu.mak
> @@ -4,8 +4,4 @@ include mips-softmmu-common.mak
> CONFIG_IDE_VIA=y
> CONFIG_FULONG=y
> CONFIG_VT82C686=y
> -CONFIG_AHCI=y
> CONFIG_MIPS_BOSTON=y
> -CONFIG_FITLOADER=y
> -CONFIG_PCI_EXPRESS=y
> -CONFIG_PCI_EXPRESS_XILINX=y
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index ee6290d497..2940ff39ab 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -49,3 +49,8 @@ config MIPS_CPS
>
> config MIPS_BOSTON
> bool
> + select FITLOADER
> + select MIPS_CPS
> + select PCI_EXPRESS_XILINX
> + select AHCI
> + select SERIAL
> --
> 2.20.1
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Qemu-devel] [PATCH v2 5/6] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge
2019-02-04 20:26 [Qemu-devel] [PATCH v2 0/6] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
` (3 preceding siblings ...)
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine " Philippe Mathieu-Daudé
@ 2019-02-04 20:26 ` Philippe Mathieu-Daudé
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig Philippe Mathieu-Daudé
5 siblings, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-04 20:26 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth, Philippe Mathieu-Daudé
Ease the kconfig selection by introducing CONFIG_PCI_BONITO to select
the Bonito North Bridge.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
default-configs/mips64el-softmmu.mak | 1 +
hw/pci-host/Kconfig | 4 ++++
hw/pci-host/Makefile.objs | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
index c6f1f9c9aa..9e80711275 100644
--- a/default-configs/mips64el-softmmu.mak
+++ b/default-configs/mips64el-softmmu.mak
@@ -3,5 +3,6 @@
include mips-softmmu-common.mak
CONFIG_IDE_VIA=y
CONFIG_FULONG=y
+CONFIG_PCI_BONITO=y
CONFIG_VT82C686=y
CONFIG_MIPS_BOSTON=y
diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig
index b39ea297ba..9abadafaf5 100644
--- a/hw/pci-host/Kconfig
+++ b/hw/pci-host/Kconfig
@@ -49,3 +49,7 @@ config PCI_EXPRESS_XILINX
config PCI_EXPRESS_DESIGNWARE
bool
select PCI_EXPRESS
+
+config PCI_BONITO
+ select PCI
+ bool
diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs
index a9cd3e022d..d6e86b9b89 100644
--- a/hw/pci-host/Makefile.objs
+++ b/hw/pci-host/Makefile.objs
@@ -12,7 +12,7 @@ common-obj-$(CONFIG_PPCE500_PCI) += ppce500.o
common-obj-$(CONFIG_VERSATILE_PCI) += versatile.o
common-obj-$(CONFIG_PCI_SABRE) += sabre.o
-common-obj-$(CONFIG_FULONG) += bonito.o
+common-obj-$(CONFIG_PCI_BONITO) += bonito.o
common-obj-$(CONFIG_PCI_PIIX) += piix.o
common-obj-$(CONFIG_PCI_EXPRESS_Q35) += q35.o
common-obj-$(CONFIG_PCI_EXPRESS_GENERIC_BRIDGE) += gpex.o
--
2.20.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig
2019-02-04 20:26 [Qemu-devel] [PATCH v2 0/6] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
` (4 preceding siblings ...)
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 5/6] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge Philippe Mathieu-Daudé
@ 2019-02-04 20:26 ` Philippe Mathieu-Daudé
2019-02-05 12:18 ` Philippe Mathieu-Daudé
2019-02-19 17:54 ` Aleksandar Markovic
5 siblings, 2 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-04 20:26 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth, Philippe Mathieu-Daudé
The Loongson 2E uses a Bonito64 system controller as North Bridge and a
VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
default-configs/mips64el-softmmu.mak | 3 ---
hw/isa/Kconfig | 13 +++++++++----
hw/mips/Kconfig | 5 +++++
3 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
index 9e80711275..326c5cd520 100644
--- a/default-configs/mips64el-softmmu.mak
+++ b/default-configs/mips64el-softmmu.mak
@@ -1,8 +1,5 @@
# Default configuration for mips64el-softmmu
include mips-softmmu-common.mak
-CONFIG_IDE_VIA=y
CONFIG_FULONG=y
-CONFIG_PCI_BONITO=y
-CONFIG_VT82C686=y
CONFIG_MIPS_BOSTON=y
diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
index d580471c00..bd6f60dd3d 100644
--- a/hw/isa/Kconfig
+++ b/hw/isa/Kconfig
@@ -33,10 +33,15 @@ config PIIX4
config VT82C686
bool
- select ISA_BUS
- select ACPI_SMBUS
- select SERIAL_ISA
- select FDC
+ select PCI
+ select I8259
+ select I8254
+ select I8257
+ select PARALLEL
+ select IDE_ISA
+ select IDE_VIA
+ select USB_UHCI
+ #select PCKBD
config SMC37C669
bool
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index 2940ff39ab..16b2bdb068 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -42,6 +42,11 @@ config JAZZ
config FULONG
bool
+ select PCI_BONITO
+ select VT82C686
+ select SMBUS_EEPROM
+ select RTL8139_PCI
+ select MC146818RTC
config MIPS_CPS
bool
--
2.20.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig Philippe Mathieu-Daudé
@ 2019-02-05 12:18 ` Philippe Mathieu-Daudé
2019-02-19 17:54 ` Aleksandar Markovic
1 sibling, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-05 12:18 UTC (permalink / raw)
To: qemu-devel
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Markovic, Aleksandar Rikalo,
James Hogan, Thomas Huth
On 2/4/19 9:26 PM, Philippe Mathieu-Daudé wrote:
> The Loongson 2E uses a Bonito64 system controller as North Bridge and a
> VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> default-configs/mips64el-softmmu.mak | 3 ---
> hw/isa/Kconfig | 13 +++++++++----
> hw/mips/Kconfig | 5 +++++
> 3 files changed, 14 insertions(+), 7 deletions(-)
>
> diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
> index 9e80711275..326c5cd520 100644
> --- a/default-configs/mips64el-softmmu.mak
> +++ b/default-configs/mips64el-softmmu.mak
> @@ -1,8 +1,5 @@
> # Default configuration for mips64el-softmmu
>
> include mips-softmmu-common.mak
> -CONFIG_IDE_VIA=y
> CONFIG_FULONG=y
> -CONFIG_PCI_BONITO=y
> -CONFIG_VT82C686=y
> CONFIG_MIPS_BOSTON=y
> diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
> index d580471c00..bd6f60dd3d 100644
> --- a/hw/isa/Kconfig
> +++ b/hw/isa/Kconfig
> @@ -33,10 +33,15 @@ config PIIX4
>
> config VT82C686
> bool
> - select ISA_BUS
> - select ACPI_SMBUS
The VT82C686 config might be incorrect, I rebased this on another
series where I reworked the ISA_SUPERIO config and have to check
this part again.
> - select SERIAL_ISA
> - select FDC
> + select PCI
> + select I8259
> + select I8254
> + select I8257
> + select PARALLEL
> + select IDE_ISA
> + select IDE_VIA
> + select USB_UHCI
> + #select PCKBD
>
> config SMC37C669
> bool
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index 2940ff39ab..16b2bdb068 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -42,6 +42,11 @@ config JAZZ
>
> config FULONG
> bool
> + select PCI_BONITO
> + select VT82C686
> + select SMBUS_EEPROM
> + select RTL8139_PCI
> + select MC146818RTC
>
> config MIPS_CPS
> bool
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig
2019-02-04 20:26 ` [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig Philippe Mathieu-Daudé
2019-02-05 12:18 ` Philippe Mathieu-Daudé
@ 2019-02-19 17:54 ` Aleksandar Markovic
2019-02-19 19:07 ` Philippe Mathieu-Daudé
1 sibling, 1 reply; 17+ messages in thread
From: Aleksandar Markovic @ 2019-02-19 17:54 UTC (permalink / raw)
To: Philippe Mathieu-Daudé, qemu-devel@nongnu.org
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Rikalo, James Hogan, Thomas Huth
> From: Philippe Mathieu-Daudé <philmd@redhat.com>
> Subject: [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig
>
> The Loongson 2E uses a Bonito64 system controller as North Bridge and a
> VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
Hello, Philippe.
"Loongson 2E" is rather a name for an ISA, used also as a name for CPU that
supports that ISA, while "Fulong 2E" (that uses Loongson 2E as a CPU) is the
proper machine name that should be used in the title and commit message of
this patch, IMHO.
Aleksandar
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Qemu-devel] [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig
2019-02-19 17:54 ` Aleksandar Markovic
@ 2019-02-19 19:07 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-02-19 19:07 UTC (permalink / raw)
To: Aleksandar Markovic, qemu-devel@nongnu.org
Cc: Hervé Poussineau, Aurelien Jarno, Yang Zhong, Paul Burton,
Paolo Bonzini, Aleksandar Rikalo, James Hogan, Thomas Huth
On 2/19/19 6:54 PM, Aleksandar Markovic wrote:
>> From: Philippe Mathieu-Daudé <philmd@redhat.com>
>> Subject: [PATCH v2 6/6] mips: Express dependencies of the Loongson 2E machine with kconfig
>>
>> The Loongson 2E uses a Bonito64 system controller as North Bridge and a
>> VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>
> Hello, Philippe.
>
> "Loongson 2E" is rather a name for an ISA, used also as a name for CPU that
> supports that ISA, while "Fulong 2E" (that uses Loongson 2E as a CPU) is the
> proper machine name that should be used in the title and commit message of
> this patch, IMHO.
You are right! thanks for noticing this :)
>
> Aleksandar
>
>
^ permalink raw reply [flat|nested] 17+ messages in thread