Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1459058imm; Mon, 3 Sep 2018 00:36:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbbE8w2G6P9GUGKYOPnpFSDdTUV7A5K9Ufn2K6YaT/lBtWst62cvlfoDngcjlHqEG8Qn8GU X-Received: by 2002:a63:3105:: with SMTP id x5-v6mr4786980pgx.323.1535960208108; Mon, 03 Sep 2018 00:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535960208; cv=none; d=google.com; s=arc-20160816; b=Vgsw2bSF6XBAfhck/GHQcBNxyfFu6QfvGEDUOI1Oq4r0+fZfQE9G6E1LQlggdrBaz/ clKTyT+xGrvWhgj4Ra5DeQxqptqlujxFXYzGMAI91ZmYKilP7fKJP5mr0LxfRqfkJoiD WnMug35wLYyQJSityVJ1aSOMYJTsR8WRlcFqBDekgJZbnhUdznqraD6pKyQ9eWVdiIQF T6tXTRsqDGxp4qIpo4zYKjm1hXR1E8/ILiKYbtYQ69JLTb5hRfHGmOl7zFPX7lLlK0Ze ZgjdHSBI8v1jy0ExSh754O8zBEClS3wReNcuBTkxrm1cV9OtDeH4oEA7/PLQbsIDNfbv bmAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=MX9rkrEhdmxLFk0aEZI7Sr5zdnPjJJ7FGLQ/0RUHnQg=; b=S2z/VJUW7N5NNU8Cg11U8HejqUDIdLoTEmFkyT/nc770kikqxV/6Nk5L2ec3XpxdzH 81XyGWtMH9XkFFUiv+GUsAHAY5jxj5SrFD8fivbVy8ulkqA4Eg2pMGHoCQdilJt45fLX NPanxTArS6MMyoDDlL7b7W57S99nBIgo+X4NzWaHOa8k1t0BUp4qUOZqzgEwmnCa8cpD EBfkIYs4uFAVBQ316GnP6LjV48akPphp7kobENpm4MBLcguRf6rVUrKI5mJXU4RfwoAJ dvGeN7mht14l3Fe4LAEO7+xdLteozR0pnPse4ZZJ6SY9n2D7ggVzR5WFGp8AcZkfqh4Q A0LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HH3u2IO5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o20-v6si17167784pgb.608.2018.09.03.00.36.32; Mon, 03 Sep 2018 00:36:48 -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=@gmail.com header.s=20161025 header.b=HH3u2IO5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726183AbeICLyV (ORCPT + 99 others); Mon, 3 Sep 2018 07:54:21 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:34305 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbeICLyU (ORCPT ); Mon, 3 Sep 2018 07:54:20 -0400 Received: by mail-pl1-f195.google.com with SMTP id f6-v6so8262837plo.1; Mon, 03 Sep 2018 00:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=MX9rkrEhdmxLFk0aEZI7Sr5zdnPjJJ7FGLQ/0RUHnQg=; b=HH3u2IO5bO/rdnD1XEAv+oZciQKjUUvqdf630TcxXXY8TDlNd23hLX7wtLPB4IWtp0 Vb+skVoX9q0V1+CRdwHRB0yEsWoTiUXQbXFA+PC6m65RNozxm/kuTCDJMQZhXTP0swVZ cqARaMl97iiCvUI8iDG7HEySjYRgErBOgbLL4hH8eJgxDjYErRHDc9UXtqQLjYAkY+an VzEY59W+kj9hW4a/qSI4WrgjNpg25oGQ0NVxgxLDfdPfBzVwOtEPDpUL4o3StPGIRawE hanHqlfCjOEbYGQL8l0Tmin+bPICFAPf+/TWiGVK+6yAwtQnMRWRKVeMHv2dSchMc9H/ A9eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=MX9rkrEhdmxLFk0aEZI7Sr5zdnPjJJ7FGLQ/0RUHnQg=; b=patlQDk+SHCz84kJJJ/vqiOvB/ANIu4ZoSFqdu26b7w8OfEmDF2YwW7zzsk4AYv2uP TrKJguhpiLPfTCjKj3ZkfEh0w6vDKvbvo155bEzHqgSl5CRc3cI31Xcj8dlAT+hta9VE DPw42oTeJ9V32GbrXGmOdU76rrtXCpDQO0atf/c4wx28eIPEDSRgkJcNC8SDVEgUt9ET EpoxlJzgtlK5WhgF8ggkof0Y369HYcOEO3vYQPMEAhvxjlnsHedYxMFNSGH7sIsmkyZQ F6upkt4yKusEtPvgDQSsAVWAqejl1Vmyzb7uErEsqsov0eMQdSqgfJuWoFkYMT1NeDwQ 2fdQ== X-Gm-Message-State: APzg51DAHF+t28IfNpFiY7ednd0elxn9cl1dPuBlYQFDxp2cJKkjZqmi kejWF0AtG6Bl5b6jZr4ALsqz23QA X-Received: by 2002:a17:902:7587:: with SMTP id j7-v6mr27398607pll.256.1535960126970; Mon, 03 Sep 2018 00:35:26 -0700 (PDT) Received: from ?IPv6:2402:f000:1:1501:200:5efe:166.111.71.58? ([2402:f000:1:1501:200:5efe:a66f:473a]) by smtp.gmail.com with ESMTPSA id g5-v6sm26684019pfc.77.2018.09.03.00.35.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Sep 2018 00:35:26 -0700 (PDT) Subject: Re: [EXT] [BUG] net: wireless: mwifiex: A possible sleep-in-atomic-context bug in mwifiex_wait_queue_complete() To: Ganapathi Bhat , "amitkarwar@gmail.com" , "nishants@marvell.com" , "huxinming820@gmail.com" , "kvalo@codeaurora.org" Cc: "linux-wireless@vger.kernel.org" , "netdev@vger.kernel.org" , Linux Kernel Mailing List References: <35980039-f268-2db3-5c7d-19ab0c917d44@gmail.com> <5fbe17917c344f318c25a688f2e94823@SC-EXCH02.marvell.com> From: Jia-Ju Bai Message-ID: <3ecba946-7656-3f86-df81-c0b5aff2e3d3@gmail.com> Date: Mon, 3 Sep 2018 15:35:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <5fbe17917c344f318c25a688f2e94823@SC-EXCH02.marvell.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/9/3 14:41, Ganapathi Bhat wrote: > Hi Jia-Ju, > >> [FUNC] schedule_timeout >> drivers/net/wireless/marvell/mwifiex/sta_ioctl.c, 63: >> schedule_timeout in mwifiex_wait_queue_complete >> drivers/net/wireless/marvell/mwifiex/cmdevt.c, 673: >> mwifiex_wait_queue_complete in mwifiex_send_cmd > Here, mwifiex_send_cmd does not call mwifiex_wait_queue_complete, because the sync parameter is false. > Note that the function mwifiex_multi_chan_resync did call mwifiex_send_cmd with sync = false. Thanks for the reply. I check the code again, and find my report it false, sorry for that. Best wishes, Jia-Ju Bai