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 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 E28D8C433EF for ; Wed, 17 Nov 2021 08:01:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8A466142A for ; Wed, 17 Nov 2021 08:01:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A8A466142A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xGTYRcMQIf3R56B5R/44QsWpIMrBGcTjPitm3J11ne0=; b=SNl/HWXvUNWZ86 n+QL0DzdU1t+i72wHBk2iYnccTjzGiyiYsluwBp4J67t6vgn5hAQqIEmrfcEXudh1Zmj1maHdn0yU 0v10Q3FGLDWytOknSWt9N4EV/AOnEgjukVLyq2L3mtCmP50QaJvkZBY87AmelapOR63uQSkx2wRad UnwMNd4eBIFfi+yzwq/1lFhgf8b+Mgal20SlekJOusri4p1BFQ8kk/AMCMyE+Asdnx0FpcVz6M7ET 40uXvyhrZwWbdAEfr2d3ZC/HB5c/5WZJgWvWeU2fjulzvWMqmScVvQe4X90GDSD1WjRhnIihvKDxe 1ZujC/Pwaccbies3dcqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnFrM-003srD-6U; Wed, 17 Nov 2021 08:00:00 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnFrI-003sqS-Vs for linux-arm-kernel@lists.infradead.org; Wed, 17 Nov 2021 07:59:58 +0000 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211116_235957_103317_6BF6D96E X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel