[Skiboot] [RFC PATCH 0/7] virtual memory patches
Nicholas Piggin
npiggin at gmail.com
Fri Sep 21 18:05:04 AEST 2018
The first 4-5 patches actually should be good to go without the
last ones. I've spent too much time hacking on this already, so
I'll put it on hold again for a while unless anyone is really
interested. It mainly started as an excercise in learing the hash
MMU a bit better. I don't recommend that for anyone, but this just
uses the most basic powerpc features so it should be a lot easier
than looking at Linux.
Thanks,
Nick
Nicholas Piggin (7):
core/flash: NULL pointer dereference fixes
core/device: NULL pointer dereference fix
asm/head: move unnecessary code out of head
asm/head: use HSRR exception registers in FIXUP_ENDIAN
core/exceptions: save current MSR in exception frame
asm/head: provide asm support for interrupts to be returned from
virtual memory for OPAL boot
asm/asm-offsets.c | 7 +
asm/head.S | 239 ++++---------
asm/misc.S | 138 ++++++++
core/Makefile.inc | 2 +-
core/cpu.c | 7 +
core/device.c | 5 +-
core/exceptions.c | 113 ++++--
core/flash-subpartition.c | 15 +-
core/flash.c | 9 +-
core/init.c | 107 +++++-
core/lock.c | 10 +-
core/mem_region.c | 84 +++--
core/opal.c | 14 +-
core/vm.c | 723 ++++++++++++++++++++++++++++++++++++++
hdata/spira.c | 21 +-
hw/fake-nvram.c | 12 +-
hw/homer.c | 5 +
hw/lpc-uart.c | 31 +-
hw/lpc.c | 2 +
hw/phb4.c | 16 +-
hw/slw.c | 4 +-
hw/xive.c | 1 +
hw/xscom.c | 3 +-
include/cmpxchg.h | 12 +
include/cpu.h | 9 +
include/io.h | 57 ++-
include/mem_region.h | 1 +
include/processor.h | 12 +-
include/skiboot.h | 26 ++
include/stack.h | 1 +
libstb/container.c | 12 +-
skiboot.lds.S | 77 ++--
32 files changed, 1472 insertions(+), 303 deletions(-)
create mode 100644 core/vm.c
--
2.18.0
More information about the Skiboot
mailing list