Re: [PATCH v2] ath10k: Replace ioread with mb to drain write buffer

2015-02-06 Thread Jakub Kiciński
On Fri, 30 Jan 2015 16:14:30 -0800, Peter Oh wrote: Using ioread() to perform draining write buffer is excessive. Use compact API, mb(), that intended to be used for the case. It reduces total 14 CPU clocks per interrupt. Signed-off-by: Peter Oh p...@qca.qualcomm.com I have no idea what the

Re: [PATCH v2] ath10k: Replace ioread with mb to drain write buffer

2015-02-06 Thread Jakub Kiciński
On Fri, 6 Feb 2015 09:58:46 +0100, Jakub Kiciński wrote: On Fri, 30 Jan 2015 16:14:30 -0800, Peter Oh wrote: Using ioread() to perform draining write buffer is excessive. Use compact API, mb(), that intended to be used for the case. It reduces total 14 CPU clocks per interrupt.

[PATCH v2] ath10k: Replace ioread with mb to drain write buffer

2015-01-30 Thread Peter Oh
Using ioread() to perform draining write buffer is excessive. Use compact API, mb(), that intended to be used for the case. It reduces total 14 CPU clocks per interrupt. Signed-off-by: Peter Oh p...@qca.qualcomm.com --- drivers/net/wireless/ath/ath10k/pci.c | 12 1 file changed, 4