public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb@kernel•org>
To: linux@armlinux•org.uk
Cc: linux-arm-kernel@lists•infradead.org, arnd@arndb•de,
	linus.walleij@linaro•org, keescook@chromium•org,
	Ard Biesheuvel <ardb@kernel•org>,
	Marek Szyprowski <m.szyprowski@samsung•com>,
	Geert Uytterhoeven <geert@linux-m68k•org>,
	Jon Hunter <jonathanh@nvidia•com>
Subject: [PATCH] ARM: disable vmap'ed stacks on suspend-capable SMP configs
Date: Wed,  5 Jan 2022 15:34:59 +0100	[thread overview]
Message-ID: <20220105143459.3365530-1-ardb@kernel.org> (raw)

There are several reports about the new vmap'ed stacks code breaking
suspend/resume on Exynos, Renesas and Tegra SMP platforms. While this is
under investigation, let's disable the vmap'ed stacks feature for the
time being for SMP configurations that have suspend/resume enabled.

[0] https://lore.kernel.org/linux-arm-kernel/20211122092816.2865873-8-ardb@kernel.org/

Cc: Marek Szyprowski <m.szyprowski@samsung•com>
Cc: Geert Uytterhoeven <geert@linux-m68k•org>
Cc: Jon Hunter <jonathanh@nvidia•com>
Signed-off-by: Ard Biesheuvel <ardb@kernel•org>
---
 arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4817343b1d97..938f7c392cc7 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -129,7 +129,7 @@ config ARM
 	select RTC_LIB
 	select SYS_SUPPORTS_APM_EMULATION
 	select THREAD_INFO_IN_TASK
-	select HAVE_ARCH_VMAP_STACK if MMU && (!LD_IS_LLD || LLD_VERSION >= 140000)
+	select HAVE_ARCH_VMAP_STACK if MMU && (!LD_IS_LLD || LLD_VERSION >= 140000) && !PM_SLEEP_SMP
 	select TRACE_IRQFLAGS_SUPPORT if !CPU_V7M
 	# Above selects are sorted alphabetically; please add new ones
 	# according to that.  Thanks.
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

                 reply	other threads:[~2022-01-05 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220105143459.3365530-1-ardb@kernel.org \
    --to=ardb@kernel$(echo .)org \
    --cc=arnd@arndb$(echo .)de \
    --cc=geert@linux-m68k$(echo .)org \
    --cc=jonathanh@nvidia$(echo .)com \
    --cc=keescook@chromium$(echo .)org \
    --cc=linus.walleij@linaro$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=m.szyprowski@samsung$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox