Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 66381C433EF for ; Thu, 23 Jun 2022 19:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YX1CpjTCxXHzAIzB7S7tjrRpbvLYYe5FiqZg+D8UMjo=; b=lRfwcixKwyiHSb Lc1ZxExImyw11JptsM7vvzwCVlvdbzd3JOQK44vHO+xmltOXwAMz4V/fuqDSFB7E2i5vfWoHKC+rW BMHAdfkb+Psko0G4mEjL6UGxb+yODqKt30xL/P288XaTxzZBlqa5eZi+yQBSIj1nHQOnfpz3XN+pl pZ8oU5PVoCVP9fpPRewaosI/rbsby50LvfGmeYpmbEu4wb61nuwtHEldnmJgmca3NwJLZWFOQXnHl A6BWpPD1nameYTmcmbmizUQWOfwxPeLsv8iZxhd+91fwRypKKI/ybw1OJoTPDaeFcdu7AXhhXCoIG me29HdP/qOAPXz8or9JQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4SbU-00GVd4-Dp; Thu, 23 Jun 2022 19:35:00 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o4SYn-00GUJm-0l for linux-arm-kernel@lists.infradead.org; Thu, 23 Jun 2022 19:32:14 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9963961956; Thu, 23 Jun 2022 19:32:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FE89C341C6; Thu, 23 Jun 2022 19:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656012731; bh=ERoOIE3XukZfOJmHWTtOTuImoF93fDbxR6+oSzM3aVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WVkJROCccCG62xbLHjMQLkZPFpvOV4R8FJuDHqxgFlYQr6LagN9sVUIiOBe+DA61y 7Ajgfviu5YjvkKg/RjmjeYxKNIc9mzYkd62iKCR0MAYzcGfaYKYo72AoyGd0YfMw7b w2XtooYHNdPZYAiP2q0Zk4RVsMkjelrp9CQZfkJIKv+sKNCr08v3HqsxFK2zHV8EV6 a94D+mP7qxA3jENIC1hrKwaA4JRkdy4wjbpvaNCMwaQdqmapgvLW4glm/rDs5+29fP RrLOkS4zQNneBSxO2ZTPdOHaV/GBo7cwiZR7DMowQdP2f0cK7aiE1cLYtxkHuqypV3 TqleGinfXsAlg== From: Will Deacon To: Mark Rutland , linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , tglx@linutronix.de, peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] arm64: fix lockdep in NMI context Date: Thu, 23 Jun 2022 20:31:41 +0100 Message-Id: <165599516275.2981885.2147188564179543777.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220511131733.4074499-1-mark.rutland@arm.com> References: <20220511131733.4074499-1-mark.rutland@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220623_123213_144696_59F03D96 X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 11 May 2022 14:17:31 +0100, Mark Rutland wrote: > For lockdep to function correctly in NMI context, architectures need to > correctly save/restore lockdep state at NMI entry/exit time, correctly > manage lockdep state within the NMI context, and need to select > TRACE_IRQFLAGS_NMI_SUPPORT. > > Currently arm64 falls short of this merely by failing to select > TRACE_IRQFLAGS_NMI_SUPPORT, and this can result in spurious lockdep > splats with GICv3 Pseudo-NMIs are in use. Patch 2 has an example. > > [...] This looks good to me and the x86 changes are trivial (famous last words...), so I've queued the series up on its own branch in the arm64 tree. Applied to arm64 (for-next/irqflags-nmi), thanks! [1/2] arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic https://git.kernel.org/arm64/c/4510bffb4d02 [2/2] arm64: select TRACE_IRQFLAGS_NMI_SUPPORT https://git.kernel.org/arm64/c/3381da254fab Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel