opnsense-src/sys/powerpc/mpc85xx
Justin Hibbits f60708c9f7 Fix SMP booting for PowerPC Book-E
Summary:
PowerPC Book-E SMP is currently broken for unknown reasons.  Pull in
Semihalf changes made c2012 for e500mc/e5500, which enables booting SMP.

This eliminates the shared software TLB1 table, replacing it with
tlb1_read_entry() function.

This does not yet support ePAPR SMP booting, and doesn't handle resetting CPUs
already released (ePAPR boot releases APs to a spin loop waiting on a specific
address).  This will be addressed in the near future by using the MPIC to reset
the AP into our own alternate boot address.

This does include a change to the dpaa/dtsec(4) driver, to mark the portals as
CPU-private.

Test Plan:
Tested on Amiga X5000/20 (P5020).  Boots, prints the following
messages:

 Adding CPU 0, pir=0, awake=1
 Waking up CPU 1 (dev=1)
 Adding CPU 1, pir=20, awake=1
 SMP: AP CPU #1 launched

top(1) shows CPU1 active.

Obtained from:	Semihalf
Relnotes:	Yes
Differential Revision: https://reviews.freebsd.org/D5945
2016-04-19 01:48:18 +00:00
..
atpic.c Allow PIC drivers to translate firmware sense codes for themselves. This 2013-10-24 15:37:32 +00:00
ds1553_bus_fdt.c Convert Freescale PowerPC platforms to FDT convention. 2010-07-11 21:08:29 +00:00
ds1553_core.c DS1553 RTC module driver. On the MPC8555CDS system it hangs off of the LBC bus. 2009-06-22 15:48:47 +00:00
ds1553_reg.h DS1553 RTC module driver. On the MPC8555CDS system it hangs off of the LBC bus. 2009-06-22 15:48:47 +00:00
fsl_sdhc.c Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
fsl_sdhc.h Import eSDHC driver for Freescale integrated controller. 2012-05-26 21:07:15 +00:00
i2c.c Make i2c device child auto-probe work for MPC85xx and QorIQ SoCs. 2016-04-05 02:27:01 +00:00
isa.c Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it. 2016-02-20 01:32:58 +00:00
lbc.c Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
lbc.h Support lbc interrupts: 2012-07-03 00:06:14 +00:00
mpc85xx.c Allow the size argument for law_enable() to be non-power-of-2. 2016-02-23 02:28:19 +00:00
mpc85xx.h Extend idle support for newer Book-E cores. 2016-01-01 02:47:40 +00:00
mpc85xx_gpio.c Add a GPIO driver for the mpc85xx. 2015-04-04 02:34:40 +00:00
pci_mpc85xx.c Reduce OFW PCI code duplication - involves ARM, PPC and SPARC64 2016-03-29 15:19:56 +00:00
pci_mpc85xx_pcib.c Modernize mpc85xx PCI hostbridge driver. 2015-11-22 01:16:43 +00:00
platform_mpc85xx.c Fix SMP booting for PowerPC Book-E 2016-04-19 01:48:18 +00:00
qoriq_gpio.c Add another compatibility check for QorIQ GPIO driver. 2016-03-01 03:41:48 +00:00