History log of /drivers/mmc/core/sdio_irq.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
11c8c735ebf68c754bdd94cebd307a96fcd95068 17-Apr-2012 Nicolas Pitre <nicolas.pitre@linaro.org> mmc: sdio: avoid spurious calls to interrupt handlers

commit bbbc4c4d8c5face097d695f9bf3a39647ba6b7e7 upstream.

Commit 06e8935feb ("optimized SDIO IRQ handling for single irq")
introduced some spurious calls to SDIO function interrupt handlers,
such as when the SDIO IRQ thread is started, or the safety check
performed upon a system resume. Let's add a flag to perform the
optimization only when a real interrupt is signaled by the host
driver and we know there is no point confirming it.

Reported-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/drivers/mmc/core/sdio_irq.c
2c4967f741e87cdd63de7271b97807041dccbf3b 04-Feb-2012 Sujit Reddy Thumma <sthumma@codeaurora.org> mmc: core: Ensure clocks are always enabled before host interaction

Ensure clocks are always enabled before any interaction with the
host controller driver. This makes sure that there is no race
between host execution and the core layer turning off clocks
in different context with clock gating framework.

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Per Forlin <per.forlin@stericsson.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
/drivers/mmc/core/sdio_irq.c
3ef77af154b03776c6c662c68c6332719e9eecac 10-Jul-2011 Paul Gortmaker <paul.gortmaker@windriver.com> mmc: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required

These two basic defines were everywhere, simply because module.h
was also everywhere. But we are cleaning up the latter. So make
the exporters actually call out their need for the include.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
/drivers/mmc/core/sdio_irq.c
a3c76eb9d4a1e68a69dd880cf0bcb8a52418b993 11-Oct-2011 Girish K S <girish.shivananjappa@linaro.org> mmc: replace printk with appropriate display macro

All the files using printk function for displaying kernel messages
in the mmc driver have been replaced with corresponding macro.

Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
/drivers/mmc/core/sdio_irq.c
06e8935febe687e2a561707d4c7ca4245d261dbe 11-May-2011 Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> mmc: sdio: optimized SDIO IRQ handling for single irq

If there is only 1 function interrupt registered it is possible to
improve performance by directly calling the irq handler and avoiding
the overhead of reading the CCCR registers.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
/drivers/mmc/core/sdio_irq.c
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
/drivers/mmc/core/sdio_irq.c
6501ff604a5ae18697c9b4cd40a7738d3a68e7fe 31-Aug-2008 Pierre Ossman <drzeus@drzeus.cx> sdio: give sdio irq thread a host specific name

There is one thread per host controller so make sure they all get
unique names.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
e633b7bcec8e26991d489a11615acf7674efbaf4 31-Aug-2008 Pierre Ossman <drzeus@drzeus.cx> sdio: make sleep on error interruptable

Make sure we can be woken from the forced sleep that is done on errors.
Removing a card often results in -ENOMEDIUM or -EILSEQ so we previously
locked up the removal process for a second.

We could completely exit on -ENOMEDIUM, but it might be a transient
glitch so treat it like any other error.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
6fee65cfde519ae811c3cde47c622271168ca449 28-Mar-2008 Robert P. J. Day <rpjday@crashcourse.ca> mmc: use shorter, equivalent set_current_state()

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
599473cf15a3fae78cbc3192cfb38ca04d5abc72 03-Oct-2007 Nicolas Pitre <nico@cam.org> sdio: make the IRQ thread more resilient in the presence of bad states

Currently we print a message about some bad states wrt function IRQ
handlers but return 0 from process_sdio_pending_irqs() nevertheless.
This can lead to an infinite loop as nothing might have cleared the
condition for the pending card interrupt from the host controller by
the time host->ops->enable_sdio_irq(host, 1) is called.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
3e01e4bcdd56209e70c39293e0c4c355d09364b8 03-Oct-2007 Nicolas Pitre <nico@cam.org> sdio: fix IRQ diagnostic message

If func is actually null we won't get much from sdio_func_id(func).

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
6f4285d13300f1c8cd675a41ab390cea06173cd1 27-Sep-2007 Pierre Ossman <drzeus@drzeus.cx> sdio: adaptive interrupt polling

The interrupt polling frequency is a compromise between power usage and
interrupt latency. Unfortunately, it affects throughput rather severely
for devices which require an interrupt for every chunk of data.

By making the polling frequency adaptive, we get better throughput with
those devices without sacficing too much power. Polling will quickly
increase when there is an actual interrupt, and slowly fall back to the
idle frequency when the interrupts stop coming.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
d84075c8aed771d47d7ac6e96b098559da361c25 09-Aug-2007 Pierre Ossman <drzeus@drzeus.cx> mmc: replace BUG_ON with WARN_ON

Replace all cases of BUG_ON with WARN_ON where there is a chance
(with varying degrees of slim) that the kernel can continue without
incidence.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
17b759aff916b4d02721e75ce5ed82b1903e5bd6 24-Jul-2007 Nicolas Pitre <nico@cam.org> sdio: add interface for host side SDIO interrupt reporting

Signed-off-by: Nicolas Pitre <npitre@mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c
d1496c39e500857b8949cdb91af24e0eb8aae4d0 30-Jun-2007 Nicolas Pitre <nico@cam.org> sdio: core support for SDIO function interrupt

Signed-off-by: Nicolas Pitre <npitre@mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
/drivers/mmc/core/sdio_irq.c