opnsense-src/sys/powerpc
Justin Hibbits 3b62842a41 tlb1_init() can be called twice on BookE
Summary:
There is no need to call tlb1_init() twice. Now it is called first time from
booke_init() and second time from powerpc_init() (where it is under BOOKE
switch). Although this does not cause immediate problems in the mainline kernel,
this can lead to undesirable side effects like two TLB entries with the same VA
in the TLB1. Presence of two TLB entries with the same VA can hang CPU.

Test Plan:
Add initial mapping for UART to the tlb1_init(), build and boot the kernel,
ensure that mapping presents only once (most convinient way - through Lauterbah
or similar hardware debugger)

Submitted by:	Ivan Krivonos <int0dster_gmail.com>
Differential Revision: https://reviews.freebsd.org/D7607
2016-08-23 04:37:03 +00:00
..
aim Add a kdb show command to print arbitrary SPRs on PowerPC 2016-08-13 18:46:49 +00:00
booke Take into account mas7/8 when reading/writing TLB entries on e6500 2016-08-23 04:26:30 +00:00
conf Merge MPC85XX and QorIQ config options 2016-08-03 01:22:11 +00:00
cpufreq Some style(9) fixes 2013-12-13 05:54:25 +00:00
fpu Fix build of powerpc FPU emulator after changes in r295132 to restore the 2016-02-04 17:43:56 +00:00
include Revert r303890 for now here as camdd fails to build on powerpc* 2016-08-11 15:06:12 +00:00
mambo CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
mikrotik Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
mpc85xx Return 0 instead of an error code on failure to find dcsr. 2016-08-14 04:11:36 +00:00
ofw Remove dead code. This should have been removed in r297392, when these 2016-07-11 17:02:17 +00:00
powermac Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
powerpc tlb1_init() can be called twice on BookE 2016-08-23 04:37:03 +00:00
ps3 Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
pseries Use our nitems() macro when param.h is available. 2016-04-20 15:45:55 +00:00
psim Use OF_prop_free instead of direct call to free(9) 2016-05-14 20:06:38 +00:00