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 C1A1FC433EF for ; Mon, 16 May 2022 12:59:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232090AbiEPM7b (ORCPT ); Mon, 16 May 2022 08:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbiEPM7a (ORCPT ); Mon, 16 May 2022 08:59:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC43F3981E for ; Mon, 16 May 2022 05:59:29 -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 684CBB811CE for ; Mon, 16 May 2022 12:59:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99E68C385B8; Mon, 16 May 2022 12:59:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652705967; bh=52t/aydhQKNY4VngPN5wVFXroRu8Wj13ccGtx9w7eKg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rDmDsnrlmunGBN4OGZtHAfKSQb6SGZuA9fqORR2Qzak7fDdAcsA4hdqJkHHYLv/SR 6wCvwp9zpOiybNMw1x6f27SfgCGtO/icq+gxmv5+5ZhkrR6mDz2j64Q/JG83zYXqQo vItZkt8Fc43qyiScJo+beVxczassxnK9AqSkxRZmrzUO9RrPYPJ6DJ3EfHkCQ/tXSS AJdYQr+ctckgmSJrbHieVny9R8ykAbroBH5kOY8AMUvsHet3BETzDy3kR48XRoZbC2 mDeYtYQaBwXqXQiagnapkv/3xJtg9f4INZI4aOaGT1x75qerKA6j1y8WRpkSmgyDFj LStpvNL7w6Vxw== Date: Mon, 16 May 2022 18:29:23 +0530 From: Vinod Koul To: Dave Jiang Cc: Tony Zu , dmaengine@vger.kernel.org Subject: Re: [PATCH] dmaengine: idxd: skip irq free when wq type is not kernel Message-ID: References: <165176310726.2112428.7474366910758522079.stgit@djiang5-desk3.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <165176310726.2112428.7474366910758522079.stgit@djiang5-desk3.ch.intel.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 05-05-22, 08:05, Dave Jiang wrote: > Skip wq irq resources freeing when wq type is not kernel since the driver > skips the irq alloction during wq enable. Add check in wq type check in > idxd_wq_free_irq() to mirror idxd_wq_request_irq(). Applied, thanks -- ~Vinod