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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95622C4338F for ; Fri, 6 Aug 2021 13:53:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76CDE60F70 for ; Fri, 6 Aug 2021 13:53:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234126AbhHFNxs (ORCPT ); Fri, 6 Aug 2021 09:53:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:49512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232548AbhHFNxs (ORCPT ); Fri, 6 Aug 2021 09:53:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 94EA961158; Fri, 6 Aug 2021 13:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628258012; bh=lSmfbc2AI2P+N2RYQ/6GD2F8UCGftmX0YgcBiY6AWB0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tyWcnKR+DHVq2GP6diI3r5EXISRJuQpxGs6L2cQKXQbyu7ME5+2NtcJsCyJxC+tPs SuLUcl1GgXVHCBZlwAZH5YZoY5+t/UuxsBXnWyyiUQ3PJJzfyzYSJWiJn2I4g+JV9t 836LZ043DhxF6n8LYAshcZQ6NCiXACxRnBgnXnzRb7+yCIhcveWZSpJ7D6hMlssnJR 0EXxPRyLlFwyOD+Sy5Pz019AA9F7Bo/temFim+X6MDVl9c45C8Fh78kcD6u68CUhf3 vXejCSXYyVThbwCXlsz/uN0u83V/cUCc6H04n1lpYJ5o1SnkpQ5JbArU5EnWKIS19Y avshzx8f+R0Fg== Date: Fri, 6 Aug 2021 19:23:28 +0530 From: Vinod Koul To: Dave Jiang Cc: Dan Williams , dmaengine@vger.kernel.org Subject: Re: [PATCH] dmaengine: idxd: make I/O interrupt handler one shot Message-ID: References: <162802977005.3084234.11836261157026497585.stgit@djiang5-desk3.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <162802977005.3084234.11836261157026497585.stgit@djiang5-desk3.ch.intel.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 03-08-21, 15:29, Dave Jiang wrote: > The interrupt thread handler currently loops forever to process outstanding > completions. This causes either an "irq X: nobody cared" kernel splat or > the NMI watchdog kicks in due to running too long in the function. The irq > thread handler is expected to run again after exiting if there are > interrupts fired while the thread handler is running. So the handler code > can process all the completed I/O in a single pass and exit without losing > the follow on completed I/O. > Applied, thanks -- ~Vinod