Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
bd9d9d2
soc: qcom: msm_hotplug v2.4
yank555-lu Oct 9, 2016
797d852
defconfig: msm hotplug
benschhold Nov 13, 2016
34806bf
compiler-gcc: integrate the various compiler-gcc[345].h files
JoePerches Jun 25, 2015
4491f9e
sched/cputime: Fix steal time accounting vs. CPU hotplug
KAGA-KOKO Mar 4, 2016
27f1bc3
Revert "soc: qcom: msm_hotplug v2.3"
benschhold Nov 13, 2016
840e646
Get rid of __cpuinit - squashed (jollaman999)
jollaman999 Aug 7, 2016
419b6cd
Makefile: ggc 6 wno errors
benschhold Nov 13, 2016
e283333
MSM Hotplug change default settingx
benschhold Nov 13, 2016
3f11b46
OP2 add the possibility to change the value for low power mode
benschhold Apr 1, 2016
8df2f1e
tri_state_key: allow more key codes for extra modes
9ary Mar 6, 2016
40e41a3
kernel display name inline
benschhold Nov 13, 2016
41e075e
disable modules
benschhold Nov 14, 2016
c4d1ab7
msm hotplug off by default
benschhold Nov 14, 2016
351a4f0
correct that
benschhold Nov 16, 2016
e6f76f6
input: synaptics: s1302: Stop keypad when touchscreen is in use
andip71 Jul 17, 2016
85c81b4
misc: fpc1020: Ignore home key presses when touchscreen is in use
andip71 Jul 17, 2016
5a119cc
msm: kgsl: Report correct GPU frequency in sysfs
Jan 1, 2014
e9c284e
scripts: remove localversion "+" from kernel version strings
yank555-lu Dec 14, 2014
b3a0d0f
Introduce Adreno idler for devfreq-based Adreno devices
arter97 Jun 10, 2015
bc2f80f
adreno_idler: switch to count based instead of time based
arter97 Jun 11, 2015
c2aa46b
adreno_idler: remove frequency bump
arter97 Jun 11, 2015
2244c0f
adreno_idler: fix-up type definitions
arter97 Jun 11, 2015
83e8f5d
adreno_idler: fix-up some comments
arter97 Jun 13, 2015
bbf9cc5
adreno_idler: fix typos :)
arter97 Jun 14, 2015
bb1df92
adreno idler: Ramp down more agressively
Jun 30, 2016
c87177c
defconfig:adreno idler
benschhold Sep 26, 2016
44a4dc6
sound/soc/codecs: Faux Sound control for WCD9330 TomTom codec driver
auras76 Apr 10, 2016
aa10f3b
Disable crc check for 30% extra performance in IO
Nov 6, 2015
3ea93ab
Underclock
benschhold Sep 9, 2016
7aef917
call it minimalistic
benschhold Nov 16, 2016
d7b09b2
Revert "correct that"
benschhold Nov 16, 2016
2c30472
correct that
benschhold Nov 16, 2016
c6d1d2a
KCAL support
benschhold Feb 14, 2016
fd14cd6
Defconfig KCAL
benschhold Nov 19, 2016
8f914fd
cpufreq: add despair governor
DespairFactor Mar 14, 2016
9a68372
cpufreq: add an helper to get/set cpu utilization to be used by mako_…
franciscofranco Dec 28, 2014
dcef518
Revert "camera: sensor: Remove OIS burst write"
benschhold Dec 9, 2016
cac33d1
Added fsync on/off support.
franciscofranco Nov 22, 2012
eca9c7b
Overclock
benschhold Nov 25, 2016
2d9a55f
push to 4.7
benschhold Nov 25, 2016
f447080
push to 4.8
benschhold Dec 12, 2016
8c09c6d
move to o3
randomhydrosol Dec 30, 2016
5c87281
push to ofast
randomhydrosol Dec 30, 2016
98da7fc
fix derp
randomhydrosol Dec 30, 2016
9151799
adreno_idler: Add display state awareness
Dec 20, 2016
7cfcb6c
adreno_idler: fix a declaration after statement warning
nathanchance Dec 21, 2016
c4cea32
mdss: LiveDisplay to kcal interface
flar2 Dec 15, 2016
d51d4cb
Revert "video: mdss: LiveDisplay driver"
benschhold Dec 30, 2016
493f56d
Slimbus Overclock
friedrich420 Feb 26, 2015
e81d4fb
Enable OTG by default, disable OTG switch feature
Dec 29, 2016
4c93800
drivers: power: Fix 2% battery level drop
Hikari-no-Tenshi Nov 26, 2016
c1da4d1
display: add a simple api to query the display state (on/off) at any …
franciscofranco Jan 28, 2016
3a9f139
Revert "video: mdss: Improve the LiveDisplay driver"
benschhold Dec 30, 2016
16d812d
remnant from livedisplay
benschhold Dec 30, 2016
d9f9e55
Dirtycow Patch - CVE-2016-5195
Oct 25, 2016
e2a7ad9
push to 4.9
benschhold Dec 30, 2016
ef31d93
2000 mA charging
Dec 26, 2016
846f4a6
qpnp-smbcharger: Charge Level Interface 1.2 for OPT
andip71 Oct 12, 2015
db66bdb
Use better charge levels
Dec 29, 2016
c986d0c
mdss_fb: backlight dimmer option
flar2 Dec 3, 2015
4d71ea9
cpufreq: show cpu voltages via sysfs
imoseyon Nov 19, 2015
7c153a6
Disable power_aware and enable all cores on boot.
smac0628 Nov 14, 2015
ca0ec30
charge_level: higher charging rates
Dec 31, 2016
59401f3
defconfig: enable charge level control
Dec 2, 2016
d78a83d
proc: Remove verifiedbootstate flag from /proc/cmdline
kerneltoast Oct 21, 2016
494b5d0
msm_performance: Make input boosting optional
flar2 Dec 6, 2015
f2d3e0e
vm: set swappiness to 4 by default
Jul 25, 2016
efd6925
vm: reduce vfs cache pressure to 20
Jul 25, 2016
62e59ad
vm: set overcommit ratio to 48%
Jul 25, 2016
01eb46c
vm: tweak dirty expire & writeback centisecs
Jul 25, 2016
e9991d1
fs: fix for the entropy depletion issue
TheCrazyLex Apr 1, 2016
db82ce1
adreno_idler: optimize values
Dec 13, 2016
85b351b
adreno_idler: be smooth. be clever. be efficient.
Dec 15, 2016
0610320
adreno_idler: change the settings a little bit
Dec 26, 2016
7dd9414
Power optimization
kristofpetho May 15, 2016
55ee469
Merge branch 'testnew' of https://github.com/benschhold/android_kerne…
randomhydrosol Jan 1, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)

