1. 11 Mar, 2015 1 commit
    • Charlie Mooney's avatar
      Input: elants_i2c - append hw_version to FW file · 37dee1ac
      Charlie Mooney authored
      Currently the elants_i2c driver simply requests a static filename
      /lib/firmware/elants_i2c.bin when it gets firmware updates.  This is a
      problem if you have two Elan touchscreens using the same driver.  If both
      touchscreens have different firmwares, you would need to move the files
      around in your filesystem when you're updating them so that they don't get
      updated with the other's FW.  If you have a read-only filesystem then this
      is impossible, even.
      
      This patch changes the elants_i2c driver to automatically append the
      four-hex-digit hw_version of the device onto the name of the FW file it's
      requesting for update.  Since different touchscreens should have a
      different hw_version's this means the user needs to append the hw version
      of the touchscreen he or she intends to update onto the end of the firmware
      filename and then the driver will do the rest.
      
      The firmware filenames it looks for now are of the form:
      
        elants_i2c_${HW_VERSION}.bin
      
        eg:
      
        elants_i2c_2a44.bin
      Signed-off-by: default avatarCharlie Mooney <charliemooney@chromium.org>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      37dee1ac
  2. 10 Mar, 2015 1 commit
  3. 08 Mar, 2015 4 commits
  4. 07 Mar, 2015 5 commits
  5. 06 Mar, 2015 4 commits
  6. 02 Mar, 2015 1 commit
  7. 16 Feb, 2015 11 commits
  8. 15 Feb, 2015 6 commits
  9. 12 Feb, 2015 2 commits
  10. 10 Feb, 2015 1 commit
  11. 09 Feb, 2015 4 commits
    • Linus Torvalds's avatar
      Linux 3.19 · bfa76d49
      Linus Torvalds authored
      bfa76d49
    • Linus Torvalds's avatar
      Merge tag 'nios2-fixes-v3.19-final' of git://git.rocketboards.org/linux-socfpga-next · da2d96d3
      Linus Torvalds authored
      Pull nios2 fix from Ley Foon Tan:
       "This fixes incorrect behavior of some user programs"
      
      * tag 'nios2-fixes-v3.19-final' of git://git.rocketboards.org/linux-socfpga-next:
        nios2: fix unhandled signals
      da2d96d3
    • Linus Torvalds's avatar
      Merge git://git.kvack.org/~bcrl/aio-fixes · cdecbb33
      Linus Torvalds authored
      Pull aio nested sleep annotation from Ben LaHaise,
      
      * git://git.kvack.org/~bcrl/aio-fixes:
        aio: annotate aio_read_event_ring for sleep patterns
      cdecbb33
    • Linus Torvalds's avatar
      Merge tag 'trace-fixes-v3.19-rc7' of... · 4e02370f
      Linus Torvalds authored
      Merge tag 'trace-fixes-v3.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
      
      Pull ftrace fixes from Steven Rostedt:
       "During testing Sedat Dilek hit a "suspicious RCU usage" splat that
        pointed out a real bug.  During suspend and resume the tlb_flush
        tracepoint is called when the CPU is going offline.  As the CPU has
        been noted as offline, RCU is ignoring that CPU, which means that it
        can not use RCU protected locks.  When tracepoints are activated, they
        require RCU locking, and if RCU is ignoring a CPU that runs a
        tracepoint, there is a chance that the tracepoint could cause
        corruption.
      
        The solution was to change the tracepoint into a
        TRACE_EVENT_CONDITION() which allows us to check a condition to
        determine if the tracepoint should be called or not.  If the condition
        is not met, the rcu protected code will not be executed.  By adding
        the condition "cpu_online(smp_processor_id())", this will prevent the
        RCU protected code from being executed if the CPU is marked offline.
      
        After adding this, another bug was discovered.  As RCU checks rcu
        callers, if a rcu call is not done, there is no check (obviously).  We
        found that tracepoints could be added in RCU ignored locations and not
        have lockdep complain until the tracepoint is activated.  This missed
        places where tracepoints were added in places they should not have
        been.  To fix this, code was added in 3.18 that if lockdep is enabled,
        any tracepoint will still call the rcu checks even if the tracepoint
        is not enabled.  The bug here, is that the check does not take the
        CONDITION into account.  As the condition may prevent tracepoints from
        being activated in RCU ignored areas (as the one patch does), we get
        false positives when we enable lockdep and hit a tracepoint that the
        condition prevents it from being called in a RCU ignored location.
      
        The fix for this is to add the CONDITION to the rcu checks, even if
        the tracepoint is not enabled"
      
      * tag 'trace-fixes-v3.19-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        x86/tlb/trace: Do not trace on CPU that is offline
        tracing: Add condition check to RCU lockdep checks
      4e02370f