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, "Hervé Poussineau" <hpoussin@reactos.org>
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>
Subject: Re: [Qemu-devel] [PATCH v3 2/7] hw/mips: Express dependencies of the Jazz machine with Kconfig
Date: Mon, 11 Mar 2019 12:37:32 +0100	[thread overview]
Message-ID: <24ecc3f9-4c22-d162-50a1-ad913fe56807@redhat.com> (raw)
In-Reply-To: <50e483c6-9580-dcdb-65aa-a8d66040c5a7@redhat.com>

Hi Thomas,

On 3/11/19 12:17 PM, Thomas Huth wrote:
> On 11/03/2019 01.56, 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>
>> ---
>> v3: Keep CONFIG_JAZZ in default-configs/mips64el-softmmu.mak (Thomas)
>> ---
>>  default-configs/mips-softmmu-common.mak |  1 -
>>  default-configs/mips64-softmmu.mak      |  5 -----
>>  default-configs/mips64el-softmmu.mak    |  5 -----
>>  hw/mips/Kconfig                         | 17 +++++++++++++++++
>>  4 files changed, 17 insertions(+), 11 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..a7b88318b2 100644
>> --- a/default-configs/mips64el-softmmu.mak
>> +++ b/default-configs/mips64el-softmmu.mak
>> @@ -2,13 +2,8 @@
>>  
>>  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
> 
> Looking at the code, it seems like you can also run the machine with
> "-net none", so I'd rather use "imply DP8393X" here instead.

Well here I'm not sure.
For the both machine variants (PICA-61 and Magnum 4000), the chipset is
soldered on the board, and is MMIO mapped (via a ChipSelect, no via a
bus you can plug/unplug). So it looks the code inherited habits from
boards having network card via busses.

Not sure the code can be fixed in time for soft freeze.
I might improve the commit message explaining this chipset is soldered
on the board.

Regards,

Phil.

  reply	other threads:[~2019-03-11 11:52 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é [this message]
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é
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=24ecc3f9-4c22-d162-50a1-ad913fe56807@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=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).