Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 3 #4

Open
wants to merge 127 commits into
base: android_2.3.4
Choose a base branch
from
Open

Patch 3 #4

wants to merge 127 commits into from

Commits on Jul 29, 2011

  1. Configuration menu
    Copy the full SHA
    97c7c3d View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2011

  1. boost OC to 1.16 GHz

    faux123 committed Aug 6, 2011
    Configuration menu
    Copy the full SHA
    a315348 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c48470 View commit details
    Browse the repository at this point in the history
  3. Revert "boost OC to 1.16 GHz" (not stable :p )

    This reverts commit a315348.
    faux123 committed Aug 6, 2011
    Configuration menu
    Copy the full SHA
    81caa87 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2011

  1. Quick hack to throw away any mem=,nvmem=,vmalloc= args in cmdline, to…

    … be replaced with an Atrix-appropriate CONFIG_CMDLINE, if CONFIG_CMDLINE_PREPEND_ATRIX=y (which should contain the proper mem=,nvmem=,vmalloc=). This way, even though the unlockable international bootloader passes the wrong mem=, we can hack it in .config, and still not need boot.img unique for each tegrapart, since we now inherit the rest of cmdline from bootloader.
    eval- authored and faux123 committed Aug 11, 2011
    Configuration menu
    Copy the full SHA
    89d5762 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d19587 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3518c49 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd65ea5 View commit details
    Browse the repository at this point in the history
  5. Revert "setup.c: fixed stackframe overflow issue. Fixed compiler warn…

    …ings"
    
    Heap memory not initialized yet. DOH!
    This reverts commit 3518c49.
    faux123 committed Aug 11, 2011
    Configuration menu
    Copy the full SHA
    3dfc173 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2011

  1. Fixed OC bug

    faux123 committed Aug 26, 2011
    Configuration menu
    Copy the full SHA
    1e584ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51b6dec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe16733 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3455021 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2011

  1. Fixed a minor code error

    faux123 committed Aug 27, 2011
    Configuration menu
    Copy the full SHA
    a86a68d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ccf784 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2011

  1. defconfig regen

    faux123 committed Sep 2, 2011
    Configuration menu
    Copy the full SHA
    28d01cb View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2011

  1. Optimized ARM RWSEM algorithm

    RWSEM implementation for ARM using atomic functions.
    Heavily based on arch/sh/include/asm/rwsem.h
    
    Signed-off-by: Ashwin Chaugule <[email protected]>
    Ashwin Chaugule authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    a4b7df6 View commit details
    Browse the repository at this point in the history
  2. ARM: SMP: remove per_cpu based spinlock in do_IPI()

    The spinlock used in the do_IPI function is declared in per_cpu section,
    and it does not have the cache snooping which can cause the spinlock
    failure.
    
    This fix is based on the main kernel tree:
     - ARM: SMP: avoid using bitmasks and locks for IPIs, use hardware
       instead
       commit 24480d9
    
     - ARM: SMP: remove IRQ-disabling for smp_cross_call()
       commit 0df7095
    
    BUG 798775
    
    Change-Id: I6e03027cb3f586803a260e216c71fc2fd74d09f2
    Reviewed-on: http://git-master/r/23779
    Reviewed-by: Xin Xie <[email protected]>
    Tested-by: Xin Xie <[email protected]>
    Reviewed-by: Bharat Nihalani <[email protected]>
    Xin Xie authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    aab2b7e View commit details
    Browse the repository at this point in the history
  3. tegra: Halt AVP when entering suspend

    Taken from the p999's v21e drop
    rmcc authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    c15fdb5 View commit details
    Browse the repository at this point in the history
  4. ARM: tegra: Enable PL310 dynamic clock gating

    The cache controller will stop its clock when idle after several
    clock cycles.
    
    Change-Id: Ifc9997d4e7fd4f1e3c6129bac2fd42f8995a069e
    Signed-off-by: Todd Poynor <[email protected]>
    toddpoynor authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    ad4199e View commit details
    Browse the repository at this point in the history
  5. ARM: tegra: PL310 restore dynamic clock gating on resume

    Tegra 2.6.36 code needs to restore PL310 dynamic clock gating upon
    resume from a power event.
    
    As of 2.6.39 the PL310 is re-init'ed from scratch upon resume,
    and this patch can be dropped.
    
    Change-Id: I8c1fb1add3c3cfcffff58fab642b84d8d5a7a90a
    Signed-off-by: Todd Poynor <[email protected]>
    toddpoynor authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    5a7ec5b View commit details
    Browse the repository at this point in the history
  6. rcu: Accelerate callback processing on CPUs not detecting GP end

    An earlier fix for a race resulted in a situation where the CPUs
    other than the CPU that detected the end of the grace period would
    not process their callbacks until the next grace period started.
    
    This means that these other CPUs would unnecessarily demand that an
    extra grace period be started.
    
    This patch eliminates this extra grace period and speeds callback
    processing by propagating rsp->completed to the rcu_node structures
    in the case where the CPU detecting the end of the grace period
    sees no reason to start a new grace period.
    
    Signed-off-by: Paul E. McKenney <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    LKML-Reference: <1258094104417-git-send-email->
    Signed-off-by: Ingo Molnar <[email protected]>
    paulmck authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    ebe56bc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff99333 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d1c502 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    78c7cbe View commit details
    Browse the repository at this point in the history
  10. The current jhash.h implements the lookup2() hash function by Bob Jen…

    …kins.
    
    However, lookup2() is outdated as Bob wrote a new hash function called
    lookup3(). The new hash function
    
    - mixes better than lookup2(): it passes the check that every input bit
    changes every output bit 50% of the time, while lookup2() failed it.
    - performs better: compiled with -O2 on Core2 Duo, lookup3() is 20-40%
    faster than lookup2() depending on the key length.
    
    The patch replaces the lookup2() implementation of the 'jhash*'
    functions with that of lookup3() in linux/jhash.h.
    
    You can read a longer comparison of the Jenkins and other hash functions
    at http://burtleburtle.net/bob/hash/doobs.html.
    
    Signed-off-by: Jozsef Kadlecsik <[email protected]>
    faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    6739587 View commit details
    Browse the repository at this point in the history
  11. cpufreq: address the issue with sibling cores forgetting min/max clock

    frequency by copying policy from sibling CPU and save the policy to percpu
    policy saved data as well for Power Management hotplugs
    faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    fe9b40f View commit details
    Browse the repository at this point in the history
  12. [ARM/tegra] RM: Stopped DVFS in PM_SUSPEND_PREPARE.

    Bug 760630
    
    Change-Id: If5e4ac1045cdb46d12a03bf47f24fb712fdbd11e
    Reviewed-on: http://git-master/r/11632
    Reviewed-by: Niket Sirsi <[email protected]>
    Tested-by: Niket Sirsi <[email protected]>
    Alex Frid authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    ee534fb View commit details
    Browse the repository at this point in the history
  13. [ARM/tegra] RM: Disabled 3D power gating in LP1.

    Bug 753226
    
    Change-Id: I34e9e392580b38d4ebf805ce984a800097adf09a
    Reviewed-on: http://git-master/r/11527
    Tested-by: Aleksandr Frid <[email protected]>
    Reviewed-by: Narendra Damahe <[email protected]>
    Reviewed-by: Yu-Huan Hsu <[email protected]>
    Alex Frid authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    1f76745 View commit details
    Browse the repository at this point in the history
  14. [ARM/tegra] RM: Updated power ungating procedure.

    Since core power partition can be un-gated at low voltage - e.g., on
    exit from LP1, disable partition clocks before de-asserting reset
    (instead of disabling clocks immediately after reset is de-asserted).
    
    Change-Id: Ic56685186d14525fcc1fca1c933e90b7879e7b6c
    Reviewed-on: http://git-master/r/10199
    Tested-by: Aleksandr Frid <[email protected]>
    Reviewed-by: Narendra Damahe <[email protected]>
    Tested-by: Narendra Damahe <[email protected]>
    Reviewed-by: Yu-Huan Hsu <[email protected]>
    Alex Frid authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    a1b9148 View commit details
    Browse the repository at this point in the history
  15. ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)

    The SWP instruction was deprecated in the ARMv6 architecture, superseded
    by the LDREX/STREX family of instructions for
    load-linked/store-conditional operations. The ARMv7 multiprocessing
    extensions mandate that SWP/SWPB instructions are treated as undefined
    from reset, with the ability to enable them through the System Control
    Register SW bit.
    
    This patch adds the alternative solution to emulate the SWP and SWPB
    instructions using LDREX/STREX sequences, and log statistics to
    /proc/cpu/swp_emulation. To correctly deal with copy-on-write, it also
    modifies cpu_v7_set_pte_ext to change the mappings to priviliged RO when
    user RO.
    
    Signed-off-by: Leif Lindholm <[email protected]>
    Signed-off-by: Catalin Marinas <[email protected]>
    Change-Id: I10616601fb05643561e5301064c115ee268846bf
    (cherry picked from commit 81b437e0fabd3049f141bc5820970c325c478574)
    Reviewed-on: http://git-master/r/10091
    Reviewed-by: Jonathan Mayo <[email protected]>
    Tested-by: Jonathan Mayo <[email protected]>
    Reviewed-by: Yu-Huan Hsu <[email protected]>
    Leif Lindholm authored and faux123 committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    e3bf51d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2011

  1. the kernel's memcpy and memmove is very inefficient. But the glibc ve…

    …rsion is quite fast, in some cases it is 10 times faster than the kernel version. So I introduce some memory copy macros and functions of the glibc to improve the kernel version's performance.
    
    The strategy of the memory functions is:
    1. Copy bytes until the destination pointer is aligned.
    2. Copy words in unrolled loops.  If the source and destination are not aligned
       in the same way, use word memory operations, but shift and merge two read
       words before writing.
    3. Copy the few remaining bytes.
    
    Signed-off-by: Miao Xie <miaox*******>
    faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    d5aa82a View commit details
    Browse the repository at this point in the history
  2. the performance of memcpy and memmove of the general version is very …

    …inefficient, this patch improved them.
    
    Signed-off-by: Miao Xie <miaox*******>
    faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    d2dada9 View commit details
    Browse the repository at this point in the history
  3. removed two instances of trailing whitespaces

     - remove trailing whitespace from lib/crc32.c
     - remove trailing whitespace from lib/crc32defs.h
    
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    d51644b View commit details
    Browse the repository at this point in the history
  4. Moved a long comment from lib/crc32.c to Documentation/crc32.txt wher…

    …e it will more likely get read
    
    Edited the resulting document to add an explanation of the slicing-by-n algorithm.
    
    Signed-off-by: George Spelvin <[email protected]>
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    6b129ba View commit details
    Browse the repository at this point in the history
  5. Replaced the unit test provided in crc32.c, which doesn't have a make…

    …file and doesn't compile with current headers, with a simpler self test routine that also gives a measure of performance and runs at module init time. The self test option can be enabled through a configuration option CONFIG_CRC32_SELFTEST.
    
    The test stresses the pre and post loops and is thus not very
    realistic since actual uses will likely have addresses and lengths
    that are at least 4 byte aligned. However, the main loop is long
    enough so that the performance is dominated by that loop.
    
    The expected values for crc32_le and crc32_be were generated
    with the original version of crc32.c using CRC_BITS_LE = 8 and
    CRC_BITS_BE = 8. These values were then used to check all the
    values of the BITS parameters in both the original and new versions.
    
    The performance results show some variability from run to run
    in spite of attempts to both warm the cache and reduce the amount
    of OS noise by limiting interrutps during the test. To get comparable
    results and to analyse options wrt performance the best time
    reported over a small sample of runs has been taken.
    
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    737b85e View commit details
    Browse the repository at this point in the history
  6. crc32: minor optimizations and cleanup

    Move common crc body to new function crc32_body() cleaup and micro
    optimize crc32_body for speed and less size.
    
    [[email protected]: coding-style fixes]
    Signed-off-by: Joakim Tjernlund <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    joakim-tjernlund authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    371dce2 View commit details
    Browse the repository at this point in the history
  7. crc32: some minor cleanups

    Signed-off-by: Joakim Tjernlund <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    joakim-tjernlund authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    cb5ae31 View commit details
    Browse the repository at this point in the history
  8. crc32: major optimization

    Precompute more crc32 values(0xcc00, 0xcc0000 and 0xcc000000) into tables.
     This increases the table size from 1KB to 4KB but the performance benfit
    makes it worth it:
    
    28% faster on MPC8321, 266 MHz
    2x faster on Core 2 Duo, 3.1GHz
    
    [[email protected]: coding-style fixes]
    Signed-off-by: Joakim Tjernlund <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    joakim-tjernlund authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    5efa045 View commit details
    Browse the repository at this point in the history
  9. Replace 2D array references by pointer references in loops.

    This change has no effect on X86 code but improves PPC performance.
    
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    ff69ad9 View commit details
    Browse the repository at this point in the history
  10. Misc cleanup of lib/crc32.c and related files

     - removed unnecessary header files.
     - straightened out some convoluted ifdef's
     - rewrote some references to 2 dimensional arrays as 1 dimensional
       arrays to make them correct. I.e. replaced tab[i] with
       tab[0][i].
     - a few trivial whitespace changes
     - fixed a warning in gen_crc32tables.c caused by a mismatch in the
       type of the pointer passed to output table. Since the table is
       only used at kernel compile time, it is simpler to make the table
       big enough to hold the largest column size used. One cannot make
       the column size smaller in output_table because it has to be
       used by both the le and be tables and they can have different
       column sizes.
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    fa107e0 View commit details
    Browse the repository at this point in the history
  11. Fix __CHECK_ENDIAN__ warnings

    crc32.c in its original version freely mixed u32, __le32 and __be32
    types which caused warnings from sparse with __CHECK_ENDIAN__. This
    patch fixes these by forcing the types to u32.
    
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    89e17d8 View commit details
    Browse the repository at this point in the history
  12. crc32: add real 8 bit

    crc32.c provides a choice of one
    of several algorithms for computing the LSB and LSB
    versions of the CRC32 checksum based on the parameters
    CRC_LE_BITS and CRC_BE_BITS. In the original version the
    values 1, 2, 4 and 8 respectively selected versions of the
    alrogithm that computed the crc 1, 2, 4 and 32 bits as a
    time. This patch series adds a new version that computes
    the CRC 64 bits at a time. To make things easier to
    understand the parameter has been reinterpreted to actually
    stand for the number of bits processed in each step of the
    algorithm so that the old value 8 has been replaced with
    the value 32. This also allows us to add in a widely used
    crc algorithm that computes the crc 8 bits at a time called
    the Sarwate algorithm.
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    65d4d66 View commit details
    Browse the repository at this point in the history
  13. add slicing-by-8 algorithm to the existing slicing-by-4 algorithm.

    This consists of:
     - extend largest BITS size from 32 to 64
     - extend tables from tab[4][256] to up to tab[8][256]
     - Add code for inner loop.
    
    Signed-off-by: Bob Pearson <[email protected]>
    modified by faux123
    faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    08eea37 View commit details
    Browse the repository at this point in the history
  14. Add two changes that improve the performance of x86 systems

    1. replace main loop with incrementing counter
       this change improves the performance of the selftest by about 5-6%
       on Nehalem CPUs. The apparent reason is that the compiler can use
       the loop index to perform an indexed memory access. This is reported
       to make the performance of PowerPC CPUs to get worse.
    
    2. replace the rem_len loop with incrementing counter
       this change improves the performance of the selftest, which has more
       than the usual number of occurances, by about 1-2% on x86 CPUs.
       In actual work loads the length is most often a multiple of 4 bytes
       and this code does not get executed as often if at all.
       Again this change is reported to make the performance of PowerPC
       get worse.
    
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    2cce306 View commit details
    Browse the repository at this point in the history
  15. Some final changes

     - added a comment at the top of crc32.c
    
    Signed-off-by: Bob Pearson <[email protected]>
    rpears0n authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    2b6d252 View commit details
    Browse the repository at this point in the history
  16. crc32: Bolt on crc32c

    Reuse the existing crc32 code to stamp out a crc32c implementation.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Darrick J. Wong authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    3d3c52b View commit details
    Browse the repository at this point in the history
  17. crypto: crc32c should use library implementation

    Since lib/crc32.c now provides crc32c, remove the software implementation here
    and call the library function instead.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Darrick J. Wong authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    de8a030 View commit details
    Browse the repository at this point in the history
  18. crc32: Add self-test code for crc32c

    Add self-test code for crc32c.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Darrick J. Wong authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    d9c5e7c View commit details
    Browse the repository at this point in the history
  19. crc32: Select an algorithm via kconfig

    Allow the kernel builder to choose a crc32* algorithm for the kernel.
    
    Signed-off-by: Darrick J. Wong <[email protected]>
    Darrick J. Wong authored and faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    c7ede9a View commit details
    Browse the repository at this point in the history
  20. android binder: update to latest AOSP kernel source

    binder: Move debugging information from procfs to debugfs
    binder: Use seq_file for debug interface.
    faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    55e8e50 View commit details
    Browse the repository at this point in the history
  21. android lowmemorykiller: Update to latest AOSP kernel

    lowmemorykiller: don't unregister notifier from atomic context
    lowmemorykiller: Don't wait more than one second for a process to die
    lowmemorykiller: Ignore shmem pages in page-cache
    faux123 committed Oct 23, 2011
    Configuration menu
    Copy the full SHA
    82830e8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    5274475 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2011

  1. Configuration menu
    Copy the full SHA
    858e0ff View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2011

  1. patch to 2.6.32.10

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    bd6c00d View commit details
    Browse the repository at this point in the history
  2. patch to 2.6.32.11

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    c782e11 View commit details
    Browse the repository at this point in the history
  3. patch to 2.6.32.12

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    96a74fd View commit details
    Browse the repository at this point in the history
  4. patch to 2.6.32.13

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    446a4c6 View commit details
    Browse the repository at this point in the history
  5. patch to 2.6.32.14

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    c1fc9fa View commit details
    Browse the repository at this point in the history
  6. patch to 2.6.32.17

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    f4e9c66 View commit details
    Browse the repository at this point in the history
  7. patch to 2.6.32.19

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    ae4f5f2 View commit details
    Browse the repository at this point in the history
  8. patch to 2.6.32.20

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    0d5aaeb View commit details
    Browse the repository at this point in the history
  9. patch 2.6.32.21

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    b87f4e2 View commit details
    Browse the repository at this point in the history
  10. patch to 2.6.32.22

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    342c228 View commit details
    Browse the repository at this point in the history
  11. patch to 2.6.32.23

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    e03d366 View commit details
    Browse the repository at this point in the history
  12. patch to 2.6.32.25

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    c626337 View commit details
    Browse the repository at this point in the history
  13. patch to 2.6.32.26

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    2a0c901 View commit details
    Browse the repository at this point in the history
  14. patch to 2.6.32.27

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    82807e3 View commit details
    Browse the repository at this point in the history
  15. patch to 2.6.32.28

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    6e1f71b View commit details
    Browse the repository at this point in the history
  16. patch to 2.6.32.29

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    1aed63e View commit details
    Browse the repository at this point in the history
  17. patch to 2.6.32.33

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    8cf1827 View commit details
    Browse the repository at this point in the history
  18. patch to 2.6.32.39

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    a52117a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c837b46 View commit details
    Browse the repository at this point in the history
  20. rcu: Accelerate grace period if last non-dynticked CPU

    Currently, rcu_needs_cpu() simply checks whether the current CPU
    has an outstanding RCU callback, which means that the last CPU
    to go into dyntick-idle mode might wait a few ticks for the
    relevant grace periods to complete.  However, if all the other
    CPUs are in dyntick-idle mode, and if this CPU is in a quiescent
    state (which it is for RCU-bh and RCU-sched any time that we are
    considering going into dyntick-idle mode), then the grace period
    is instantly complete.
    
    This patch therefore repeatedly invokes the RCU grace-period
    machinery in order to force any needed grace periods to complete
    quickly.  It does so a limited number of times in order to
    prevent starvation by an RCU callback function that might pass
    itself to call_rcu().
    
    However, if any CPU other than the current one is not in
    dyntick-idle mode, fall back to simply checking (with fix to bug
    noted by Lai Jiangshan).  Also, take advantage of last
    grace-period forcing, the opportunity to do so noted by Steve
    Rostedt.  And apply simplified #ifdef condition suggested by
    Frederic Weisbecker.
    
    Signed-off-by: Paul E. McKenney <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    LKML-Reference: <[email protected]>
    Signed-off-by: Ingo Molnar <[email protected]>
    paulmck authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    74110e6 View commit details
    Browse the repository at this point in the history
  21. rcu: "Tiny RCU", The Bloatwatch Edition

    This patch is a version of RCU designed for !SMP provided for a
    small-footprint RCU implementation.  In particular, the
    implementation of synchronize_rcu() is extremely lightweight and
    high performance. It passes rcutorture testing in each of the
    four relevant configurations (combinations of NO_HZ and PREEMPT)
    on x86.  This saves about 1K bytes compared to old Classic RCU
    (which is no longer in mainline), and more than three kilobytes
    compared to Hierarchical RCU (updated to 2.6.30):
    
    	CONFIG_TREE_RCU:
    
    	   text	   data	    bss	    dec	    filename
    	    183       4       0     187     kernel/rcupdate.o
    	   2783     520      36    3339     kernel/rcutree.o
    				   3526 Total (vs 4565 for v7)
    
    	CONFIG_TREE_PREEMPT_RCU:
    
    	   text	   data	    bss	    dec	    filename
    	    263       4       0     267     kernel/rcupdate.o
    	   4594     776      52    5422     kernel/rcutree.o
    	   			   5689 Total (6155 for v7)
    
    	CONFIG_TINY_RCU:
    
    	   text	   data	    bss	    dec	    filename
    	     96       4       0     100     kernel/rcupdate.o
    	    734      24       0     758     kernel/rcutiny.o
    	    			    858 Total (vs 848 for v7)
    
    The above is for x86.  Your mileage may vary on other platforms.
    Further compression is possible, but is being procrastinated.
    
    Changes from v7 (http://lkml.org/lkml/2009/10/9/388)
    
    o	Apply Lai Jiangshan's review comments (aside from
    might_sleep() 	in synchronize_sched(), which is covered by SMP builds).
    
    o	Fix up expedited primitives.
    
    Changes from v6 (http://lkml.org/lkml/2009/9/23/293).
    
    o	Forward ported to put it into the 2.6.33 stream.
    
    o	Added lockdep support.
    
    o	Make lightweight rcu_barrier.
    
    Changes from v5 (http://lkml.org/lkml/2009/6/23/12).
    
    o	Ported to latest pre-2.6.32 merge window kernel.
    
    	- Renamed rcu_qsctr_inc() to rcu_sched_qs().
    	- Renamed rcu_bh_qsctr_inc() to rcu_bh_qs().
    	- Provided trivial rcu_cpu_notify().
    	- Provided trivial exit_rcu().
    	- Provided trivial rcu_needs_cpu().
    	- Fixed up the rcu_*_enter/exit() functions in linux/hardirq.h.
    
    o	Removed the dependence on EMBEDDED, with a view to making
    	TINY_RCU default for !SMP at some time in the future.
    
    o	Added (trivial) support for expedited grace periods.
    
    Changes from v4 (http://lkml.org/lkml/2009/5/2/91) include:
    
    o	Squeeze the size down a bit further by removing the
    	->completed field from struct rcu_ctrlblk.
    
    o	This permits synchronize_rcu() to become the empty function.
    	Previous concerns about rcutorture were unfounded, as
    	rcutorture correctly handles a constant value from
    	rcu_batches_completed() and rcu_batches_completed_bh().
    
    Changes from v3 (http://lkml.org/lkml/2009/3/29/221) include:
    
    o	Changed rcu_batches_completed(), rcu_batches_completed_bh()
    	rcu_enter_nohz(), rcu_exit_nohz(), rcu_nmi_enter(), and
    	rcu_nmi_exit(), to be static inlines, as suggested by David
    	Howells.  Doing this saves about 100 bytes from rcutiny.o.
    	(The numbers between v3 and this v4 of the patch are not directly
    	comparable, since they are against different versions of Linux.)
    
    Changes from v2 (http://lkml.org/lkml/2009/2/3/333) include:
    
    o	Fix whitespace issues.
    
    o	Change short-circuit "||" operator to instead be "+" in order
    to 	fix performance bug noted by "kraai" on LWN.
    
    		(http://lwn.net/Articles/324348/)
    
    Changes from v1 (http://lkml.org/lkml/2009/1/13/440) include:
    
    o	This version depends on EMBEDDED as well as !SMP, as suggested
    	by Ingo.
    
    o	Updated rcu_needs_cpu() to unconditionally return zero,
    	permitting the CPU to enter dynticks-idle mode at any time.
    	This works because callbacks can be invoked upon entry to
    	dynticks-idle mode.
    
    o	Paul is now OK with this being included, based on a poll at
    the 	Kernel Miniconf at linux.conf.au, where about ten people said
    	that they cared about saving 900 bytes on single-CPU systems.
    
    o	Applies to both mainline and tip/core/rcu.
    
    Signed-off-by: Paul E. McKenney <[email protected]>
    Acked-by: David Howells <[email protected]>
    Acked-by: Josh Triplett <[email protected]>
    Reviewed-by: Lai Jiangshan <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    LKML-Reference: <12565226351355-git-send-email->
    Signed-off-by: Ingo Molnar <[email protected]>
    paulmck authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    0dba630 View commit details
    Browse the repository at this point in the history
  22. rcu: Do tiny cleanups in rcutiny

    No change in functionality - just straighten out a few small
    stylistic details.
    
    Cc: Paul E. McKenney <[email protected]>
    Cc: David Howells <[email protected]>
    Cc: Josh Triplett <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    LKML-Reference: <12565226351355-git-send-email->
    Signed-off-by: Ingo Molnar <[email protected]>
    Ingo Molnar authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    1c36a76 View commit details
    Browse the repository at this point in the history
  23. rcu: Eliminate unneeded function wrapping

    The functions rcu_init() is a wrapper for __rcu_init(), and also
    sets up the CPU-hotplug notifier for rcu_barrier_cpu_hotplug().
    But TINY_RCU doesn't need CPU-hotplug notification, and the
    rcu_barrier_cpu_hotplug() is a simple wrapper for
    rcu_cpu_notify().
    
    So push rcu_init() out to kernel/rcutree.c and kernel/rcutiny.c
    and get rid of the wrapper function rcu_barrier_cpu_hotplug().
    
    Signed-off-by: Paul E. McKenney <[email protected]>
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    Cc: [email protected]
    LKML-Reference: <12589088302320-git-send-email->
    Signed-off-by: Ingo Molnar <[email protected]>
    paulmck authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    c115c1b View commit details
    Browse the repository at this point in the history
  24. input: evdev: Add missing wake_lock_destroy

    Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
    Signed-off-by: Benoit Goby <[email protected]>
    benoitgoby authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    ca43ee0 View commit details
    Browse the repository at this point in the history
  25. Add zram driver

    rmcc authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    b9ccef1 View commit details
    Browse the repository at this point in the history
  26. swap: Add swap slot free callback to block_device_operations

    This callback is required when RAM based devices are used as swap disks.
    One such device is ramzswap which is used as compressed in-memory swap
    disk.  For such devices, we need a callback as soon as a swap slot is no
    longer used to allow freeing memory allocated for this slot.  Without this
    callback, stale data can quickly accumulate in memory defeating the whole
    purpose of such devices.
    
    Signed-off-by: Nitin Gupta <[email protected]>
    Acked-by: Linus Torvalds <[email protected]>
    Acked-by: Nigel Cunningham <[email protected]>
    Acked-by: Pekka Enberg <[email protected]>
    Reviewed-by: Minchan Kim <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
    Nitin Gupta authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    be0f888 View commit details
    Browse the repository at this point in the history
  27. zram: Fix sparse warnings

    Fixes sparse warning:
    zram_drv.c:666:6: warning: symbol 'zram_slot_free_notify' was not
    declared. Should it be static?
    
    Also, max_zpage_size is now size_t just to be consistent with data-type
    of other variables maintaining sizes of various kinds.
    
    Signed-off-by: Nitin Gupta <[email protected]>
    Nitin Gupta authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    1e48213 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    77a3493 View commit details
    Browse the repository at this point in the history
  29. zram: Kernel config option for number of devices

    Allows configuring default number of zram devices
    as kernel config option. User can override this
    value using 'num_devices' module parameter.
    
    Signed-off-by: Nitin Gupta <[email protected]>
    Nitin Gupta authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    fe6ad82 View commit details
    Browse the repository at this point in the history
  30. zram: Simplify zram disk resizing interface

    Also remove unnecessary messages.
    
    Signed-off-by: Nitin Gupta <[email protected]>
    Reviewed-by: Jerome Marchand <[email protected]>
    Nitin Gupta authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    a35e3a3 View commit details
    Browse the repository at this point in the history
  31. zram: Set initial disksize to some default value

    Currently, we set initial disksize as 0, which forces
    user to write some value to corresponding zram device's
    sysfs node, before the device can be used. Now, we avoid
    this step by providing some default size initially.
    
    To change the disksize, user must:
     - Reset disk.
    	Ex: echo 1 > /sys/block/zram0/reset
    (NOTE: disksize is set to the default value after reset)
     - Set new disksize.
    	Ex: echo $((256*1024*1024)) > /sys/block/zram0/disksize
    Signed-off-by: Nitin Gupta <[email protected]>
    Reviewed-by: Jerome Marchand <[email protected]>
    Nitin Gupta authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    9f5291c View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    7bf39e1 View commit details
    Browse the repository at this point in the history
  33. staging:lowmemkiller add Fudgeswap

    fudgeswap acts as follows:
    
    If set to non zero (defualt is 512k):
    	Check for the amount of SWAP_FREE space avalible
    	If > 0KB is avalible:
    		if fudgeswap > swapfree:
    			other_file += swapfree
    		else:
    			other_file += fugeswap
    
    In short: we will add in fugeswap as long as its less then the free swap
    
    Setting this to a very large positive number will indicate swap ought
    to be fully used as free (and will slow the system down)
    
    smaller numbers will allow you to put some pressure on SWAP without
    slowing the system down as much.
    
    small negitive numbers will allow the system to be faster at the same
    minfree level.
    
    default is 512 to give a very little bit of pressure to use some swap
    but this can be modified at runtime via:
    /sys/module/lowmemorykiller/parameters/fugeswap
    originally by ezterry, modifiedy by faux123
    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    06d48d3 View commit details
    Browse the repository at this point in the history
  34. mmc: core: put eMMC in sleep (cmd5) mode before suspend

    Put MMC to sleep if it supports SLEEP/AWAKE (CMD5) in the mmc suspend
    to minimize power consumption.
    
    Signed-off-by: Balaji T K <[email protected]>
    Acked-by: Venkatraman S <[email protected]>
    Signed-off-by: Chris Ball <[email protected]>
    Signed-off-by: Subhash Jadavani <[email protected]>
    (cherry picked from commit 3765839)
    
    Change-Id: I0c0d5d06c4204b15471d1ca95aec0c7fcaaae816
    Signed-off-by: Shruthi Krishna <[email protected]>
    balajitk authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    f5297e5 View commit details
    Browse the repository at this point in the history
  35. PM: wakelocks: Display wakelocks preventing suspend by default

    Use DEBUG_WAKEUP flag to show wakelocks that abort suspend, in
    addition to showing wakelocks held during system resume.
    DEBUG_WAKEUP is enabled by default.
    
    Change-Id: If6fa68e8afbc482a5300ffab2964694b02b34f41
    Signed-off-by: Todd Poynor <[email protected]>
    toddpoynor authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    0056a55 View commit details
    Browse the repository at this point in the history
  36. arm: Allow CPU-supported unaligned accesses

    This change reconfigures the CPU to allow CPU-supported unaligned
    accesses, which are generally faster than software-only fixups,
    resulting in fewer alignment exceptions.
    
    Signed-off-by: Brent DeGraaf <[email protected]>
    Brent DeGraaf authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    bc04f2d View commit details
    Browse the repository at this point in the history
  37. decompressors: add XZ decompressor module

    In userspace, the .lzma format has become mostly a legacy file format that
    got superseded by the .xz format.  Similarly, LZMA Utils was superseded by
    XZ Utils.
    
    These patches add support for XZ decompression into the kernel.  Most of
    the code is as is from XZ Embedded <http://tukaani.org/xz/embedded.html>.
    It was written for the Linux kernel but is usable in other projects too.
    
    Advantages of XZ over the current LZMA code in the kernel:
      - Nice API that can be used by other kernel modules; it's
        not limited to kernel, initramfs, and initrd decompression.
      - Integrity check support (CRC32)
      - BCJ filters improve compression of executable code on
        certain architectures. These together with LZMA2 can
        produce a few percent smaller kernel or Squashfs images
        than plain LZMA without making the decompression slower.
    
    This patch: Add the main decompression code (xz_dec), testing module
    (xz_dec_test), wrapper script (xz_wrap.sh) for the xz command line tool,
    and documentation.  The xz_dec module is enough to have a usable XZ
    decompressor e.g.  for Squashfs.
    
    Signed-off-by: Lasse Collin <[email protected]>
    Cc: "H. Peter Anvin" <[email protected]>
    Cc: Alain Knaff <[email protected]>
    Cc: Albin Tonnerre <[email protected]>
    Cc: Phillip Lougher <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    Larhzu authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    bd15ec6 View commit details
    Browse the repository at this point in the history
  38. decompressors: add boot-time XZ support

    This implements the API defined in <linux/decompress/generic.h> which is
    used for kernel, initramfs, and initrd decompression.  This patch together
    with the first patch is enough for XZ-compressed initramfs and initrd;
    XZ-compressed kernel will need arch-specific changes.
    
    The buffering requirements described in decompress_unxz.c are stricter
    than with gzip, so the relevant changes should be done to the
    arch-specific code when adding support for XZ-compressed kernel.
    Similarly, the heap size in arch-specific pre-boot code may need to be
    increased (30 KiB is enough).
    
    The XZ decompressor needs memmove(), memeq() (memcmp() == 0), and
    memzero() (memset(ptr, 0, size)), which aren't available in all
    arch-specific pre-boot environments.  I'm including simple versions in
    decompress_unxz.c, but a cleaner solution would naturally be nicer.
    
    Signed-off-by: Lasse Collin <[email protected]>
    Cc: "H. Peter Anvin" <[email protected]>
    Cc: Alain Knaff <[email protected]>
    Cc: Albin Tonnerre <[email protected]>
    Cc: Phillip Lougher <[email protected]>
    Signed-off-by: Andrew Morton <[email protected]>
    Signed-off-by: Linus Torvalds <[email protected]>
    Larhzu authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    69ca2c1 View commit details
    Browse the repository at this point in the history
  39. ARM: support XZ compressed kernels

    Wire up support for the XZ decompressor
    
    Signed-off-by: Imre Kaloz <[email protected]>
    kaloz authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    27918b8 View commit details
    Browse the repository at this point in the history
  40. From: Sumit Bhattacharya <[email protected]>

    dma_alloc_coherent wants to split pages after allocation in order to
    reduce the memory footprint. This does not work well with GFP_COMP
    pages, so drop this flag before allocation.
    
    This patch is ported from arch/avr32
    (commit 3611553).
    
    Signed-off-by: Sumit Bhattacharya <[email protected]>
    Signed-off-by: Stephen Warren <[email protected]>
    sumitkbh authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    5d37f20 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    b8cf995 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    77e8641 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    6f356ce View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    671f9b4 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    ed78b52 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    ba6ebc4 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    b0afe12 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    dc09b34 View commit details
    Browse the repository at this point in the history
  49. irq: fix build error due to missing irq_pm_syscore_resume

    irq_pm_syscore_resume is only available iff CONFIG_PM_SLEEP (kernel/irq/pm.o is
    only built if this is true). Move the definition (and the dummy definition)
    under that umbrella.
    
    Introduced by the backport of upstream 9bab0b7fbaceec47d32db51cd9e59c82fb071f5a
    as 0f12a6ad9fa3a03f2bcee36c9cb704821e244c40.
    
    Signed-off-by: Ian Campbell <[email protected]>
    Reported-by: Christoph Biedl <[email protected]>
    Reported-by: Antoine Martin <[email protected]>
    Ian Campbell authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    3a8b556 View commit details
    Browse the repository at this point in the history
  50. mmc:core: revert to pre-2.6.32.40 mmc driver

    Atrix's DHD wifi module is not compatible with the new PM scheme
    introduced in 2.6.32.40. This patch will cause a null pointer
    exception when mmc module is awaken from PM suspend.  The null
    pointer exception will eventually lead to a kernel panic which
    causes an instant reboot of the system.
    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    abecebf View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    3df99c6 View commit details
    Browse the repository at this point in the history
  52. rtc alarm: fix bad index when canceling alarms[]

    (backport from common android-3.0
    commit: 692e468137ebb2a31431c4b3fad1dca0a2da7659)
    
    It was using ANDROID_ALARM_ELAPSED_REALTIME_WAKEUP_MASK as an
    index.
    
    Change-Id: I919860cc71254453e382616bce9fd5455802cb3d
    Signed-off-by: JP Abgrall <[email protected]>
    jpa468 authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    598297f View commit details
    Browse the repository at this point in the history
  53. aes1750: Suspend fingerprint sensor earlier

    turl authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    2247ee6 View commit details
    Browse the repository at this point in the history
  54. PM: wakelocks: Don't report wake up wakelock if suspend aborted

    If the wakelock driver aborts suspend due to an already-held
    wakelock, don't report the next wakelock held as the "wake up
    wakelock".
    
    Change-Id: I582ffbb87a3c361739a77d839a0c62921cff11a6
    Signed-off-by: Todd Poynor <[email protected]>
    toddpoynor authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    11b6601 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    9315b63 View commit details
    Browse the repository at this point in the history
  56. sched: don't call task_group() many times in set_task_rq()

    It improves perfomance, especially if autogroup enabled.
    
    The size of set_task_rq() was 0x180 and now it is 0xa0.
    
    Signed-off-by: Andrew Vagin <[email protected]>
    avagin authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    d47b109 View commit details
    Browse the repository at this point in the history
  57. kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire

    LOAD_FREQ is (5*HZ+1) to avoid high load average when idle:
    http://kerneltrap.org/mailarchive/linux-kernel/2007/10/3/328568
    
    I suggest (4*HZ+61) for a better distribution.
    
    With some seconds based load (like SSL heartbeats)
    and LOAD_FREQ at (5*HZ+1) I see Moire patterns like inverse sawtooth,
    since 2 or 3 probes hit the jobs (load increases quickly),
    followed by several probes missing it.
    
    A 4.61 sec interval gives optimal distribution over when within a
    second a probe is taken, as .61 is close to golden ratio phi 1.618...
    (test in http://ripke.com/goldenratio.c).
    
    12*4.61 = 55.32 secs is still close to a minute,
    and 13*4.61=59.93 is even closer than the current 12*5.01=60.12
    (with exponents EXP_x adjusted to a ratio of 13 instead of 12).
    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    bdbe229 View commit details
    Browse the repository at this point in the history
  58. USB: f_mass_storage: Disable write cache support

    As part of mode sense CBW command, communicate to the
    host that write cache support is enabled and due to this
    during the write commnd, the host is asking for FUA and
    because of this write performance is degrading. Hence during
    mode sense command, intimate the host that write cache is not
    supported.
    
    (cherry picked from commit a2da2c47967c3f80a7127b0c698aae300b9c5b91)
    
    Change-Id: I6ec66ff11181eeb70d62d31b7ddfbbf87880a885
    CRs-Fixed: 278310
    Signed-off-by: Chiranjeevi Velempati <[email protected]>
    Chiranjeevi Velempati authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    3f51317 View commit details
    Browse the repository at this point in the history
  59. Input: introduce MT event slots

    With the rapidly increasing number of intelligent multi-contact and
    multi-user devices, the need to send digested, filtered information
    from a set of different sources within the same device is imminent.
    This patch adds the concept of slots to the MT protocol. The slots
    enumerate a set of identified sources, such that all MT events
    can be passed independently and selectively per identified source.
    
    The protocol works like this: Instead of sending a SYN_MT_REPORT
    event immediately after the contact data, one sends an ABS_MT_SLOT
    event immediately before the contact data. The input core will only
    emit events for slots with modified MT events. It is assumed that
    the same slot is used for the duration of an initiated contact.
    
    Acked-by: Ping Cheng <[email protected]>
    Acked-by: Chase Douglas <[email protected]>
    Acked-by: Rafi Rubin <[email protected]>
    Signed-off-by: Henrik Rydberg <[email protected]>
    Signed-off-by: Dmitry Torokhov <[email protected]>
    rydberg authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    24aec64 View commit details
    Browse the repository at this point in the history
  60. input: mt: Break out slots handling

    In preparation for common code to handle a larger set of MT slots
    devices, move the slots handling over to a separate file.
    
    Signed-off-by: Henrik Rydberg <[email protected]>
    rydberg authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    c980207 View commit details
    Browse the repository at this point in the history
  61. [PATCH] input: mt: Add hovering distance axis

    Touch devices capable of hovering, i.e., fingers detected a
    distance from the surface, are not supported by the current
    input MT protocol. This patch adds ABS_MT_DISTANCE, which may
    be used to indicate the distance between the contact and the
    surface.
    
    Signed-off-by: Henrik Rydberg <[email protected]>
    rydberg authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    448e14e View commit details
    Browse the repository at this point in the history
  62. [PATCH] Input: introduce device properties

    Today, userspace sets up an input device based on the data it emits.
    This is not always enough; a tablet and a touchscreen may emit exactly
    the same data, for instance, but the former should be set up with a
    pointer whereas the latter does not need to. Recently, a new type of
    touchpad has emerged where the buttons are under the pad, which
    changes logic without changing the emitted data. This patch introduces
    a new ioctl, EVIOCGPROP, which enables user access to a set of device
    properties useful during setup. The properties are given as a bitmap
    in the same fashion as the event types, and are also made available
    via sysfs, uevent and /proc/bus/input/devices.
    
    Acked-by: Ping Cheng <[email protected]>
    Acked-by: Chase Douglas <[email protected]>
    Acked-by: Dmitry Torokhov <[email protected]>
    Signed-off-by: Henrik Rydberg <[email protected]>
    rydberg authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    1922801 View commit details
    Browse the repository at this point in the history
  63. init/main.c: execute lockdep_init as early as possible

    From: Ming Lei <[email protected]>
    
    This patch removes the lockdep warning[1] on ARM platform.
    The warning is caused by printk inside smp_setup_processor_id.
    
    It is safe to do this because lockdep_init doesn't depend on
    smp_setup_processor_id, so make printk can be called as early
    as possible without lockdep complainment.
    
    [1], lockdep warning
    [    0.000000] WARNING: lockdep init error! Arch code didn't call
    lockdep_init() early enough?
    [    0.000000] Call stack leading to lockdep invocation was:
    [    0.000000]  [<c00164bc>] save_stack_trace_tsk+0x0/0x90
    [    0.000000]  [<ffffffff>] 0xffffffff
    Signed-off-by: Ming Lei <[email protected]>
    ming1 authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    408d5d8 View commit details
    Browse the repository at this point in the history
  64. lockdep: print lock name for lockdep_init_error

    From: Ming Lei <[email protected]>
    
    This patch prints the name of the lock which is acquired
    before lockdep_init is called, so that user can easily find
    which lock trigged the lockdep init error warning.
    
    This patch also removes the lockdep_init_error message
    of "Arch code didn't call lockdep_init() early enough?" since
    lockdep_init is called in arch independent code now.
    
    Signed-off-by: Ming Lei <[email protected]>
    ming1 authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    af26e74 View commit details
    Browse the repository at this point in the history
  65. mm/vmalloc.c: eliminate extra loop in pcpu_get_vm_areas error path

    If either of the vas or vms arrays are not properly kzalloced,
    then the code jumps to the err_free label.
    
    The err_free label runs a loop to check and free each of the array
    members of the vas and vms arrays which is not required for this
    situation as none of the array members have been allocated till this
    point.
    
    Eliminate the extra loop we have to go through by introducing a new
    label err_free2 and then jumping to it.
    
    Signed-off-by: Kautuk Consul <[email protected]>
    Kautuk Consul authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    ff09915 View commit details
    Browse the repository at this point in the history
  66. PM / Suspend: Fix bug in suspend statistics update

    A pair of missing braces inside the state_store() function causes even
    invalid arguments to suspend to be wrongly treated as failed suspend
    attempts. Fix this.
    
    Signed-off-by: Srivatsa S. Bhat <[email protected]>
    Srivatsa S. Bhat authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    d80b3b7 View commit details
    Browse the repository at this point in the history
  67. block: limit default readahead size for small devices

    Linus reports a _really_ small & slow (505kB, 15kB/s) USB device,
    on which blkid runs unpleasantly slow. He manages to optimize the blkid
    reads down to 1kB+16kB, but still kernel read-ahead turns it into 48kB.
    
         lseek 0,    read 1024   => readahead 4 pages (start of file)
         lseek 1536, read 16384  => readahead 8 pages (page contiguous)
    
    The readahead heuristics involved here are reasonable ones in general.
    So it's good to fix blkid with fadvise(RANDOM), as Linus already did.
    
    For the kernel part, Linus suggests:
      So maybe we could be less aggressive about read-ahead when the size of
      the device is small? Turning a 16kB read into a 64kB one is a big deal,
      when it's about 15% of the whole device!
    
    This looks reasonable: smaller device tend to be slower (USB sticks as
    well as micro/mobile/old hard disks).
    
    Given that the non-rotational attribute is not always reported, we can
    take disk size as a max readahead size hint. This patch uses a formula
    that generates the following concrete limits:
    
            disk size    readahead size
         (scale by 4)      (scale by 2)
                   1M                8k
                   4M               16k
                  16M               32k
                  64M               64k
                 256M              128k
            --------------------------- (*)
                   1G              256k
                   4G              512k
                  16G             1024k
                  64G             2048k
                 256G             4096k
    (*) Since the default readahead size is 128k, this limit only takes
    effect for devices whose size is less than 256M.
    
    The formula is determined on the following data, collected by script:
    
    	#!/bin/sh
    
    	# please make sure BDEV is not mounted or opened by others
    	BDEV=sdb
    
    	for rasize in 4 16 32 64 128 256 512 1024 2048 4096 8192
    	do
    		echo $rasize > /sys/block/$BDEV/queue/read_ahead_kb
    		time dd if=/dev/$BDEV of=/dev/null bs=4k count=102400
    	done
    The principle is, the formula shall not limit readahead size to such a
    degree that will impact some device's sequential read performance.
    
    The Intel SSD is special in that its throughput increases steadily with
    larger readahead size. However it may take years for Linux to increase
    its default readahead size to 2MB, so we don't take it seriously in the
    formula.
    
    SSD 80G Intel x25-M SSDSA2M080 (reported by Li Shaohua)
    
    	rasize	1st run		2nd run
    	----------------------------------
    	  4k	123 MB/s	122 MB/s
    	 16k  	153 MB/s	153 MB/s
    	 32k	161 MB/s	162 MB/s
    	 64k	167 MB/s	168 MB/s
    	128k	197 MB/s	197 MB/s
    	256k	217 MB/s	217 MB/s
    	512k	238 MB/s	234 MB/s
    	  1M	251 MB/s	248 MB/s
    	  2M	259 MB/s	257 MB/s
    ==>	  4M	269 MB/s	264 MB/s
    	  8M	266 MB/s	266 MB/s
    Note that ==> points to the readahead size that yields plateau throughput.
    
    SSD 22G MARVELL SD88SA02 MP1F (reported by Jens Axboe)
    
    	rasize  1st             2nd
    	--------------------------------
    	  4k     41 MB/s         41 MB/s
    	 16k     85 MB/s         81 MB/s
    	 32k    102 MB/s        109 MB/s
    	 64k    125 MB/s        144 MB/s
    	128k    183 MB/s        185 MB/s
    	256k    216 MB/s        216 MB/s
    	512k    216 MB/s        236 MB/s
    	1024k   251 MB/s        252 MB/s
    	  2M    258 MB/s        258 MB/s
    ==>       4M    266 MB/s        266 MB/s
    	  8M    266 MB/s        266 MB/s
    SSD 30G SanDisk SATA 5000
    
    	  4k	29.6 MB/s	29.6 MB/s	29.6 MB/s
    	 16k	52.1 MB/s	52.1 MB/s	52.1 MB/s
    	 32k	61.5 MB/s	61.5 MB/s	61.5 MB/s
    	 64k	67.2 MB/s	67.2 MB/s	67.1 MB/s
    	128k	71.4 MB/s	71.3 MB/s	71.4 MB/s
    	256k	73.4 MB/s	73.4 MB/s	73.3 MB/s
    ==>	512k	74.6 MB/s	74.6 MB/s	74.6 MB/s
    	  1M	74.7 MB/s	74.6 MB/s	74.7 MB/s
    	  2M	76.1 MB/s	74.6 MB/s	74.6 MB/s
    
    USB stick 32G Teclast CoolFlash idVendor=1307, idProduct=0165
    
    	  4k	7.9 MB/s 	7.9 MB/s 	7.9 MB/s
    	 16k	17.9 MB/s	17.9 MB/s	17.9 MB/s
    	 32k	24.5 MB/s	24.5 MB/s	24.5 MB/s
    	 64k	28.7 MB/s	28.7 MB/s	28.7 MB/s
    	128k	28.8 MB/s	28.9 MB/s	28.9 MB/s
    ==>	256k	30.5 MB/s	30.5 MB/s	30.5 MB/s
    	512k	30.9 MB/s	31.0 MB/s	30.9 MB/s
    	  1M	31.0 MB/s	30.9 MB/s	30.9 MB/s
    	  2M	30.9 MB/s	30.9 MB/s	30.9 MB/s
    
    USB stick 4G SanDisk  Cruzer idVendor=0781, idProduct=5151
    
    	  4k	6.4 MB/s 	6.4 MB/s 	6.4 MB/s
    	 16k	13.4 MB/s	13.4 MB/s	13.2 MB/s
    	 32k	17.8 MB/s	17.9 MB/s	17.8 MB/s
    	 64k	21.3 MB/s	21.3 MB/s	21.2 MB/s
    	128k	21.4 MB/s	21.4 MB/s	21.4 MB/s
    ==>	256k	23.3 MB/s	23.2 MB/s	23.2 MB/s
    	512k	23.3 MB/s	23.8 MB/s	23.4 MB/s
    	  1M	23.8 MB/s	23.4 MB/s	23.3 MB/s
    	  2M	23.4 MB/s	23.2 MB/s	23.4 MB/s
    
    USB stick 2G idVendor=0204, idProduct=6025 SerialNumber: 08082005000113
    
    	  4k	6.7 MB/s 	6.9 MB/s 	6.7 MB/s
    	 16k	11.7 MB/s	11.7 MB/s	11.7 MB/s
    	 32k	12.4 MB/s	12.4 MB/s	12.4 MB/s
       	 64k	13.4 MB/s	13.4 MB/s	13.4 MB/s
    	128k	13.4 MB/s	13.4 MB/s	13.4 MB/s
    ==>	256k	13.6 MB/s	13.6 MB/s	13.6 MB/s
    	512k	13.7 MB/s	13.7 MB/s	13.7 MB/s
    	  1M	13.7 MB/s	13.7 MB/s	13.7 MB/s
    	  2M	13.7 MB/s	13.7 MB/s	13.7 MB/s
    
    64 MB, USB full speed (collected by Clemens Ladisch)
    Bus 003 Device 003: ID 08ec:0011 M-Systems Flash Disk Pioneers DiskOnKey
    
    	4KB:    139.339 s, 376 kB/s
    	16KB:   81.0427 s, 647 kB/s
    	32KB:   71.8513 s, 730 kB/s
    ==>	64KB:   67.3872 s, 778 kB/s
    	128KB:  67.5434 s, 776 kB/s
    	256KB:  65.9019 s, 796 kB/s
    	512KB:  66.2282 s, 792 kB/s
    	1024KB: 67.4632 s, 777 kB/s
    	2048KB: 69.9759 s, 749 kB/s
    
    An unnamed SD card (Yakui):
    
             4k     195.873 s,  5.5 MB/s
             8k     123.425 s,  8.7 MB/s
             16k    86.6425 s, 12.4 MB/s
             32k    66.7519 s, 16.1 MB/s
    ==>      64k    58.5262 s, 18.3 MB/s
             128k   59.3847 s, 18.1 MB/s
             256k   59.3188 s, 18.1 MB/s
             512k   59.0218 s, 18.2 MB/s
    
    CC: Li Shaohua <[email protected]>
    CC: Clemens Ladisch <[email protected]>
    Acked-by: Jens Axboe <[email protected]>
    Acked-by: Rik van Riel <[email protected]>
    Tested-by: Vivek Goyal <[email protected]>
    Tested-by: Linus Torvalds <[email protected]>
    Signed-off-by: Wu Fengguang <[email protected]>
    Wu Fengguang authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    cb973d2 View commit details
    Browse the repository at this point in the history
  68. cpufreq: fix cpu freq issues

    fixed frequency revert to power max freq when 2nd cpu is online
    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    65449f0 View commit details
    Browse the repository at this point in the history
  69. Fix build breakage caused by LZO commits

    turl authored and faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    821e785 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    e6f49ec View commit details
    Browse the repository at this point in the history
  71. OC: add 1.3 GHz option

    faux123 committed Nov 21, 2011
    Configuration menu
    Copy the full SHA
    f7deded View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2011

  1. Revert "Merge fixes from Motorola Photon 4G 4.5.1A-1_SUN-154 release"

    This reverts commit ff99333.
    
    Conflicts:
    
    	arch/arm/kernel/traps.c
    faux123 committed Nov 23, 2011
    Configuration menu
    Copy the full SHA
    4ed040d View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2011

  1. Allow a lower cpu voltage when in suspend to save battery life, might…

    … cause Sleep of Death on some devices
    clemsyn committed Nov 24, 2011
    Configuration menu
    Copy the full SHA
    3fdf504 View commit details
    Browse the repository at this point in the history