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.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 17279C2D0A3 for ; Thu, 29 Oct 2020 11:38:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD74F20780 for ; Thu, 29 Oct 2020 11:38:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725770AbgJ2LiN (ORCPT ); Thu, 29 Oct 2020 07:38:13 -0400 Received: from depni-mx.sinp.msu.ru ([213.131.7.21]:25 "EHLO depni-mx.sinp.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbgJ2Lhn (ORCPT ); Thu, 29 Oct 2020 07:37:43 -0400 Received: from spider (unknown [176.192.246.239]) by depni-mx.sinp.msu.ru (Postfix) with ESMTPSA id 1DE411BF457; Thu, 29 Oct 2020 14:37:40 +0300 (MSK) From: Serge Belyshev To: Heiner Kallweit Cc: Jakub Kicinski , David Miller , Realtek linux nic maintainers , "netdev@vger.kernel.org" Subject: Re: [PATCH net] r8169: fix issue with forced threading in combination with shared interrupts References: Date: Thu, 29 Oct 2020 14:37:35 +0300 In-Reply-To: (Heiner Kallweit's message of "Thu, 29 Oct 2020 10:18:53 +0100") Message-ID: <87wnz9b6v4.fsf@depni.sinp.msu.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > As reported by Serge flag IRQF_NO_THREAD causes an error if the > interrupt is actually shared and the other driver(s) don't have this > flag set. This situation can occur if a PCI(e) legacy interrupt is > used in combination with forced threading. > There's no good way to deal with this properly, therefore we have to > remove flag IRQF_NO_THREAD. For fixing the original forced threading > issue switch to napi_schedule(). > > Fixes: 424a646e072a ("r8169: fix operation under forced interrupt threading") > Link: https://www.spinics.net/lists/netdev/msg694960.html > Reported-by: Serge Belyshev > Signed-off-by: Heiner Kallweit > --- Thanks, that works for me. Tested-by: Serge Belyshev