Permalink
Commits on Dec 5, 2012
  1. cpufreq_pegasusq: set sampling_rate to 200000 when the screen is off …

    gokhanmoral committed Dec 5, 2012
    …even if we have another sampling rate set
Commits on Nov 24, 2012
  1. sched: Add missing call to calc_load_exit_idle()

    Charles Wang authored and gokhanmoral committed Aug 20, 2012
    commit 749c8814f08f12baa4a9c2812a7c6ede7d69507d upstream.
    
    Azat Khuzhin reported high loadavg in Linux v3.6
    
    After checking the upstream scheduler code, I found Peter's commit:
    
      5167e8d5417b sched/nohz: Rewrite and fix load-avg computation -- again
    
    not fully applied, missing the call to calc_load_exit_idle().
    
    After that idle exit in sampling window will always be calculated
    to non-idle, and the load will be higher than normal.
    
    This patch adds the missing call to calc_load_exit_idle().
    
    Signed-off-by: Charles Wang <muming.wq@taobao.com>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1345449754-27130-1-git-send-email-muming.wq@gmail.com
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  2. sched/nohz: Rewrite, fix and add more accurate load-avg computation

    AndreiLux authored and gokhanmoral committed Sep 10, 2012
    Part 1)
    
    After patch 453494c3d4 (sched: Fix nohz load accounting -- again!), we can fold
    the idle into calc_load_tasks_idle between the last cpu load calculating and
    calc_global_load calling. However problem still exits between the first cpu
    load calculating and the last cpu load calculating. Every time when we do load
    calculating, calc_load_tasks_idle will be added into calc_load_tasks, even if
    the idle load is caused by calculated cpus. Consider following case:
    5HZ+1
    | cpu0_load     cpu1    cpu2    cpu3    calc_load_tasks    tasks_idle
    |    1           1       1       1
    |  -->calc_load                             1                  0
    |    1           1       1       1
    |                    -->calc_load           2                  0
    |    0           0       1       0
    |                    -->calc_load           2+1-3=0            -3
    |    1           1       0       1
    |                            -->calc_load   1-1=0              -1
    V
    5HZ+11     -->calc_global_load              0                  0
    
    actually the load should be around 3, but shows nearly 0.
    
    This can be found in our work load. The average running processes number
    is about 15, but the load only shows about 4.
    
    We provides a solution, by taking those load not calculated cpus' idle out from
    global idle as calc_unmask_cpu_load_idle. Then when calc_load execute on every
    cpu, we only fold calc_unmask_cpu_load_idle. After this patch, case above
    should be as follow:
    5HZ+1
    | cpu0_load     cpu1    cpu2    cpu3   calc_load_tasks tasks_idle  unmask_idle
    |    1           1       1       1
    |  -->calc_load                             1              0           0
    |    1           1       1       1
    |              -->calc_load                 2              0           0
    |    0           0       1       0
    |                    -->calc_load           2+1-1=2        -3          -1
    |    1           1       0       1
    |                            -->calc_load   2+1=3          -2-1=-3     0
    V
    5HZ+11     -->calc_global_load              3              -3          0
    
    CC: Peter Zijlstra <peterz@infradead.org>
    CC: Doug Smythies <dsmythies@telus.net>
    CC: Ingo Molnar <mingo@redhat.com>
    CC: Tao Ma <tm@tao.ma>
    CC: Sha Zhengju <handai.szj@gmail.com>
    Reported-by: Sha Zhengju <handai.szj@gmail.com>
    Signed-off-by: Charles Wang <muming.wq@taobao.com>
    
    Part 2)
    
    Thanks to Charles Wang for spotting the defects in the current code:
    
     - If we go idle during the sample window -- after sampling, we get a
       negative bias because we can negate our own sample.
    
     - If we wake up during the sample window we get a positive bias
       because we push the sample to a known active period.
    
    So rewrite the entire nohz load-avg muck once again, now adding
    copious documentation to the code.
    
    Reported-and-tested-by: Doug Smythies <dsmythies@telus.net>
    Reported-and-tested-by: Charles Wang <muming.wq@gmail.com>
    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: stable@kernel.org
    Link: http://lkml.kernel.org/r/1340373782.18025.74.camel@twins
    [ minor edits ]
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
Commits on Nov 23, 2012
  1. Merge branch 'i9300-samsung' into master-3.0.31

    gokhanmoral committed Nov 23, 2012
    Conflicts:
    	arch/arm/mach-exynos/midas-power.c
    	drivers/cpufreq/cpufreq_pegasusq.c
    	drivers/input/keyboard/cypress/cypress-touchkey.c
    	drivers/input/keyboard/gpio_keys.c
    	drivers/media/video/samsung/Kconfig
    	drivers/media/video/samsung/Makefile
    	drivers/media/video/samsung/mali/platform/pegasus-m400/mali_platform.c
    	drivers/media/video/samsung/mfc5x/mfc_dev.c
    	drivers/media/video/samsung/ump/linux/ump_kernel_linux.c
    	drivers/media/video/samsung/ump/linux/ump_kernel_memory_backend_os.c
    	drivers/misc/max77693-muic.c
    	drivers/misc/modem_if/modem_utils.c
    	drivers/net/wireless/bcmdhd/Makefile
    	drivers/net/wireless/bcmdhd/dhd.h
    	drivers/net/wireless/bcmdhd/dhd_cdc.c
    	drivers/net/wireless/bcmdhd/dhd_linux.c
    	drivers/net/wireless/bcmdhd/dhd_sdio.c
    	drivers/net/wireless/bcmdhd/include/epivers.h
    	drivers/net/wireless/bcmdhd/include/wlioctl.h
    	drivers/net/wireless/bcmdhd/wl_cfg80211.c
    	drivers/net/wireless/bcmdhd/wldev_common.h
    	drivers/sensor/cm3663.c
  2. n8020 sources

    gokhanmoral committed Nov 23, 2012
