Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3421420pxf; Mon, 29 Mar 2021 01:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG4A5osONXwj9Y5spBU/7DWgPrnUuRhPg2lmN6ZW3AWifPleLqsfXdfOCOMa6+X3PER2EZ X-Received: by 2002:a17:906:3409:: with SMTP id c9mr27172388ejb.314.1617006878365; Mon, 29 Mar 2021 01:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617006878; cv=none; d=google.com; s=arc-20160816; b=HZLnhwyCiitwjsX0zcA/mAM6psJ2pRxiz+AbXIDLm40YULXzM2MDl/LFvIva5UX+l7 9RkDVTQAaDm7hRrATDJSgcQAUmga4T2slfQQmTJ+YFXbM0YYA7y04RN24UBYS4IQPVS1 tXEDMYY5dXfDlpdFUiJlg0ZN28DeWJ69poKHUD6n79TwWXn+VaVeB83EzNCy6pAog17T Lq8Ua2EKrlrlcn55/M5/T9UabmJ0ncKDOPeqQENPkVPz88LH+WDAYJ2uiKHDynXjYZB7 IQWAot2QHAD7UGvRasCxPmBQnNpNfoioG1xQctS+SNnU47VIw1m6rqjuNJLPCze2pn9w iLgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hji9gCoQT2CfhTcSyfl/Dd8fLxR44oWuILWSos7faww=; b=S+JCtE+T05b9Yd5ER64Z6dRP3KjiaTVmOBG4nIbjCdEv0G30fGpch5Dh2zIS1FT4x3 m3oglTQQPyNsUya2EkxFjFb5aHVOD0ew4cldjzW87c3ssLohjE/Iv5LcUxj4E118fZ1w +UXxaiBLp4rK9SxmfqmcMBPfPYHVLa+WkwK9ZW7047DlbFYDbUIqgo7u+EWSeGyMhyQV RuIu1crEebGRgRqV6J1libGbPpYxW4aiTEfSqznlyepB4nvuubp2phPwKDUZOni+Wbe+ 0TnyPWsjC/zVbQ910Lh/NFJhC4KDHHsbB5sNnkTnFnK6u7L770o3g9DgG+ETI8qvTO+d DoZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r07KEI4x; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp14si12664622ejb.435.2021.03.29.01.34.16; Mon, 29 Mar 2021 01:34:38 -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=pass header.i=@linuxfoundation.org header.s=korg header.b=r07KEI4x; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234478AbhC2IdN (ORCPT + 99 others); Mon, 29 Mar 2021 04:33:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:37378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231508AbhC2IU2 (ORCPT ); Mon, 29 Mar 2021 04:20:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1B4136196F; Mon, 29 Mar 2021 08:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617006027; bh=o4u/VcO69L7DhtcHtxq/rNaFbwGDQVYq3qt12Vub5Pk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r07KEI4xUeiUjiOOQfG7HLsWArIk15AV55x6M01QGWr6ErwpNgMfhkr7r6TaKVBuo 5vpFgSAAFWPg7iC1psGA7SZUAxE3AcryVOyNmsnHC3u7JyvYJfgw84/NA9t6jD8iuN EFk1ZunoTA0r3YBIuaHwjq+Vi6fHAtLdIJ2EQEB0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Grygorii Strashko , Tony Lindgren , Sasha Levin Subject: [PATCH 5.10 091/221] bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD Date: Mon, 29 Mar 2021 09:57:02 +0200 Message-Id: <20210329075632.245418539@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Grygorii Strashko [ Upstream commit 7d7275b3e866cf8092bd12553ec53ba26864f7bb ] The main purpose of l3 IRQs is to catch OCP bus access errors and identify corresponding code places by showing call stack, so it's important to handle L3 interconnect errors as fast as possible. On RT these IRQs will became threaded and will be scheduled much more late from the moment actual error occurred so showing completely useless information. Hence, mark l3 IRQs as IRQF_NO_THREAD so they will not be forced threaded on RT or if force_irqthreads = true. Fixes: 0ee7261c9212 ("drivers: bus: Move the OMAP interconnect driver to drivers/bus/") Signed-off-by: Grygorii Strashko Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- drivers/bus/omap_l3_noc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/omap_l3_noc.c b/drivers/bus/omap_l3_noc.c index b040447575ad..dcfb32ee5cb6 100644 --- a/drivers/bus/omap_l3_noc.c +++ b/drivers/bus/omap_l3_noc.c @@ -285,7 +285,7 @@ static int omap_l3_probe(struct platform_device *pdev) */ l3->debug_irq = platform_get_irq(pdev, 0); ret = devm_request_irq(l3->dev, l3->debug_irq, l3_interrupt_handler, - 0x0, "l3-dbg-irq", l3); + IRQF_NO_THREAD, "l3-dbg-irq", l3); if (ret) { dev_err(l3->dev, "request_irq failed for %d\n", l3->debug_irq); @@ -294,7 +294,7 @@ static int omap_l3_probe(struct platform_device *pdev) l3->app_irq = platform_get_irq(pdev, 1); ret = devm_request_irq(l3->dev, l3->app_irq, l3_interrupt_handler, - 0x0, "l3-app-irq", l3); + IRQF_NO_THREAD, "l3-app-irq", l3); if (ret) dev_err(l3->dev, "request_irq failed for %d\n", l3->app_irq); -- 2.30.1