1. 06 Nov, 2012 6 commits
    • Philippe De Swert's avatar
      usb: musb: remove generic_interrupt · baef653a
      Philippe De Swert authored
      This patch is based on the discussion of a previous patch to fix an issue
      where the omap2430 musb driver is not working for N9/N950.
      
      Moving all the interrupt handling to the devices. Avoids inclusion of generic
      interrupt and breakage due to sometimes misleading CONFIG options. This makes
      sure usb always works if on of the subdrivers is chosen. Tested on Nokia N9/N950.
      
      Partially clean up CONFIG_SOC_OMAP3430 which is not necessary in the cases
      where I removed it. Also helps with the removal work of those options that
      Tony Lindgren predicted would happen at some point.
      Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      baef653a
    • Sergei Shtylyov's avatar
      usb: musb: cppi_dma: export cppi_interrupt() · 8b416b0b
      Sergei Shtylyov authored
      Now that DaVinci glue layer can be modular, we must export cppi_interrupt()
      that it may call...
      
      Cc: stable@vger.kernel.org # 3.0+
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      8b416b0b
    • Santhapuri, Damodar's avatar
      usb: musb: dsps: control module handling (quirk) · c68bb4c6
      Santhapuri, Damodar authored
      am335x uses nop transceiver driver and need to enable builtin phy
      by writing into usb_ctrl register available in system control
      module register space. This is being added at musb glue driver
      layer until a separate system control module driver is available.
      
      Proper solution is to make use of control module driver, but it is
      not expected to be ready soon.
      
      Other options available are providing control module register space
      as memory resource via DT or using omap hwmod.
      
      DT approach has been rejected by Rob Herring, while resources are
      being moved from hwmod to DT. And both of the above approaches
      require that control module registers be configured in wrapper
      itself requring a quirk in driver as well as DT or hwmod.
      
      Here another option is used, providing driver with control module
      register physical address. Even though this a hack, there is no other
      option left till control module driver is ready. As of now only
      am335x is using dsps wrapper, and so driver is made aware of am335x
      control module physical address.
      
      Please note that this is a temporary arrangment till omap control
      module driver is available.
      
      [afzal@ti.com: limit quirk to dsps wrapper]
      Signed-off-by: default avatarSanthapuri, Damodar <damodar.santhapuri@ti.com>
      Signed-off-by: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
      Signed-off-by: default avatarRavi Babu <ravibabu@ti.com>
      Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      c68bb4c6
    • Afzal Mohammed's avatar
      usb: musb: dsps: get resources by index · 3e594b18
      Afzal Mohammed authored
      dsps wrapper is now dt only. This requires that resources be obtained
      using index and not name, modify accordingly.
      Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      3e594b18
    • Afzal Mohammed's avatar
      usb: musb: dsps: reduce musb instance to one · 3b46dd76
      Afzal Mohammed authored
      Currently multiple phy's of the same type are not supported, hence
      reduce musb instances to one. This helps in supporting at least one
      instance of musb, rather than having none. Even without this, it was
      observed that both instances were working (by luck), but this holds
      good iff wrapper is part of Image. And it is not correct for both
      controller's to be associated with same phy, here it was working
      because phy is a nop one. And having wrapper as a module and
      rmmod'ing would crash.
      
      This can be reverted once multi phy support for same type is available
      and driver is enhanced to make use of it.
      Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      3b46dd76
    • Afzal Mohammed's avatar
      usb: musb: dsps: remove platform callback · 12fc9266
      Afzal Mohammed authored
      dsps wrapper is dt only, it cannot execute platform callbacks.
      Presence of this would cause NULL dereference, hence remove it.
      Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      12fc9266
  2. 01 Nov, 2012 1 commit
    • Sebastian Andrzej Siewior's avatar
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior authored
      This replaced the handcrafted id handling by the PLATFORM_DEVID_AUTO
      value which should do the same thing.
      
      This patch probably also fixes ux500 because I did not find the "musbid"
      variable to remove. And we close a tiny-unlikely race window becuase the
      old code gave the id back before device was destroyed in the remove
      case.
      
      [ balbi@ti.com : fixed up two failed hunks when applying patch ]
      
      Cc: B, Ravi <ravibabu@ti.com>
      Cc: Santhapuri, Damodar <damodar.santhapuri@ti.com>
      Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Cc: Bob Liu <lliubbo@gmail.com>
      Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      2f771164
  3. 31 Oct, 2012 4 commits
  4. 26 Oct, 2012 7 commits
  5. 15 Oct, 2012 6 commits
  6. 14 Oct, 2012 6 commits
    • Linus Torvalds's avatar
      Linux 3.7-rc1 · ddffeb8c
      Linus Torvalds authored
      ddffeb8c
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus · a5ef3f7d
      Linus Torvalds authored
      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
    • Linus Torvalds's avatar
      Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · d25282d1
      Linus Torvalds authored
      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
    • Matt Fleming's avatar
      x86, boot: Explicitly include autoconf.h for hostprogs · b6eea87f
      Matt Fleming authored
      The hostprogs need access to the CONFIG_* symbols found in
      include/generated/autoconf.h.  But commit abbf1590 ("UAPI: Partition
      the header include path sets and add uapi/ header directories") replaced
      $(LINUXINCLUDE) with $(USERINCLUDE) which doesn't contain the necessary
      include paths.
      
      This has the undesirable effect of breaking the EFI boot stub because
      the #ifdef CONFIG_EFI_STUB code in arch/x86/boot/tools/build.c is
      never compiled.
      
      It should also be noted that because $(USERINCLUDE) isn't exported by
      the top-level Makefile it's actually empty in arch/x86/boot/Makefile.
      
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Acked-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b6eea87f
    • Ingo Molnar's avatar
      perf: Fix UAPI fallout · 7d380c8f
      Ingo Molnar authored
      The UAPI commits forgot to test tooling builds such as tools/perf/,
      and this fixes the fallout.
      
      Manual conversion.
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7d380c8f
    • Linus Torvalds's avatar
      Merge branch 'late-for-linus' of git://git.linaro.org/people/rmk/linux-arm · 3d6ee36d
      Linus Torvalds authored
      Pull ARM update from Russell King:
       "This is the final round of stuff for ARM, left until the end of the
        merge window to reduce the number of conflicts.  This set contains the
        ARM part of David Howells UAPI changes, and a fix to the ordering of
        'select' statements in ARM Kconfig files (see the appropriate commit
        for why this happened - thanks to Andrew Morton for pointing out the
        problem.)
      
        I've left this as long as I dare for this window to avoid conflicts,
        and I regenerated the config patch yesterday, posting it to our
        mailing list for review and testing.  I have several acks which
        include successful test reports for it.
      
        However, today I notice we've got new conflicts with previously unseen
        code...  though that conflict should be trivial (it's my changes vs a
        one liner.)"
      
      * 'late-for-linus' of git://git.linaro.org/people/rmk/linux-arm:
        ARM: config: make sure that platforms are ordered by option string
        ARM: config: sort select statements alphanumerically
        UAPI: (Scripted) Disintegrate arch/arm/include/asm
      
      Fix up fairly conflict in arch/arm/Kconfig (the select re-organization
      vs recent addition of GENERIC_KERNEL_EXECVE)
      3d6ee36d
  7. 13 Oct, 2012 10 commits