[Qemu-devel] [PATCH 0/6] Kconfig dependencies for MIPS machines (but Malta)

Philippe Mathieu-Daudé posted 6 patches 5 years, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
default-configs/mips-softmmu-common.mak |  4 ---
default-configs/mips64-softmmu.mak      |  6 ----
default-configs/mips64el-softmmu.mak    | 14 ---------
hw/isa/Kconfig                          | 13 +++++---
hw/mips/Kconfig                         | 40 +++++++++++++++++++++++++
hw/pci-host/Kconfig                     |  4 +++
hw/pci-host/Makefile.objs               |  2 +-
7 files changed, 54 insertions(+), 29 deletions(-)
[Qemu-devel] [PATCH 0/6] Kconfig dependencies for MIPS machines (but Malta)
Posted by Philippe Mathieu-Daudé 5 years, 2 months ago
Express the MIPS machine dependencies with Kconfig.

Due to the complexity of the PIIX codebase being shared with
the X86 machines, the Malta board fill follow in a different
series (after some refactor cleanup).

Regards,

Phil.

Based on "Kconfig dependencies for ppc machines" from Thomas
Huth (which is based on Paolo's, which uses Yang Zhong "make
qemu configurable for Kconfig" v1).
Based-on: 1548942810-22942-1-git-send-email-thuth@redhat.com

Philippe Mathieu-Daudé (6):
  mips: Express dependencies of the MIPSsim machine with kconfig
  mips: Express dependencies of the Jazz machine with kconfig
  mips: Express dependencies of the r4k platform with kconfig
  mips: Express dependencies of the Boston machine with kconfig
  hw/pci-host: Use CONFIG_PCI_BONITO to select the Bonito North Bridge
  mips: Express dependencies of the Loongson 2E machine with kconfig

 default-configs/mips-softmmu-common.mak |  4 ---
 default-configs/mips64-softmmu.mak      |  6 ----
 default-configs/mips64el-softmmu.mak    | 14 ---------
 hw/isa/Kconfig                          | 13 +++++---
 hw/mips/Kconfig                         | 40 +++++++++++++++++++++++++
 hw/pci-host/Kconfig                     |  4 +++
 hw/pci-host/Makefile.objs               |  2 +-
 7 files changed, 54 insertions(+), 29 deletions(-)

-- 
2.20.1


Re: [Qemu-devel] [PATCH 0/6] Kconfig dependencies for MIPS machines (but Malta)
Posted by Philippe Mathieu-Daudé 5 years, 2 months ago
On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé
<philmd@redhat.com> wrote:
>
> Express the MIPS machine dependencies with Kconfig.

I forgot this serie misses a rule such "depends of MIPS64".
Asked here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00064.html

Re: [Qemu-devel] [PATCH 0/6] Kconfig dependencies for MIPS machines (but Malta)
Posted by Thomas Huth 5 years, 2 months ago
On 2019-02-04 01:06, Philippe Mathieu-Daudé wrote:
> On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé
> <philmd@redhat.com> wrote:
>>
>> Express the MIPS machine dependencies with Kconfig.
> 
> I forgot this serie misses a rule such "depends of MIPS64".
> Asked here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00064.html

I guess the easiest solution is to simply set a CONFIG_MIPS64=y in the
default-configs/mips64*softmmu* files.

 Thomas


Re: [Qemu-devel] [PATCH 0/6] Kconfig dependencies for MIPS machines (but Malta)
Posted by Paolo Bonzini 5 years, 2 months ago
On 04/02/19 10:51, Thomas Huth wrote:
> On 2019-02-04 01:06, Philippe Mathieu-Daudé wrote:
>> On Sun, Feb 3, 2019 at 11:07 PM Philippe Mathieu-Daudé
>> <philmd@redhat.com> wrote:
>>>
>>> Express the MIPS machine dependencies with Kconfig.
>>
>> I forgot this serie misses a rule such "depends of MIPS64".
>> Asked here: https://lists.gnu.org/archive/html/qemu-devel/2019-02/msg00064.html
> 
> I guess the easiest solution is to simply set a CONFIG_MIPS64=y in the
> default-configs/mips64*softmmu* files.

Or just do not specify the machine in the mips64*softmmu.mak files.  If
you add CONFIG_Q35=y to ARM, Kconfig doesn't complain.

Another possibility is to move those machines to hw/mips64, similar to
hw/sparc64.

Paolo