HOSTCC = gcc
HOSTCXX = g++
HOSTCC = ccache gcc
HOSTCXX = ccache g++
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
HOSTCXXFLAGS = -O2
HOSTCXXFLAGS = -Ofast

# Decide whether to build built-in, modular, or both.
# Normally, just do built-in.
Expand Down Expand Up @@ -378,7 +378,9 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Werror-implicit-function-declaration \
-Wno-format-security \
-fno-delete-null-pointer-checks \
-std=gnu89
-std=gnu89 -Wno-unused-const-variable -Wno-misleading-indentation \
-Wno-memset-transposed-args -Wno-bool-compare -Wno-logical-not-parentheses \
-Wno-switch-bool

KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
Expand Down Expand Up @@ -586,7 +588,7 @@ all: vmlinux
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
else
KBUILD_CFLAGS += -O2
KBUILD_CFLAGS += -Ofast
endif

include $(srctree)/arch/$(SRCARCH)/Makefile
Expand Down Expand Up @@ -646,7 +648,7 @@ endif
KBUILD_CFLAGS += $(call cc-option, -fno-var-tracking-assignments)

ifdef CONFIG_DEBUG_INFO
KBUILD_CFLAGS += -g
KBUILD_CFLAGS +=
KBUILD_AFLAGS += -gdwarf-2
endif

