2007-10-10 19:22:02

by Pierre Ossman

[permalink] [raw]
Subject: [GIT PULL] MMC updates

Linus, please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus

Lot's of changes in here. Mostly it is SDIO and SPI support, although there are things like removal of MMC layer specific error codes.

diffstat:

MAINTAINERS | 8 +-
arch/arm/mach-imx/mx1ads.c | 2 +-
drivers/mmc/card/Kconfig | 7 +
drivers/mmc/card/Makefile | 2 +
drivers/mmc/card/block.c | 30 +-
drivers/mmc/card/sdio_uart.c | 1158 ++++++++++++++++++++++++++++++++
drivers/mmc/core/Makefile | 4 +-
drivers/mmc/core/bus.c | 67 ++-
drivers/mmc/core/core.c | 167 ++++--
drivers/mmc/core/core.h | 2 +
drivers/mmc/core/host.c | 8 +
drivers/mmc/core/mmc.c | 134 +++--
drivers/mmc/core/mmc_ops.c | 200 +++++--
drivers/mmc/core/mmc_ops.h | 3 +
drivers/mmc/core/sd.c | 126 +++--
drivers/mmc/core/sd_ops.c | 107 ++-
drivers/mmc/core/sdio.c | 395 +++++++++++
drivers/mmc/core/sdio_bus.c | 270 ++++++++
drivers/mmc/core/sdio_bus.h | 22 +
drivers/mmc/core/sdio_cis.c | 346 ++++++++++
drivers/mmc/core/sdio_cis.h | 23 +
drivers/mmc/core/sdio_io.c | 548 +++++++++++++++
drivers/mmc/core/sdio_irq.c | 267 ++++++++
drivers/mmc/core/sdio_ops.c | 176 +++++
drivers/mmc/core/sdio_ops.h | 22 +
drivers/mmc/host/Kconfig | 30 +
drivers/mmc/host/Makefile | 2 +
drivers/mmc/host/at91_mci.c | 25 +-
drivers/mmc/host/au1xmmc.c | 58 +-
drivers/mmc/host/imxmmc.c | 32 +-
drivers/mmc/host/mmc_spi.c | 1408 +++++++++++++++++++++++++++++++++++++++
drivers/mmc/host/mmci.c | 20 +-
drivers/mmc/host/omap.c | 12 +-
drivers/mmc/host/pxamci.c | 71 ++-
drivers/mmc/host/pxamci.h | 2 +
drivers/mmc/host/ricoh_mmc.c | 151 +++++
drivers/mmc/host/sdhci.c | 127 +++--
drivers/mmc/host/sdhci.h | 2 +-
drivers/mmc/host/tifm_sd.c | 31 +-
drivers/mmc/host/wbsd.c | 43 +-
include/asm-arm/arch-imx/mmc.h | 5 +-
include/linux/mmc/card.h | 32 +
include/linux/mmc/core.h | 63 ++-
include/linux/mmc/host.h | 39 +-
include/linux/mmc/mmc.h | 39 +-
include/linux/mmc/sdio.h | 159 +++++
include/linux/mmc/sdio_func.h | 153 +++++
include/linux/mmc/sdio_ids.h | 23 +
include/linux/mod_devicetable.h | 11 +
include/linux/pci_ids.h | 2 +
include/linux/spi/mmc_spi.h | 33 +
scripts/mod/file2alias.c | 20 +
52 files changed, 6257 insertions(+), 430 deletions(-)

Adrian Bunk (1):
make struct sdio_dev_attrs[] static

Bridge Wu (3):
mmc: pxamci: better pending IRQ determination
mmc: pxamci: set proper buswidth capabilities according to PXA flavor
mmc: pxamci: add SDIO card interrupt reporting capability

David Brownell (4):
MMC headers learn about SPI
MMC/SD card driver learns SPI
MMC core learns about SPI
mmc_spi host driver

David Vrabel (4):
sdio: add SDIO_FBR_BASE(f) macro
sdio: set the functions' block size
sdio: extend sdio_readsb() and friends to handle any length of buffer
sdio: add sdio_f0_readb() and sdio_f0_writeb()

Feng Tang (2):
sdhci: remove DMA capability check from controller's PCI Class reg
sdhci: add SDHCI_QUIRK_BROKEN_DMA quirk

Marc Pignat (1):
mmc: at91_mci: disable handling of blocks with size not multiple of 4 bytes

Mariusz Kozlowski (1):
sdio: kmalloc + memset conversion to kzalloc

Nicolas Pitre (16):
sdio: initial CIS parsing code
sdio: link unknown CIS tuples to the sdio_func structure
mmc: initialize mmc subsystem with subsys_initcall()
sdio: defines for some standard interface types
sdio: allow for mmc_claim_host to be aborted
sdio: core support for SDIO function interrupt
sdio: UART/GPS driver
sdio: add /proc interface to sdio_uart driver
sdio: add interface for host side SDIO interrupt reporting
sdio: add default c_ispeed/c_ospeed values to sdio_uart driver
sdio: fix recursion issues between sdio-uart driver and tty layer
mmc: pxamci: set proper block capabilities according to PXA flavor
sdhci: fix a typo
sdio: fix IRQ diagnostic message
sdio: make the IRQ thread more resilient in the presence of bad states
pxamci: support arbitrary block size

Pavel Pisa (1):
arm: i.MX/MX1 SDHC implements SD cards read-only switch read-back

Philip Langdale (1):
mmc: Disabler for Ricoh MMC controller

Pierre Ossman (32):
mmc: remove custom error codes
mmc: improve error code feedback
mmc: read ext_csd version number
mmc: mmc_set_data_timeout() parameter write is redundant
mmc: remove BYTEBLOCK capability
mmc: remove confusing flag
mmc: add missing printk levels
mmc: detect SDIO cards
mmc: implement SDIO IO_RW_DIRECT operation
mmc: basic SDIO device model
mmc: add SDIO driver handling
mmc: add basic SDIO I/O operations
mmc: enable/disable functions for SDIO
sdio: read and decode interesting parts of the CCCR
sdio: basic parsing of FBR
sdio: split up common and function CIS parsing
sdio: add device id table and matching
mmc: whip bus uevent handler into shape
sdio: add modalias support
sdio: add basic sysfs attributes
sdio: support IO_RW_EXTENDED
sdio: change clock speed
sdio: enable wide bus mode
mmc: fix incorrect divisor in debug output
mmc: fix sdio timeout calculation
mmc: replace BUG_ON with WARN_ON
sdhci: sdio interrupt support
mmc: increase power up delay
sdio: store vendor strings
mmc: add led trigger
sdio: adaptive interrupt polling
sdhci: remove old dma module params

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org


2007-10-12 05:31:24

by Linus Torvalds

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates



On Wed, 10 Oct 2007, Pierre Ossman wrote:
>
> Linus, please pull from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus
>
> Lot's of changes in here.

There seems to be some breakage here:

