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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1920C433F5 for ; Fri, 27 May 2022 08:18:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242780AbiE0ISL (ORCPT ); Fri, 27 May 2022 04:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234196AbiE0ISK (ORCPT ); Fri, 27 May 2022 04:18:10 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93AF7EC3EF; Fri, 27 May 2022 01:18:09 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id v26so6775328ybd.2; Fri, 27 May 2022 01:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0z33FdV/Bxsom8j7fiRE8EMcJ4Zlbih/meNdXQLsKk8=; b=cwNP6LG5nc1rKyga1xrPAOvrhnPLr8Q9bMClNDAJ7LoDF0i/87mWbptGcF2R5rXwtj BfAfJ3pPoDZuKkyJ20AdzmSDbDFamsOtT234h4e/Ld3+5Wpfm1OWpMXQmeir+wr1ZK4c G584QgkIic3+txFxeSgiogDXrCya8oLFShzIzRzRpfdwl+vZf1amq4MVqTkaJ4CCq9ti /tKtl6D+EZCLcTW1QcCWyTM36yvBcIOqzKPuZJvsMZjlou6S57CEHzqRe5o+kqG7wPpF wb7PBlrRz2h6fPdxyeeB+rLL1BWar43ZvmZDdc8frB8V43D4ZQzroetRKMD84NbTVZev QyHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0z33FdV/Bxsom8j7fiRE8EMcJ4Zlbih/meNdXQLsKk8=; b=R18E/sSCEBM7oWy4bZk2d3yqJ3KlHqtfh+ddK9AJp40kEU89E4a/otzTTyYDxTAEQT le1Q+eMHYavq1RONh9Vs/8neyYucQHlJ29ufobE4Bpa2+XCJ8RvrVhx15gSuVn4W23Pl 4Ijp/O+nMNPLytq7YYCyPPgKAQfk2lhd/a/Gr8s0EOPtwkymBLws7cvfASaqhrfbnDLi P87B3lQG21mQP/pd/vaH29KGc9DKs9urYXO0w532ERg4+CH/aNLB3xXB4NtskHAqwCWd N/btfleJRldWmCOX8vn6VD9j2mLKm2AanJRYdun7geuIYDndGmI+dR9CeZ6lapJfZSMc b7Ug== X-Gm-Message-State: AOAM533aqjmQFwuiIplwf4+Wyz+CAsWltimsIogTxRFQtHswZGIMJ40w JKzGUKfC/6W3m8u0D3IP43IPYgDcUhV8po3WBxm7ZBdvyBQ= X-Google-Smtp-Source: ABdhPJw10ieSvViuMmAJIqsi1C/C8Zh1SnCnFwmwAol8b0sTRXJ5UpZILb6CHVczYV5dsb5R2PjtdE4iKtKb/twcQfQ= X-Received: by 2002:a25:814a:0:b0:64f:f06c:cf6d with SMTP id j10-20020a25814a000000b0064ff06ccf6dmr20134387ybm.88.1653639488637; Fri, 27 May 2022 01:18:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yegor Yefremov Date: Fri, 27 May 2022 10:17:57 +0200 Message-ID: Subject: Re: am335x: 5.18.x: system stalling To: Arnd Bergmann Cc: Tony Lindgren , Ard Biesheuvel , Linux-OMAP , linux-clk , Stephen Boyd , Linux ARM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Hi Arnd, On Fri, May 27, 2022 at 8:57 AM Arnd Bergmann wrote: > > On Fri, May 27, 2022 at 8:50 AM Tony Lindgren wrote: > > * Arnd Bergmann [220527 06:35]: > > > On Fri, May 27, 2022 at 6:44 AM Yegor Yefremov wrote: > > > > On Thu, May 26, 2022 at 4:16 PM Arnd Bergmann wrote: > > > Based on what we just discussed on #armlinux, testing before and after > > commit 9c46929e7989 ("ARM: implement THREAD_INFO_IN_TASK for uniprocessor > > systems") might be a good idea as it enables some config options that > > did not get enabled earlier. > > > > Another thing that might help is to bisect again and ensure vmap stack > > config option stays disabled so issues related to vmap stack are kept > > out of the way. > > Unfortunately the commits around 9c46929e7989 are the ones that failed > to build according to the original report. But it's possible that the > problem has something to do with > CONFIG_CURRENT_POINTER_IN_TPIDRURO, which is disabled > in the V6+SMP config, and which in turn is required for > THREAD_INFO_IN_TASK, IRQSTACKS and STACKPROTECTOR_PER_TASK. > > If any of the four are the cause of the stall, then turning off ARCH_OMAP2 and > CONFIG_CPU_V6 should show the same bug in older commits as well. Both config options disabled: # zcat /proc/config.gz | grep 'CONFIG_ARCH_MULTI_V6\|CONFIG_SMP' # CONFIG_ARCH_MULTI_V6 is not set CONFIG_ARCH_MULTI_V6_V7=y # CONFIG_SMP is not set This helped - no stalls. Regards, Yegor 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5871EC433EF for ; Fri, 27 May 2022 08:19:51 +0000 (UTC) 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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LLxywPLBgJ3dlv7VgUrbc/rSXLp1UBMotjH97ir37D4=; b=twvdyyQ+BCpSO5 GLcwWasTg+MNCsKmDoNTzjW34MZFZ9LXbBx3h6afQD1Lj52DdW8J6Y8h93kEKiIZLdF7vs30sVhOz khJzmDlzg6xdylkB7W7854uZKQauy33LYgWPCZOFT/KmwtWGwW3Zf0GD6iK3ehN2TkgY0rOv6IWR5 gUVy1OfDUf8O6yeKRlgUimTOMcI2nb+DxMx2YC9g6xwk3zhZx7eiG+6jagfbrZhNWq7ulLzfe8FKk 6iUu+MXKIR2BGS0MGB4pCQrGYkuEwLCYt23qzIcWdvPpUtiPrYTdG1VovPz3fk4UhGfU23NHDsrxT KzVvHtDPj0yWlLHE8aNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nuVAm-00GzdD-UV; Fri, 27 May 2022 08:18:17 +0000 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nuVAj-00GzcR-5j for linux-arm-kernel@lists.infradead.org; Fri, 27 May 2022 08:18:14 +0000 Received: by mail-yb1-xb2a.google.com with SMTP id x137so6717628ybg.5 for ; Fri, 27 May 2022 01:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0z33FdV/Bxsom8j7fiRE8EMcJ4Zlbih/meNdXQLsKk8=; b=cwNP6LG5nc1rKyga1xrPAOvrhnPLr8Q9bMClNDAJ7LoDF0i/87mWbptGcF2R5rXwtj BfAfJ3pPoDZuKkyJ20AdzmSDbDFamsOtT234h4e/Ld3+5Wpfm1OWpMXQmeir+wr1ZK4c G584QgkIic3+txFxeSgiogDXrCya8oLFShzIzRzRpfdwl+vZf1amq4MVqTkaJ4CCq9ti /tKtl6D+EZCLcTW1QcCWyTM36yvBcIOqzKPuZJvsMZjlou6S57CEHzqRe5o+kqG7wPpF wb7PBlrRz2h6fPdxyeeB+rLL1BWar43ZvmZDdc8frB8V43D4ZQzroetRKMD84NbTVZev QyHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0z33FdV/Bxsom8j7fiRE8EMcJ4Zlbih/meNdXQLsKk8=; b=tNj00YVoVoE2J8cffXPcJfURplKLw3WukFknFqb5QcixPffyqtgi8PB8Y9d8eRbN/5 J/pXnWf9UAH/VITYBGnn501XL+e8WXdUsCEYDQOMirr0TMhnsseZ3VbhkQue97uVeL7F 7LnNN7ZfSX+oI12SyRCT0dmuFLScdfyMz/sZ0QPcvq4hw7+jvpXv496nqPBjNA/UeG95 eeY2qv/+QPUHqNbjHGr8TXBnSwrB8mLey/HmflbM3RfWXHh8x7nqYs2CTMkTBlRiK00T UONbsI/9QvZgrO/aN3CZFOnFtBVcA0rEqEGkVz3tL1t6z+mHKaWU94PtFBJcetwNT8Kl HOOQ== X-Gm-Message-State: AOAM531tkzCOLYuELayasPS9gabey6tHhRRhEK/YNHM71iH4+nEnGWnj 81ynvuimFrQX8PRoLa3/Rf4a94U4JM0Agdzc7iU= X-Google-Smtp-Source: ABdhPJw10ieSvViuMmAJIqsi1C/C8Zh1SnCnFwmwAol8b0sTRXJ5UpZILb6CHVczYV5dsb5R2PjtdE4iKtKb/twcQfQ= X-Received: by 2002:a25:814a:0:b0:64f:f06c:cf6d with SMTP id j10-20020a25814a000000b0064ff06ccf6dmr20134387ybm.88.1653639488637; Fri, 27 May 2022 01:18:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yegor Yefremov Date: Fri, 27 May 2022 10:17:57 +0200 Message-ID: Subject: Re: am335x: 5.18.x: system stalling To: Arnd Bergmann Cc: Tony Lindgren , Ard Biesheuvel , Linux-OMAP , linux-clk , Stephen Boyd , Linux ARM X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220527_011813_280601_D658A826 X-CRM114-Status: GOOD ( 19.86 ) 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 Hi Arnd, On Fri, May 27, 2022 at 8:57 AM Arnd Bergmann wrote: > > On Fri, May 27, 2022 at 8:50 AM Tony Lindgren wrote: > > * Arnd Bergmann [220527 06:35]: > > > On Fri, May 27, 2022 at 6:44 AM Yegor Yefremov wrote: > > > > On Thu, May 26, 2022 at 4:16 PM Arnd Bergmann wrote: > > > Based on what we just discussed on #armlinux, testing before and after > > commit 9c46929e7989 ("ARM: implement THREAD_INFO_IN_TASK for uniprocessor > > systems") might be a good idea as it enables some config options that > > did not get enabled earlier. > > > > Another thing that might help is to bisect again and ensure vmap stack > > config option stays disabled so issues related to vmap stack are kept > > out of the way. > > Unfortunately the commits around 9c46929e7989 are the ones that failed > to build according to the original report. But it's possible that the > problem has something to do with > CONFIG_CURRENT_POINTER_IN_TPIDRURO, which is disabled > in the V6+SMP config, and which in turn is required for > THREAD_INFO_IN_TASK, IRQSTACKS and STACKPROTECTOR_PER_TASK. > > If any of the four are the cause of the stall, then turning off ARCH_OMAP2 and > CONFIG_CPU_V6 should show the same bug in older commits as well. Both config options disabled: # zcat /proc/config.gz | grep 'CONFIG_ARCH_MULTI_V6\|CONFIG_SMP' # CONFIG_ARCH_MULTI_V6 is not set CONFIG_ARCH_MULTI_V6_V7=y # CONFIG_SMP is not set This helped - no stalls. Regards, Yegor _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel