mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 01:10:20 +07:00
d09042da72
- When setting a sighandler using sigaction() call, if the flag SA_ONSTACK is set and no alternate stack is provided via sigaltstack(), the kernel still try to install the alternate stack. This behavior is the opposite of the one which is documented in Single Unix Specifications V3. - Also when setting an alternate stack using sigaltstack() with the flag SS_DISABLE, the kernel try to install the alternate stack on signal delivery. These two use cases makes the process crash at signal delivery. Signed-off-by: Laurent Meyer <meyerlau@fr.ibm.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: David Howells <dhowells@redhat.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
configs | ||
kernel | ||
lib | ||
Kconfig | ||
Kconfig.debug | ||
Makefile | ||
README |
This port to the NEC V850E processor supports the following platforms: "sim" The gdb v850e simulator (CONFIG_V850E_SIM). "rte-ma1-cb" The Midas labs RTE-V850E/MA1-CB and RTE-V850E/NB85E-CB evaluation boards (CONFIG_RTE_CB_MA1 and CONFIG_RTE_CB_NB85E). This support has only been tested when running with the Multi-debugger monitor ROM (for the Green Hills Multi debugger). The optional NEC Solution Gear RTE-MOTHER-A motherboard is also supported, which allows PCI boards to be used (CONFIG_RTE_MB_A_PCI). "rte-me2-cb" The Midas labs RTE-V850E/ME2-CB evaluation board (CONFIG_RTE_CB_ME2). This has only been tested using a kernel downloaded via an ICE connection using the Multi debugger. Support for the RTE-MOTHER-A is present, but hasn't been tested (unlike the other Midas labs cpu boards, the RTE-V850E/ME2-CB includes an ethernet adaptor). "as85ep1" The NEC AS85EP1 V850E evaluation chip/board (CONFIG_V850E_AS85EP1). "anna" The NEC `Anna' (board/chip) implementation of the V850E2 processor (CONFIG_V850E2_ANNA). "sim85e2c", "sim85e2s" The sim85e2c and sim85e2s simulators, which are verilog simulations of the V850E2 NA85E2C/NA85E2S cpu cores (CONFIG_V850E2_SIM85E2C and CONFIG_V850E2_SIM85E2S). "fpga85e2c" A FPGA implementation of the V850E2 NA85E2C cpu core (CONFIG_V850E2_FPGA85E2C). To get a default kernel configuration for a particular platform, you can use a <platform>_defconfig make target (e.g., "make rte-me2-cb_defconfig"); to see which default configurations are possible, look in the directory "arch/v850/configs". Porting to anything with a V850E/MA1 or MA2 processor should be simple. See the file <asm-v850/machdep.h> and the files it includes for an example of how to add platform/chip-specific support.