linux_dsm_epyc7002/arch/powerpc/platforms/wsp
Anton Blanchard 1fbe9cf259 powerpc: Build kernel with -mcmodel=medium
Finally remove the two level TOC and build with -mcmodel=medium.

Unfortunately we can't build modules with -mcmodel=medium due to
the tricks the kernel module loader plays with percpu data:

# -mcmodel=medium breaks modules because it uses 32bit offsets from
# the TOC pointer to create pointers where possible. Pointers into the
# percpu data area are created by this method.
#
# The kernel module loader relocates the percpu data section from the
# original location (starting with 0xd...) to somewhere in the base
# kernel percpu data space (starting with 0xc...). We need a full
# 64bit relocation for this to work, hence -mcmodel=large.

On older kernels we fall back to the two level TOC (-mminimal-toc)

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-01-10 17:00:31 +11:00
..
chroma.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
h8.c powerpc/book3e: Add Chroma as a new WSP/PowerEN platform. 2011-11-25 14:11:29 +11:00
ics.c powerpc/wsp: Fix IRQ affinity setting 2012-02-14 15:01:38 +11:00
ics.h powerpc/wsp: Add MSI support for PCI on PowerEN 2011-09-20 09:19:55 +10:00
Kconfig of: Only compile OF_DYNAMIC on PowerPC pseries and iseries 2012-02-21 13:33:00 -07:00
Makefile powerpc: Build kernel with -mcmodel=medium 2013-01-10 17:00:31 +11:00
msi.c powerpc/wsp: Add MSI support for PCI on PowerEN 2011-09-20 09:19:55 +10:00
msi.h powerpc/wsp: Add MSI support for PCI on PowerEN 2011-09-20 09:19:55 +10:00
opb_pic.c irq_domain/powerpc: Replace custom xlate functions with library functions 2012-02-16 06:11:24 -07:00
psr2.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
scom_smp.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
scom_wsp.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
setup.c powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
smp.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
wsp_pci.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
wsp_pci.h powerpc/wsp: Add PCIe Root support to PowerEN/WSP 2011-09-20 09:19:53 +10:00
wsp.c powerpc/book3e: Add Chroma as a new WSP/PowerEN platform. 2011-11-25 14:11:29 +11:00
wsp.h POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00