Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
e43d76e
reset leds driver to matr1x version
oubeichen Aug 23, 2014
b288421
Random: backport updates from Linux master (3.13-rc4)
mrg666 Dec 23, 2013
1fe13b9
update build.sh
justin0406 Sep 18, 2014
197bf6a
actuator fix
faust93 Jun 19, 2014
e384847
sweep2wake: Touchscreen drivers from faust93 ak kernel
brothaedhung Sep 18, 2014
704b5a1
update gee_defconfig
justin0406 Sep 18, 2014
42c0575
Linux 3.4.104
aldrinholmes Oct 7, 2014
2198a9e
net: wireless: bcmdhd: Disable OOB interrupt when WLAN is off
barome Sep 18, 2014
4b3b79f
sched: set sched_mc_power_savings to 2, which is the highest power sa…
franciscofranco Jan 8, 2014
0ccfc94
Sound Control: fix copy and paste error for separate record lock
faux123 Aug 21, 2014
f845be2
Sound Control: add line gain to cached and register lock
faux123 Sep 14, 2014
5d8bd46
msm: msm_bus: Suspected fix for deadlock
alokchauhan2007 Sep 25, 2014
c3bcf73
net: Performance fix for process_backlog
Jun 30, 2014
d3362f5
kthread: make kthread_create() killable
Nov 12, 2013
c90ad21
kthread: ensure locality of task_struct allocations
Apr 3, 2014
c11c065
kthread: fix return value of kthread_create() upon SIGKILL.
Jun 4, 2014
2d9e36c
kthread_work: wake up worker only when the worker is idle
Jul 26, 2014
20449a2
SELinux: use ARRAY_SIZE
himangi774 Jun 16, 2014
e727256
SELinux: possible NULL deref in context_struct_to_string
eparis Apr 4, 2012
8f2fa11
sched: fix divide by zero at {thread_group,task}_times
Aug 8, 2012
77e3254
cgroup: fix exit() vs rmdir() race
lizf-os Jan 24, 2013
64391b8
mmc: msm_sdcc: Remove unnecessary delay in interrupt context
Oct 11, 2013
831fdc3
USB: msm_otg: Fix host mode suspend bug
Jun 3, 2013
bae4d54
USB: msm_otg: Fix a bug in charger detection procedure
DefinitelyNOTobscenelyvague Jul 8, 2013
97c537a
kernel: cgroup: protect cgroup linked lists
Sep 4, 2014
93f02fa
ARM: Improve vmalloc address checking in show_data()
Apr 23, 2014
e4d9b41
random: Mix cputime from each thread that exits to the pool
mickflemm Dec 17, 2012
7922107
random: fix typos / spelling errors in comments
gnprice Nov 29, 2013
5f83991
random: fix comment on proc_do_uuid
gnprice Nov 29, 2013
f74ad18
random: fix description of get_random_bytes
gnprice Nov 29, 2013
35667c7
random: simplify loop in random_read
gnprice Nov 29, 2013
fd963e2
random: simplify accounting logic
gnprice Nov 29, 2013
8155883
random: forget lock in lockless accounting
gnprice Nov 30, 2013
5eb6f29
random: simplify accounting code
gnprice Dec 6, 2013
8d8c8d4
random: entropy_bytes is actually bits
gnprice Dec 7, 2013
aab2630
random: use the architectural HWRNG for the SHA's IV in extract_buf()
tytso Dec 18, 2013
20592f7
random: fix BUG_ON caused by accounting simplification
tytso May 17, 2014
2726265
random: convert use of typedef ctl_table to struct ctl_table
JoePerches Jun 6, 2014
9c7adac
random: fix nasty entropy accounting bug
tytso Jun 16, 2014
c2d46ae
random: check for increase of entropy_count because of signed conversion
strssndktn Jul 18, 2014
871d984
Revert "kernel: cgroup: protect cgroup linked lists"
Sep 24, 2014
3e863c0
kernel: cgroup: protecting css_set object
Sep 17, 2014
92be3c1
arm: asm: relaxed.h: defined relaxed.h
Apr 21, 2014
a15b2f8
sched: defining relaxed version of idle_cpu
Apr 21, 2014
d67ec71
asm-generic: relaxed.h: defined relaxed.h
Apr 18, 2014
9c19c5d
llist: defining relaxed version of llist_empty
Apr 21, 2014
3356c80
asm-generic: processor.h: adding new header file
Mar 14, 2014
47af7ce
ARM: including asm-generic/processor.h
Feb 18, 2014
22fabed
cpu: enhance power efficiency
Apr 21, 2014
e09af08
seqlock: enhance power efficiency
Apr 21, 2014
92f8644
sched: Trying to reduce power usage
Feb 18, 2014
f401e90
hrtimer: enhance power efficiency
Apr 21, 2014
eac782e
Disable -fconserve-stack on ARM v2
Oct 4, 2011
a271369
ARM: 7494/1: use generic termios.h
justin0406 Oct 8, 2014
6ea9842
arm: compile with the generic rwsem
franciscofranco Oct 3, 2014
e914c60
CHROMIUM: mm: Fix calculation of dirtyable memory
Nov 8, 2012
dc67cac
mm: optimize Kernel Samepage Merging(KSM)
ktoonsez May 25, 2013
cc48494
sched: remove redundant update_runtime notifier
ktoonsez Jun 24, 2014
e073295
AK.360.gee.aosp
justin0406 Oct 9, 2014
04c72bc
GHOST TOUCH FIXEDgit add arch/arm/mach-msm/lge/mako/board-mako-displa…
jollaman999 Oct 24, 2014
66e17f8
leds: Stock KK's LED driver porting
justin0406 Oct 29, 2014
bea4573
intelliactive & intellidemand by faux123
justin0406 Oct 29, 2014
f77f9ab
build with linaro 2014.10 now
justin0406 Oct 29, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Documentation/stable_kernel_rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Rules on what kind of patches are accepted, and which ones are not, into the

Procedure for submitting patches to the -stable tree:

- If the patch covers files in net/ or drivers/net please follow netdev stable
submission guidelines as described in
Documentation/networking/netdev-FAQ.txt
- Send the patch, after verifying that it follows the above rules, to
stable@vger.kernel.org. You must note the upstream commit ID in the
changelog of your submission, as well as the kernel version you wish
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 4
SUBLEVEL = 103
SUBLEVEL = 104
EXTRAVERSION =
NAME = Saber-toothed Squirrel

Expand Down Expand Up @@ -591,6 +591,10 @@ ifdef CONFIG_CC_GRAPHITE_OPTIMIZATION
KBUILD_CFLAGS += -fgraphite-identity -floop-parallelize-all -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block
endif

# conserve stack if available
# do this early so that an architecture can override it.
KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)

include $(srctree)/arch/$(SRCARCH)/Makefile

#ifneq ($(CONFIG_FRAME_WARN),0)
Expand Down Expand Up @@ -658,9 +662,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)
# disable invalid "can't wrap" optimizations for signed / pointers
KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)

# conserve stack if available
KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)

# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)

Expand Down
18 changes: 9 additions & 9 deletions ak-mako-build.sh → ak-gee-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ clear

# AK Kernel Version
BASE_AK_VER="AK"
VER=".350.gee-aosp"
VER=".360.gee.aosp"
AK_VER=$BASE_AK_VER$VER

# AK Variables
export LOCALVERSION="~"`echo $AK_VER`
export CROSS_COMPILE=${HOME}/kernel/AK-linaro/4.9.1-2014.07.20140718.CR83/bin/arm-cortex_a15-linux-gnueabihf-
export CROSS_COMPILE=${HOME}/kernel/linaro/arm-cortex_a15-linux-gnueabihf-linaro_4.9.2-2014.10/bin/arm-cortex_a15-linux-gnueabihf-
export ARCH=arm
export SUBARCH=arm
export KBUILD_BUILD_USER=Edgar
export KBUILD_BUILD_USER=Justin
export KBUILD_BUILD_HOST="BuildBox"

DATE_START=$(date +"%s")
Expand All @@ -41,14 +41,14 @@ echo "Show: AK gee Settings"
echo "------------------------"
echo -e "${restore}"

MODULES_DIR=${HOME}/kernel/AK-anykernel/cwm/system/lib/modules
MODULES_DIR=${HOME}/kernel/AK-Mako-AnyKernel/cwm/system/lib/modules
KERNEL_DIR=`pwd`
OUTPUT_DIR=${HOME}/kernel/AK-anykernel/zip
CWM_DIR=${HOME}/kernel/AK-anykernel/cwm
ZIMAGE_DIR=${HOME}/kernel/AK-xGenesis/arch/arm/boot
OUTPUT_DIR=${HOME}/kernel/AK-Mako-AnyKernel
CWM_DIR=${HOME}/kernel/AK-Mako-AnyKernel/cwm
ZIMAGE_DIR=${HOME}/kernel/AK-GEE/arch/arm/boot
CWM_MOVE=${HOME}/kernel/AK-releases
ZIMAGE_ANYKERNEL=${HOME}/kernel/AK-anykernel/cwm/kernel
ANYKERNEL_DIR=${HOME}/kernel/AK-anykernel
ZIMAGE_ANYKERNEL=${HOME}/kernel/AK-Mako-AnyKernel/cwm/kernel
ANYKERNEL_DIR=${HOME}/kernel/AK-Mako-AnyKernel

