在 2020/7/1 3:57, Philippe Mathieu-Daudé 写道:
Hi,
This series add a new 'malta-strict' machine, that aims to properly
model the real hardware (which is not what the current 'malta'
machine models).
Just putting my random words here as things had became really tense..
My orginal proposal was served to some occational case.
Yunqiang said sometimes he will run memory intensives task in QEMU, and
found 2G memory limitation had became the bottle neck of these usage. At
that time I was trying to learn how QEMU work, so I made that patch to
convinient him. Also submited it to upstream as I think it can
convinient others as well.
I was thinking the fundmental reason of QEMU's extistence is to make
people's life easier. With QEMU, one can test OS/application without own
actaul hardware or limited by unreasonable hardware design. That's why I
was trying to upstream that change.
If we're looking for accurate hardware emulator, probably we should ask
for RTL code from manufactures and run it in iverilog.
Anyway, as a hobbist, I'm really graceful to what have done by
Alexsandar in maintaining QEMU/MIPS. The future of MIPS is really
unclear due to commerical reasons. I just don't want to see MIPS being
threw away by the community as soon as the business collapse.
Thanks
~Jiaxun
Since v2:
- Initialize missing malta_machine_types::class_size
- Remove RFC patch that confuses Aleksandar
- Added examples of 'malta-strict' use
$ git backport-diff -u v2
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch
[down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
001/5:[----] [--] 'hw/mips/malta: Trivial code movement'
002/5:[----] [--] 'hw/mips/malta: Register the machine as a TypeInfo'
003/5:[0001] [FC] 'hw/mips/malta: Introduce MaltaMachineClass::max_ramsize'
004/5:[----] [--] 'hw/mips/malta: Introduce the 'malta-strict' machine'
005/5:[----] [--] 'hw/mips/malta: Verify malta-strict machine uses correct DIMM
sizes'
Philippe Mathieu-Daudé (5):
hw/mips/malta: Trivial code movement
hw/mips/malta: Register the machine as a TypeInfo
hw/mips/malta: Introduce MaltaMachineClass::max_ramsize
hw/mips/malta: Introduce the 'malta-strict' machine
hw/mips/malta: Verify malta-strict machine uses correct DIMM sizes
hw/mips/malta.c | 105 +++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 91 insertions(+), 14 deletions(-)