1. 07 7月, 2012 1 次提交
  2. 06 7月, 2012 4 次提交
    • G
      Merge tag 'xceiv-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next · ff9cce82
      Greg Kroah-Hartman 提交于
      usb: phy: patches for v3.6 merge window
      
      We are starting to support multiple USB phys as
      we should thanks for Kishon's work. DeviceTree support
      for USB PHYs won't come until discussion with DeviceTree
      maintainer is finished.
      
      Together with that series, we have one fix for twl4030
      which missed a IRQF_ONESHOT annotation when requesting
      a threaded IRQ without a top half handler, and removal
      of an unused variable compilation warning to isp1301_omap.
      ff9cce82
    • G
      Merge tag 'dwc3-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next · 93314150
      Greg Kroah-Hartman 提交于
      usb: dwc3: patches for v3.6 merge window
      
      lots of changes for the dwc3 driver which will make
      the driver a lot more stable and some changes which
      are just cosmetic.
      
      The bulk of changes is related to mis-defined macros
      which were never used before, some fixes to error path
      which e.g. prevent the driver from initiating two
      transfer on ep0out in case of stall, some fixes to
      request dequeueing and the End Transfer Command.
      
      We have some changes to U1/U2 handling where we were
      enabling those transtions at the wrong spot (though
      we haven't seen a problem from that as of today).
      
      A few patches will make it easier to add support for
      newer releases of the core by adding definitions for
      new registers and changing the code to act accordingly
      when certain revisions are detected.
      
      There's also the usual comestic changes to make the
      driver easier to maintain and make it easier for new-
      comers to understand the driver. Also one patch fixing
      a double inclusion of a header.
      93314150
    • G
      Merge tag 'gadget-for-v3.6' of... · 94ff447c
      Greg Kroah-Hartman 提交于
      Merge tag 'gadget-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next
      
      usb: gadget: patches for v3.6 merge window
      
      This is quite a big pull request and contains patches
      all over the place.
      
      omap_udc is now a bit cleaner after removing omap2 support,
      fixing some checkpatch.pl warnings and errors, switching over
      to generic map/unmap routines and preventing a NULL pointer
      de-reference.
      
      s3c-hsotg has been switched over to devm_* API, got some
      locking fixes and improvements and it also got an implementation
      for the pullup() method.
      
      the mass storage gadgets changed default value of the removable
      parameter, dropped some unused options and made "file" and "ro"
      module_parameters read-only in some cases.
      
      ffs function got support for HID descriptor.
      
      Some UDCs have been converted to clk_prepare_enable() and
      clk_disable_unprepare().
      
      Marvell now got support for its USB3 controller in mainline
      after introducing its mv_u3d_core.c driver.
      94ff447c
    • G
      Merge tag 'musb-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next · 979eef33
      Greg Kroah-Hartman 提交于
      usb: musb: patches for v3.6 merge window
      
      Just two patches here:
      
      First we have a fix to disable DMA in case DMA channel
      request fails.
      
      Second, there's a fix for situations where the user
      kills musb (by rmmod or any other means) while a
      transfer is on the fly. In such cases, we could be
      led into a NULL pointer dereference due to endpoint
      being disabled and endpoint descriptor being NULL.
      979eef33
  3. 05 7月, 2012 1 次提交
  4. 02 7月, 2012 12 次提交
  5. 01 7月, 2012 9 次提交
  6. 30 6月, 2012 9 次提交
  7. 29 6月, 2012 4 次提交
    • K
      printk: flush continuation lines immediately to console · 084681d1
      Kay Sievers 提交于
      Continuation lines are buffered internally, intended to merge the
      chunked printk()s into a single record, and to isolate potentially
      racy continuation users from usual terminated line users.
      
      This though, has the effect that partial lines are not printed to
      the console in the moment they are emitted. In case the kernel
      crashes in the meantime, the potentially interesting printed
      information would never reach the consoles.
      
      Here we share the continuation buffer with the console copy logic,
      and partial lines are always immediately flushed to the available
      consoles. They are still buffered internally to improve the
      readability and integrity of the messages and minimize the amount
      of needed record headers to store.
      Signed-off-by: NKay Sievers <kay@vrfy.org>
      Tested-by: NSteven Rostedt <rostedt@goodmis.org>
      Acked-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      084681d1
    • M
      powerpc/pseries: Fix software invalidate TCE · bc6dc752
      Michael Neuling 提交于
      The following added support for powernv but broke pseries/BML:
       1f1616e8 powerpc/powernv: Add TCE SW invalidation support
      
      TCE_PCI_SW_INVAL was split into FREE and CREATE flags but the tests in
      the pseries code were not updated to reflect this.
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      cc: stable@kernel.org [v3.3+]
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      bc6dc752
    • A
      powerpc: check_and_cede_processor() never cedes · 0b17ba72
      Anton Blanchard 提交于
      Commit f948501b ("Make hard_irq_disable() actually hard-disable
      interrupts") caused check_and_cede_processor to stop working.
      ->irq_happened will never be zero right after a hard_irq_disable
      so the compiler removes the call to cede_processor completely.
      
      The bug was introduced back in the lazy interrupt handling rework
      of 3.4 but was hidden until recently because hard_irq_disable did
      nothing.
      
      This issue will eventually appear in 3.4 stable since the
      hard_irq_disable fix is marked stable, so mark this one for stable
      too.
      Signed-off-by: NAnton Blanchard <anton@samba.org>
      Cc: stable@vger.kernel.org
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      0b17ba72
    • S
      powerpc/ftrace: Do not trace restore_interrupts() · 2d773aa4
      Steven Rostedt 提交于
      As I was adding code that affects all archs, I started testing function
      tracer against PPC64 and found that it currently locks up with 3.4
      kernel. I figured it was due to tracing a function that shouldn't be, so
      I went through the following process to bisect to find the culprit:
      
       cat /debug/tracing/available_filter_functions > t
       num=`wc -l t`
       sed -ne "1,${num}p" t > t1
       let num=num+1
       sed -ne "${num},$p" t > t2
       cat t1 > /debug/tracing/set_ftrace_filter
       echo function /debug/tracing/current_tracer
       <failed? bisect t1, if not bisect t2>
      
      It finally came down to this function: restore_interrupts()
      
      I'm not sure why this locks up the system. It just seems to prevent
      scheduling from occurring. Interrupts seem to still work, as I can ping
      the box. But all user processes freeze.
      
      When restore_interrupts() is not traced, function tracing works fine.
      
      Cc: stable@kernel.org
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      2d773aa4