echo -e "${red}"; echo "COMPILING VERSION:"; echo -e "${blink_red}"; echo "$LOCALVERSION"; echo -e "${restore}"
echo "CROSS_COMPILE="$CROSS_COMPILE
Expand Down
5 changes: 5 additions & 0 deletions arch/alpha/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,11 @@ extern inline void writeq(u64 b, volatile void __iomem *addr)
}
#endif

#define ioread16be(p) be16_to_cpu(ioread16(p))
#define ioread32be(p) be32_to_cpu(ioread32(p))
#define iowrite16be(v,p) iowrite16(cpu_to_be16(v), (p))
#define iowrite32be(v,p) iowrite32(cpu_to_be32(v), (p))

#define inb_p inb
#define inw_p inw
#define inl_p inl
Expand Down
1 change: 1 addition & 0 deletions arch/alpha/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/smp.h>
#include <linux/errno.h>
#include <asm/ptrace.h>
#include <asm/special_insns.h>

#include "op_impl.h"

Expand Down
4 changes: 1 addition & 3 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,8 @@ config ARM_TICKET_LOCKS
default y if ARCH_MSM_SCORPIONMP || ARCH_MSM_KRAITMP
depends on SMP

config RWSEM_GENERIC_SPINLOCK
bool

config RWSEM_XCHGADD_ALGORITHM
bool
def_bool y

config ARCH_HAS_ILOG2_U32
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ ifeq ($(CONFIG_CC_STACKPROTECTOR),y)
KBUILD_CFLAGS +=-fstack-protector
endif

# ARM gcc developers unfortunately broke -fconserve-stack. It misaligns
# variables on the stack
KBUILD_CFLAGS += $(call cc-option,-fno-conserve-stack)

ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
KBUILD_CPPFLAGS += -mbig-endian
AS += -EB
Expand Down
6 changes: 5 additions & 1 deletion arch/arm/configs/gee_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_SMARTMAX=y
CONFIG_CPU_FREQ_GOV_WHEATLEY=y
CONFIG_CPU_FREQ_GOV_LAZY=y
CONFIG_CPU_FREQ_GOV_INTELLIACTIVE=y
CONFIG_CPU_FREQ_GOV_INTELLIDEMAND=y

#
# ARM CPU frequency scaling drivers
Expand Down Expand Up @@ -1294,8 +1296,10 @@ CONFIG_QSEECOM=y
CONFIG_USB_HSIC_SMSC_HUB=y
# CONFIG_BU52031NVX is not set
# CONFIG_C2PORT is not set
# CONFIG_DOUBLETAP_WAKE is not set
CONFIG_TOUCHSCREEN_DOUBLETAP2WAKE=y
# CONFIG_TOUCH_WAKE is not set
CONFIG_TOUCHSCREEN_SWEEP2WAKE=y
CONFIG_TOUCHSCREEN_PREVENT_SLEEP=y

#
# EEPROM support
Expand Down
5 changes: 4 additions & 1 deletion arch/arm/configs/geeb_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1294,8 +1294,11 @@ CONFIG_QSEECOM=y
CONFIG_USB_HSIC_SMSC_HUB=y
# CONFIG_BU52031NVX is not set
# CONFIG_C2PORT is not set
# CONFIG_DOUBLETAP_WAKE is not set
CONFIG_TOUCHSCREEN_DOUBLETAP2WAKE=y
# CONFIG_TOUCH_WAKE is not set
CONFIG_TOUCHSCREEN_SWEEP2WAKE=y
CONFIG_TOUCHSCREEN_PREVENT_SLEEP=y


#
# EEPROM support
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ generic-y += local64.h
generic-y += percpu.h
generic-y += poll.h
generic-y += resource.h
generic-y += rwsem.h
generic-y += sections.h
generic-y += siginfo.h
generic-y += sizes.h
generic-y += termios.h
generic-y += unaligned.h

4 changes: 4 additions & 0 deletions arch/arm/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*
* Copyright (C) 1995-1999 Russell King
*
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
Expand Down Expand Up @@ -126,4 +128,6 @@ static inline void prefetch(const void *ptr)

#endif

#include <asm-generic/processor.h>

#endif /* __ASM_ARM_PROCESSOR_H */
20 changes: 20 additions & 0 deletions arch/arm/include/asm/relaxed.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* arm/include/asm/relaxed.h
*
* Copyright (c) 2014 NVIDIA Corporation. All rights reserved.
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

#ifndef _ASM_RELAXED_H_
#define _ASM_RELAXED_H_

#include <asm-generic/relaxed.h>

#endif /*_ASM_RELAXED_H_*/
92 changes: 0 additions & 92 deletions arch/arm/include/asm/termios.h

This file was deleted.

