Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752160AbdLMKII (ORCPT ); Wed, 13 Dec 2017 05:08:08 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:41465 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbdLMKIF (ORCPT ); Wed, 13 Dec 2017 05:08:05 -0500 X-Google-Smtp-Source: ACJfBov7TBEPXLLCeCm3Fwb/cauUctR4jHcxmm2eEewqZhBeKRQaYjLcqjo5M1T5Nazx3/Wd9824DQ== To: jcliburn@gmail.com, chris.snook@gmail.com, davem@davemloft.net, geliangtang@gmail.com, keescook@chromium.org, khoroshilov@ispras.ru, edumazet@google.com Cc: netdev@vger.kernel.org, Linux Kernel Mailing List From: Jia-Ju Bai Subject: [BUG] atlx: a possible sleep-in-atomic bug in atl1_intr Message-ID: Date: Wed, 13 Dec 2017 18:07:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 328 Lines: 13 The driver may sleep in the interrupt handler. The function call path is: atl1_intr (interrupt handler) atlx_irq_disable synchronize_irq --> may sleep I do not find a good way to fix it, so I only report. This possible bug is found by my static analysis tool (DSAC) and checked by my code review. Thanks, Jia-Ju Bai