Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2327294ybb; Fri, 27 Mar 2020 03:30:46 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv9IWaEUPDoC2uY0rr43o89+NmuhxnKNfb6U9ncVbgfpI2irtJII+ujfKsoS697iuwZmGQm X-Received: by 2002:a9d:340b:: with SMTP id v11mr9854226otb.14.1585305045996; Fri, 27 Mar 2020 03:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585305045; cv=none; d=google.com; s=arc-20160816; b=qpef3o+9RiULvN1v0i5DlRRGMNAYRuIynqZOoxD5mgvGNZ5a+A+WRYK4ijKKkBtMjC f61zTfm+MLfiIpHNmYUcZ/FFixagiPc4VtXFvAv0jH+VkTueTyQ8QyTlidV4s8cH4Cze inHXaoEyLIewO64MVDHNu9UTQdwxu+mEAf28hsGNeoEf4lhdGpTRclzgiscVh04v0pY1 sXdIkyT1nsq2I0GqMowri33mNnyWDIHu8NG5H49XxZQiO70l6bJ09W6ZC4Tmu1tRDwTl GYJH5UClpAr3HZc4K3gLz5qe2jo4egtblVZkW65iUBK111NH25zE+8GyTwCYOQO0J8qi JWyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jxagbeVNh29/16YYCqUxcED/GWqaMY2FRZILhD+326E=; b=mJAjNgwPN+6kfTGLc6AWq+eCn9eYOxPSPW6dtj0GXv7m0c2ZoyXRB67NGKzv8MlRbS GvmcQyDaa/TqwfEsZIm+h3QaX4UtWu4wxIR6Pew2rQmxSSPJgXj9XdDv/WYjPjtKetNU hOb4kfwUVL2xqD/NGDfJxj9LH5BC5V7B48n9930L9i1ZeLrmnpnRBMAMWo2IbxdiJLsm 43mjMcw86tC6PrS3I+OtWmDx+38Gk2eCibOvwtln6wQiuLSxwpFrL6tXMLdnlWZIBAtS N9sVVpkTjSvA8UNNCdlrRP8eNZAiLl3LNhaNVGCWuD0O1FcP6znHcCcga/2QAGk1N8JW vtgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pT7ZlF8+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i124si2283275oib.172.2020.03.27.03.30.32; Fri, 27 Mar 2020 03:30:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pT7ZlF8+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727335AbgC0K2w (ORCPT + 99 others); Fri, 27 Mar 2020 06:28:52 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:44619 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbgC0K2w (ORCPT ); Fri, 27 Mar 2020 06:28:52 -0400 Received: by mail-lf1-f65.google.com with SMTP id j188so7390227lfj.11 for ; Fri, 27 Mar 2020 03:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jxagbeVNh29/16YYCqUxcED/GWqaMY2FRZILhD+326E=; b=pT7ZlF8+QDzNnMTTTXVJzakDoz3QhyP01pvtfVf0GteWt8Tf11MzXads6cx+Bxozvu 7IwWHj/EYxLdmAYqXnu3Dzq90WiKIW1empmHvyFt/AijbOBlBUPhW9nmE2JZVehlJgbN NTBGYVH9UGPZYUQvd1FVnU1m+KgpfMrj1zgXu57yRBx1DphOpbDs5CkZl7+u8sMvhhir L0RR25GHO7Mz1GtSu1HvgZbbECv5HQq9Emo2s9Ikp/ipzszJO1hknf2CNh7MSQPqMofd Wt5/puPA8rg9AyH248JalQ2H9s1xyFn7arWrt7jY9PjKFWBKQSS+Wfej7e4Z6HSZ+hVK McaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jxagbeVNh29/16YYCqUxcED/GWqaMY2FRZILhD+326E=; b=C4r277mURxQHrYXTjcY262oyic4Ei3XN069Ryub/cRu3fafInN/kr0XCRz/5glQk1f NzuliLrTxZaeE6b2CZCicQ5Ij8xPgc0n82FFNMQJXHxgqsFgu1bDg2Gs1Qa5hEFm96ji TcPaqTIXZr8bQvPk3w6+4oXYgxXK1uRQaKq2LHW0cfgX8B5ria74ifsGCMt9coFl9U1B Kq7U153qaZZcTtUAup5NFpD6kEh3ZN8JRS8xi89g6RsgmhDvym4b3TwpBc3ZuFD7TVgZ zsdM4UVz8VzGn/kaSTRsvvKRayW8wR1+HbghsBEnsoWzH8lURfyaWC/oOg+AeY+/xHpI vvpw== X-Gm-Message-State: ANhLgQ0mwVSGHQ6xu7H4rkaX8VcCu0Bq1MGR/59gpkxEh9BemGj+iw0y gL/yfUl4QEyC+W0FHM7s5cDmZeBxbV0e8wZt7KgTLw== X-Received: by 2002:ac2:5b49:: with SMTP id i9mr8745710lfp.21.1585304929987; Fri, 27 Mar 2020 03:28:49 -0700 (PDT) MIME-Version: 1.0 References: <002b72cab9896fa5ac76a52e0cb503ff@kernel.org> <20200319023448.1479701-1-mans0n@gorani.run> In-Reply-To: <20200319023448.1479701-1-mans0n@gorani.run> From: Linus Walleij Date: Fri, 27 Mar 2020 11:28:38 +0100 Message-ID: Subject: Re: [PATCH v2] irqchip/versatile-fpga: Handle chained IRQs properly To: Sungbo Eo Cc: Thomas Gleixner , Jason Cooper , Marc Zyngier , Linux ARM , "linux-kernel@vger.kernel.org" , linux-oxnas@groups.io, Neil Armstrong Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 19, 2020 at 3:36 AM Sungbo Eo wrote: > Enclose the chained handler with chained_irq_{enter,exit}(), so that the > muxed interrupts get properly acked. > > This patch also fixes a reboot bug on OX820 SoC, where the jiffies timer > interrupt is never acked. The kernel waits a clock tick forever in > calibrate_delay_converge(), which leads to a boot hang. > > Fixes: c41b16f8c9d9 ("ARM: integrator/versatile: consolidate FPGA IRQ handling code") > Signed-off-by: Sungbo Eo > Cc: Neil Armstrong > --- > v2: moved readl below chained_irq_enter() > added Fixes tag Reviewed-by: Linus Walleij I wonder how Integrator keeps working so well despite this. I can't test it right now but I'm sure it is fine. Yours, Linus Walleij