Received: by 10.223.185.116 with SMTP id b49csp9024126wrg; Fri, 2 Mar 2018 11:58:22 -0800 (PST) X-Google-Smtp-Source: AG47ELv9RRAHyP66KUMFreQssLTzIRQczj8qXJapP8CyPrRhiv7LkFbNa1KBfu9wIjJ0z6WvZ1cU X-Received: by 10.98.58.129 with SMTP id v1mr6737405pfj.203.1520020702646; Fri, 02 Mar 2018 11:58:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520020702; cv=none; d=google.com; s=arc-20160816; b=QdyfYjGsuU5jlTFcxSCszHaSGtRXBJ4z3NqWKLvd+10wQYOmj7Mm8rivPlA9th59pF VxyCRCNUuQatQAvNAx2AT64i3W3qQRKH+h+P2FL/ypKVNrFx0L0w6vrfkBp2u74/EWBb UCLoaWlDStHOZnJRKcy0oHlDwMcL2JFgQfQSpdTbMDxo3FTOF/s+KRmUO2rhRFPLTRA9 0B06dMGREgvZpOtQcSde6AyDKfekTBYsS8BnQ4f2KOUNhzutYXvCFJTpAEMTKjVnq4l+ gA6Id+QGjhCiOK2OxYK8a0vtb2kvZe9cNG7wWWb8+2yc9mUQ1FNc4MiU4ZNTHY2JW65/ 4G0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=R4EU+ldHgPp+/kUfe9U4Yqmk3xBE0ofLbPc87BaKjeo=; b=uPADqGfBOyRLcT1fD/dd2O7RmudNzqT7NV30ZWuYGJkJFIE2SUVtN2ojJVcdmQ2e4o mJGBLmyd+B19uHjJyZrVufgAp7sD7yV7pd1D1YGDGSohaxu8np+jof5VqBBhKWUwAyNe b3I7kK7GjR2TpPV7d3xXIs9UVYufO5S+0ulF6wVMUwcOUQzXM/F7zso0dAV6mqf6B7gr aHo8auWjBR26NMwMt16tHmCy6j2JRZz1GCuR3INDArwAxS/ULnfZmfBH14wBYtl7Vp04 WJ8zDsdn+AObIeJjarU7bhWn50TYfXuuqIDhhsWum1g6NvARHlddGxyewX5W3ob41Msq UtgQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1si4366083pgc.726.2018.03.02.11.57.57; Fri, 02 Mar 2018 11:58:22 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968051AbeCBQoX (ORCPT + 99 others); Fri, 2 Mar 2018 11:44:23 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58214 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967014AbeCBQoS (ORCPT ); Fri, 2 Mar 2018 11:44:18 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F33261529; Fri, 2 Mar 2018 08:44:17 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EEE0E3F24A; Fri, 2 Mar 2018 08:44:15 -0800 (PST) Date: Fri, 2 Mar 2018 16:44:13 +0000 From: Mark Rutland To: Grzegorz Jaszczyk Cc: Marc Zyngier , catalin.marinas@arm.com, will.deacon@arm.com, james.morse@arm.com, "AKASHI, Takahiro" , Hoeun Ryu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nadav Haklai , Marcin Wojtas Subject: Re: [PATCH] arm64: kdump: fix interrupt handling done during machine_crash_shutdown Message-ID: <20180302164411.fxdx72ttz7livz2e@lakrids.cambridge.arm.com> References: <1519837260-30662-1-git-send-email-jaz@semihalf.com> <20180228171647.6t4dabntujcb5kon@lakrids.cambridge.arm.com> <20180302120556.xujh3hoy44y7ouz7@lakrids.cambridge.arm.com> <20180302131545.q2vf6uc3yofofqdb@lakrids.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 02, 2018 at 02:52:07PM +0100, Grzegorz Jaszczyk wrote: > 2018-03-02 14:15 GMT+01:00 Mark Rutland : > > Do you see this for a panic() in *any* interrupt handler? > > I only test with this two interrupt handlers: watchdog and i2c but I > think it will behave the same with others - I can try with other if > you want, any suggestion which? Maybe with some PPI interrupt instead? > > > > Can you trigger the issue with magic-sysrq c, for example? > > There is no problem when I trigger it via 'echo c > > /proc/sysrq-trigger' - it works well all the time. The problem appears > only, when the kexec/kdump procedure is triggered from interrupt > context I'd meant that you'd send sysrq + c over serial, rather than writing to /proc/sysrq-trigger. That way, the panic will be in the context of the UART IRQ handler. If that shows the issue, that's ilikely to be the easiest way for someone else to reproduce and investigate this. Thanks, Mark.