Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1957928pxa; Mon, 3 Aug 2020 03:50:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTQROpIyUotGO+WknbvTEbEetQmhx4KFgdcTGLBhJzCoq9FNOtI7GiKw+DQ4yqpMojYMq8 X-Received: by 2002:a50:fa99:: with SMTP id w25mr15591651edr.150.1596451822847; Mon, 03 Aug 2020 03:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596451822; cv=none; d=google.com; s=arc-20160816; b=ZzkoXaRU7Pm+vU8BW7Rm4LkNYKd1WynIftI3aQXYoYW8HBpJAELg81KZ/YdN8yTJuX aPWkL8nAlt/Z9udB1+w9QqzAjwLt18wKw4QxpzYu1vydkwSSctA1s7ulAC29JMO215vz np6G98Z4L1xcgtgjpIyU3fPSlz2FdQ8rSnFilltQU9R9FbCW8e0AC5XCS/TjWJLJytDj t+ehMb6GlTEJiDMwgmQ4OT2mpyVHub6pe40m3oRDxHd4snn8qOdQtP5IG7Q8fA/Fv7r3 xyNmhZQmCNSPIRH9B1le/Nppsv2YcMYvf91fVNyAjwT4wM4On5uuO2puBJUi3bAsenBm QHKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=KCcHpfOYP09p8zY14r/HtTxM2t9JURMOmwbTy+WTzEQ=; b=pVF4d9byAbYSEtOGZfF3DaIyakNsd708G4g/cRXc9cIl55EBECvCtXFGSTELZKFlbL HRcGPw/zdzGBsvmGWzil5HZjhko7ymlp02tPFb8PJ2kWp/01BtkPzdAz5zW421hpi4Qg k2dhudjoCukQkxPLX9NUM3dznNW85MU9I/ZinXy6gHOBUxQykOqoAMJnjkLtIp58cQk4 fYsPyoqw9Csy8VywPFv5oXVMvPFOFNOhrolXr9orCTe6yLSsTZfPm4ixmvBRC17sBrQS 8HFmweCNKHC5i98g/N5ziIgTYssFmozPfkRqYAIwbEmqIo54AZrjHg7ksZh48dhBQLps 10TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=exPCUDNk; dkim=neutral (no key) header.i=@vger.kernel.org header.b="WW2P/omh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e19si10532520ejc.215.2020.08.03.03.49.58; Mon, 03 Aug 2020 03:50:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=exPCUDNk; dkim=neutral (no key) header.i=@vger.kernel.org header.b="WW2P/omh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726041AbgHCKtq (ORCPT + 99 others); Mon, 3 Aug 2020 06:49:46 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:35218 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgHCKtj (ORCPT ); Mon, 3 Aug 2020 06:49:39 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1596451777; 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=KCcHpfOYP09p8zY14r/HtTxM2t9JURMOmwbTy+WTzEQ=; b=exPCUDNkIUSsEk+m93wt286ygaaCqgwqdD6dmnXCCpNcDlS+ANw9TPI9tyr9UedVBK91yK wVaETPEKGYC5SuiO+opVJKVO178taH1yV/dGFfN39zIxD3YgRh+SQcfpoUGQuET13hfuL9 VY5+0MzVXbK17SuypLCIscQQk5nOETJePrsN7SpH255LdJGIceMxTGHnqJtDk2gm+VJSfj R36bdYgczuRW1CHB9G2WXL/hRvLovDRtGtlR0lj8zs6/r7n3svbJEBeGQBrgLPkrNopYWT OfqiQ9u0GZrFZ0ETjfYAHYPjudz5ETLh1r+1fP4Cy4T1KLe2SwNqm/5JGwKmHg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1596451777; 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=KCcHpfOYP09p8zY14r/HtTxM2t9JURMOmwbTy+WTzEQ=; b=WW2P/omh52HC9kFYVAeeg3h+L56cnLkgbjiWsO8VD72lowVNM28fz0fbaLs9T49RJDULRX eY0JDYKN9PJq8EAA== To: Kurt Kanzenbach , 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, Anna-Maria Gleixner , Peter Zijlstra Subject: Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting In-Reply-To: <873654m9zi.fsf@kurt> References: <20200729033934.22349-1-alison.wang@nxp.com> <877dumbtoi.fsf@kurt> <20200729094943.lsmhsqlnl7rlnl6f@skbuf> <87mu3ho48v.fsf@kurt> <20200730082228.r24zgdeiofvwxijm@skbuf> <873654m9zi.fsf@kurt> Date: Mon, 03 Aug 2020 12:49:36 +0200 Message-ID: <87lfiwm2bj.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kurt, Kurt Kanzenbach writes: > On Thu Jul 30 2020, Vladimir Oltean wrote: > OK. I've reproduced it on a Marvell Armada SoC with v5.6 mainline. See > splats below. Running with irq time accounting enabled, kills the > machine immediately. However, I'm not getting the possible deadlock > warnings in 8250 as you did. So that might be unrelated. > > Unfortunately I have no idea what to debug here. lets look at the facts we have so far. 1) When irq accounting is disabled, RT throttling kicks in as expected. 2) With irq accounting the RT throttler does not kick in and the RCU stall/lockups happen. Not much, but there is clearly interaction between irq time accounting and scheduler accounting. Can you please reduce /proc/sys/kernel/sched_rt_runtime_us in steps of 50000? At least in theory, reduction should bring the throttling back. Thanks, tglx