Return-path: Received: from mout.gmx.net ([212.227.15.19]:53515 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155AbdATLYT (ORCPT ); Fri, 20 Jan 2017 06:24:19 -0500 MIME-Version: 1.0 Message-ID: (sfid-20170120_122449_608765_0D163B9B) From: "Lino Sanfilippo" To: "Larry Finger" Cc: "Bharat Kumar Gogada" , chaoming_li@realsil.com.cn, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, kvalo@codeaurora.org, netdev@vger.kernel.org, rgummal@xilinx.com, "Bharat Kumar Gogada" Subject: Re: Re: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags Content-Type: text/plain; charset=UTF-8 Date: Fri, 20 Jan 2017 12:14:03 +0100 In-Reply-To: References: <1484820854-16719-1-git-send-email-bharatku@xilinx.com>, Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, > > > This patch should be enhanced with the smb_xx() calls as suggested by by Lino. > If you do this, please place the smp_rmb() before the if condition in the irq handler like smp_rmb(); if (rtlpci->irq_enabled == 0) { return ret; as I think that the suggestion I made before was not correct (sorry for the confusion). Regards, Lino