drivers/mmc/core/host.c: In function $B!F(Jmmc_remove_host$B!G(J:
drivers/mmc/core/host.c:146: error: implicit declaration of function $B!F(Jled_trigger_unregister$B!G(J
drivers/mmc/core/host.c:146: error: $B!F(Jstruct mmc_host$B!G(J has no member named $B!F(Jled$B!G(J

this was after doing a few "make randconfig" runs, a habit I'm trying to
encourage (and do myself occasionally too).

Linus

2007-10-12 05:46:17

by Pierre Ossman

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Thu, 11 Oct 2007 22:30:41 -0700 (PDT)
Linus Torvalds <[email protected]> wrote:

>
> There seems to be some breakage here:
>
> drivers/mmc/core/host.c: In function ‘mmc_remove_host’:
> drivers/mmc/core/host.c:146: error: implicit declaration of
> function ‘led_trigger_unregister’ drivers/mmc/core/host.c:146: error:
> ‘struct mmc_host’ has no member named ‘led’
>
> this was after doing a few "make randconfig" runs, a habit I'm trying
> to encourage (and do myself occasionally too).
>

How embarrassing. I'll have a look at it and reping you when I've
solved it.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2007-10-12 12:18:36

by Kay Sievers

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On 10/12/07, Pierre Ossman <[email protected]> wrote:
> On Thu, 11 Oct 2007 22:30:41 -0700 (PDT)
> Linus Torvalds <[email protected]> wrote:
>
> >
> > There seems to be some breakage here:
> >
> > drivers/mmc/core/host.c: In function 'mmc_remove_host':
> > drivers/mmc/core/host.c:146: error: implicit declaration of
> > function 'led_trigger_unregister' drivers/mmc/core/host.c:146: error:
> > 'struct mmc_host' has no member named 'led'
> >
> > this was after doing a few "make randconfig" runs, a habit I'm trying
> > to encourage (and do myself occasionally too).
> >
>
> How embarrassing. I'll have a look at it and reping you when I've
> solved it.

I see the same here. MMC needs a dependency on LEDS_TRIGGERS, I guess.

Kay

2007-10-12 13:53:43

by Pierre Ossman

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Fri, 12 Oct 2007 14:18:26 +0200
"Kay Sievers" <[email protected]> wrote:

>
> I see the same here. MMC needs a dependency on LEDS_TRIGGERS, I guess.
>

I'd rather not, and I thought I avoided it. I must have missed
ifdef:ing some references.

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2007-10-12 19:55:28

by Pierre Ossman

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Thu, 11 Oct 2007 22:30:41 -0700 (PDT)
Linus Torvalds <[email protected]> wrote:

>
> There seems to be some breakage here:
>

Breakage repaired (and some new git voodoo learned. woot!). I even
threw in a few randconfig for good measure. So repull and things should
be peachy.

--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2007-10-12 20:06:15

by Nicolas Pitre

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Fri, 12 Oct 2007, Pierre Ossman wrote:

> On Thu, 11 Oct 2007 22:30:41 -0700 (PDT)
> Linus Torvalds <[email protected]> wrote:
>
> >
> > There seems to be some breakage here:
> >
>
> Breakage repaired (and some new git voodoo learned. woot!). I even
> threw in a few randconfig for good measure. So repull and things should
> be peachy.

It is too late for a repull. Linus' main branch already contains your
previous incarnation, so you must publish a fix separately to go on top.


Nicolas

2007-10-12 20:36:17

by Pierre Ossman

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Fri, 12 Oct 2007 16:05:38 -0400 (EDT)
Nicolas Pitre <[email protected]> wrote:

>
> It is too late for a repull. Linus' main branch already contains
> your previous incarnation, so you must publish a fix separately to go
> on top.
>

*gnnn*


--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2007-10-12 21:00:40

by Pierre Ossman

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

Ok, let's see if we can finally sort this out.

Please pull/cherry-pick from:

git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus

to receive the following update:

drivers/mmc/core/host.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

Pierre Ossman (1):
mmc: use correct unregister function for led trigger

diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 64fbc97..c65d203 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -143,7 +143,7 @@ void mmc_remove_host(struct mmc_host *host)

device_del(&host->class_dev);

- led_trigger_unregister(host->led);
+ led_trigger_unregister_simple(host->led);

spin_lock(&mmc_host_lock);
idr_remove(&mmc_host_idr, host->index);

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org

2007-10-13 05:32:04

by Randy Dunlap

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Fri, 12 Oct 2007 23:00:27 +0200 Pierre Ossman wrote:

> Ok, let's see if we can finally sort this out.
>
> Please pull/cherry-pick from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus
>
> to receive the following update:
>
> drivers/mmc/core/host.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> Pierre Ossman (1):
> mmc: use correct unregister function for led trigger
>
> diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
> index 64fbc97..c65d203 100644
> --- a/drivers/mmc/core/host.c
> +++ b/drivers/mmc/core/host.c
> @@ -143,7 +143,7 @@ void mmc_remove_host(struct mmc_host *host)
>
> device_del(&host->class_dev);
>
> - led_trigger_unregister(host->led);
> + led_trigger_unregister_simple(host->led);
>
> spin_lock(&mmc_host_lock);
> idr_remove(&mmc_host_idr, host->index);

Patch doesn't apply cleanly due to spaces instead of tabs.
Copy-and-paste ?

---
~Randy

2007-10-13 07:04:18

by Pierre Ossman

[permalink] [raw]
Subject: Re: [GIT PULL] MMC updates

On Fri, 12 Oct 2007 22:29:29 -0700
Randy Dunlap <[email protected]> wrote:

>
> Patch doesn't apply cleanly due to spaces instead of tabs.
> Copy-and-paste ?
>

Yeah, gnome-terminal damage. But you need to git it from the repo to
get the full commit info anyway.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org