From patchwork Tue Feb 2 17:01:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 375007 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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, 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 BA733C433DB for ; Tue, 2 Feb 2021 17:11:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7CC4464F8D for ; Tue, 2 Feb 2021 17:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237196AbhBBRKg (ORCPT ); Tue, 2 Feb 2021 12:10:36 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:37722 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236972AbhBBRB7 (ORCPT ); Tue, 2 Feb 2021 12:01:59 -0500 From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1612285268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=d1Kdvu9+dkssRJkLazmJQ0ySXWAFKBgRFIkPCvH7pzU=; b=r0zEDGt93tE5DdtcAaMMhyHZzdJJYurPigo37XbFdJo2JW75ItMm50JrnQ8NmcmStZHhYb S/KVIznYGEt5eLwql+g/ME3ELlMMMAbI6T8GVFAd9ZKxXHuDhqnr/UZCkWK1UWkp1jkTmO cvpFulf57JsiUdQfS5pg2Pm5YkG+oQsIKJq2BCPwVwGtcYjQL0URCJcW9mTcEKiPlBmeI/ oa5MdkmVe8uxqep/cLHBwanGFJYiCbdZBBpEFZgGMBtiZds69X+8eC/j+YGpyayZWF5tZl DLOM+G99bCFtWetHvRu0jhIOjimWFrWmpKGi50ccqXWDN1g/XpF7KXOwsH5iIQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1612285268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=d1Kdvu9+dkssRJkLazmJQ0ySXWAFKBgRFIkPCvH7pzU=; b=xA+7F6JWRLtcXL369JJP8SH4lBPMyfHDu4uH1GfFYqjgNH9xzEVXjvUHKkFfZxYuWKaQTi 6pjUjLOErsq5qEDQ== To: netdev@vger.kernel.org Cc: "David S. Miller" , Jakub Kicinski , Thomas Gleixner , "Ahmed S. Darwish" Subject: [PATCH 0/2] chelsio: cxgb: Use threaded interrupts for deferred work Date: Tue, 2 Feb 2021 18:01:02 +0100 Message-Id: <20210202170104.1909200-1-bigeasy@linutronix.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Patch #2 fixes an issue in which del_timer_sync() and tasklet_kill() is invoked from the interrupt handler. This is probably a rare error case since it disables interrupts / the card in that case. Patch #1 converts a worker to use a threaded interrupt which is then also used in patch #2 instead adding another worker for this task (and flush_work() to synchronise vs rmmod). This has been only compile tested. Sebastian