From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76B76C433F5 for ; Wed, 17 Nov 2021 07:59:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5AF0061BB6 for ; Wed, 17 Nov 2021 07:59:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234332AbhKQICy (ORCPT ); Wed, 17 Nov 2021 03:02:54 -0500 Received: from muru.com ([72.249.23.125]:57096 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231967AbhKQICx (ORCPT ); Wed, 17 Nov 2021 03:02:53 -0500 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 04A9E80F0; Wed, 17 Nov 2021 08:00:32 +0000 (UTC) Date: Wed, 17 Nov 2021 09:59:52 +0200 From: Tony Lindgren To: Ard Biesheuvel Cc: "Russell King (Oracle)" , Guillaume Tucker , linux-omap , Linux ARM , Nicolas Pitre , Arnd Bergmann , Kees Cook , Keith Packard , Linus Walleij , Nick Desaulniers , "kernelci@groups.io" Subject: Re: [PATCH v3 7/7] ARM: implement support for vmap'ed stacks Message-ID: References: <20211115111816.3911213-1-ardb@kernel.org> <20211115111816.3911213-8-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Ard Biesheuvel [211116 22:03]: > Of course, I may have missed something, but I wouldn't expect a > fundamental flaw in this logic to affect only OMAP3/4 based platforms > in such a weird way. Perhaps there is something I missed in terms of > TLB maintenance, although I would expect the existing fault handler to > take care of that. Looks like disabling the deeper idle states for cpuidle where the CPUSs get shut down and restored seems to work around the issue at least for omap4. The assembly code is in arch/arm/mach-omap2/sleep44xx.S, and in sleep34xx.S for omap3. No idea so far what might be causing this.. Regards, Tony