Expand Down
10 changes: 5 additions & 5 deletions arch/alpha/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ wait_boot_cpu_to_stop(int cpuid)
/*
* Where secondaries begin a life of C.
*/
void __cpuinit
void
smp_callin(void)
{
int cpuid = hard_smp_processor_id();
Expand Down Expand Up @@ -194,7 +194,7 @@ wait_for_txrdy (unsigned long cpumask)
* Send a message to a secondary's console. "START" is one such
* interesting message. ;-)
*/
static void __cpuinit
static void
send_secondary_console_msg(char *str, int cpuid)
{
struct percpu_struct *cpu;
Expand Down Expand Up @@ -285,7 +285,7 @@ recv_secondary_console_msg(void)
/*
* Convince the console to have a secondary cpu begin execution.
*/
static int __cpuinit
static int
secondary_cpu_start(int cpuid, struct task_struct *idle)
{
struct percpu_struct *cpu;
Expand Down Expand Up @@ -356,7 +356,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle)
/*
* Bring one cpu online.
*/
static int __cpuinit
static int
smp_boot_one_cpu(int cpuid, struct task_struct *idle)
{
unsigned long timeout;
Expand Down Expand Up @@ -472,7 +472,7 @@ smp_prepare_boot_cpu(void)
{
}

int __cpuinit
int
__cpu_up(unsigned int cpu, struct task_struct *tidle)
{
smp_boot_one_cpu(cpu, tidle);
Expand Down
4 changes: 2 additions & 2 deletions arch/alpha/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

static int opDEC_fix;

static void __cpuinit
static void
opDEC_check(void)
{
__asm__ __volatile__ (
Expand Down Expand Up @@ -1059,7 +1059,7 @@ do_entUnaUser(void __user * va, unsigned long opcode,
return;
}

void __cpuinit
void
trap_init(void)
{
/* Tell PAL-code what global pointer we want in the kernel. */
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
extern void __init arc_init_IRQ(void);
extern int __init get_hw_config_num_irq(void);

void __cpuinit arc_local_timer_setup(unsigned int cpu);
void arc_local_timer_setup(unsigned int cpu);

#endif
2 changes: 1 addition & 1 deletion arch/arc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* -Disable all IRQs (on CPU side)
* -Optionally, setup the High priority Interrupts as Level 2 IRQs
*/
void __cpuinit arc_init_IRQ(void)
void arc_init_IRQ(void)
{
int level_mask = 0;

Expand Down
8 changes: 4 additions & 4 deletions arch/arc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct task_struct *_current_task[NR_CPUS]; /* For stack switching */
struct cpuinfo_arc cpuinfo_arc700[NR_CPUS];


void __cpuinit read_arc_build_cfg_regs(void)
void read_arc_build_cfg_regs(void)
{
struct bcr_perip uncached_space;
struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()];
Expand Down Expand Up @@ -234,7 +234,7 @@ char *arc_extn_mumbojumbo(int cpu_id, char *buf, int len)
return buf;
}

void __cpuinit arc_chk_ccms(void)
void arc_chk_ccms(void)
{
#if defined(CONFIG_ARC_HAS_DCCM) || defined(CONFIG_ARC_HAS_ICCM)
struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()];
Expand Down Expand Up @@ -269,7 +269,7 @@ void __cpuinit arc_chk_ccms(void)
* hardware has dedicated regs which need to be saved/restored on ctx-sw
* (Single Precision uses core regs), thus kernel is kind of oblivious to it
*/
void __cpuinit arc_chk_fpu(void)
void arc_chk_fpu(void)
{
struct cpuinfo_arc *cpu = &cpuinfo_arc700[smp_processor_id()];

Expand All @@ -290,7 +290,7 @@ void __cpuinit arc_chk_fpu(void)
* such as only for boot CPU etc
*/

void __cpuinit setup_processor(void)
void setup_processor(void)
{
char str[512];
int cpu_id = smp_processor_id();
Expand Down
4 changes: 2 additions & 2 deletions arch/arc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const char *arc_platform_smp_cpuinfo(void)
* Called from asm stub in head.S
* "current"/R25 already setup by low level boot code
*/
void __cpuinit start_kernel_secondary(void)
void start_kernel_secondary(void)
{
struct mm_struct *mm = &init_mm;
unsigned int cpu = smp_processor_id();
Expand Down Expand Up @@ -154,7 +154,7 @@ void __cpuinit start_kernel_secondary(void)
*
* Essential requirements being where to run from (PC) and stack (SP)
*/
int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle)
int __cpu_up(unsigned int cpu, struct task_struct *idle)
{
unsigned long wait_till;

Expand Down
6 changes: 3 additions & 3 deletions arch/arc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

#ifdef CONFIG_ARC_HAS_RTSC

int __cpuinit arc_counter_setup(void)
int arc_counter_setup(void)
{
/* RTSC insn taps into cpu clk, needs no setup */

Expand Down Expand Up @@ -105,7 +105,7 @@ static bool is_usable_as_clocksource(void)
/*
* set 32bit TIMER1 to keep counting monotonically and wraparound
*/
int __cpuinit arc_counter_setup(void)
int arc_counter_setup(void)
{
write_aux_reg(ARC_REG_TIMER1_LIMIT, ARC_TIMER_MAX);
write_aux_reg(ARC_REG_TIMER1_CNT, 0);
Expand Down Expand Up @@ -212,7 +212,7 @@ static struct irqaction arc_timer_irq = {
* Setup the local event timer for @cpu
* N.B. weak so that some exotic ARC SoCs can completely override it
*/
void __attribute__((weak)) __cpuinit arc_local_timer_setup(unsigned int cpu)
void __attribute__((weak)) arc_local_timer_setup(unsigned int cpu)
{
struct clock_event_device *clk = &per_cpu(arc_clockevent_device, cpu);

Expand Down
4 changes: 2 additions & 2 deletions arch/arc/mm/cache_arc700.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ char *arc_cache_mumbojumbo(int cpu_id, char *buf, int len)
* the cpuinfo structure for later use.
* No Validation done here, simply read/convert the BCRs
*/
void __cpuinit read_decode_cache_bcr(void)
void read_decode_cache_bcr(void)
{
struct bcr_cache ibcr, dbcr;
struct cpuinfo_arc_cache *p_ic, *p_dc;
Expand Down Expand Up @@ -132,7 +132,7 @@ void __cpuinit read_decode_cache_bcr(void)
* 3. Enable the Caches, setup default flush mode for D-Cache
* 3. Calculate the SHMLBA used by user space
*/
void __cpuinit arc_cache_init(void)
void arc_cache_init(void)
{
unsigned int temp;
unsigned int cpu = smp_processor_id();
Expand Down
4 changes: 2 additions & 2 deletions arch/arc/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned,
* the cpuinfo structure for later use.
* No Validation is done here, simply read/convert the BCRs
*/
void __cpuinit read_decode_mmu_bcr(void)
void read_decode_mmu_bcr(void)
{
unsigned int tmp;
struct bcr_mmu_1_2 *mmu2; /* encoded MMU2 attr */
Expand Down Expand Up @@ -510,7 +510,7 @@ char *arc_mmu_mumbojumbo(int cpu_id, char *buf, int len)
return buf;
}

void __cpuinit arc_mmu_init(void)
void arc_mmu_init(void)
{
char str[256];
struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ qcom,oneplus_default_3200mah {
qcom,max-voltage-uv = <4320000>;
qcom,nom-batt-capacity-mah = <3300>;
qcom,v-cutoff-uv = <3600000>;
qcom,chg-term-ua = <150000>;
qcom,chg-term-ua = <200000>;
qcom,batt-id-kohm = <1>;
qcom,battery-beta = <0>;
qcom,battery-type = "Unknown Battery";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ qcom,oneplus_3200mah {
qcom,max-voltage-uv = <4320000>;
qcom,nom-batt-capacity-mah = <3300>;
qcom,v-cutoff-uv = <3600000>;
qcom,chg-term-ua = <150000>;
qcom,chg-term-ua = <200000>;
qcom,batt-id-kohm = <1>;
qcom,battery-beta = <0>;
qcom,battery-type = "ATL";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ qcom,oneplus_SDI_3200mah {
qcom,max-voltage-uv = <4320000>;
qcom,nom-batt-capacity-mah = <3300>;
qcom,v-cutoff-uv = <3600000>;
qcom,chg-term-ua = <150000>;
qcom,chg-term-ua = <200000>;
qcom,batt-id-kohm = <50>;
qcom,battery-beta = <0>;
qcom,battery-type = "SDI";
Expand Down
Loading