1. 10 Dec, 2009 40 commits
    • Mikulas Patocka's avatar
      dm raid1: add framework to hold bios during suspend · 04788507
      Mikulas Patocka authored
      Add framework to delay bios until a suspend and then resubmit them with
      either DM_ENDIO_REQUEUE (if the suspend was noflush) or complete them
      with -EIO.  I/O barrier support will use this.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Reviewed-by: default avatarTakahiro Yasui <tyasui@redhat.com>
      Tested-by: default avatarTakahiro Yasui <tyasui@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      04788507
    • Mikulas Patocka's avatar
      dm raid1: report flush errors separately in status · 64b30c46
      Mikulas Patocka authored
      Report flush errors as 'F' instead of 'D' for log and mirror devices.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      64b30c46
    • Mikulas Patocka's avatar
      dm raid1: implement mirror_flush · c0da3748
      Mikulas Patocka authored
      Implement flush callee. It uses dm_io to send zero-size barrier synchronously
      and concurrently to all the mirror legs.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      c0da3748
    • Mikulas Patocka's avatar
      dm log: use flush callback fn · 076010e2
      Mikulas Patocka authored
      Call the flush callback from the log.
      
      If flush failed, we have no alternative but to mark the whole log as dirty.
      Also we set the variable flush_failed to prevent any bits ever being marked as
      clean again.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      076010e2
    • Mikulas Patocka's avatar
      dm log: add flush callback fn · 87a8f240
      Mikulas Patocka authored
      Introduce a callback pointer from the log to dm-raid1 layer.
      
      Before some region is set as "in-sync", we need to flush hardware cache on
      all the disks. But the log module doesn't have access to the mirror_set
      structure. So it will use this callback.
      
      So far the callback is unused, it will be used in further patches.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      87a8f240
    • Mikulas Patocka's avatar
      dm log: introduce flush_failed variable · 5adc78d0
      Mikulas Patocka authored
      Introduce "flush failed" variable.  When a flush before clearing a bit
      in the log fails, we don't know anything about which which regions are
      in-sync and which not.
      
      So we need to set all regions as not-in-sync and set the variable
      "flush_failed" to prevent setting the in-sync bit in the future.
      
      A target reload is the only way to get out of this situation.
      
      The variable will be set in following patches.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      5adc78d0
    • Mikulas Patocka's avatar
      dm log: add flush_header function · 20a34a8e
      Mikulas Patocka authored
      Introduce flush_header and use it to flush the log device.
      
      Note that we don't have to flush if all the regions transition
      from "dirty" to "clean" state.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      20a34a8e
    • Mikulas Patocka's avatar
      dm raid1: split touched state into two · b09acf1a
      Mikulas Patocka authored
      Split the variable "touched" into two, "touched_dirtied" and
      "touched_cleaned", set when some region was dirtied or cleaned.
      
      This will be used to optimize flushes.
      
      After a transition from "dirty" to "clean" state we don't have flush hardware
      cache on the log device. After a transition from "clean" to "dirty" the cache
      must be flushed.
      
      Before a transition from "clean" to "dirty" state we don't have to flush all
      the raid legs. Before a transition from "dirty" to "clean" we must flush all
      the legs to make sure that they are really in sync.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      b09acf1a
    • Mikulas Patocka's avatar
      dm raid1: support flush · 4184153f
      Mikulas Patocka authored
      Flush support for dm-raid1.
      
      When it receives an empty barrier, submit it to all the devices via dm-io.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      4184153f
    • Mikulas Patocka's avatar
      dm io: remove extra bi_io_vec region hack · f1e53987
      Mikulas Patocka authored
      Remove the hack where we allocate an extra bi_io_vec to store additional
      private data.  This hack prevents us from supporting barriers in
      dm-raid1 without first making another little block layer change.
      Instead of doing that, this patch eliminates the bi_io_vec abuse by
      storing the region number directly in the low bits of bi_private.
      
      We need to store two things for each bio, the pointer to the main io
      structure and, if parallel writes were requested, an index indicating
      which of these writes this bio belongs to.  There can be at most
      BITS_PER_LONG regions - 32 or 64.
      
      The index (region number) was stored in the last (hidden) bio vector and
      the pointer to struct io was stored in bi_private.
      
      This patch now aligns "struct io" on BITS_PER_LONG bytes and stores the
      region number in the low BITS_PER_LONG bits of bi_private.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      f1e53987
    • Mikulas Patocka's avatar
      dm io: use slab for struct io · 952b3557
      Mikulas Patocka authored
      Allocate "struct io" from a slab.
      
      This patch changes dm-io, so that "struct io" is allocated from a slab cache.
      It used to be allocated with kmalloc. Allocating from a slab will be needed
      for the next patch, because it requires a special alignment of "struct io"
      and kmalloc cannot meet this alignment.
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      952b3557
    • Milan Broz's avatar
      dm crypt: make wipe message also wipe essiv key · 542da317
      Milan Broz authored
      The "wipe key" message is used to wipe the volume key from memory
      temporarily, for example when suspending to RAM.
      
      But the initialisation vector in ESSIV mode is calculated from the
      hashed volume key, so the wipe message should wipe this IV key too and
      reinitialise it when the volume key is reinstated.
      
      This patch adds an IV wipe method called from a wipe message callback.
      ESSIV is then reinitialised using the init function added by the
      last patch.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      542da317
    • Milan Broz's avatar
      dm crypt: separate essiv allocation from initialisation · b95bf2d3
      Milan Broz authored
      This patch separates the construction of IV from its initialisation.
      (For ESSIV it is a hash calculation based on volume key.)
      
      Constructor code now preallocates hash tfm and salt array
      and saves it in a private IV structure.
      
      The next patch requires this to reinitialise the wiped IV
      without reallocating memory when resuming a suspended device.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      b95bf2d3
    • Milan Broz's avatar
      dm crypt: restructure essiv error path · 5861f1be
      Milan Broz authored
      Use kzfree for salt deallocation because it is derived from the volume
      key.  Use a common error path in ESSIV constructor.
      
      Required by a later patch which fixes the way key material is wiped
      from memory.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      5861f1be
    • Milan Broz's avatar
      dm crypt: move private iv fields to structs · 60473592
      Milan Broz authored
      Define private structures for IV so it's easy to add further attributes
      in a following patch which fixes the way key material is wiped from
      memory.  Also move ESSIV destructor and remove unnecessary 'status'
      operation.
      
      There are no functional changes in this patch.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      60473592
    • Milan Broz's avatar
      dm crypt: make wipe message also wipe tfm key · 0b430958
      Milan Broz authored
      The "wipe key" message is used to wipe a volume key from memory
      temporarily, for example when suspending to RAM.
      
      There are two instances of the key in memory (inside crypto tfm)
      but only one got wiped.  This patch wipes them both.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      0b430958
    • Mikulas Patocka's avatar
      dm snapshot: cope with chunk size larger than origin · 8e87b9b8
      Mikulas Patocka authored
      Under some special conditions the snapshot hash_size is calculated as zero.
      This patch instead sets a minimum value of 64, the same as for the
      pending exception table.
      
      rounddown_pow_of_two(0) is an undefined operation (it expands to shift
      by -1).  init_exception_table with an argument of 0 would fail with -ENOMEM.
      
      The way to trigger the problem is to create a snapshot with a chunk size
      that is larger than the origin device.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      8e87b9b8
    • Mikulas Patocka's avatar
      dm snapshot: only take lock for statustype info not table · 94e76572
      Mikulas Patocka authored
      Take snapshot lock only for STATUSTYPE_INFO, not STATUSTYPE_TABLE.
      
      Commit 4c6fff44
      (dm-snapshot-lock-snapshot-while-supplying-status.patch)
      introduced this use of the lock, but userspace applications using
      libdevmapper have been found to request STATUSTYPE_TABLE while the device
      is suspended and the lock is already held, leading to deadlock.  Since
      the lock is not necessary in this case, don't try to take it.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      94e76572
    • Milan Broz's avatar
      dm: sysfs add empty release function to avoid debug warning · d2bb7df8
      Milan Broz authored
      This patch just removes an unnecessary warning:
       kobject: 'dm': does not have a release() function,
       it is broken and must be fixed.
      
      The kobject is embedded in mapped device struct, so
      code does not need to release memory explicitly here.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarMilan Broz <mbroz@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      d2bb7df8
    • Julia Lawall's avatar
      dm exception store: free tmp_store on persistent flag error · 613978f8
      Julia Lawall authored
      Error handling code following a kmalloc should free the allocated data.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      613978f8
    • Mikulas Patocka's avatar
      dm: avoid _hash_lock deadlock · 6076905b
      Mikulas Patocka authored
      Fix a reported deadlock if there are still unprocessed multipath events
      on a device that is being removed.
      
      _hash_lock is held during dev_remove while trying to send the
      outstanding events.  Sending the events requests the _hash_lock
      again in dm_copy_name_and_uuid.
      
      This patch introduces a separate lock around regions that modify the
      link to the hash table (dm_set_mdptr) or the name or uuid so that
      dm_copy_name_and_uuid no longer needs _hash_lock.
      
      Additionally, dm_copy_name_and_uuid can only be called if md exists
      so we can drop the dm_get() and dm_put() which can lead to a BUG()
      while md is being freed.
      
      The deadlock:
       #0 [ffff8106298dfb48] schedule at ffffffff80063035
       #1 [ffff8106298dfc20] __down_read at ffffffff8006475d
       #2 [ffff8106298dfc60] dm_copy_name_and_uuid at ffffffff8824f740
       #3 [ffff8106298dfc90] dm_send_uevents at ffffffff88252685
       #4 [ffff8106298dfcd0] event_callback at ffffffff8824c678
       #5 [ffff8106298dfd00] dm_table_event at ffffffff8824dd01
       #6 [ffff8106298dfd10] __hash_remove at ffffffff882507ad
       #7 [ffff8106298dfd30] dev_remove at ffffffff88250865
       #8 [ffff8106298dfd60] ctl_ioctl at ffffffff88250d80
       #9 [ffff8106298dfee0] do_ioctl at ffffffff800418c4
      #10 [ffff8106298dff00] vfs_ioctl at ffffffff8002fab9
      #11 [ffff8106298dff40] sys_ioctl at ffffffff8004bdaf
      #12 [ffff8106298dff80] tracesys at ffffffff8005d28d (via system_call)
      
      Cc: stable@kernel.org
      Reported-by: default avatarguy keren <choo@actcom.co.il>
      Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
      Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
      6076905b
    • Linus Torvalds's avatar
      Merge branch 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 3067e02f
      Linus Torvalds authored
      * 'acpica' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
        ACPICA: Update version to 20091112.
        ACPICA: Add additional module-level code support
        ACPICA: Deploy new create integer interface where appropriate
        ACPICA: New internal utility function to create Integer objects
        ACPICA: Add repair for predefined methods that must return sorted lists
        ACPICA: Fix possible fault if return Package objects contain NULL elements
        ACPICA: Add post-order callback to acpi_walk_namespace
        ACPICA: Change package length error message to an info message
        ACPICA: Reduce severity of predefined repair messages, Warning to Info
        ACPICA: Update version to 20091013
        ACPICA: Fix possible memory leak for Scope ASL operator
        ACPICA: Remove possibility of executing _REG methods twice
        ACPICA: Add repair for bad _MAT buffers
        ACPICA: Add repair for bad _BIF/_BIX packages
      3067e02f
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · f71eaf68
      Linus Torvalds authored
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: (41 commits)
        hwmon: (adt7475) Add VID support for the ADT7476
        hwmon: (adt7475) Add an entry in MAINTAINERS
        hwmon: (adt7475) Add support for the ADT7476
        hwmon: (adt7475) Voltage attenuators can be bypassed
        hwmon: (adt7475) Print device information on probe
        hwmon: (adt7475) Handle alternative pin functions
        hwmon: (adt7475) Move sysfs files removal to a separate function
        hwmon: (adt7475) Add support for the ADT7490
        hwmon: (adt7475) Improve device detection
        hwmon: (adt7475) Add missing static marker
        hwmon: (adt7475) Rework voltage inputs handling
        hwmon: (adt7475) Implement pwm_use_point2_pwm_at_crit
        hwmon: (adt7475) New documentation
        hwmon: (adt7475) Add support for the ADT7473
        hwmon: (f71882fg) Add support for the f71889fg (version 2)
        hwmon: (f71882fg) Fix sysfs file removal
        hwmon: (f71882fg) Cleanup sysfs attr creation 2/2
        hwmon: (f71882fg) Cleanup sysfs attr creation 1/2
        hwmon: (thmc50) Stop using I2C_CLIENT_MODULE_PARM
        hwmon: Add Freescale MC13783 ADC driver
        ...
      f71eaf68
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 78f1ae19
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: ice1724 - aureon - modify WM8770 Master & DAC volume
        ALSA: hda/realtek: quirk for D945GCLF2 mainboard
        ALSA: hda - Terradici HDA controllers does not support 64-bit mode
        ALSA: document: Add direct git link to grub hda-analyzer
        ALSA: radio/sound/miro: fix build, cleanup depends/selects
        ALSA: hda - Generalize EAPD inversion check in patch_analog.c
        ASoC: Wrong variable returned on error
        ALSA: snd-usb-us122l: add product IDs of US-122MKII and US-144MKII
        ALSA: hda - Exclude unusable ADCs for ALC88x
        ALSA: hda - Add missing Line-Out and PCM switches as slave
        ALSA: hda - iMac 9,1 sound patch.
        ALSA: opti93x: set MC indirect registers base from PnP data
      78f1ae19
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · fa395aae
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (51 commits)
        Input: appletouch - give up maintainership
        Input: dm355evm_kbd - switch to using sparse keymap library
        Input: wistron_btns - switch to using sparse keymap library
        Input: add generic support for sparse keymaps
        Input: fix memory leak in force feedback core
        Input: wistron - remove identification strings from DMI table
        Input: psmouse - remove identification strings from DMI tables
        Input: atkbd - remove identification strings from DMI table
        Input: i8042 - remove identification strings from DMI tables
        DMI: allow omitting ident strings in DMI tables
        Input: psmouse - do not carry DMI data around
        Input: matrix-keypad - switch to using dev_pm_ops
        Input: keyboard - fix lack of locking when traversing handler->h_list
        Input: gpio_keys - scan gpio state at probe and resume time
        Input: keyboard - add locking around event handling
        Input: usbtouchscreen - add support for ET&T TC5UH touchscreen controller
        Input: xpad - add two new Xbox 360 devices
        Input: polled device - do not start polling if interval is zero
        Input: polled device - schedule first poll immediately
        Input: add S3C24XX touchscreen driver
        ...
      fa395aae
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 · 3e746831
      Linus Torvalds authored
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (345 commits)
        V4L/DVB (13542): ir-keytable: Allow dynamic table change
        V4L/DVB (13541): atbm8830: replace 64-bit division and floating point usage
        V4L/DVB (13540): ir-common: Cleanup get key evdev code
        V4L/DVB (13539): ir-common: add __func__ for debug messages
        V4L/DVB (13538): ir-common: Use a dynamic keycode table
        V4L/DVB (13537): ir: Prepare the code for dynamic keycode table allocation
        V4L/DVB (13536): em28xx: Use the full RC5 code on HVR-950 Remote Controller
        V4L/DVB (13535): ir-common: Add a hauppauge new table with the complete RC5 code
        V4L/DVB (13534): ir-common: Remove some unused fields/structs
        V4L/DVB (13533): ir: use dynamic tables, instead of static ones
        V4L/DVB (13532): ir-common: Add infrastructure to use a dynamic keycode table
        V4L/DVB (13531): ir-common: rename the debug routine to allow exporting it
        V4L/DVB (13458): go7007: subdev conversion
        V4L/DVB (13457): s2250: subdev conversion
        V4L/DVB (13456): s2250: Change module structure
        V4L/DVB (13528): em28xx: add support for em2800 VC211A card
        em28xx: don't reduce scale to half size for em2800
        em28xx: don't load audio modules when AC97 is mis-detected
        em28xx: em2800 chips support max width of 640
        V4L/DVB (13523): dvb-bt8xx: fix compile warning
        ...
      
      Fix up trivial conflicts due to spelling fixes from the trivial tree in
      	Documentation/video4linux/gspca.txt
      	drivers/media/video/cx18/cx18-mailbox.h
      3e746831
    • Linus Torvalds's avatar
      Merge branch 'next-i2c' of git://git.fluff.org/bjdooks/linux · 6825fbc4
      Linus Torvalds authored
      * 'next-i2c' of git://git.fluff.org/bjdooks/linux: (25 commits)
        i2c-pnx: Map I2C adapter number to platform ID number
        i2c-omap: OMAP3: PM: (re)init for every transfer to support off-mode
        i2c-designware: i2c_dw_handle_tx_abort: Use dev_dbg() for NOACK cases
        i2c-designware: Cosmetic cleanups
        i2c-designware: Tx abort cleanups
        i2c-designware: Skip RX_FULL and TX_EMPTY bits on tx abort errors
        i2c-designware: i2c_dw_xfer_msg: Fix error handling procedures
        i2c-designware: Disable TX_EMPTY when all i2c_msg msgs has been processed
        i2c-designware: Process all i2c_msg messages in the interrupt handler
        i2c-designware: i2c_dw_read: Remove redundant target address checker
        i2c-designware: i2c_dw_func: Set I2C_FUNC_SMBUS_foo bits
        i2c-designware: Initialize byte count variables just prior to being used
        i2c-designware: i2c_dw_xfer_msg: Introduce a local "buf" pointer
        i2c-designware: Divide i2c_dw_xfer_msg into two functions
        i2c-designware: Enable RX_FULL interrupt
        i2c-designware: Set Tx/Rx FIFO threshold levels
        i2c-designware: Process i2c_msg messages in the interrupt handler
        i2c-designware: i2c_dw_xfer_msg: Fix i2c_msg search bug
        i2c-designware: Improved _HCNT/_LCNT calculation
        i2c-designware: Remove an useless local variable "num"
        ...
      6825fbc4
    • Linus Torvalds's avatar
      Merge branch 's3c24xx-updates' of git://git.fluff.org/bjdooks/linux · 6bb951a0
      Linus Torvalds authored
      * 's3c24xx-updates' of git://git.fluff.org/bjdooks/linux:
        ARM: S3C24XX: DMA: Use valid index when accessing array
        ARM: S3C: move s3c_pwm_remove to .devexit.text
        ARM: S3C24XX: Export s3c24xx_set_fiq for modules.
        ARM: S3C: move s3c_adc_remove to .devexit.text
      6bb951a0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6 · e49aedb5
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-next-2.6:
        sl82c105: remove no longer needed debugging code
        sis5513: remove stale TODO
        pdc202xx_old: remove no longer needed debugging code
        cy82c693: remove no longer needed debugging code
        cmd64x: remove no longer needed debugging code
        alim15x3: remove obsolete and dangerous wdc_udma parameter
        ide: Increase WAIT_DRQ to accomodate some CF cards and SSD drives.
        cs5535: add pci id for AMD based CS5535 controllers
        slc90e66: fix UDMA handling
        drivers/ide/tx4938ide.c: use resource_size()
        drivers/ide/ide_platform.c: use resource_size()
        drivers/ide/au1xxx-ide.c: use resource_size()
        hpt366: remove dead old timing tables
        ide: update Kconfig text to mark as deprecated
        ide-tape: remove the BKL
        hpt366: kill unused #define's
      e49aedb5
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial · 4ef58d4e
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
        tree-wide: fix misspelling of "definition" in comments
        reiserfs: fix misspelling of "journaled"
        doc: Fix a typo in slub.txt.
        inotify: remove superfluous return code check
        hdlc: spelling fix in find_pvc() comment
        doc: fix regulator docs cut-and-pasteism
        mtd: Fix comment in Kconfig
        doc: Fix IRQ chip docs
        tree-wide: fix assorted typos all over the place
        drivers/ata/libata-sff.c: comment spelling fixes
        fix typos/grammos in Documentation/edac.txt
        sysctl: add missing comments
        fs/debugfs/inode.c: fix comment typos
        sgivwfb: Make use of ARRAY_SIZE.
        sky2: fix sky2_link_down copy/paste comment error
        tree-wide: fix typos "couter" -> "counter"
        tree-wide: fix typos "offest" -> "offset"
        fix kerneldoc for set_irq_msi()
        spidev: fix double "of of" in comment
        comment typo fix: sybsystem -> subsystem
        ...
      4ef58d4e
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid · f6c4c819
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
        HID: add multi-input quirk for NextWindow Touchscreen.
        HID: add support for Acan FG-8100 barcode reader
        HID: make Media key on Logitech DiNovo Mini work
        HID: support Logitech/3DConnexion SpaceTraveler and SpaceNavigator
        HID: remove BKL from hiddev_ioctl_usage()
        HID: fixup quirk for NCR devices
        HID: pidff - fix unnecessary loop iterations on reset
        HID: add NOGET quirk for another device from CH Products
        HID: remove useless DRIVER_VERSION macro
        HID: fix MODULE_AUTHOR usage in HID modules
        HID: blacklist Acer Ferrari 4005 optical mouse
      f6c4c819
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 · 382f51fe
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (222 commits)
        [SCSI] zfcp: Remove flag ZFCP_STATUS_FSFREQ_TMFUNCNOTSUPP
        [SCSI] zfcp: Activate fc4s attributes for zfcp in FC transport class
        [SCSI] zfcp: Block scsi_eh thread for rport state BLOCKED
        [SCSI] zfcp: Update FSF error reporting
        [SCSI] zfcp: Improve ELS ADISC handling
        [SCSI] zfcp: Simplify handling of ct and els requests
        [SCSI] zfcp: Remove ZFCP_DID_MASK
        [SCSI] zfcp: Move WKA port to zfcp FC code
        [SCSI] zfcp: Use common code definitions for FC CT structs
        [SCSI] zfcp: Use common code definitions for FC ELS structs
        [SCSI] zfcp: Update FCP protocol related code
        [SCSI] zfcp: Dont fail SCSI commands when transitioning to blocked fc_rport
        [SCSI] zfcp: Assign scheduled work to driver queue
        [SCSI] zfcp: Remove STATUS_COMMON_REMOVE flag as it is not required anymore
        [SCSI] zfcp: Implement module unloading
        [SCSI] zfcp: Merge trace code for fsf requests in one function
        [SCSI] zfcp: Access ports and units with container_of in sysfs code
        [SCSI] zfcp: Remove suspend callback
        [SCSI] zfcp: Remove global config_mutex
        [SCSI] zfcp: Replace local reference counting with common kref
        ...
      382f51fe
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 701791cc
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68knommu: export clk_* symbols in clk.c
        m68knommu: Split the .init section into INIT_TEXT_SECTION and INIT_DATA_SECTION.
        m68knommu: Move __init_end out of the .init section.
        m68knommu: Move __init_begin out of the .init section.
        m68knommu: Use more macros inside the .init section.
        m68knommu: Use INIT_TASK_DATA and CACHELINE_ALIGNED_DATA.
        m68knommu: Make THREAD_SIZE available to assembly files.
        m68knommu: Don't hardcode the value of PAGE_SIZE in the linker script.
        m68knommu: rename BSS define in linker script
        m68knommu: add a task_pt_regs() macro
        m68knommu: define arch_has_single_step() and friends
        m68knommu: add uboot commandline argument passing support
        m68knommu: Coldfire GPIO corrections
        m68knommu: move mcf_remove to .devexit.text
      
      Fixed up (?) conflict in arch/m68k/include/asm/ptrace.h
      701791cc
    • Linus Torvalds's avatar
      4ba15259
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 · 3a43aaa3
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (137 commits)
        sh: include empty zero page in romImage
        sh: Make associative cache writes fatal on all SH-4A parts.
        sh: Drop associative writes for SH-4 cache flushes.
        sh: Partial revert of copy/clear_user_highpage() optimizations.
        sh: Add default uImage rule for se7724, ap325rxa, and migor.
        sh: allow runtime pm without suspend/resume callbacks
        sh: mach-ecovec24: Remove un-defined settings for VPU
        sh: mach-ecovec24: LCDC drive ability become high
        sh: fix sh7724 VEU3F resource size
        serial: sh-sci: Fix too early port disabling.
        sh: pfc: pr_info() -> pr_debug() cleanups.
        sh: pfc: Convert from ctrl_xxx() to __raw_xxx() I/O routines.
        sh: Improve kfr2r09 serial port setup code
        sh: Break out SuperH PFC code
        sh: Move KEYSC header file
        sh: convert /proc/cpu/aligmnent, /proc/cpu/kernel_alignment to seq_file
        sh: Add CPG save/restore code for sh7724 R-standby
        sh: Add SDHI power control support to Ecovec
        mfd: Add power control platform data to SDHI driver
        sh: mach-ecovec24: modify address map
        ...
      3a43aaa3
    • Linus Torvalds's avatar
      Merge branch 'davinci-for-linus' of... · aed886ce
      Linus Torvalds authored
      Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci
      
      * 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci: (69 commits)
        davinci: Initial support for Neuros OSD2 platform.
        davinci: remove unused variable in arch/arm/mach-davinci/board-sffsdr.c
        davinci: fix section mismatch warning in arch/arm/mach-davinci/board-dm646x-evm.c
        DaVinci: DM365: Enable DaVinci RTC support for DM365 EVM
        DA8xx/OMAP-L1xx: Add high speed SD/MMC capabilities
        davinci: DA8XX/OMAP-L1XX: enable cpuidle and regulator in defconfig
        davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator
        davinci: DA850/OMAP-L138 EVM: register for cpuidle support
        davinci: DA8XX/OMAP-L1XX: add support for cpuidle driver register
        davinci: add CPU idle driver
        davinci: DA8XX/OMAP-L1XX: fix compiler warning
        davinci: DA850/OMAP-L138: eliminate static function declaration
        davinci: DA850/OMAP-L138 EVM: simplify configuration of emac in MII/RMII mode
        davinci: DA850/OMAP-L138 EVM: get rid of DA850_UI_EXP config option
        davinci: DA850/OMAP-L138 EVM: implement autodetect of RMII PHY
        davinci: DA830/OMAP-L137 EVM: do not configure NAND on UI card when MMC/SD is selected
        davinci: DA830/OMAP-L137 EVM: use runtime detection for UI card
        davinci: DA830/OMAP-L137 EVM: remove ifdefs inside da830_evm_init()
        davinci: DA830/OMAP-L137 EVM: fix warning with default config
        davinci: Add NAND support for DA830/OMAP-L137 EVM platform
        ...
      aed886ce
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 · 67dd2f5a
      Linus Torvalds authored
      * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: (72 commits)
        [S390] 3215/3270 console: remove wrong comment
        [S390] dasd: remove BKL from extended error reporting code
        [S390] vmlogrdr: remove BKL
        [S390] vmur: remove BKL
        [S390] zcrypt: remove BKL
        [S390] 3270: remove BKL
        [S390] vmwatchdog: remove lock_kernel() from open() function
        [S390] monwriter: remove lock_kernel() from open() function
        [S390] monreader: remove lock_kernel() from open() function
        [S390] s390: remove unused nfsd #includes
        [S390] ftrace: build ftrace.o when CONFIG_FTRACE_SYSCALLS is set for s390
        [S390] etr/stp: put correct per cpu variable
        [S390] tty3270: move keyboard compat ioctls
        [S390] sclp: improve servicability setting
        [S390] s390: use change recording override for kernel mapping
        [S390] MAINTAINERS: Add s390 drivers block
        [S390] use generic sockios.h header file
        [S390] use generic termbits.h header file
        [S390] smp: remove unused typedef and defines
        [S390] cmm: free pages on hibernate.
        ...
      67dd2f5a
    • Jean Delvare's avatar
      Doc: use misc-devices/ dir for drivers · 5327b9b8
      Jean Delvare authored
      We have a directory for misc drivers documentation, let's use it.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      Cc: Rodolfo Giometti <giometti@linux.it>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5327b9b8
    • Luis Garces-Erice's avatar
      Doc: better explanation of procs_running · e3cc2226
      Luis Garces-Erice authored
      the description in Documentation/filesystems/proc.txt of the
      procs_running entry in /proc/stat is confusing (according to that
      description, it looks as if procs_running could only be a number
      between 0 and the number of CPUs).
      
      Changed it to a more accurate description in the patch attached.
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e3cc2226
    • Dominik D. Geyer's avatar
      correct gpio.txt typos · bfc9dcab
      Dominik D. Geyer authored
      Corrected sysfs gpio chip node name and fixed punctuation.
      Signed-off-by: default avatarDominik D. Geyer <dominik.geyer@gmx.de>
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bfc9dcab