qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Arm: honour CPU address space for image loads
@ 2018-02-15 17:57 Peter Maydell
  2018-02-15 17:57 ` [Qemu-devel] [PATCH 1/3] loader: Add new load_ramdisk_as() Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Peter Maydell @ 2018-02-15 17:57 UTC (permalink / raw)
  To: qemu-arm, qemu-devel; +Cc: patches

This patchset makes the Arm code for loading kernels, initrds,
etc etc honour the CPU's address space rather than loading
everything via the system address space. This makes a difference
when the image is being loaded to memory or via an alias memory
region which is implemented by an SoC container object (and
which therefore doesn't appear in the system address space).

I needed this in particular for M profile, but I'd written all
the boot.c changes before I remembered that M profile doesn't
use that code at all :-)

thanks
-- PMM

Peter Maydell (3):
  loader: Add new load_ramdisk_as()
  hw/arm/boot: Honour CPU's address space for image loads
  hw/arm/armv7m: Honour CPU's address space for image loads

 include/hw/loader.h |  12 +++++-
 hw/arm/armv7m.c     |  17 ++++++--
 hw/arm/boot.c       | 119 +++++++++++++++++++++++++++++++++-------------------
 hw/core/loader.c    |   8 +++-
 4 files changed, 108 insertions(+), 48 deletions(-)

-- 
2.16.1

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

end of thread, other threads:[~2018-02-15 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-15 17:57 [Qemu-devel] [PATCH 0/3] Arm: honour CPU address space for image loads Peter Maydell
2018-02-15 17:57 ` [Qemu-devel] [PATCH 1/3] loader: Add new load_ramdisk_as() Peter Maydell
2018-02-15 18:07   ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2018-02-15 17:57 ` [Qemu-devel] [PATCH 2/3] hw/arm/boot: Honour CPU's address space for image loads Peter Maydell
2018-02-15 18:06   ` Peter Maydell
2018-02-15 18:14     ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2018-02-15 17:57 ` [Qemu-devel] [PATCH 3/3] hw/arm/armv7m: " Peter Maydell
2018-02-15 18:07   ` [Qemu-devel] [Qemu-arm] " 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).