[RFC v4] PCMCIA locking updates for 2.6.34

Dominik Brodowski linux at dominikbrodowski.net
Sun Jan 24 12:30:00 EST 2010


Hey,

The v4 of the locking pathes are available in the git repository -- along
with a few other fixes and improvements -- at:

    git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git#locking

Only those patches which changed (and which are marked with * below) will be
sent out to the PCMCIA list. Changes since v3:

- avoid prod_id memleak
- use pccardd for any requery work, not the workqueue

Best,
	Dominik

Dominik Brodowski (20):
      pcmcia: add locking to set_mem_map()
      pcmcia: also lock fake and cache CIS by ops_mutex
      pcmcia: lock ops->set_io_map()
      pcmcia: lock ops->set_socket
      pcmcia: properly lock skt->irq, skt->irq_mask
      pcmcia: protect s->device_count
      pcmcia: add locking to struct pcmcia_socket->pcmcia_state()
      pcmcia: simplify locking
      pcmcia: add locking documentation
      pcmcia: assert locking to struct pcmcia_device
      pcmcia: use mutex for dynid lock
      pcmcia: use ops_mutex for rsrc_{mgr,nonstatic} locking
      pcmcia: use pccardd to handle eject, insert, suspend and resume requests
    * pcmcia: delay re-scanning and re-querying of PCMCIA bus
    * pcmcia: use state machine for extended requery
      pcmcia: avoid sysfs-related lockup for cardbus
      pcmcia: disable pcmcia ioctl for !ARM
    * pcmcia: avoid prod_id memleak
    * pcmcia: add some printk
    * pcmcia: handle error in serial_cs config calls

Uwe Kleine-König (2):
      pcmcia/at91_cf: don't redefine SZ_2K
      pcmcia/omap_cf: don't redefine SZ_2K

 Documentation/pcmcia/locking.txt |  118 +++++++++++++++
 drivers/pcmcia/Kconfig           |    2 +-
 drivers/pcmcia/at91_cf.c         |    2 -
 drivers/pcmcia/cistpl.c          |   42 ++++--
 drivers/pcmcia/cs.c              |  221 ++++++++++++----------------
 drivers/pcmcia/cs_internal.h     |   13 +-
 drivers/pcmcia/ds.c              |  299 ++++++++++++++++++++-----------------
 drivers/pcmcia/omap_cf.c         |    2 -
 drivers/pcmcia/pcmcia_ioctl.c    |   17 +--
 drivers/pcmcia/pcmcia_resource.c |  136 +++++++++++++-----
 drivers/pcmcia/rsrc_mgr.c        |    4 -
 drivers/pcmcia/rsrc_nonstatic.c  |   31 ++---
 drivers/pcmcia/socket_sysfs.c    |   46 +++----
 drivers/serial/serial_cs.c       |    7 +-
 include/pcmcia/ds.h              |    2 +-
 include/pcmcia/ss.h              |   21 ++--
 16 files changed, 567 insertions(+), 396 deletions(-)
 create mode 100644 Documentation/pcmcia/locking.txt



More information about the linux-pcmcia mailing list