freebsd-skq/sys/powerpc
Leandro Lupori 6174048251 powerpc64: Add a trap stack area
Currently, the trap code switches to the the temporary stack in the dbtrap
section. It works in most cases, but in the beginning of the execution, the
temp stack is being used, as starting in the powerpc_init() code.

In this current scenario, the stack is being overwritten, which causes the
return of breakpoint() to take abnormal execution.

This current patchset create a small stack to use by the dbtrap: codepath
avoiding the corruption of the temporary stack.

PR:		224872
Submitted by:	breno.leitao_gmail.com
Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D14484
2019-02-04 16:02:03 +00:00
..
aim powerpc64: Add a trap stack area 2019-02-04 16:02:03 +00:00
booke powerpcspe: Correct SPE high-component loading 2019-01-13 04:51:24 +00:00
conf Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
cpufreq pmcr: Fix pstate setting on Power8 2018-12-01 21:37:47 +00:00
fpu powerpc: Fix FPU fsqrt emulation special case results 2019-01-16 03:52:43 +00:00
include powerpc: Add opaque 'private data' to interrupt vectors 2019-01-12 22:05:42 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx powerpc/booke: Replace a logical equivalent of pmap_kextract() with a real call 2018-12-10 04:16:40 +00:00
ofw Sprinkle EARLY_DRIVER_MODULE around the tree 2018-12-04 04:55:49 +00:00
powermac powerpc: Add opaque 'private data' to interrupt vectors 2019-01-12 22:05:42 +00:00
powernv powerpc/powernv: Add a driver for the POWER9 XIVE interrupt controller 2019-02-02 04:15:16 +00:00
powerpc powerpc: Fix opaque irq data initialization 2019-01-19 04:47:19 +00:00
ps3 powerpc: Add opaque 'private data' to interrupt vectors 2019-01-12 22:05:42 +00:00
pseries powerpc/powernv: Add a driver for the POWER9 XIVE interrupt controller 2019-02-02 04:15:16 +00:00
psim add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00