diff options
author | Helge Deller <deller@gmx.de> | 2022-01-07 14:05:11 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-01-11 11:57:37 +0100 |
commit | d6ab9fc74513ae6501afcdae2547334a03b9a5c9 (patch) | |
tree | f0132160962fd195b75515e5ba0a5ef266085b6c /arch/parisc/Kconfig | |
parent | 6968e707d371ef80511448c6771daf445b4a5cf5 (diff) | |
download | linux-stable-d6ab9fc74513ae6501afcdae2547334a03b9a5c9.tar.gz linux-stable-d6ab9fc74513ae6501afcdae2547334a03b9a5c9.tar.bz2 linux-stable-d6ab9fc74513ae6501afcdae2547334a03b9a5c9.zip |
parisc: Enable TOC (transfer of contents) feature unconditionally
Before this patch, the TOC code used a pre-allocated stack of 16kb for
each possible CPU. That space overhead was the reason why the TOC
feature wasn't enabled by default for 32-bit kernels.
This patch rewrites the TOC code to use a per-cpu stack. That way we use
much less memory now and as such we enable the TOC feature by default on
all kernels.
Additionally the dump of the registers and the stacktrace wasn't
serialized, which led to multiple CPUs printing the stack backtrace at
once which rendered the output unreadable.
Now the backtraces are nicely serialized by a lock.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r-- | arch/parisc/Kconfig | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 011dc32fdb4d..f55ccd1161f3 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -287,20 +287,6 @@ config SMP If you don't know what to do here, say N. -config TOC - bool "Support TOC switch" - default y if 64BIT || !SMP - help - Most PA-RISC machines have either a switch at the back of the machine - or a command in BMC to trigger a TOC interrupt. If you say Y here a - handler will be installed which will either show a backtrace on all - CPUs, or enter a possible configured debugger like kgdb/kdb. - - Note that with this option enabled, the kernel will use an additional 16KB - per possible CPU as a special stack for the TOC handler. - - If you don't want to debug the Kernel, say N. - config PARISC_CPU_TOPOLOGY bool "Support cpu topology definition" depends on SMP |