[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 180925: hw/hppa/dino.c: Improve emulation of
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 180925: hw/hppa/dino.c: Improve emulation of Dino PCI chip |
Date: |
Tue, 28 Jan 2020 08:00:21 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 18092598a50ab62aba2059a25a7fff8286875610
https://github.com/qemu/qemu/commit/18092598a50ab62aba2059a25a7fff8286875610
Author: Helge Deller <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M MAINTAINERS
M hw/hppa/dino.c
M hw/hppa/trace-events
Log Message:
-----------
hw/hppa/dino.c: Improve emulation of Dino PCI chip
The tests of the dino chip with the Online-diagnostics CD
("ODE DINOTEST") now succeeds.
Additionally add some qemu trace events.
Signed-off-by: Helge Deller <address@hidden>
Signed-off-by: Sven Schnelle <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 376b851909d42c6faf4f780f25b6be55f17f3a6e
https://github.com/qemu/qemu/commit/376b851909d42c6faf4f780f25b6be55f17f3a6e
Author: Helge Deller <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M MAINTAINERS
M hw/hppa/Kconfig
M hw/hppa/Makefile.objs
M hw/hppa/hppa_sys.h
A hw/hppa/lasi.c
M hw/hppa/machine.c
M hw/hppa/trace-events
M hw/net/Kconfig
M hw/net/Makefile.objs
A hw/net/i82596.c
A hw/net/i82596.h
A hw/net/lasi_i82596.c
M hw/net/trace-events
A include/hw/net/lasi_82596.h
Log Message:
-----------
hppa: Add support for LASI chip with i82596 NIC
LASI is a built-in multi-I/O chip which supports serial, parallel,
network (Intel i82596 Apricot), sound and other functionalities.
LASI has been used in many HP PARISC machines.
This patch adds the necessary parts to allow Linux and HP-UX to detect
LASI and the network card.
Signed-off-by: Helge Deller <address@hidden>
Signed-off-by: Sven Schnelle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: c56b6209189f6a4945562dc772cff440f03e4868
https://github.com/qemu/qemu/commit/c56b6209189f6a4945562dc772cff440f03e4868
Author: Sven Schnelle <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/input/ps2.c
Log Message:
-----------
ps2: accept 'Set Key Make and Break' commands
HP-UX sends both the 'Set key make and break (0xfc) and
'Set all key typematic make and break' (0xfa). QEMU response
with 'Resend' as it doesn't handle these commands. HP-UX than
reports an PS/2 max retransmission exceeded error. Add these
commands and just reply with ACK.
Signed-off-by: Sven Schnelle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 2a6505b0e79e553ed11570fb484071f3e5293cff
https://github.com/qemu/qemu/commit/2a6505b0e79e553ed11570fb484071f3e5293cff
Author: Sven Schnelle <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/hppa/Kconfig
M hw/hppa/lasi.c
M hw/input/Kconfig
M hw/input/Makefile.objs
A hw/input/lasips2.c
M hw/input/ps2.c
M hw/input/trace-events
A include/hw/input/lasips2.h
M include/hw/input/ps2.h
Log Message:
-----------
hppa: add emulation of LASI PS2 controllers
Signed-off-by: Sven Schnelle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 0e6de5519491b9f2af45367358eaa79e269d7bf0
https://github.com/qemu/qemu/commit/0e6de5519491b9f2af45367358eaa79e269d7bf0
Author: Helge Deller <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/hppa/machine.c
Log Message:
-----------
hppa: Switch to tulip NIC by default
Most HP PA-RISC machines have a Digital DS21142/43 Tulip network card,
only some very latest generation machines have an e1000 NIC.
Since qemu now provides an emulated tulip card, use that one instead.
Signed-off-by: Helge Deller <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 346e78f6d6d06304390311c098e3d29b9427d1c4
https://github.com/qemu/qemu/commit/346e78f6d6d06304390311c098e3d29b9427d1c4
Author: Sven Schnelle <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M pc-bios/hppa-firmware.img
M roms/seabios-hppa
Log Message:
-----------
seabios-hppa: update to latest version
Helge Deller (13):
Add PDC_MEM_MAP and ENTRY_INIT_SRCH_FRST for OSF/MkLinux
Return non-existant BTLB for PDC_BLOCK_TLB
Add serial, parallel and LAN port support of LASI chip
Implement ENTRY_IO_BBLOCK_IN IODC function
Do not print \r on parisc SeaBIOS
Fix serial ports and add PDC_MODEL functions for special instructions
enablement
Implement SeaBIOS returning additional addresses. Fixes HP-UX boot.
Fix mod_pgs (number of pages) for graphic cards
Merge pull request #3 from svenschnelle/sti
Merge pull request #4 from svenschnelle/parisc-qemu-4.1.0
parisc: Implement PDC rendenzvous
parisc: Improve soft power button emulation
parisc: Fix line wrapping in STI console code
Sven Schnelle (7):
parisc: fix PDC info for graphics adapter
parisc: add missing header guard to hppa.h
parisc: add LASI PS/2 emulation.
parisc: Add STI support
parisc: wire up graphics console
parisc: Add support for setting STI screen resolution
parisc: support LASI RTC register
Required for STI and LASI support. Also adds a few Bugfixes.
Signed-off-by: Sven Schnelle <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 4765384ce33dd7dec6e4419616cddfee5358571a
https://github.com/qemu/qemu/commit/4765384ce33dd7dec6e4419616cddfee5358571a
Author: Sven Schnelle <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/display/Kconfig
M hw/display/Makefile.objs
A hw/display/artist.c
M hw/display/trace-events
M hw/hppa/Kconfig
M hw/hppa/hppa_hardware.h
M hw/hppa/machine.c
M tests/qtest/boot-serial-test.c
Log Message:
-----------
hppa: Add emulation of Artist graphics
This adds emulation of Artist graphics good enough to get a text
console on both Linux and HP-UX. The X11 server from HP-UX also works.
Adjust boot-serial-test to disable graphics, so that SeaBIOS outputs
to the serial port, as expected by the test.
Signed-off-by: Sven Schnelle <address@hidden>
Message-Id: <address@hidden>
[rth: Merge Helge's test for machine->enable_graphics]
Signed-off-by: Richard Henderson <address@hidden>
Commit: 8262863d4b59aed7e22866234dcfd3d8fb016a6b
https://github.com/qemu/qemu/commit/8262863d4b59aed7e22866234dcfd3d8fb016a6b
Author: Philippe Mathieu-Daudé <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/hppa/machine.c
Log Message:
-----------
hw/hppa/machine: Correctly check the firmware is in PDC range
The firmware has to reside in the PDC range. If the Elf file
expects to load it below FIRMWARE_START, it is incorrect,
regardless the RAM size.
Acked-by: Helge Deller <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: b7746b1194c8b15d8a31ba0cc308175bcb4b96f8
https://github.com/qemu/qemu/commit/b7746b1194c8b15d8a31ba0cc308175bcb4b96f8
Author: Philippe Mathieu-Daudé <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/hppa/machine.c
Log Message:
-----------
hw/hppa/machine: Restrict the total memory size to 3GB
The hardware expects DIMM slots of 1 or 2 GB, allowing up to
4 GB of memory. We want to accept the same amount of memory the
hardware can deal with. DIMMs of 768MB are not available.
However we have to deal with a firmware limitation: currently
SeaBIOS only supports 32-bit, and expects the RAM size in a
32-bit register. When using a 4GB configuration, the 32-bit
register get truncated and we report a size of 0MB to SeaBIOS,
which ends halting the machine:
$ qemu-system-hppa -m 4g -serial stdio
SeaBIOS: Machine configured with too little memory (0 MB), minimum is 16 MB.
SeaBIOS wants SYSTEM HALT.
The easiest way is to restrict the machine to 3GB of memory.
Acked-by: Helge Deller <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 4debfdac03babcf858fb45204157a05236635a21
https://github.com/qemu/qemu/commit/4debfdac03babcf858fb45204157a05236635a21
Author: Philippe Mathieu-Daudé <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M hw/hppa/machine.c
Log Message:
-----------
hw/hppa/machine: Map the PDC memory region with higher priority
The region in range [0xf0000000 - 0xf1000000] is the PDC area
(Processor Dependent Code), where the firmware is loaded.
This region has higher priority than the main memory.
When the machine has more than 3840MB of RAM, there is an
overlap. Since the PDC is closer to the CPU in the bus
hierarchy, it gets accessed first, and the CPU does not have
access to the RAM in this range.
To model the same behavior and keep a simple memory layout,
reduce the priority of the RAM region. The PDC region ends
overlapping the RAM.
Acked-by: Helge Deller <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: b1af755c33bf0d690553a5ccd93689dfd15a98e8
https://github.com/qemu/qemu/commit/b1af755c33bf0d690553a5ccd93689dfd15a98e8
Author: Richard Henderson <address@hidden>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M target/hppa/helper.h
M target/hppa/op_helper.c
M target/hppa/translate.c
Log Message:
-----------
target/hppa: Allow, but diagnose, LDCW aligned only mod 4
The PA-RISC 1.1 specification says that LDCW must be aligned mod 16
or the operation is undefined. However, real hardware only generates
an unaligned access trap for unaligned mod 4.
Match real hardware, but diagnose with GUEST_ERROR a violation of
the specification.
At the same time fix a bug in the initialization of mop, where the
size was specified twice, and another to free the zero temporary.
Tested-by: Helge Deller <address@hidden>
Reported-by: Helge Deller <address@hidden>
Suggested-by: John David Anglin <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Commit: 4c60e3289875ae6c516a37523bcecb87f68ce67c
https://github.com/qemu/qemu/commit/4c60e3289875ae6c516a37523bcecb87f68ce67c
Author: Peter Maydell <address@hidden>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M MAINTAINERS
M hw/display/Kconfig
M hw/display/Makefile.objs
A hw/display/artist.c
M hw/display/trace-events
M hw/hppa/Kconfig
M hw/hppa/Makefile.objs
M hw/hppa/dino.c
M hw/hppa/hppa_hardware.h
M hw/hppa/hppa_sys.h
A hw/hppa/lasi.c
M hw/hppa/machine.c
M hw/hppa/trace-events
M hw/input/Kconfig
M hw/input/Makefile.objs
A hw/input/lasips2.c
M hw/input/ps2.c
M hw/input/trace-events
M hw/net/Kconfig
M hw/net/Makefile.objs
A hw/net/i82596.c
A hw/net/i82596.h
A hw/net/lasi_i82596.c
M hw/net/trace-events
A include/hw/input/lasips2.h
M include/hw/input/ps2.h
A include/hw/net/lasi_82596.h
M pc-bios/hppa-firmware.img
M roms/seabios-hppa
M target/hppa/helper.h
M target/hppa/op_helper.c
M target/hppa/translate.c
M tests/qtest/boot-serial-test.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/rth/tags/pull-pa-20200127' into staging
Improve LASI emulation
Add Artist graphics
Fix main memory allocation
Improve LDCW emulation wrt real hw
# gpg: Signature made Mon 27 Jan 2020 18:53:35 GMT
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* remotes/rth/tags/pull-pa-20200127:
target/hppa: Allow, but diagnose, LDCW aligned only mod 4
hw/hppa/machine: Map the PDC memory region with higher priority
hw/hppa/machine: Restrict the total memory size to 3GB
hw/hppa/machine: Correctly check the firmware is in PDC range
hppa: Add emulation of Artist graphics
seabios-hppa: update to latest version
hppa: Switch to tulip NIC by default
hppa: add emulation of LASI PS2 controllers
ps2: accept 'Set Key Make and Break' commands
hppa: Add support for LASI chip with i82596 NIC
hw/hppa/dino.c: Improve emulation of Dino PCI chip
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/750fe5989f9e...4c60e3289875
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 180925: hw/hppa/dino.c: Improve emulation of Dino PCI chip,
Peter Maydell <=