572 Commits

Author SHA1 Message Date
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
SecureCRT
4cecd4ccb2 Revert "fs: add field to superblock to support cleancache"
This reverts commit 1abd4f495eaa84e73b597f238cce704f06c54dc4.
2012-08-20 23:12:22 +08:00
SecureCRT
0f794ead76 Revert "enable zcache & cleancache"
This reverts commit c2ff7098d4011efb6143305f62b71c0f95e38108.
2012-08-20 23:12:10 +08:00
SecureCRT
f3a9b636b3 Revert "mm/fs: add hooks to support cleancache"
This reverts commit 3d343ac32afc6eb933d98eb2dc4b3ad532de7f3a.
2012-08-20 23:10:46 +08:00
SecureCRT
7c50bd921f staging:lowmemkiller add Fudgeswap
fudgeswap acts as follows:

If set to non zero (defualt is 512k):
	Check for the amount of SWAP_FREE space avalible
	If > 0KB is avalible:
		if fudgeswap > swapfree:
			other_file += swapfree
		else:
			other_file += fugeswap

In short: we will add in fugeswap as long as its less then the free swap

Setting this to a very large positive number will indicate swap ought
to be fully used as free (and will slow the system down)

smaller numbers will allow you to put some pressure on SWAP without
slowing the system down as much.

small negitive numbers will allow the system to be faster at the same
minfree level.

default is 512 to give a very little bit of pressure to use some swap
but this can be modified at runtime via:
/sys/module/lowmemorykiller/parameters/fugeswap
originally by ezterry
 Please enter the commit message for your changes. Lines starting
2012-08-20 15:24:37 +08:00
SecureCRT
3d343ac32a mm/fs: add hooks to support cleancache 2012-08-20 12:10:10 +08:00
SecureCRT
b6c1977f35 revert #8b62d33 2012-08-20 00:57:38 +08:00
SecureCRT
c2ff7098d4 enable zcache & cleancache 2012-08-20 00:53:53 +08:00
SecureCRT
8b62d33820 enable zcache & cleancache 2012-08-20 00:52:57 +08:00
SecureCRT
1abd4f495e fs: add field to superblock to support cleancache 2012-08-20 00:51:37 +08:00
SecureCRT
8eb6724dbf add zcache 2012-08-20 00:51:06 +08:00
SecureCRT
e0c9143ea1 mm: cleancache core ops functions and config 2012-08-20 00:49:43 +08:00
SecureCRT
f1beec1b32 vmalloc(): adjust gfp mask passed on nested vmalloc() invocation 2012-08-18 23:45:48 +08:00