linux/arch/powerpc/platforms/ps3
Paul Mackerras 6b243fcfb5 powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format
This changes the way that we support the new ISA v3.00 HPTE format.
Instead of adapting everything that uses HPTE values to handle either
the old format or the new format, depending on which CPU we are on,
we now convert explicitly between old and new formats if necessary
in the low-level routines that actually access HPTEs in memory.
This limits the amount of code that needs to know about the new
format and makes the conversions explicit.  This is OK because the
old format contains all the information that is in the new format.

This also fixes operation under a hypervisor, because the H_ENTER
hypercall (and other hypercalls that deal with HPTEs) will continue
to require the HPTE value to be supplied in the old format.  At
present the kernel will not boot in HPT mode on POWER9 under a
hypervisor.

This fixes and partially reverts commit 50de596de8
("powerpc/mm/hash: Add support for Power9 Hash", 2016-04-29).

Fixes: 50de596de8 ("powerpc/mm/hash: Add support for Power9 Hash")
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-11-16 15:43:25 +11:00
..
device-init.c powerpc/ps3: fix spelling mistake in function name 2016-09-13 17:37:06 +10:00
exports.c powerpc: remove non-required uses of include <linux/module.h> 2011-10-31 19:30:44 -04:00
gelic_udbg.c powerpc/ps3: gelic_udbg: use struct udphdr from <linux/udp.h> 2016-03-01 19:27:20 +11:00
htab.c powerpc/64: Simplify adaptation to new ISA v3.00 HPTE format 2016-11-16 15:43:25 +11:00
hvcall.S [POWERPC] ps3: add lv1 hvcalls 2006-12-04 20:40:44 +11:00
interrupt.c powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
Kconfig powerpc: Kconfig: remove BE-only platforms from LE kernel build 2015-09-29 22:57:00 +10:00
Makefile powerpc/ps3: Add gelic udbg driver 2011-09-20 09:20:05 +10:00
mm.c powerpc/ps3: Write highmem info to repository 2015-01-22 17:31:21 +11:00
os-area.c powerpc/ps3: Remove unused os_area_db_id_video_mode 2015-09-30 10:33:02 +10:00
platform.h powerpc/ps3: Add empty repository highmem routines 2015-01-22 17:31:21 +11:00
repository.c powerpc/ps3: Fix typo in comment reference to CONFIG_PS3_REPOSITORY_WRITE 2016-07-08 22:09:57 +10:00
setup.c powerpc/64: Move 64-bit probe_machine() to later in the boot process 2016-07-21 18:59:22 +10:00
smp.c powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
spu.c powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
system-bus.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
time.c char/genrtc: remove powerpc support 2016-06-04 00:23:35 +02:00