Commits on Jul 8, 2012
  1. configs: evervolv: update/ unify

    All: enable memory compaction / cgroup block
    bravo/mahimahi: remove cgroup debug/freezer
    supersonic: enable the other io schedulers / enable xz compression
    incrediblec: set bfq as default io scheduler / enable xz compression
    committed Jul 8, 2012
Commits on Jul 7, 2012
  1. Revert "kbuild: add scorpion build flags"

    This reverts commit 0a76aa4.
    committed Jul 7, 2012
Commits on Jul 4, 2012
  1. msm: Add sysfs interface for mfreq

    Add mfreq interface in sysfs.  This forces the system to use the
    maximum CPU clock on all CPU cores.
    (mfreq=1 enables, mfreq=0 disables)
    *other misc cleanup
    committed Jul 4, 2012
Commits on Jun 30, 2012
  1. kbuild: add scorpion build flags

    let the compiler know the arch, -ffast-math seems needed for full
    benefit of -mfpu=neon
    committed Jun 26, 2012
  2. SLAB: Record actual last user of freed objects.

    Currently, when using CONFIG_DEBUG_SLAB, we put in kfree() or
    kmem_cache_free() as the last user of free objects, which is not
    very useful, so change it to the caller of those functions instead.
    Acked-by: David Rientjes <>
    Acked-by: Christoph Lameter <>
    Signed-off-by: Suleiman Souhlal <>
    Signed-off-by: Pekka Enberg <>
    Suleiman Souhlal committed with Jun 2, 2011
  3. mm: notifier_from_errno() cleanup

    While looking at some other notifier callbacks I noticed this code could
    use a simple cleanup.
    notifier_from_errno() no longer needs the if (ret)/else conditional.  That
    same conditional is now done in notifier_from_errno().
    Signed-off-by: Prarit Bhargava <>
    Cc: Paul Menage <>
    Cc: Li Zefan <>
    Acked-by: Pekka Enberg <>
    Signed-off-by: Andrew Morton <>
    Signed-off-by: Linus Torvalds <>
    prarit committed with Mar 22, 2011
  4. slab,rcu: don't assume the size of struct rcu_head

    The size of struct rcu_head may be changed. When it becomes larger,
    it may pollute the data after struct slab.
    Acked-by: Christoph Lameter <>
    Signed-off-by: Lai Jiangshan <>
    Signed-off-by: Pekka Enberg <>
    Lai Jiangshan committed with Mar 10, 2011
  5. mm: Remove support for kmem_cache_name()

    The last user was ext4 and Eric Sandeen removed the call in a recent patch. See
    the following URL for the discussion:
    Signed-off-by: Christoph Lameter <>
    Signed-off-by: Pekka Enberg <>
    Christoph Lameter committed with Jan 20, 2011
  6. 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 <>
    avagin committed with Nov 12, 2011
