595 Commits

Author SHA1 Message Date
fe9dc4b1d5 fix few merge issues 2012-12-27 13:28:42 +00:00
ac52e95f27 add merge from tytung branch 2012-12-27 11:44:08 +00:00
tytung
a6067c0e2d Revert "htcleo: restore the PMEM_ADSP size to the default value as the HW video decoder works on HD2 now."
This reverts commit 783883f2fef1804ff1572b2fd0e073a8a24b0f0b.
2012-11-17 21:14:15 +08:00
tytung
139f6ae520 Revert "htcleo: updated htcleo_defconfig to tytung_jellybean_r2"
This reverts commit bd5ec6a5e7a3797c25c33635f965d1d6e4f97f84.
2012-11-17 21:13:29 +08:00
tytung
9031c37be6 htcleo: pm: add HD2 off-mode Alarm Clock for cLK (Credit goes to kokotas and Rick_1995)
Visit http://forum.xda-developers.com/showthread.php?t=1990111 for more info.
2012-11-17 15:36:23 +08:00
tytung
bba549a7dc Staging: android: binder: Allow using highmem for binder buffers
The default kernel mapping for the pages allocated for the binder
buffers is never used. Set the __GFP_HIGHMEM flag when allocating
these pages so we don't needlessly use low memory pages that may
be required elsewhere.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 02:58:34 +08:00
tytung
a0b0a01619 Staging: android: binder: Fix memory leak on thread/process exit
If a thread or process exited while a reply, one-way transaction or
death notification was pending, the struct holding the pending work
was leaked.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 02:58:27 +08:00
tytung
bd5ec6a5e7 htcleo: updated htcleo_defconfig to tytung_jellybean_r2 2012-11-11 13:26:46 +08:00
tytung
783883f2fe htcleo: restore the PMEM_ADSP size to the default value as the HW video decoder works on HD2 now. 2012-11-11 13:24:22 +08:00
tytung
2543feb2ce htcleo: updated htcleo_defconfig to tytung_jellybean_r1' 2012-10-14 20:29:01 +08:00
tytung
f3e70adb04 htcleo: reduce the pmem_adsp size 2012-10-14 20:28:28 +08:00
tytung
facd1b5635 Update build.sh for JellyBean 2012-10-14 18:31:43 +08:00
tytung
b9cddc7f36 remove -ics flag 2012-10-14 18:16:44 +08:00
tytung
e42ef086be Revert "reduced the PMEM_ADSP size as the HW decoder still can't work on HD2"
This reverts commit 411b4bcb906fc29b7c4776fa564ec8aa6329834c.
2012-10-14 18:15:16 +08:00
tytung
c679e15374 Merge remote-tracking branch 'securecrt/jellybean' into jellybean
Conflicts:
	arch/arm/configs/htcleo_defconfig
2012-10-14 18:14:49 +08:00
tytung
f9b8788a89 drivers: power: enable fast_charge by default 2012-10-13 02:28:16 +08:00
SecureCRT
5155c8ec93 remove the compile warnings 2012-10-13 02:27:01 +08:00
SecureCRT
bda745315c tweaks iosched for better android performance 2012-10-13 02:26:34 +08:00
SecureCRT
50391c3525 Merge branch 'ics_HWA' into jellybean 2012-09-24 22:37:15 +08:00
SecureCRT
2931196a52 remove the compile warnings 2012-09-24 22:36:20 +08:00
SecureCRT
582f409d66 tweaks iosched for better android performance 2012-09-24 22:35:24 +08:00
SecureCRT
7553b3788d video: msm: add mdp version to id string,and put a bogus panel id 2012-09-23 22:39:34 +08:00
tytung
1b9c88acd9 htcleo: updated htcleo_defconfig to tytung_HWA_r3.5 2012-09-23 19:30:24 +08:00
tytung
499a1d65ed Revert "disable KSM"
This reverts commit c9ff1491834a531715dd5658ccf90b524545b7a9.
2012-09-23 19:28:36 +08:00
tytung
e41593d928 Merge remote-tracking branch 'securecrt/ics_HWA' into ics_HWA
Conflicts:
	arch/arm/configs/htcleo_defconfig
	build.sh
2012-09-23 17:22:13 +08:00
SecureCRT
0a250c8bdf Staging: android: binder: Add some missing binder_stat_br calls
Cached thread return errors, death notifications and new looper
requests were not included in the stats.

Change-Id: Iabe14b351b662d3f63009ecb3900f92fc3d72cc4
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2012-09-22 20:44:03 +08:00
SecureCRT
7e72949381 Staging: android: binder: Add some missing binder_stat_br calls
Cached thread return errors, death notifications and new looper
requests were not included in the stats.

