freebsd-skq/sys/powerpc/mpc85xx
bdragon 69432bab7d Add support for building Book-E kernels with clang/lld.
This involved several changes:

* Since lld does not like text relocations, replace SMP boot page text relocs
in booke/locore.S with position-independent math, and track the virtual base
in the SMP boot page header.

* As some SPRs are interpreted differently on clang due to the way it handles
platform-specific SPRs, switch m*dear and m*esr mnemonics out for regular
m*spr. Add both forms of SPR_DEAR to spr.h so the correct encoding is selected.

* Change some hardcoded 32 bit things in the boot page to be pointer-sized, and
fix alignment.

* Fix 64-bit build of booke/pmap.c when enabling pmap debugging.

Additionally, I took the opportunity to document how the SMP boot page works.

Approved by: jhibbits (mentor)
Differential Revision: https://reviews.freebsd.org/D21999
2019-11-02 21:15:56 +00:00
..
atpic.c Add ISA PNP tables to ISA drivers. Fix a few incidental comments. 2018-01-29 00:22:30 +00:00
ds1553_bus_fdt.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ds1553_core.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
ds1553_reg.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
fsl_diu.c Use a resource hint instead of environment variable for DIU mode 2018-04-16 04:02:53 +00:00
fsl_espi.c Add Freescale eSPI driver found on QorIQ SoCs 2017-04-02 01:21:35 +00:00
fsl_sata.c Make fsl_sata driver work on P1022 2018-01-16 04:50:23 +00:00
fsl_sata.h Add Freescale QorIQ SATA controller support. 2017-11-05 02:47:46 +00:00
i2c.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
isa.c sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
lbc.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
lbc.h sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mpc85xx_cache.c Only look for L2 cache controllers for mpc85xx_cache 2018-02-04 20:07:08 +00:00
mpc85xx_gpio.c
mpc85xx.c Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
mpc85xx.h Remove dead errata fixup code 2018-05-01 04:31:17 +00:00
pci_mpc85xx_pcib.c powerpc/mpc85xx: Set description for the MPC85xx RC bridge 2019-11-02 02:24:53 +00:00
pci_mpc85xx.c powerpc/booke: Simplify the MPC85XX PCIe root complex driver 2019-10-24 03:51:33 +00:00
platform_mpc85xx.c Add support for building Book-E kernels with clang/lld. 2019-11-02 21:15:56 +00:00
qoriq_gpio.c