Commits on Jun 21, 2012
  1. module: Sort exported symbols

    This patch places every exported symbol in its own section
    (i.e. "___ksymtab+printk").  Thus the linker will use its SORT() directive
    to sort and finally merge all symbol in the right and final section
    (i.e. "__ksymtab").
    The symbol prefixed archs use an underscore as prefix for symbols.
    To avoid collision we use a different character to create the temporary
    section names.
    This work was supported by a hardware donation from the CE Linux Forum.
    Signed-off-by: Alessio Igor Bogani <>
    Signed-off-by: Rusty Russell <> (folded in '+' fixup)
    Tested-by: Dirk Behme <>
    abogani committed with Apr 14, 2011
  2. kbuild: Fix passing -Wno-* options to gcc 4.4+

    Starting with 4.4, gcc will happily accept -Wno-<anything> in the
    cc-option test and complain later when compiling a file that has some
    other warning. This rather unexpected behavior is intentional as per, so work around it by testing for support of
    the opposite option (without the no-). Introduce a new Makefile function
    cc-disable-warning that does this and update two uses of cc-option in
    the toplevel Makefile.
    Reported-and-tested-by: Stephen Rothwell <>
    Signed-off-by: Michal Marek <>
    michal42 committed with May 2, 2011
  3. kbuild: Allow to combine multiple W= levels

    Add support for make W=12, make W=123 and so on, to enable warnings from
    multiple W= levels. Normally, make W=<level> does not include warnings
    from the previous level.
    Signed-off-by: Michal Marek <>
    Acked-by: Sam Ravnborg <>
    Reviewed-By: Valdis Kletnieks <>
    michal42 committed with Apr 29, 2011
  4. kbuild: Disable -Wunused-but-set-variable for gcc 4.6.0

    Disable the new -Wunused-but-set-variable that was added in gcc 4.6.0
    It produces more false positives than useful warnings.
    This can still be enabled using W=1
    Signed-off-by: Dave Jones <>
    Acked-by: Sam Ravnborg <>
    Tested-by: Sam Ravnborg <>
    Signed-off-by: Michal Marek <>
    Dave Jones committed with Apr 21, 2011
  5. kbuild: implement several W= levels

    Building a kernel with "make W=1" produces far too much noise to be
    Divide the warning options in three groups:
        W=1 - warnings that may be relevant and does not occur too often
        W=2 - warnings that occur quite often but may still be relevant
        W=3 - the more obscure warnings, can most likely be ignored
    When building the whole kernel, those levels produce:
    W=1 - 4859 warnings
    W=2 - 1394 warnings
    W=3 - 86666 warnings
    respectively. Warnings have been counted with Geert's script at
    Many warnings occur from .h files so fixing one file may have a nice
    effect on the total number of warnings.
    With these changes I am actually tempted to try W=1 now and then.
    Previously there was just too much noise.
    - make the W= levels exclusive
    - move very noisy and making little sense for the kernel warnings to W=3
    - drop -Woverlength-strings due to useless warning message
    - copy explanatory text for the different warning levels to 'make help'
    - recount warnings per level
    Signed-off-by: Sam Ravnborg <>
    Signed-off-by: Borislav Petkov <>
    Cc: Dave Jones <>
    Cc: Geert Uytterhoeven <>
    Signed-off-by: Michal Marek <>
    Sam Ravnborg committed with Apr 27, 2011
  6. kbuild: Add extra gcc checks

    Add a 'W=1' Makefile switch which adds additional checking per build
    The idea behind this option is targeted at developers who, in the
    process of writing their code, want to do the occasional
    make W=1 [target.o]
    and let gcc do more extensive code checking for them. Then, they
    could eyeball the output for valid gcc warnings about various
    bugs/discrepancies which are not reported during the normal build
    For more background information and a use case, read through this
    Cc: Michal Marek <>
    Acked-by: Sam Ravnborg <>
    Acked-by: Ingo Molnar <>
    Signed-off-by: Borislav Petkov <>
    Signed-off-by: Michal Marek <>
    Borislav Petkov committed with Mar 1, 2011
  7. bcm4329: unbreak gcc 4.4.3

    committed Jun 21, 2012
  8. ARM: 7150/1: Allow kernel unaligned accesses on ARMv6+ processors

    Recent gcc versions generate unaligned accesses by default on ARMv6 and
    later processors. This patch ensures that the SCTLR.A bit is always
    cleared on such processors to avoid kernel traping before
    alignment_init() is called.
    Signed-off-by: Catalin Marinas <>
    Tested-by: John Linn <>
    Acked-by: Nicolas Pitre <>
    Signed-off-by: Russell King <>
    Catalin Marinas committed with Nov 7, 2011
  9. arm: allow building with gcc-4.7

    boot/compressed changes taken from cm's tuna kernel
    committed Jun 17, 2012
Commits on May 27, 2012
  1. kgsl: fix building incrediblec

    drivers/built-in.o: In function `adreno_setstate':
    /home/drew/android/kernels/cayniarb-8x50/drivers/gpu/msm/adreno.c:360: undefined reference to `kgsl_cff_dump_enable'
    make: *** [vmlinux] Error 1
    fucking whack shit but i dont care about cffdump anyway.
    committed May 27, 2012
Commits on May 25, 2012
  1. kgsl: support grp/imem clk for qsd8k

    dirty hack to initialize the kgsl-3d0 device
    caf changes the clock names to be uniform across platforms
    but we are still using googles clock, this way is easier
    until i feel like doing it proper.
    committed May 24, 2012