29 changes: 15 additions & 14 deletions arch/arm/kernel/entry-header.S
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,21 @@
#ifndef CONFIG_THUMB2_KERNEL
.macro svc_exit, rpsr
msr spsr_cxsf, \rpsr
#if defined(CONFIG_CPU_V6)
ldr r0, [sp]
strex r1, r2, [sp] @ clear the exclusive monitor
ldmib sp, {r1 - pc}^ @ load r1 - pc, cpsr
#elif defined(CONFIG_CPU_32v6K)
clrex @ clear the exclusive monitor
ldmia sp, {r0 - pc}^ @ load r0 - pc, cpsr
#else
ldmia sp, {r0 - pc}^ @ load r0 - pc, cpsr
#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_32v6K)
@ We must avoid clrex due to Cortex-A15 erratum #830321
sub r0, sp, #4 @ uninhabited address
strex r1, r2, [r0] @ clear the exclusive monitor
#endif
ldmia sp, {r0 - pc}^ @ load r0 - pc, cpsr
.endm

.macro restore_user_regs, fast = 0, offset = 0
ldr r1, [sp, #\offset + S_PSR] @ get calling cpsr
ldr lr, [sp, #\offset + S_PC]! @ get pc
msr spsr_cxsf, r1 @ save in spsr_svc
#if defined(CONFIG_CPU_V6)
#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_32v6K)
@ We must avoid clrex due to Cortex-A15 erratum #830321
strex r1, r2, [sp] @ clear the exclusive monitor
#elif defined(CONFIG_CPU_32v6K)
clrex @ clear the exclusive monitor
#endif
.if \fast
ldmdb sp, {r1 - lr}^ @ get calling r1 - lr
Expand Down Expand Up @@ -123,7 +118,10 @@
.macro svc_exit, rpsr
ldr lr, [sp, #S_SP] @ top of the stack
ldrd r0, r1, [sp, #S_LR] @ calling lr and pc
clrex @ clear the exclusive monitor

@ We must avoid clrex due to Cortex-A15 erratum #830321
strex r2, r1, [sp, #S_LR] @ clear the exclusive monitor

stmdb lr!, {r0, r1, \rpsr} @ calling lr and rfe context
ldmia sp, {r0 - r12}
mov sp, lr
Expand All @@ -132,13 +130,16 @@
.endm

.macro restore_user_regs, fast = 0, offset = 0
clrex @ clear the exclusive monitor
mov r2, sp
load_user_sp_lr r2, r3, \offset + S_SP @ calling sp, lr
ldr r1, [sp, #\offset + S_PSR] @ get calling cpsr
ldr lr, [sp, #\offset + S_PC] @ get pc
add sp, sp, #\offset + S_SP
msr spsr_cxsf, r1 @ save in spsr_svc

@ We must avoid clrex due to Cortex-A15 erratum #830321
strex r1, r2, [sp] @ clear the exclusive monitor

.if \fast
ldmdb sp, {r1 - r12} @ get calling r1 - r12
.else
Expand Down
8 changes: 3 additions & 5 deletions arch/arm/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,10 @@ static void show_data(unsigned long addr, int nbytes, const char *name)
u32 *p;

/*
* don't attempt to dump non-kernel addresses, values that are probably
* just small negative numbers, or vmalloc addresses that may point to
* memory-mapped peripherals
* don't attempt to dump non-kernel addresses or
* values that are probably just small negative numbers
*/
if (addr < PAGE_OFFSET || addr > -256UL ||
is_vmalloc_addr((void *)addr))
if (addr < PAGE_OFFSET || addr > -256UL)
return;

printk("\n%s: %#lx:\n", name, addr);
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-msm/lge/mako/board-mako-display.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static struct msm_bus_scale_pdata mdp_bus_scale_pdata = {
static struct msm_panel_common_pdata mdp_pdata = {
.gpio = MDP_VSYNC_GPIO,
.mdp_max_clk = 266667000,
.mdp_max_bw = 3000000000u,
.mdp_max_bw = 2000000000UL,
.mdp_bw_ab_factor = 115,
.mdp_bw_ib_factor = 125,
.mdp_bus_scale_table = &mdp_bus_scale_pdata,
Expand Down Expand Up @@ -815,7 +815,7 @@ static char ief_setC[9] = {0xEC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

static char osc_setting[4] = {0xC0, 0x00, 0x0A, 0x10};
static char power_setting3[13] = {0xC3, 0x00, 0x88, 0x03, 0x20, 0x01, 0x57, 0x4F, 0x33,0x02,0x38,0x38,0x00};
static char power_setting4[6] = {0xC4, 0x31, 0x24, 0x11, 0x11, 0x3D};
static char power_setting4[6] = {0xC4, 0x22, 0x24, 0x11, 0x11, 0x3D};
static char power_setting5[4] = {0xC5, 0x3B, 0x3B, 0x03};

#ifdef CONFIG_LGIT_VIDEO_WXGA_CABC
Expand Down
Loading