Change-Id: Iabe14b351b662d3f63009ecb3900f92fc3d72cc4
Signed-off-by: Arve Hjønnevåg <arve@android.com>
2012-09-22 20:39:45 +08:00
SecureCRT
d14b09ad9b Merge ics_HWA #00e4d55 2012-09-22 18:54:01 +08:00
SecureCRT
00e4d55f8a base: genlock: handle error while creating lock/handle inode
base: genlock: add magic to protect attach from non-genlock file
base: genlock: protect kref counting with spinlock
2012-09-22 18:49:06 +08:00
securecrt
4d2e9936aa disable GENTLE FAIR SLEEPERS
Sleeper Fairness is a concept used by CFS which treat sleeping/waiting tasks as if they were in a run queue. This implies tasks which spend most of the time waiting for an user input and such will get a fair share of CPU when they need it. Disabling Gentle Fair Sleepers could improve UI responsiveness.
2012-09-21 14:11:11 +08:00
securecrt
d6a9cabcb5 disable GENTLE FAIR SLEEPERS
Sleeper Fairness is a concept used by CFS which treat sleeping/waiting tasks as if they were in a run queue. This implies tasks which spend most of the time waiting for an user input and such will get a fair share of CPU when they need it. Disabling Gentle Fair Sleepers could improve UI responsiveness.
2012-09-21 13:59:41 +08:00
securecrt
c6861409a8 ashmem: Implement read(2) in ashmem driver
ashmem: Fix ASHMEM_SET_PROT_MASK.
ashmem: Support lseek(2) in ashmem driver
ashmem: Fix the build failure when OUTER_CACHE is enabled
ashmem: Fix ashmem vm range comparison to stop roll-over
2012-09-21 13:04:50 +08:00
securecrt
73dd7070ec Merge branch 'jellybean' of https://github.com/securecrt/android_kernel_htcleo-2.6.32-ics into jellybean 2012-09-21 12:57:39 +08:00
SecureCRT
c8d5db022f ashmem: Implement read(2) in ashmem driver
ashmem: Fix ASHMEM_SET_PROT_MASK.
ashmem: Support lseek(2) in ashmem driver
ashmem: Fix the build failure when OUTER_CACHE is enabled
ashmem: Fix ashmem vm range comparison to stop roll-over
2012-09-21 01:06:29 +08:00
SecureCRT
b9ead040d2 enable -pipe 2012-09-21 01:06:00 +08:00
SecureCRT
035e8b5999 change build sh 2012-09-09 22:55:52 +08:00
SecureCRT
b989638f53 fixed merge problem 2012-08-23 22:41:48 +08:00
securecrt
f9c1be0ea3 fixed merge problem 2012-08-23 13:06:34 +08:00
securecrt
1160ee1202 Merge branch 'ics_HWA' into jellybean
Conflicts:
	arch/arm/configs/htcleo_defconfig
	drivers/staging/android/lowmemorykiller.c
2012-08-23 12:57:17 +08:00
securecrt
c9ff149183 disable KSM 2012-08-23 12:45:29 +08:00
securecrt
4b10fc19b9 staging: Add Snappy compression support to zram
Zram currently uses LZO compression. With Snappy, it uses less CPU time and is
thus more useful. The sacrifice in compression ratio is small.
Zram's LZO and Snappy support can be independently enabled at compile time and
each zram device can switch between compression methods when unused.
When only a single compression method was enabled at compile time, no idirection
penalty is incurred.
http://driverdev.linuxdriverproject.org/pipermail/devel/2011-April/015114.html
2012-08-23 12:39:53 +08:00
SecureCRT
f3818c8864 Merge branch 'ics_HWA' of github.com:securecrt/android_kernel_htcleo-2.6.32-ics into ics_HWA 2012-08-23 02:50:19 +08:00
SecureCRT
2145485d7d mmc: change clock from 50Mhz to 64Mhz PCLK
mmc: change NR_SG from 32 to 128 for better performance
2012-08-23 02:45:27 +08:00
SecureCRT
4eade398cd mmc: msm: fix dma usage not to use internal APIs
Remove parts of this driver which use internal API calls. This
replaces the calls as suggested by Russell King.
2012-08-23 01:05:06 +08:00
SecureCRT
08802ee5be mmc: msm_sdcc: Fix bug in PIO mode when data size is not word aligned
The current code for PIO doesn't transfer whole data when data size
is not in multiple of 4 bytes. The last few bytes are not written to
the card resulting in no DATAEND interrupt from SDCC. This patch
allows data transfer for non-aligned data size in PIO mode.
2012-08-23 00:43:40 +08:00
SecureCRT
29e0f0df9d mmc: msm_sdcc: Add prog done interrupt support
Enable prog done interrupt for stop command(CMD12) that is sent
after a multi-block write(CMD25). The PROG_DONE bit is set when
the card has finished its programming and is ready for next data.

After every write request the card will be polled for ready status
using CMD13. For a multi-block write(CMD25) before sending CMD13,
stop command (CMD12) will be sent.  If we enable prog done interrupt
for CMD12, then CMD13 polling can be avoided. The prog done interrupt
means that the card is done with its programming and is ready for
next request.
2012-08-23 00:34:36 +08:00
SecureCRT
81d981629c mmc: msm_sdcc: Fix possible circular locking dependency warning
In the context of request processing thread, data mover lock is
acquired after the host lock.  In another context, in the completion
handler of data mover the locks are acquired in the reverse order,
resulting in possible circular lock dependency warning. Hence,
schedule a tasklet to process the dma completion so as to avoid
nested locks.
2012-08-23 00:10:19 +08:00
SecureCRT
04d584c634 drivers/mmc/host/msm-sdcc: remove dead config options
CONFIG_MMC_MSM7X00A_RESUME_IN_WQ and CONFIG_MMC_EMBEDDED_SDIO don't exist
in Kconfig and is never defined anywhere else, therefore removing all
references for it from the source code.
2012-08-23 00:00:26 +08:00
SecureCRT
5c726afbb6 Revert "mm: cleancache core ops functions and config"
This reverts commit e0c9143ea1ec510a41b347be043e98034eedf5c8.
2012-08-20 23:15:00 +08:00
SecureCRT
61eb7c5296 Revert "add zcache"
This reverts commit 8eb6724dbfb99bb1f17f3192483fafc1f9eb73fe.
2012-08-20 23:14:51 +08:00