Commits on May 24, 2012
  1. kgsl: fastforward -> ics_chocolate 3.8

    commit bcf5ae04a9bf744a7a3d119c93d439a682404877
    Author: Olav Haugan <>
    Date:   Tue May 8 08:42:49 2012 -0700
        iommu: Fix flags passed to iommu map functions.
        iommu map functions requires clients to specify whether
        the mappings should be read only or read-write (write only
        is not supported). Ensure clients specify the appropriate
        flags when calling map functions.
        Change-Id: If42b4b0367b4311aa36d3063979ef04af3a43fc6
        Signed-off-by: Olav Haugan <>
    committed May 24, 2012
  2. base: genlock: remove BIT macro usage

    The BIT macro is not defined for !_KERNEL_ resulting in compile errors.
    CRs-fixed: 356263
    Signed-off-by: Jeff Boody <>
    (cherry picked from commit 0977510e0f72b2f1a24f41d5154c2f1b80c96d9a)
    Change-Id: Iaf188a1af838c98ca30ce216d7be8ddf85db700c
    Signed-off-by: Ram Kumar Chakravarthy Chebathini <>
    Jeff Boody committed with May 9, 2012
Commits on May 23, 2012
  1. [cpufreq] add smartassV2 governor

    erasmux committed with Sep 2, 2011
  2. kgsl: cleanup

    committed May 23, 2012
Commits on May 22, 2012
  1. configs: evervolv unset KALLSYMS

    reduces kernel size by .15mb
    committed May 22, 2012
  2. msm: remove support for hw3d

    fixes warning:
    In file included from drivers/video/msm/mdp_ppp.c:22:
    include/linux/android_pmem.h:56:1: warning: "HW3D_WAIT_FOR_INTERRUPT" redefined
    In file included from drivers/video/msm/mdp_ppp.c:19:
    include/linux/msm_hw3d.h:27:1: warning: this is the location of the previous definition
    also sets put_img back to static
    committed May 22, 2012
  3. update pmem per caf

    use the older 38 version (before the big update)
    add system allocator and removes htc hack inherited
    with last pmem update
    committed May 22, 2012
  4. rcu: optimize rcutiny

    rcu_sched_qs() currently calls local_irq_save()/local_irq_restore() up
    to three times.
    Remove irq masking from rcu_qsctr_help() / invoke_rcu_kthread()
    and do it once in rcu_sched_qs() / rcu_bh_qs()
    This generates smaller code as well.
       text	   data	    bss	    dec	    hex	filename
       2314	    156	     24	   2494	    9be	kernel/rcutiny.old.o
       2250	    156	     24	   2430	    97e	kernel/
    Fix an outdated comment for rcu_qsctr_help()
    Move invoke_rcu_kthread() definition before its use.
    Signed-off-by: Eric Dumazet <>
    Signed-off-by: Paul E. McKenney <>
    Reviewed-by: Josh Triplett <>
    Eric Dumazet committed with Apr 28, 2011
  5. rcu: introduce kfree_rcu()

    Many rcu callbacks functions just call kfree() on the base structure.
    These functions are trivial, but their size adds up, and furthermore
    when they are used in a kernel module, that module must invoke the
    high-latency rcu_barrier() function at module-unload time.
    The kfree_rcu() function introduced by this commit addresses this issue.
    Rather than encoding a function address in the embedded rcu_head
    structure, kfree_rcu() instead encodes the offset of the rcu_head
    structure within the base structure.  Because the functions are not
    allowed in the low-order 4096 bytes of kernel virtual memory, offsets
    up to 4095 bytes can be accommodated.  If the offset is larger than
    4095 bytes, a compile-time error will be generated in __kfree_rcu().
    If this error is triggered, you can either fall back to use of call_rcu()
    or rearrange the structure to position the rcu_head structure into the
    first 4096 bytes.
    Note that the allowable offset might decrease in the future, for example,
    to allow something like kmem_cache_free_rcu().
    The new kfree_rcu() function can replace code as follows:
    	call_rcu(&p->rcu, simple_kfree_callback);
    where "simple_kfree_callback()" might be defined as follows:
    	void simple_kfree_callback(struct rcu_head *p)
    		struct foo *q = container_of(p, struct foo, rcu);
    with the following:
    	kfree_rcu(&p->rcu, rcu);
    Note that the "rcu" is the name of a field in the structure being
    freed.  The reason for using this rather than passing in a pointer
    to the base structure is that the above approach allows better type
    This commit is based on earlier work by Lai Jiangshan and Manfred Spraul:
    Lai's V1 patch:
    Manfred's patch:
    Signed-off-by: Lai Jiangshan <>
    Signed-off-by: Manfred Spraul <>
    Signed-off-by: Paul E. McKenney <>
    Reviewed-by: David Howells <>
    Reviewed-by: Josh Triplett <>
    Lai Jiangshan committed with Mar 18, 2011