1. 09 5月, 2016 1 次提交
  2. 29 4月, 2016 1 次提交
    • A
      Merge tag 'omap-for-v4.7/soc-signed' of... · 94a92cca
      Arnd Bergmann 提交于
      Merge tag 'omap-for-v4.7/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
      
      Merge "SoC related changes for omaps for v4.7 merge window" from Tony Lindgren:
      
      - Remove now unnecessary multi vs single SoC compile time optimizations
        as we are now using multiarch
      
      - Configure dra7 powerdomains
      
      - Clarify why omap-wakeupgen does not need to handle FROZEN transitions
      
      - Add dra7 module configuration for MaASP, PWMSS and timer 12
      
      - Add RTC module configuration unlock and lock functions
      
      - Fix hwmod idle state sanity check sequence
      
      * tag 'omap-for-v4.7/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP2+: wakeupgen: Add comment for unhandled FROZEN transitions
        ARM: OMAP: DRA7: powerdomain data: Remove wrong OSWR capability
        ARM: OMAP: DRA7: powerdomain data: Fix "ON" state for memories
        ARM: OMAP: DRA7: powerdomain data: Erratum i892 workaround: Disable core INA
        ARM: OMAP2+: remove redundant multiplatform checks
        ARM: OMAP2+: hwmod: fix _idle() hwmod state sanity check sequence
        ARM: DRA7: hwmod: Add data for GPTimer 12
        ARM: AMx3xx: RTC: Add lock and unlock functions
        ARM: DRA7: RTC: Add lock and unlock functions
        ARM: OMAP2+: hwmod: RTC: Add lock and unlock functions
        ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS
        ARM: DRA7: hwmod: Add data for McASP1/2/4/5/6/7/8
        ARM: DRA7: clockdomain: Implement timer workaround for errata i874
        ARM: OMAP2+: hwmod: Fix updating of sysconfig register
      94a92cca
  3. 26 4月, 2016 9 次提交
  4. 23 4月, 2016 1 次提交
  5. 20 4月, 2016 4 次提交
  6. 14 4月, 2016 13 次提交
  7. 11 4月, 2016 11 次提交
    • L
      Linux 4.6-rc3 · bf162006
      Linus Torvalds 提交于
      bf162006
    • L
      Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm · 08b15d13
      Linus Torvalds 提交于
      Pull ARM fixes from Russell King:
       "A couple of small fixes, and wiring up the new syscalls which appeared
        during the merge window"
      
      * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        ARM: 8550/1: protect idiv patching against undefined gcc behavior
        ARM: wire up preadv2 and pwritev2 syscalls
        ARM: SMP enable of cache maintanence broadcast
      08b15d13
    • L
      Merge tag 'mmc-v4.6-rc1' of git://git.linaro.org/people/ulf.hansson/mmc · 2f422f94
      Linus Torvalds 提交于
      Pull MMC fixes from Ulf Hansson:
       "Here are a couple of mmc fixes intended for v4.6 rc3:
      
        MMC host:
         - sdhci: Fix regression setting power on Trats2 board
         - sdhci-pci: Add support and PCI IDs for more Broxton host controllers"
      
      * tag 'mmc-v4.6-rc1' of git://git.linaro.org/people/ulf.hansson/mmc:
        mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers
        mmc: sdhci: Fix regression setting power on Trats2 board
      2f422f94
    • L
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 6a7c9243
      Linus Torvalds 提交于
      Pull i2c fixes from Wolfram Sang:
       "Some bugfixes from I2C:
      
         - fix a uevent triggered boot problem by removing a useless debug
           print
      
         - fix sysfs-attributes of the new i2c-demux-pinctrl driver to follow
           standard kernel behaviour
      
         - fix a potential division-by-zero error (needed two takes)"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: jz4780: really prevent potential division by zero
        Revert "i2c: jz4780: prevent potential division by zero"
        i2c: jz4780: prevent potential division by zero
        i2c: mux: demux-pinctrl: Update docs to new sysfs-attributes
        i2c: mux: demux-pinctrl: Clean up sysfs attributes
        i2c: prevent endless uevent loop with CONFIG_I2C_DEBUG_CORE
      6a7c9243
    • L
      Revert "ext4: allow readdir()'s of large empty directories to be interrupted" · 9f2394c9
      Linus Torvalds 提交于
      This reverts commit 1028b55b.
      
      It's broken: it makes ext4 return an error at an invalid point, causing
      the readdir wrappers to write the the position of the last successful
      directory entry into the position field, which means that the next
      readdir will now return that last successful entry _again_.
      
      You can only return fatal errors (that terminate the readdir directory
      walk) from within the filesystem readdir functions, the "normal" errors
      (that happen when the readdir buffer fills up, for example) happen in
      the iterorator where we know the position of the actual failing entry.
      
      I do have a very different patch that does the "signal_pending()"
      handling inside the iterator function where it is allowable, but while
      that one passes all the sanity checks, I screwed up something like four
      times while emailing it out, so I'm not going to commit it today.
      
      So my track record is not good enough, and the stars will have to align
      better before that one gets committed.  And it would be good to get some
      review too, of course, since celestial alignments are always an iffy
      debugging model.
      
      IOW, let's just revert the commit that caused the problem for now.
      Reported-by: NGreg Thelen <gthelen@google.com>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9f2394c9
    • S
      ARM: OMAP2+: hwmod: fix _idle() hwmod state sanity check sequence · c20c8f75
      Suman Anna 提交于
      The omap_hwmod _enable() function can return success without setting
      the hwmod state to _HWMOD_STATE_ENABLED for IPs with reset lines when
      all of the reset lines are asserted. The omap_hwmod _idle() function
      also performs a similar check, but after checking for the hwmod state
      first. This triggers the WARN when pm_runtime_get and pm_runtime_put
      are invoked on IPs with all reset lines asserted. Reverse the checks
      for hwmod state and reset lines status to fix this.
      
      Issue found during a unbind operation on a device with reset lines
      still asserted, example backtrace below
      
       ------------[ cut here ]------------
       WARNING: CPU: 1 PID: 879 at arch/arm/mach-omap2/omap_hwmod.c:2207 _idle+0x1e4/0x240()
       omap_hwmod: mmu_dsp: idle state can only be entered from enabled state
       Modules linked in:
       CPU: 1 PID: 879 Comm: sh Not tainted 4.4.0-00008-ga989d951331a #3
       Hardware name: Generic OMAP5 (Flattened Device Tree)
       [<c0018e60>] (unwind_backtrace) from [<c0014dc4>] (show_stack+0x10/0x14)
       [<c0014dc4>] (show_stack) from [<c037ac28>] (dump_stack+0x90/0xc0)
       [<c037ac28>] (dump_stack) from [<c003f420>] (warn_slowpath_common+0x78/0xb4)
       [<c003f420>] (warn_slowpath_common) from [<c003f48c>] (warn_slowpath_fmt+0x30/0x40)
       [<c003f48c>] (warn_slowpath_fmt) from [<c0028c20>] (_idle+0x1e4/0x240)
       [<c0028c20>] (_idle) from [<c0029080>] (omap_hwmod_idle+0x28/0x48)
       [<c0029080>] (omap_hwmod_idle) from [<c002a5a4>] (omap_device_idle+0x3c/0x90)
       [<c002a5a4>] (omap_device_idle) from [<c0427a90>] (__rpm_callback+0x2c/0x60)
       [<c0427a90>] (__rpm_callback) from [<c0427ae4>] (rpm_callback+0x20/0x80)
       [<c0427ae4>] (rpm_callback) from [<c0427f84>] (rpm_suspend+0x138/0x74c)
       [<c0427f84>] (rpm_suspend) from [<c0428b78>] (__pm_runtime_idle+0x78/0xa8)
       [<c0428b78>] (__pm_runtime_idle) from [<c041f514>] (__device_release_driver+0x64/0x100)
       [<c041f514>] (__device_release_driver) from [<c041f5d0>] (device_release_driver+0x20/0x2c)
       [<c041f5d0>] (device_release_driver) from [<c041d85c>] (unbind_store+0x78/0xf8)
       [<c041d85c>] (unbind_store) from [<c0206df8>] (kernfs_fop_write+0xc0/0x1c4)
       [<c0206df8>] (kernfs_fop_write) from [<c018a120>] (__vfs_write+0x20/0xdc)
       [<c018a120>] (__vfs_write) from [<c018a9cc>] (vfs_write+0x90/0x164)
       [<c018a9cc>] (vfs_write) from [<c018b1f0>] (SyS_write+0x44/0x9c)
       [<c018b1f0>] (SyS_write) from [<c0010420>] (ret_fast_syscall+0x0/0x1c)
       ---[ end trace a4182013c75a9f50 ]---
      
      While at this, fix the sequence in _shutdown() as well, though there
      is no easy reproducible scenario.
      
      Fixes: 747834ab ("ARM: OMAP2+: hwmod: revise hardreset behavior")
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      c20c8f75
    • S
      ARM: DRA7: hwmod: Add data for GPTimer 12 · 22d20cb4
      Suman Anna 提交于
      Add the hwmod data for GPTimer 12. GPTimer 12 is present in
      WKUPAON power domain and is clocked from a secure 32K clock.
      GPTimer 12 serves as a secure timer on HS devices, but is
      available for kernel on regular GP devices.
      
      The hwmod link is registered only on GP devices. The hwmod data
      also reused the existing timer class instead of reintroducing
      the identical dra7xx_timer_secure_sysc class which was dropped
      in commit edec1786 ("ARM: DRA7: hwmod: Fix the hwmod class
      for GPTimer4").
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      22d20cb4
    • L
      ARM: AMx3xx: RTC: Add lock and unlock functions · b5a553c0
      Lokesh Vutla 提交于
      Hook omap_hwmod_rtc_unlock/lock functions into RTC hwmod,
      so that SYSCONFIG register is updated properly.
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      b5a553c0
    • L
      ARM: DRA7: RTC: Add lock and unlock functions · d7d31b89
      Lokesh Vutla 提交于
      Hook omap_hwmod_rtc_unlock/lock functions into RTC hwmod,
      so that SYSCONFIG register is updated properly
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      d7d31b89
    • L
      ARM: OMAP2+: hwmod: RTC: Add lock and unlock functions · 461932df
      Lokesh Vutla 提交于
      RTC IP have kicker feature which prevents spurious writes to its registers.
      In order to write into any of the RTC registers, KICK values has to be
      written to KICK registers. Also, RTC busy flag needs to be polled for
      non-TC registers as well, without which update is not proper and confirmed
      it by testing on DRA7-evm.
      Introduce omap_hwmod_rtc_unlock/lock functions, which  writes into these
      KICK registers inorder to lock and unlock RTC registers.
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      [paul@pwsan.com: fixed subject line]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      461932df
    • V
      ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS · b05ff3c3
      Vignesh R 提交于
      Add hwmod entries for the PWMSS on DRA7.
      
      Set l4_root_clk_div as the main_clk of PWMSS. It is fixed-factored clock
      equal to L4PER2_L3_GICLK/2(l3_iclk_div/2).
      Signed-off-by: NVignesh R <vigneshr@ti.com>
      [fcooper@ti.com: Do not add eQEP, ePWM and eCAP hwmod entries]
      Signed-off-by: NFranklin S Cooper Jr <fcooper@ti.com>
      [paul@pwsan.com: fixed sparse warnings; added missing comments]
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      b05ff3c3