qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Thomas Huth <thuth@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Cc: "James Hogan" <jhogan@kernel.org>,
	"Yang Zhong" <yang.zhong@intel.com>,
	"Aleksandar Markovic" <amarkovic@wavecomp.com>,
	"Aleksandar Rikalo" <arikalo@wavecomp.com>,
	"Paul Burton" <pburton@wavecomp.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Hervé Poussineau" <hpoussin@reactos.org>
Subject: Re: [Qemu-devel] [PATCH v3 7/7] hw/mips: Express dependencies of the Fulong 2E machine with Kconfig
Date: Mon, 11 Mar 2019 12:50:47 +0100	[thread overview]
Message-ID: <cd6ea9c1-fd8a-4af7-69ca-e78e4f26a2e3@redhat.com> (raw)
In-Reply-To: <7c16b3f7-32b7-14c8-5c5f-3826df7c02f3@redhat.com>

On 3/11/19 12:25 PM, Thomas Huth wrote:
> On 11/03/2019 01.56, Philippe Mathieu-Daudé wrote:
>> The Fulong 2E machine uses a Loongson 2E as CPU, 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>
>> ---
>> v3: Loongson 2E = CPU, Fulong 2E = machine (Aleksandar)
>> ---
>>  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 88b66a91d7..d0814e76af 100644
>> --- a/default-configs/mips64el-softmmu.mak
>> +++ b/default-configs/mips64el-softmmu.mak
>> @@ -1,9 +1,6 @@
>>  # Default configuration for mips64el-softmmu
>>  
>>  include mips-softmmu-common.mak
>> -CONFIG_IDE_VIA=y
>>  CONFIG_FULONG=y
>> -CONFIG_PCI_BONITO=y
> 
> I think I'd rather squash the previous patch into this one here (and
> adjust the patch description here with some information about BONITO),
> so that you don't have to remove the switch again that you've just added
> one patch earlier.

I find it clearer this way... And easier for the PCI maintainers to review.

> 
>>  CONFIG_JAZZ=y
>> -CONFIG_VT82C686=y
>>  CONFIG_MIPS_BOSTON=y
>> diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
>> index 57e09a0cb8..30055aed82 100644
>> --- a/hw/isa/Kconfig
>> +++ b/hw/isa/Kconfig
>> @@ -32,10 +32,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
> 
> Why is this commented out? Please mention the reason either in the
> commit message or in an additional comment here.

Oops I missed this while rebasing.
I commented this because I was not sure how to express the "USB Legacy
Support", I couldn't find reference to this feature in the USB specs.
It looks something the southbridge manufacturers use to emulate an i8042
controller for USB keyboard/mouse.
Gerd any idea?

Thomas, what about adding in hw/usb/Kconfig:

  config USB_LEGACY_PS2_SUPPORT
      # Emulated i8042
      select I8042

>>  config SMC37C669
>>      bool
>> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
>> index bd6e3be2cd..b06d70bf01 100644
>> --- a/hw/mips/Kconfig
>> +++ b/hw/mips/Kconfig
>> @@ -43,6 +43,11 @@ config JAZZ
>>  
>>  config FULONG
>>      bool
>> +    select PCI_BONITO
>> +    select VT82C686
>> +    select SMBUS_EEPROM
>> +    select RTL8139_PCI
> 
> I'd suggest to use "imply RTL8139_PCI" here instead, since "-net none"
> should be possible for this machine, too.

This chipset is soldered onboard, so I'd rather keep it that way...

The -net option is confusing IMHO.

Thought?

  reply	other threads:[~2019-03-11 11:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-11  0:56 [Qemu-devel] [PATCH v3 0/7] Kconfig dependencies for MIPS machines (but Malta) Philippe Mathieu-Daudé
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 1/7] hw/mips: Express dependencies of the MIPSsim machine with Kconfig Philippe Mathieu-Daudé
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 2/7] hw/mips: Express dependencies of the Jazz " Philippe Mathieu-Daudé
2019-03-11 11:13   ` Aleksandar Markovic
2019-03-11 11:17   ` Thomas Huth
2019-03-11 11:37     ` Philippe Mathieu-Daudé
2019-03-11 11:47       ` Thomas Huth
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 3/7] hw/mips: Express dependencies of the r4k platform " Philippe Mathieu-Daudé
2019-03-11  6:58   ` Thomas Huth
2019-03-11 11:19     ` Philippe Mathieu-Daudé
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 4/7] hw/mips: Remove the redundant CONFIG_MIPS_ITU Makefile variable Philippe Mathieu-Daudé
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 5/7] hw/mips: Express dependencies of the Boston machine with Kconfig Philippe Mathieu-Daudé
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 6/7] hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge Philippe Mathieu-Daudé
2019-03-11 11:11   ` Aleksandar Markovic
2019-03-11  0:56 ` [Qemu-devel] [PATCH v3 7/7] hw/mips: Express dependencies of the Fulong 2E machine with Kconfig Philippe Mathieu-Daudé
2019-03-11 11:10   ` Aleksandar Markovic
2019-03-11 11:25   ` Thomas Huth
2019-03-11 11:50     ` Philippe Mathieu-Daudé [this message]
2019-05-27 18:31 ` [Qemu-devel] [PATCH v3 0/7] Kconfig dependencies for MIPS machines (but Malta) Aleksandar Markovic
2019-05-27 21:35   ` Philippe Mathieu-Daudé
2019-05-28  6:49     ` Philippe Mathieu-Daudé
2019-05-28  8:49       ` Aleksandar Markovic
2019-06-30  7:12 ` Aleksandar Markovic
2019-07-01 10:30   ` Philippe Mathieu-Daudé
2019-07-01 10:56     ` Aleksandar Markovic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd6ea9c1-fd8a-4af7-69ca-e78e4f26a2e3@redhat.com \
    --to=philmd@redhat.com \
    --cc=amarkovic@wavecomp.com \
    --cc=arikalo@wavecomp.com \
    --cc=aurelien@aurel32.net \
    --cc=hpoussin@reactos.org \
    --cc=jhogan@kernel.org \
    --cc=kraxel@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=pburton@wavecomp.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=yang.zhong@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).