From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnW5E-0007cE-Kj for ath10k@lists.infradead.org; Thu, 22 May 2014 16:43:08 +0000 From: Kalle Valo Subject: Re: [PATCH 2/2] ath10k: make core registering async References: <1400767955-16313-1-git-send-email-michal.kazior@tieto.com> <1400767955-16313-3-git-send-email-michal.kazior@tieto.com> Date: Thu, 22 May 2014 19:42:41 +0300 In-Reply-To: <1400767955-16313-3-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Thu, 22 May 2014 16:12:35 +0200") Message-ID: <87ppj5wyri.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Michal Kazior Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Michal Kazior writes: > If ath10k was built into the kernel it could stall > booting for 120 seconds by default (60 seconds for > each firmware API variant) waiting for firmware > files before userspace was ready or filesystems > mounted. > > Fix this by making the core registering > asynchronous. > > This also shoves off about 1 second from boot time > on most systems since the driver is now mostly > initialized in a worker and modprobe takes very > little time to complete. > > As a side effect there's no way to propagate > registering errors to the pci subsystem but this > probably isn't really necessary. > > Signed-off-by: Michal Kazior [...] > --- a/drivers/net/wireless/ath/ath10k/pci.c > +++ b/drivers/net/wireless/ath/ath10k/pci.c > @@ -2758,8 +2758,6 @@ static void ath10k_pci_remove(struct pci_dev *pdev) > if (!ar_pci) > return; > > - tasklet_kill(&ar_pci->msi_fw_err); Why this? That's not obvious to me. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k