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 X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BADEC433DF for ; Thu, 30 Jul 2020 07:23:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 773862082E for ; Thu, 30 Jul 2020 07:23:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="LRTeCTU2"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bARa/ogU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728901AbgG3HX6 (ORCPT ); Thu, 30 Jul 2020 03:23:58 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48370 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726261AbgG3HX5 (ORCPT ); Thu, 30 Jul 2020 03:23:57 -0400 From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596093835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6k5wcIDB8jyeA7vb5CSqa7UkewlAIcmM7jaipNVY1C4=; b=LRTeCTU2LhZQa64jTJqs0aj6W4nCipJPBRMPumklEE4Mneyq3G2yhOvxHHLbNh5jaTSvAm H6qkwMURc/ZnA4rogRqaMHDPeAhf2s0ExJApSjVKHD2axQXMsvOUQyjuLLXB1ev7vlVHHO 6fwbTCTyvt5nYDcNQCl3scGJN2BMB93qF9vlFn3og1kmlpN3DwTf3wMFWd7KXLelYKL05Z kM9zRkcVYRdWVX2NkS9WzBfvqT9isyHTJ/U6dSZcAwcViZiclG9MZ/KCfy/mYG2rGS0Bbe jHxwm1AitkFiJ8OcTYRbyie3xzm+LeLuR7OFBofRF2Pab+ldzwrj2nuFZwbG6Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596093835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6k5wcIDB8jyeA7vb5CSqa7UkewlAIcmM7jaipNVY1C4=; b=bARa/ogUj6Y440sYrSdJ4Sz4Ax5ocVXmV4x3b+thqHzs6WxGFsVU/mGYF0sh0L60DgpLJ1 yj6ZvlwM6PcbxEDg== To: Vladimir Oltean Cc: Alison Wang , catalin.marinas@arm.com, will@kernel.org, paulmck@kernel.org, mw@semihalf.com, leoyang.li@nxp.com, vladimir.oltean@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Anna-Maria Gleixner Subject: Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting In-Reply-To: <20200729094943.lsmhsqlnl7rlnl6f@skbuf> References: <20200729033934.22349-1-alison.wang@nxp.com> <877dumbtoi.fsf@kurt> <20200729094943.lsmhsqlnl7rlnl6f@skbuf> Date: Thu, 30 Jul 2020 09:23:44 +0200 Message-ID: <87mu3ho48v.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Hi Vladimir, On Wed Jul 29 2020, Vladimir Oltean wrote: > For more context, here is my original report of the issue: > https://lkml.org/lkml/2020/6/4/1062 > > Just like you, I could not reproduce the RCU stalls and system hang on a > 5.6-rt kernel, just on mainline and derivatives, using the plain > defconfig. > > The issue is not specific to Layerscape or i.MX8, but rather I was able > to see the same behavior on Marvell Armada 37xx as well as Qualcomm > MSM8976. > > So, while of course I agree that disabling IRQ time accounting for arm64 > isn't a real solution, it isn't by far an exaggerated proposal either. > Nonetheless, the patch is just a RFC and should be treated as such. We > are at a loss when it comes to debugging this any further and we would > appreciate some pointers. Yeah, sure. I'll try to reproduce this issue first. So it triggers with: * arm64 * mainline, not -rt kernel * opened serial console * irq accounting enabled Anything else? Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEooWgvezyxHPhdEojeSpbgcuY8KYFAl8idYAACgkQeSpbgcuY 8KZnIw//VNg3MMucjsLvyBMbCL7IWmaRtFoCE1rWIq+82xzvJpY65Ol2gNnz4g/y tcpjERid0FARJRAFLtC6UyL4jI6TjMubEapfBwLa/Pto9Ptg0xjMcYS75h+AbPf3 Wfwx85h+aHJR+3BTakzcDPK+6tCK6FTXWXijyn4XXE2T5yrLF1vgvF2fbpYd/Z5U tKFz/H7DDJcPdzRuiWr0rvh/TaRvb4k8HPqyaQEONK4tdoo2mj+SnU4xCrOaFq+h NNZZ59JAZZqLv40895nUpO+0rCp77Q4YBLC2fkECo8cHNgBzs+NQB6HdSsS4lkoU uAHpAn2sFTb+xLqUI642PsuNyl1D4wBTf6WkamGw2XFXnO/qgkCs2aXZqOnEaawH 4jpNO7dIZ8MN0mXUz7nLKRS494DvzCju6VVG7kta2glzA251qgIU9sHmFj59Na8A BwXle5NKdq/UItvJHiasjHWDWJ4dKfpHZwsFqtPGoeZexAJswpGnogj4/WlzkYZs HqI9f716oJjVdyOXZjGddupVUX1xgjaSG2RCO3oeXDcjO81cQ9Q5/j3iKZc37aUH Dgjm+GPjGLD9NOFk7yjKshBqwyDp2iVlGYe6TzuRB64rLjY1cKCaRVWoseJGTDhn ZHjEBIXZKnRxU2VGueSgMT09rm56mHMkH0e2JtbwyukHsBnhT84= =miKF -----END PGP SIGNATURE----- --=-=-=-- 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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67A18C433DF for ; Thu, 30 Jul 2020 07:25:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 3638D206E6 for ; Thu, 30 Jul 2020 07:25:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bH76Fxny"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="LRTeCTU2"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bARa/ogU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3638D206E6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YUixa8qz3nQGNoj8hPpeN1TbDWcy0qrhJdNgfbPILNo=; b=bH76FxnyR7YvIsUr/ONmsEwYU GHTl1CQzeHUyiC5F6ebxssmz30v4agVftVsKkQX/X6ABvNGK59MGPpWIhL0yJtqqJ3QpGcMittbyx w0pEKNWBmG3MWXw2+x90b0CycQmZpCGLaVuT9pqfUOD3ReCPRwYo61IzsNGCYGeSj+IRgqO1BAQQg RjhmCGEAG9T+vXVUo34nSgX5hzCAB+c7iZeSlU1ExjBQJBqkul31rDBo0XI8p6jXLtxE4g/3k0MQ5 S6rGEKnRyw3VhM4Z5kYCSWhs5x+y7y7sqgt0YS6nSmOsrYl+nVYg6Lh+wOj/mGQVNBf4VOutuFhHA Nz/ZXk4NA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k12v3-0006vx-4Y; Thu, 30 Jul 2020 07:24:01 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k12uz-0006v8-T2 for linux-arm-kernel@lists.infradead.org; Thu, 30 Jul 2020 07:23:59 +0000 From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596093835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6k5wcIDB8jyeA7vb5CSqa7UkewlAIcmM7jaipNVY1C4=; b=LRTeCTU2LhZQa64jTJqs0aj6W4nCipJPBRMPumklEE4Mneyq3G2yhOvxHHLbNh5jaTSvAm H6qkwMURc/ZnA4rogRqaMHDPeAhf2s0ExJApSjVKHD2axQXMsvOUQyjuLLXB1ev7vlVHHO 6fwbTCTyvt5nYDcNQCl3scGJN2BMB93qF9vlFn3og1kmlpN3DwTf3wMFWd7KXLelYKL05Z kM9zRkcVYRdWVX2NkS9WzBfvqT9isyHTJ/U6dSZcAwcViZiclG9MZ/KCfy/mYG2rGS0Bbe jHxwm1AitkFiJ8OcTYRbyie3xzm+LeLuR7OFBofRF2Pab+ldzwrj2nuFZwbG6Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596093835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6k5wcIDB8jyeA7vb5CSqa7UkewlAIcmM7jaipNVY1C4=; b=bARa/ogUj6Y440sYrSdJ4Sz4Ax5ocVXmV4x3b+thqHzs6WxGFsVU/mGYF0sh0L60DgpLJ1 yj6ZvlwM6PcbxEDg== To: Vladimir Oltean Subject: Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting In-Reply-To: <20200729094943.lsmhsqlnl7rlnl6f@skbuf> References: <20200729033934.22349-1-alison.wang@nxp.com> <877dumbtoi.fsf@kurt> <20200729094943.lsmhsqlnl7rlnl6f@skbuf> Date: Thu, 30 Jul 2020 09:23:44 +0200 Message-ID: <87mu3ho48v.fsf@kurt> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200730_032358_050929_E7336586 X-CRM114-Status: GOOD ( 12.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: paulmck@kernel.org, Anna-Maria Gleixner , catalin.marinas@arm.com, Alison Wang , linux-kernel@vger.kernel.org, leoyang.li@nxp.com, vladimir.oltean@nxp.com, Thomas Gleixner , mw@semihalf.com, will@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============1221199278059654541==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============1221199278059654541== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Hi Vladimir, On Wed Jul 29 2020, Vladimir Oltean wrote: > For more context, here is my original report of the issue: > https://lkml.org/lkml/2020/6/4/1062 > > Just like you, I could not reproduce the RCU stalls and system hang on a > 5.6-rt kernel, just on mainline and derivatives, using the plain > defconfig. > > The issue is not specific to Layerscape or i.MX8, but rather I was able > to see the same behavior on Marvell Armada 37xx as well as Qualcomm > MSM8976. > > So, while of course I agree that disabling IRQ time accounting for arm64 > isn't a real solution, it isn't by far an exaggerated proposal either. > Nonetheless, the patch is just a RFC and should be treated as such. We > are at a loss when it comes to debugging this any further and we would > appreciate some pointers. Yeah, sure. I'll try to reproduce this issue first. So it triggers with: * arm64 * mainline, not -rt kernel * opened serial console * irq accounting enabled Anything else? Thanks, Kurt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEooWgvezyxHPhdEojeSpbgcuY8KYFAl8idYAACgkQeSpbgcuY 8KZnIw//VNg3MMucjsLvyBMbCL7IWmaRtFoCE1rWIq+82xzvJpY65Ol2gNnz4g/y tcpjERid0FARJRAFLtC6UyL4jI6TjMubEapfBwLa/Pto9Ptg0xjMcYS75h+AbPf3 Wfwx85h+aHJR+3BTakzcDPK+6tCK6FTXWXijyn4XXE2T5yrLF1vgvF2fbpYd/Z5U tKFz/H7DDJcPdzRuiWr0rvh/TaRvb4k8HPqyaQEONK4tdoo2mj+SnU4xCrOaFq+h NNZZ59JAZZqLv40895nUpO+0rCp77Q4YBLC2fkECo8cHNgBzs+NQB6HdSsS4lkoU uAHpAn2sFTb+xLqUI642PsuNyl1D4wBTf6WkamGw2XFXnO/qgkCs2aXZqOnEaawH 4jpNO7dIZ8MN0mXUz7nLKRS494DvzCju6VVG7kta2glzA251qgIU9sHmFj59Na8A BwXle5NKdq/UItvJHiasjHWDWJ4dKfpHZwsFqtPGoeZexAJswpGnogj4/WlzkYZs HqI9f716oJjVdyOXZjGddupVUX1xgjaSG2RCO3oeXDcjO81cQ9Q5/j3iKZc37aUH Dgjm+GPjGLD9NOFk7yjKshBqwyDp2iVlGYe6TzuRB64rLjY1cKCaRVWoseJGTDhn ZHjEBIXZKnRxU2VGueSgMT09rm56mHMkH0e2JtbwyukHsBnhT84= =miKF -----END PGP SIGNATURE----- --=-=-=-- --===============1221199278059654541== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============1221199278059654541==--