From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8FA7C6FA82 for ; Sun, 4 Sep 2022 16:28:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234853AbiIDQ2Z (ORCPT ); Sun, 4 Sep 2022 12:28:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233768AbiIDQ2V (ORCPT ); Sun, 4 Sep 2022 12:28:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7305C32A80; Sun, 4 Sep 2022 09:28:20 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 267F6B80DB1; Sun, 4 Sep 2022 16:28:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67812C433D6; Sun, 4 Sep 2022 16:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662308897; bh=K5NnPbSymMs3AKykE7PHxHnFNTgsCQlVrRUjYmQkZd8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZECx8K6fBpYlrkY+btLivGDbw5VXPkR6+YJzWV8G/MgykN1BXw2Zz1zo2qvaJ3eE8 U4m6UfrxEHwVzQsN+BDU6xkqSLsO+As4B7EcrbQIWWakpwlDVjMsMymHLiVAxn743F FRLWsFqeyxq3SiN1AQR7o6jZnlHCkFGgLyKzYEamRdJ+4L5qmRqPc171e9J0RouUgb QzNMa3lPzixNfc+gqmw8VciIZyxtas4bKEEaBYKkQKK5rTCjLoPEvIzq1WN73YiTdl 6kiwtqZ3+Xuo3tXJ2tmf5k4pZSefX0PCRuJL0V4JAQ+wbe/hf+OrgRLLwxkb6TYmUg bsNHXHi3Gbv9g== Date: Sun, 4 Sep 2022 21:58:14 +0530 From: Vinod Koul To: Jerry Snitselaar Cc: linux-kernel@vger.kernel.org, Fenghua Yu , Dave Jiang , dmaengine@vger.kernel.org Subject: Re: [PATCH v2] dmaengine: idxd: avoid deadlock in process_misc_interrupts() Message-ID: References: <20220823162435.2099389-1-jsnitsel@redhat.com> <20220823163709.2102468-1-jsnitsel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220823163709.2102468-1-jsnitsel@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23-08-22, 09:37, Jerry Snitselaar wrote: > idxd_device_clear_state() now grabs the idxd->dev_lock > itself, so don't grab the lock prior to calling it. > > This was seen in testing after dmar fault occurred on system, > resulting in lockup stack traces. Applied, thanks -- ~Vinod