qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-8.0 0/7] hw/mips/malta: Generate nanoMIPS bootloader with bootloader generator API
@ 2022-12-10 15:54 Philippe Mathieu-Daudé
  2022-12-10 15:54 ` [PATCH-for-8.0 1/7] hw/mips/bootloader: Handle buffers as opaque arrays Philippe Mathieu-Daudé
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-12-10 15:54 UTC (permalink / raw)
  To: qemu-devel
  Cc: Philippe Mathieu-Daudé, Milica Lazarevic, Dragan Mladjenovic,
	Aurelien Jarno, Djordje Todorovic, Jiaxun Yang, Bernhard Beschow

Bernhard posted his "Consolidate PIIX south bridges" v3 series:
https://lore.kernel.org/qemu-devel/20221204190553.3274-1-shentey@gmail.com/

However in order to simplify it, on the Malta board we need to set
the PIIX IRQC[A:D] routing values via the embedded bootloader (used
when no external BIOS is provided). Jiaxun added a "bootloader
generator API" for 32-bit wide instructions, and we use it in the
write_bootloader() function.
This series provides the nanoMIPS equivalent generated instructions
and update the write_bootloader_nanomips() function.
That allow fixing the TODO left in
https://lore.kernel.org/qemu-devel/20221027204720.33611-3-philmd@linaro.org/
and apply Bernhard's consolidation.

Please review,

Phil.

Philippe Mathieu-Daudé (7):
  hw/mips/bootloader: Handle buffers as opaque arrays
  hw/mips/bootloader: Pass 32-bit immediate value to LUI opcode
    generator
  hw/mips/bootloader: Implement nanoMIPS NOP opcode
  hw/mips/bootloader: Implement nanoMIPS LUI opcode
  hw/mips/bootloader: Implement nanoMIPS SW opcode
  hw/mips/bootloader: Implement nanoMIPS SW opcode
  hw/mips/malta: Use bootloader generator API for nanoMIPS CPUs

 hw/mips/bootloader.c         | 140 +++++++++++++++++++++++------
 hw/mips/malta.c              | 167 ++++++++++-------------------------
 include/hw/mips/bootloader.h |  10 +--
 3 files changed, 162 insertions(+), 155 deletions(-)

-- 
2.38.1



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

end of thread, other threads:[~2022-12-11 20:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-10 15:54 [PATCH-for-8.0 0/7] hw/mips/malta: Generate nanoMIPS bootloader with bootloader generator API Philippe Mathieu-Daudé
2022-12-10 15:54 ` [PATCH-for-8.0 1/7] hw/mips/bootloader: Handle buffers as opaque arrays Philippe Mathieu-Daudé
2022-12-11  0:16   ` BALATON Zoltan
2022-12-11 20:29     ` Philippe Mathieu-Daudé
2022-12-10 15:54 ` [PATCH-for-8.0 2/7] hw/mips/bootloader: Pass 32-bit immediate value to LUI opcode generator Philippe Mathieu-Daudé
2022-12-11 15:57   ` Richard Henderson
2022-12-10 15:54 ` [PATCH-for-8.0 3/7] hw/mips/bootloader: Implement nanoMIPS NOP opcode Philippe Mathieu-Daudé
2022-12-11 16:19   ` Richard Henderson
2022-12-10 15:54 ` [PATCH-for-8.0 4/7] hw/mips/bootloader: Implement nanoMIPS LUI opcode Philippe Mathieu-Daudé
2022-12-10 16:01   ` Philippe Mathieu-Daudé
2022-12-11 10:33     ` Jiaxun Yang
2022-12-10 15:55 ` [PATCH-for-8.0 5/7] hw/mips/bootloader: Implement nanoMIPS SW opcode Philippe Mathieu-Daudé
2022-12-10 16:02   ` Philippe Mathieu-Daudé
2022-12-11 16:24     ` Richard Henderson
2022-12-11 20:30       ` Philippe Mathieu-Daudé
2022-12-11  9:44   ` Bernhard Beschow
2022-12-10 15:55 ` [PATCH-for-8.0 6/7] " Philippe Mathieu-Daudé
2022-12-11 10:40   ` Jiaxun Yang
2022-12-11 20:30     ` Philippe Mathieu-Daudé
2022-12-10 15:55 ` [PATCH-for-8.0 7/7] hw/mips/malta: Use bootloader generator API for nanoMIPS CPUs Philippe Mathieu-Daudé
2022-12-11  9:53   ` Bernhard Beschow

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