Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2059615imm; Thu, 24 May 2018 05:13:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqnoCdIorvc/t9OL9yARN84HhmDKhys76qqWRbI+qY/YyPfJTU2tS/IwyUs2mZRRiiit+D2 X-Received: by 2002:a17:902:6b44:: with SMTP id g4-v6mr7088034plt.390.1527164032310; Thu, 24 May 2018 05:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527164032; cv=none; d=google.com; s=arc-20160816; b=huHUokp1GAiCN1bo8MwbQVPDb5lgZj7wjsD+gAg5eakMgufPGXqVRT/E4kaHqFOW2S 0xsEAX38nuanyIXyyTFnz+iuU6YjVIHWIVeiBZ/iBu9ZLL4rhbOH4SnNqbI4nkZs8Mpl G5p8p8x1DnDfu7eBv8blupl0ruL1pWP0Iue92YKv1h3+TtcpPtBGQh2HRrxZ6Da6dvST f0197OWQ+yOhLxJRNEShHOF4t1kHj9FBLfBIieq9WQC6KNFq3ote/ZMrRFEhILYs2RbE Nb2S0/q6X78y4vkAAGVyEKGh7xmTIVYPS4g/Dz1RXI7JggWHBDHrN9pnrCYcPk4HyFUv si+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=LJwOwB5BVr597gUVhLKh20HMVtxT9xQ6+illsYoYas8=; b=oz8HSqdr/o93rylFLmmoqyDV+dG5JhNdbDk3OV0obOtsivLUXTfGgodmwVVjLZOz7A Y3k3f2b7yIPc6YkwbPcTr9AfJdRj/UQOd0YoBDVcwhUzIz0h2j+nPtKj+Xhl4C9PoppZ SQQZ/J+MUGTgz2wRQWhp2uNMmBm7hA7R81Th8dK+7iVLeJ97oPLjfu4ukzUMpMEG/DBX iwWgAZ7lkXXO0kMAGxq/4Dbj84tLW/HNVUiuHIxqLvaQFdTFO2dO93FzA3LN7s7C+4f6 4FnQTb7WF5r7rI282P1wd2UjuJQDHvFZ2jS1o9huhQ4VBL0NvZcT+D/VKAcoXROTyx7D GMlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1M6cTS0T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d37-v6si21347977plb.125.2018.05.24.05.13.17; Thu, 24 May 2018 05:13:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1M6cTS0T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S969556AbeEXMMd (ORCPT + 99 others); Thu, 24 May 2018 08:12:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:54434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966400AbeEXJmx (ORCPT ); Thu, 24 May 2018 05:42:53 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 66D0D20892; Thu, 24 May 2018 09:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527154973; bh=etekrHx6VARWxnR3YIOAe+yhDC/O4Gf+iHXrT1Ycieo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1M6cTS0T4QgeGfs0vVHmbSUxKyNtyPG22dI1lmKWrRyPKckefQZNab4Sq9N/1IYvj q/wi/Dmm4JGrD0UdJ0/ccTDRvwOls7AUAzJb/HzT3Hlt/nYT/0slVMQLXrG4c2PeQp WEqlVtXVe/RGLTbJ5Io4Wa6C2b2P4V9Oxz2/0P38= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ingo Molnar , Thomas Gleixner , Sebastian Andrzej Siewior , "David S. Miller" Subject: [PATCH 4.4 01/92] 8139too: Use disable_irq_nosync() in rtl8139_poll_controller() Date: Thu, 24 May 2018 11:37:38 +0200 Message-Id: <20180524093159.394587696@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093159.286472249@linuxfoundation.org> References: <20180524093159.286472249@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ingo Molnar [ Upstream commit af3e0fcf78879f718c5f73df0814951bd7057d34 ] Use disable_irq_nosync() instead of disable_irq() as this might be called in atomic context with netpoll. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/realtek/8139too.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/realtek/8139too.c +++ b/drivers/net/ethernet/realtek/8139too.c @@ -2229,7 +2229,7 @@ static void rtl8139_poll_controller(stru struct rtl8139_private *tp = netdev_priv(dev); const int irq = tp->pci_dev->irq; - disable_irq(irq); + disable_irq_nosync(irq); rtl8139_interrupt(irq, dev); enable_irq(irq); }