1. 18 10月, 2012 22 次提交
  2. 17 10月, 2012 6 次提交
  3. 16 10月, 2012 5 次提交
  4. 15 10月, 2012 7 次提交
    • V
      usb: dwc3: shutdown usb_phy when removing the device · 01b8daf7
      Vivek Gautam 提交于
      We call usb_phy_init() from dwc3_core_init() during
      probe, so adding usb_phy_shutdown() to dwc3_core_exit()
      while removing the device so we don't keep PHYs
      turned on, consuming power, unnecessarily.
      Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      01b8daf7
    • S
      usb: musb: am35xx: drop spurious unplugging a device · 6ff1f3d3
      Stefano Babic 提交于
      On AM3517, tx and rx interrupt are detected together with
      the disconnect event. This generates a kernel panic in musb_interrupt,
      because rx / tx are handled after disconnect.
      This issue was seen on a Technexion's TAM3517 SOM. Unplugging a device,
      tx / rx interrupts together with disconnect are detected. This brings
      to kernel panic like this:
      
      [   68.526153] Unable to handle kernel NULL pointer dereference at virtual address 00000011
      [   68.534698] pgd = c0004000
      [   68.537536] [00000011] *pgd=00000000
      [   68.541351] Internal error: Oops: 17 [#1] ARM
      [   68.545928] Modules linked in:
      [   68.549163] CPU: 0    Not tainted  (3.6.0-rc5-00020-g9e05905 #178)
      [   68.555694] PC is at rxstate+0x8/0xdc
      [   68.559539] LR is at musb_interrupt+0x98/0x858
      [   68.564239] pc : [<c035cd88>]    lr : [<c035af1c>]    psr: 40000193
      [   68.564239] sp : ce83fb40  ip : d0906410  fp : 00000000
      [   68.576293] r10: 00000000  r9 : cf3b0e40  r8 : 00000002
      [   68.581817] r7 : 00000019  r6 : 00000001  r5 : 00000001  r4 : 000000d4
      [   68.588684] r3 : 00000000  r2 : 00000000  r1 : ffffffcc  r0 : cf23c108
      [   68.595550] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment ke
      
      Note: this behavior is not seen with a USB hub, while it is
      easy to reproduce connecting a USB-pen directly to the USB-A of
      the board.
      
      Drop tx / rx interrupts if disconnect is detected.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      CC: Felipe Balbi <balbi@ti.com>
      Cc: stable@vger.kernel.org # 3.5 3.6
      Tested-by: NDmitry Lifshitz <lifshitz@compulab.co.il>
      Tested-by: NIgor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      6ff1f3d3
    • F
      usb: dwc3: gadget: fix 'endpoint always busy' bug · 041d81f4
      Felipe Balbi 提交于
      If a USB transfer has already been started, meaning
      we have already issued StartTransfer command to that
      particular endpoint, DWC3_EP_BUSY flag has also
      already been set.
      
      When we try to cancel this transfer which is already
      in controller's cache, we will not receive XferComplete
      event and we must clear DWC3_EP_BUSY in order to allow
      subsequent requests to be properly started.
      
      The best place to clear that flag is right after issuing
      DWC3_DEPCMD_ENDTRANSFER.
      
      Cc: stable@vger.kernel.org # v3.4 v3.5 v3.6
      Reported-by: NMoiz Sonasath <m-sonasath@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      041d81f4
    • G
      Merge 3.7-rc1 usb-linus · 1e91adf7
      Greg Kroah-Hartman 提交于
      Sync up to a known-good point in Linus's tree to build on.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1e91adf7
    • L
      Linux 3.7-rc1 · ddffeb8c
      Linus Torvalds 提交于
      ddffeb8c
    • L
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · a5ef3f7d
      Linus Torvalds 提交于
      Pull MIPS update from Ralf Baechle:
       "Cleanups and fixes for breakage that occured earlier during this merge
        phase.  Also a few patches that didn't make the first pull request.
        Of those is the Alchemy work that merges code for many of the SOCs and
        evaluation boards thus among other code shrinkage, reduces the number
        of MIPS defconfigs by 5."
      
      * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (22 commits)
        MIPS: SNI: Switch RM400 serial to SCCNXP driver
        MIPS: Remove unused empty_bad_pmd_table[] declaration.
        MIPS: MT: Remove kspd.
        MIPS: Malta: Fix section mismatch.
        MIPS: asm-offset.c: Delete unused irq_cpustat_t struct offsets.
        MIPS: Alchemy: Merge PB1100/1500 support into DB1000 code.
        MIPS: Alchemy: merge PB1550 support into DB1550 code
        MIPS: Alchemy: Single kernel for DB1200/1300/1550
        MIPS: Optimize TLB refill for RI/XI configurations.
        MIPS: proc: Cleanup printing of ASEs.
        MIPS: Hardwire detection of DSP ASE Rev 2 for systems, as required.
        MIPS: Add detection of DSP ASE Revision 2.
        MIPS: Optimize pgd_init and pmd_init
        MIPS: perf: Add perf functionality for BMIPS5000
        MIPS: perf: Split the Kconfig option CONFIG_MIPS_MT_SMP
        MIPS: perf: Remove unnecessary #ifdef
        MIPS: perf: Add cpu feature bit for PCI (performance counter interrupt)
        MIPS: perf: Change the "mips_perf_event" table unsupported indicator.
        MIPS: Align swapper_pg_dir to 64K for better TLB Refill code.
        vmlinux.lds.h: Allow architectures to add sections to the front of .bss
        ...
      a5ef3f7d
    • L
      Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · d25282d1
      Linus Torvalds 提交于
      Pull module signing support from Rusty Russell:
       "module signing is the highlight, but it's an all-over David Howells frenzy..."
      
      Hmm "Magrathea: Glacier signing key". Somebody has been reading too much HHGTTG.
      
      * 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux: (37 commits)
        X.509: Fix indefinite length element skip error handling
        X.509: Convert some printk calls to pr_devel
        asymmetric keys: fix printk format warning
        MODSIGN: Fix 32-bit overflow in X.509 certificate validity date checking
        MODSIGN: Make mrproper should remove generated files.
        MODSIGN: Use utf8 strings in signer's name in autogenerated X.509 certs
        MODSIGN: Use the same digest for the autogen key sig as for the module sig
        MODSIGN: Sign modules during the build process
        MODSIGN: Provide a script for generating a key ID from an X.509 cert
        MODSIGN: Implement module signature checking
        MODSIGN: Provide module signing public keys to the kernel
        MODSIGN: Automatically generate module signing keys if missing
        MODSIGN: Provide Kconfig options
        MODSIGN: Provide gitignore and make clean rules for extra files
        MODSIGN: Add FIPS policy
        module: signature checking hook
        X.509: Add a crypto key parser for binary (DER) X.509 certificates
        MPILIB: Provide a function to read raw data into an MPI
        X.509: Add an ASN.1 decoder
        X.509: Add simple ASN.1 grammar compiler
        ...
      d25282d1