qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw/isa/piix4: Remove MIPS Malta specific bits
@ 2022-10-27 20:47 Philippe Mathieu-Daudé
  2022-10-27 20:47 ` [PATCH v2 1/3] hw/mips/malta: Introduce PIIX4_PCI_DEVFN definition Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-10-27 20:47 UTC (permalink / raw)
  To: qemu-devel, Bernhard Beschow
  Cc: Jiaxun Yang, Aurelien Jarno, Philippe Mathieu-Daudé,
	Hervé Poussineau

Since v1:
- bswap -> tswap (Bernhard)

Bernhard posted a series merging both PIIX3/PIIX4 models
in one [1]. Due to Malta-specific board code forced into
the PIIX4 reset values, Bernhard had to include an array
of "register values at reset" as a class property. This
is not wrong, but to model properly the model, we should
simply use the hardware real reset values, not try to
bend the model to please the Malta board.

This series fix this issue by having the Malta bootloader
code setting the board-specific PIIX4 IRQ routing values.

Note patch 2 still misses an equivalent nanoMIPS code.

Regards,

Phil.

[1] https://lore.kernel.org/qemu-devel/20221022150508.26830-1-shentey@gmail.com/

Based-on: <20221026191821.28167-1-philmd@linaro.org>
https://lore.kernel.org/qemu-devel/20221026191821.28167-1-philmd@linaro.org/

Philippe Mathieu-Daudé (3):
  hw/mips/malta: Introduce PIIX4_PCI_DEVFN definition
  hw/mips/malta: Set PIIX4 IRQ routes in embedded bootloader
  hw/isa/piix4: Correct IRQRC[A:D] reset values

 hw/isa/piix4.c  |  8 ++++----
 hw/mips/malta.c | 23 ++++++++++++++++++++++-
 2 files changed, 26 insertions(+), 5 deletions(-)

-- 
2.37.3



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-01-04 14:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27 20:47 [PATCH v2 0/3] hw/isa/piix4: Remove MIPS Malta specific bits Philippe Mathieu-Daudé
2022-10-27 20:47 ` [PATCH v2 1/3] hw/mips/malta: Introduce PIIX4_PCI_DEVFN definition Philippe Mathieu-Daudé
2022-12-18 16:48   ` Bernhard Beschow
2022-10-27 20:47 ` [PATCH v2 2/3] hw/mips/malta: Set PIIX4 IRQ routes in embedded bootloader Philippe Mathieu-Daudé
2022-11-21 15:34   ` Bernhard Beschow
2022-11-21 22:43     ` Philippe Mathieu-Daudé
2022-11-21 23:14       ` Bernhard Beschow
2022-11-22 12:37         ` BALATON Zoltan
2022-11-23 15:30           ` Jiaxun Yang
2022-12-31  9:53     ` Bernhard Beschow
2022-12-31 13:44       ` Philippe Mathieu-Daudé
2023-01-02  0:03         ` Bernhard Beschow
2023-01-04 14:09           ` Philippe Mathieu-Daudé
2022-10-27 20:47 ` [PATCH v2 3/3] hw/isa/piix4: Correct IRQRC[A:D] reset values Philippe Mathieu-Daudé
2022-12-18 16:49   ` Bernhard Beschow
2022-12-19 12:20   ` Bernhard Beschow
2022-10-27 21:42 ` [PATCH v2 0/3] hw/isa/piix4: Remove MIPS Malta specific bits Philippe Mathieu-Daudé

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).