1. 25 May, 2010 8 commits
  2. 24 May, 2010 7 commits
  3. 21 May, 2010 3 commits
    • Eric Sandeen's avatar
      ext3: make barrier options consistent with ext4 · 0636c73e
      Eric Sandeen authored
      ext4 was updated to accept barrier/nobarrier mount options
      in addition to the older barrier=0/1.  The barrier story
      is complex enough, we should help people by making the options
      the same at least, even if the defaults are different.
      This patch allows the barrier/nobarrier mount options for ext3,
      while keeping nobarrier the default.
      It also unconditionally displays barrier status in show_options,
      and prints a message at mount time if barriers are not enabled,
      just as ext4 does.
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
    • Jean Delvare's avatar
      i2c-i801: Let the user disable selected driver features · adff687d
      Jean Delvare authored
      Let the user disable selected features normally supported by the
      device. This makes it possible to work around possible driver or
      hardware bugs if the feature in question doesn't work as intended
      for whatever reason.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Felix Rubinstein <felixru@gmail.com>
    • Serge E. Hallyn's avatar
      sysfs-namespaces: add a high-level Documentation file · b9d8b45e
      Serge E. Hallyn authored
      The first three paragraphs are almost verbatim taken from Eric's
      commit message on the patch introducing network ns tags.  The next
      two paragraphs I wrote to be a brief high level overview.  The last
      section is taken from the commit message on "Implement sysfs tagged
      directory support", but updated.  Hopefully correctly.
      Signed-off-by: default avatarSerge E. Hallyn <serue@us.ibm.com>
      Cc: Eric W. Biederman <ebiederm@xmission.com>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
  4. 20 May, 2010 12 commits
    • Jason Wessel's avatar
      echi-dbgp: Add kernel debugger support for the usb debug port · 4fe1da4e
      Jason Wessel authored
      This patch adds the capability to use the usb debug port with the
      kernel debugger.  It is also still possible to use this functionality
      with or without the earlyprintk=dbgpX.  It is possible to use the
      kgdbwait boot argument to debug very early in the kernel start up code.
      There are two ways to use this driver extension with a kernel boot argument.
      1) kgdbdbgp=#   -- Where # is the number of the usb debug controller
         You must use sysrq-g to break into the kernel debugger on another
         connection type other than the dbgp.
      2) kgdbdbgp=#debugControlNum#,#Seconds#
         In this mode, the usb debug port is polled every #Seconds# for
         character input.  It is possible to use gdb or press control-c to
         break into the kernel debugger.
      From the implementation perspective there are 3 high level changes.
      1) Allow variable retries for the the hardware via dbgp_bulk_read().
         The amount of retries for the dbgp_bulk_read() needed to be
         variable instead of fixed.  We do not want to poll at all when the
         kernel is operating in interrupt driven mode.  The polling only
         occurs if the kernel was booted when specifying some number of
         seconds via the kgdbdbgp boot argument (IE kgdbdbgp=0,1).  In this
         case the loop count is reduced to 1 so as introduce the smallest
         amount of latency as possible.
      2) Save the bulk IN endpoint address for use by the kgdb code.
      3) The addition of the kgdb interface code.
         This consisted of adding in a character read function for the dbgp
         as well as a polling thread to allow the dbgp to interrupt the
         kernel execution.  The rest is the typical kgdb I/O api.
      CC: Eric Biederman <ebiederm@xmission.com>
      CC: Yinghai Lu <yhlu.kernel@gmail.com>
      CC: linux-usb@vger.kernel.org
      Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Jason Wessel's avatar
      kgdboc: Add ekgdboc for early use of the kernel debugger · 9731191f
      Jason Wessel authored
      The ekgdboc= differs from kgdboc= in that you can begin debuggin as
      soon as the exceptions are setup and the kgdb I/O driver is available,
      instead of waiting until the tty subsystem is available.
      CC: kgdb-bugreport@lists.sourceforge.net
      Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
    • Jason Wessel's avatar
      kgdb,docs: Update the kgdb docs to include kdb · 84c08fd6
      Jason Wessel authored
      Update the kgdb docs to reflect the new directory structure and API.
      Merge in the kdb shell information.
      [Randy Dunlap <rdunlap@xenotime.net>: grammatical corrections]
      CC: Randy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
    • Jason Wessel's avatar
      kgdboc,keyboard: Keyboard driver for kdb with kgdb · ada64e4c
      Jason Wessel authored
      This patch adds in the kdb PS/2 keyboard driver.  This was mostly a
      direct port from the original kdb where I cleaned up the code against
      checkpatch.pl and added the glue to stitch it into kgdb.
      This patch also enables early kdb debug via kgdbwait and the keyboard.
      All the access to configure kdb using either a serial console or the
      keyboard is done via kgdboc.
      If you want to use only the keyboard and want to break in early you
      would add to your kernel command arguments:
          kgdboc=kbd kgdbwait
      If you wanted serial and or the keyboard access you could use:
      You can also configure kgdboc as a kernel module or at run time with
      the sysfs where you can activate and deactivate kgdb.
      Turn it on:
          echo kbd,ttyS0 > /sys/module/kgdboc/parameters/kgdboc
      Turn it off:
          echo "" > /sys/module/kgdboc/parameters/kgdboc
      Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
      Reviewed-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    • Alan Stern's avatar
      USB: remove URB_NO_SETUP_DMA_MAP · 85bcb5ee
      Alan Stern authored
      Now that URB_NO_SETUP_DMA_MAP is no longer in use, this patch (as1376)
      removes all references to it.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Fabien Chouteau's avatar
      USB: Composite framework: Add suspended sysfs entry · f48cf80f
      Fabien Chouteau authored
      This patch adds a sysfs entry (/sys/devices/platform/_UDC_/gadget/suspended) to
      show the suspend state of an USB composite gadget.
      Signed-off-by: default avatarFabien Chouteau <fabien.chouteau@barco.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Mike Dunn's avatar
      USB: usbserial: mos7720: add support for parallel port on moschip 7715 · b69578df
      Mike Dunn authored
      Add support for the parallel port on the moschip MCS7715 device.  The port
      registers itself with the parport subsystem as a low-level driver.  A separate
      entry to the kernel configuration is added beneath that for the mos7720, to
      avoid the need to link with the parport subsystem code for users who don't have
      or don't want the parallel port.  Only compatibility mode is currently supported
      (no ECP/EPP).  Tested with both moschip devices (7720 and 7715) on UP and SMP
      hosts, including regression testing of serial port, concurrent operation of
      serial and parallel ports, and various connect / disconnect scenarios.
      Signed-off-by: default avatarMike Dunn <mikedunn@newsguy.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Daniel Mack's avatar
      USB: rename usb_buffer_alloc() and usb_buffer_free() users · 997ea58e
      Daniel Mack authored
      For more clearance what the functions actually do,
        usb_buffer_alloc() is renamed to usb_alloc_coherent()
        usb_buffer_free()  is renamed to usb_free_coherent()
      They should only be used in code which really needs DMA coherency.
      All call sites have been changed accordingly, except for staging
      Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Pedro Ribeiro <pedrib@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Eric Raymond's avatar
      USB: Short new 'graph for usb-serial.txt · 48679c6d
      Eric Raymond authored
      Documentation update
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Sarah Sharp's avatar
      USB: Support for allocating USB 3.0 streams. · eab1cafc
      Sarah Sharp authored
      Bulk endpoint streams were added in the USB 3.0 specification.  Streams
      allow a device driver to overload a bulk endpoint so that multiple
      transfers can be queued at once.
      The device then decides which transfer it wants to work on first, and can
      queue part of a transfer before it switches to a new stream.  All this
      switching is invisible to the device driver, which just gets a completion
      for the URB.  Drivers that use streams must be able to handle URBs
      completing in a different order than they were submitted to the endpoint.
      This requires adding new API to set up xHCI data structures to support
      multiple queues ("stream rings") per endpoint.  Drivers will allocate a
      number of stream IDs before enqueueing URBs to the bulk endpoints of the
      device, and free the stream IDs in their disconnect function.  See
      Documentation/usb/bulk-streams.txt for details.
      The new mass storage device class, USB Attached SCSI Protocol (UASP), uses
      these streams API.
      Signed-off-by: default avatarSarah Sharp <sarah.a.sharp@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Alan Stern's avatar
      USB: deprecate the power/level sysfs attribute · a9030986
      Alan Stern authored
      This patch (as1367) deprecates USB's power/level sysfs attribute in
      favor of the power/control attribute provided by the runtime PM core.
      The two attributes do the same thing.
      It would be nice to replace power/level with a symlink to
      power/control, but at the moment sysfs doesn't offer any way to do so.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Fabien Chouteau's avatar
      USB: gadget: add HID gadget driver · 71adf118
      Fabien Chouteau authored
      g_hid is a USB gadget driver implementing the Human Interface Device class
      specification. The driver handles basic HID protocol handling in the
      kernel, and allows userspace to read/write HID reports trough /dev/hidgX
      character devices.
      Signed-off-by: default avatarFabien Chouteau <fabien.chouteau@barco.com>
      Signed-off-by: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
  5. 19 May, 2010 10 commits