From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VG1FN-0007Lx-0t for ath10k@lists.infradead.org; Sun, 01 Sep 2013 06:34:53 +0000 From: Kalle Valo Subject: Re: [PATCH v2 1/6] ath10k: use inline ce_state structure References: <1377068249-26025-1-git-send-email-michal.kazior@tieto.com> <1377601683-12072-1-git-send-email-michal.kazior@tieto.com> <1377601683-12072-2-git-send-email-michal.kazior@tieto.com> <87y57mjvwu.fsf@kamboji.qca.qualcomm.com> Date: Sun, 1 Sep 2013 09:34:24 +0300 In-Reply-To: (Michal Kazior's message of "Wed, 28 Aug 2013 07:32:50 +0200") Message-ID: <874na582z3.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 , ath10k@lists.infradead.org Michal Kazior writes: > On 28 August 2013 06:12, Kalle Valo wrote: >> Michal Kazior writes: >> >>> Simplifies memory managament of ce_state. >>> >>> Signed-off-by: Michal Kazior >> >> Sorry, I noticed this only in my second review round: >> >>> --- a/drivers/net/wireless/ath/ath10k/pci.h >>> +++ b/drivers/net/wireless/ath/ath10k/pci.h >>> @@ -233,7 +233,10 @@ struct ath10k_pci { >>> spinlock_t ce_lock; >>> >>> /* Map CE id to ce_state */ >>> - struct ce_state *ce_id_to_state[CE_COUNT_MAX]; >>> + struct ce_state ce_states[CE_COUNT_MAX]; >>> + >>> + /* makes sure that dummy reads are atomic */ >>> + spinlock_t hw_v1_workaround_lock; >>> }; >> >> That lock doesn't look right. Is it a leftover from a rebase? > > Oh, good catch. I wonder how it got there.. I had patches pending on this patchset, so I removed the lock from this patch and applied it. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k