Commits on Nov 19, 2012
  1. v1.7

    gokhanmoral committed Nov 18, 2012
  2. Revert "f_mtp_samsung: revert to update2 sources to get MTP working o…

    gokhanmoral committed Nov 19, 2012
    …n OSX"
    
    This reverts commit 717f91a.
  3. Merges with s2 kernel

    gokhanmoral committed Nov 18, 2012
Commits on Nov 18, 2012
  1. mali: disable resume freq

    gokhanmoral committed Nov 17, 2012
  2. cpufreq_pegasusq: tiny tweaks

    gokhanmoral committed Nov 15, 2012
    -revert back to defaults and use scripts to modify them
    -decrease freq_step when the screen is off
    -averaging logic
  3. Revert "sched/nohz: Rewrite, fix and add more accurate load-avg compu…

    gokhanmoral committed Nov 18, 2012
    …tation"
    
    This reverts commit c0478d0.
Commits on Nov 17, 2012
  1. mmc: use really long write timeout to deal with crappy cards

    Paul Walmsley authored and gokhanmoral committed Mar 12, 2012
    Several people have noticed that crappy SD cards take much longer to
    complete multiple block writes than the 300ms that Linux specifies.
    Try to work around this by using a three second write timeout instead.
    
    This is a generalized version of a patch from Chase Maupin
    <Chase.Maupin@ti.com>, whose patch description said:
    
    * With certain SD cards timeouts like the following have been seen
      due to an improper calculation of the dto value:
        mmcblk0: error -110 transferring data, sector 4126233, nr 8,
        card status 0xc00
    * By removing the dto calculation and setting the timeout value
      to the maximum specified by the SD card specification part A2
      section 2.2.15 these timeouts can be avoided.
    * This change has been used by beagleboard users as well as the
      Texas Instruments SDK without a negative impact.
    * There are multiple discussion threads about this but the most
      relevant ones are:
        * http://talk.maemo.org/showthread.php?p=1000707#post1000707
        * http://www.mail-archive.com/linux-omap@vger.kernel.org/msg42213.html
    * Original proposal for this fix was done by Sukumar Ghoral of
      Texas Instruments
    * Tested using a Texas Instruments AM335x EVM
    
    Signed-off-by: Paul Walmsley <paul@pwsan.com>
    Tested-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Chris Ball <cjb@laptop.org>
  2. Revert "mmc: increase mmc timeout for faulty cards"

    gokhanmoral committed Nov 15, 2012
    This reverts commit c928c3d.
  3. Revert "mdnie: cyanogenmod"

    gokhanmoral committed Nov 10, 2012
    This reverts commit 16cc651.
  4. Revert "bcmdhd: restore state from edd8a9171858fad7713b8fc07b158df511…

    gokhanmoral committed Nov 10, 2012
    …4b3c1a (samsung update 4)"
    
    This reverts commit 5958405.
  5. Revert "bcmdhd: enable p2p interface"

    gokhanmoral committed Nov 10, 2012
    This reverts commit 663306e.
Commits on Nov 8, 2012
  1. mdnie: cyanogenmod

    codeworkx authored and gokhanmoral committed Jul 31, 2012
    Change-Id: Id51499b4d2b7bf149a835256f03de125fe39b23a
    
    Conflicts:
    
    	drivers/video/samsung/mdnie_table_c1m0.h
  2. Revert "mali: gpu boost on touch"

    gokhanmoral committed Nov 8, 2012
    This reverts commit 42edc86.
    
    Conflicts:
    
    	drivers/media/video/samsung/mali/linux/mali_kernel_linux.c
    	drivers/media/video/samsung/mali_r3p0_lsi/common/mali_osk.h
Commits on Nov 6, 2012
  1. bcmdhd: enable p2p interface

    codeworkx authored and gokhanmoral committed Oct 19, 2012
    Change-Id: I1186d91af7f6e6427cd8c3e60dee00d6e224ce09
  2. bcmdhd: restore state from edd8a9171858fad7713b8fc07b158df5114b3c1a (…

    codeworkx authored and gokhanmoral committed Oct 19, 2012
    …samsung update 4)
    
    Change-Id: I5f216c0b67ce9a956d2af26f58fa0744cdc1d7f5
    
    Conflicts:
    
    	drivers/net/wireless/bcmdhd/Makefile
    	drivers/net/wireless/bcmdhd/bcmspibrcm.c
    	drivers/net/wireless/bcmdhd/include/bcmspibrcm.h
    	drivers/net/wireless/bcmdhd/include/epivers.h
    	drivers/net/wireless/bcmdhd/include/spid.h
    	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd.h
    	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_cdc.c
    	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_common.c
    	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_custom_sec.c
    	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux.c
    	drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sdio.c
    	drivers/net/wireless/bcmdhd/src/include/bcmutils.h
    	drivers/net/wireless/bcmdhd/src/include/wlioctl.h
    	drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.c
    	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c
    	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.h
    	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.c
    	drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.h
    	drivers/net/wireless/bcmdhd/src/wl/sys/wldev_common.h
Commits on Oct 31, 2012
Commits on Oct 30, 2012
  1. Add touch gesture support back

    gokhanmoral committed Oct 26, 2012
    This reverts commit 0c215a3.
  2. charge current interface

    gokhanmoral committed Mar 26, 2012
  3. j4fs driver

    gokhanmoral committed Oct 19, 2012