ac52e95f27
add merge from tytung branch
Arif Ali2012-12-27 11:44:08 +00:00
a6067c0e2d
Revert "htcleo: restore the PMEM_ADSP size to the default value as the HW video decoder works on HD2 now."
tytung
2012-11-17 21:14:15 +08:00
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.
SecureCRT
2012-09-22 20:44:03 +08:00
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.
SecureCRT
2012-09-22 20:39:45 +08:00
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
SecureCRT
2012-09-22 18:49:06 +08:00
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.
securecrt
2012-09-21 14:11:11 +08:00
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.
securecrt
2012-09-21 13:59:41 +08:00
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
securecrt
2012-09-21 13:04:50 +08:00
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
SecureCRT
2012-09-21 01:06:29 +08:00
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
securecrt
2012-08-23 12:39:53 +08:00
f3818c8864
Merge branch 'ics_HWA' of github.com:securecrt/android_kernel_htcleo-2.6.32-ics into ics_HWA
SecureCRT
2012-08-23 02:50:19 +08:00
2145485d7d
mmc: change clock from 50Mhz to 64Mhz PCLK mmc: change NR_SG from 32 to 128 for better performance
SecureCRT
2012-08-23 02:45:27 +08:00
4eade398cd
mmc: msm: fix dma usage not to use internal APIs
SecureCRT
2012-08-23 01:05:06 +08:00
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.
SecureCRT
2012-08-23 00:43:40 +08:00
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.
SecureCRT
2012-08-23 00:34:36 +08:00
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.
SecureCRT
2012-08-23 00:10:19 +08:00
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.
SecureCRT
2012-08-23 00:00:26 +08:00
7c81b7476d
ksm: check for ERR_PTR from follow_page()
SecureCRT
2012-08-17 01:49:14 +08:00
8b041c69af
mm/ksm.c is doing an unneeded _notify in write_protect_page.
SecureCRT
2012-08-17 01:40:53 +08:00
c95ed3371a
staging: zram: fix zram locking Staging: zram: Replace mutex lock by a R/W semaphore Staging: zram: Add a missing GFP_KERNEL specifier in zram_init_device()
SecureCRT
2012-08-17 01:21:55 +08:00
cc0db50c33
ksm: remove unswappable max_kernel_pages ksm: fix bad user data when swapping thp: ksm: free swap when swapcache page is replaced
SecureCRT
2012-08-17 01:19:24 +08:00
c59e5f029c
change MSM_NAND_DMA_BUFFER_SIZE to SZ_1M
securecrt
2012-08-15 18:55:32 +08:00
e4c201d97a
pmem_adsp (user-space) as non-cached pmem_venc (user-space) as non-cached
securecrt
2012-08-15 18:55:05 +08:00
8d4f825606
pmem: Check for valid virtual address while flushing pmem: Correctly account for aligned blocks
securecrt
2012-08-15 18:54:43 +08:00
a8ff4f89b4
android: logger: Allow a UID to read it's own log entries staging: logger: hold mutex while removing reader staging: android: logger: clarify non-update of w_off in do_write_log_from_user staging: android: logger: clarify code in clock_interval staging: android: logger: reorder prepare_to_wait and mutex_lock staging: android: logger: simplify and optimize get_entry_len staging: android: logger: Change logger_offset() from macro to function Staging: android: fixed white spaces coding style issue in logger.c android: logger: bump up the logger buffer sizes
securecrt
2012-08-15 18:53:52 +08:00
9f70587067
staging: android: lowmemorykiller: sysfs node and notifications android, lowmemorykiller: remove task handoff notifier staging: android: lowmemorykiller: Fix task_struct leak staging: android/lowmemorykiller: Don't unregister notifier from atomic context staging: android, lowmemorykiller: convert to use oom_score_adj staging: android/lowmemorykiller: Do not kill kernel threads staging: android/lowmemorykiller: No need for task->signal check staging: android/lowmemorykiller: Better mm handling staging: android/lowmemorykiller: Don't grab tasklist_lock staging: android: lowmemorykiller: Don't wait more than one second for a process to die Staging: android: fixed 80 characters warnings in lowmemorykiller.c staging: android: lowmemorykiller: Ignore shmem pages in page-cache staging: android: lowmemorykiller: Remove bitrotted codepath staging: android: lowmemkiller: Substantially reduce overhead during reclaim staging: android: lowmemorykiller: Don't try to kill the same pid over and over
securecrt
2012-08-15 18:53:09 +08:00
0fa4a5529c
Staging: android: binder: Don't call dump_stack in binder_vma_open Staging: android: binder: Fix crashes when sharing a binder file between processes drivers:staging:android Typos: fix some comments that have typos in them. fs: Remove missed ->fds_bits from cessation use of fd_set structs internally Staging:android: Change type for binder_debug_no_lock switch to bool Staging: android: binder: Fix use-after-free bug
securecrt
2012-08-15 18:52:07 +08:00
0c4a37e304
change MSM_NAND_DMA_BUFFER_SIZE to SZ_1M
securecrt
2012-08-15 18:07:29 +08:00
cdcb35c854
pmem_adsp (user-space) as non-cached pmem_venc (user-space) as non-cached
securecrt
2012-08-15 18:06:24 +08:00
fced437cd2
pmem: Check for valid virtual address while flushing pmem: Correctly account for aligned blocks
securecrt
2012-08-15 18:04:29 +08:00
e04d028ecf
reduced the log size
securecrt
2012-08-15 18:03:44 +08:00
9c3257d859
android: logger: Allow a UID to read it's own log entries staging: logger: hold mutex while removing reader staging: android: logger: clarify non-update of w_off in do_write_log_from_user staging: android: logger: clarify code in clock_interval staging: android: logger: reorder prepare_to_wait and mutex_lock staging: android: logger: simplify and optimize get_entry_len staging: android: logger: Change logger_offset() from macro to function Staging: android: fixed white spaces coding style issue in logger.c android: logger: bump up the logger buffer sizes
securecrt
2012-08-15 14:56:37 +08:00
d6b41b0def
staging: android: lowmemorykiller: sysfs node and notifications android, lowmemorykiller: remove task handoff notifier staging: android: lowmemorykiller: Fix task_struct leak staging: android/lowmemorykiller: Don't unregister notifier from atomic context staging: android, lowmemorykiller: convert to use oom_score_adj staging: android/lowmemorykiller: Do not kill kernel threads staging: android/lowmemorykiller: No need for task->signal check staging: android/lowmemorykiller: Better mm handling staging: android/lowmemorykiller: Don't grab tasklist_lock staging: android: lowmemorykiller: Don't wait more than one second for a process to die Staging: android: fixed 80 characters warnings in lowmemorykiller.c staging: android: lowmemorykiller: Ignore shmem pages in page-cache staging: android: lowmemorykiller: Remove bitrotted codepath staging: android: lowmemkiller: Substantially reduce overhead during reclaim staging: android: lowmemorykiller: Don't try to kill the same pid over and over
securecrt
2012-08-15 13:37:30 +08:00
9b8229cafb
Staging: android: binder: Don't call dump_stack in binder_vma_open Staging: android: binder: Fix crashes when sharing a binder file between processes drivers:staging:android Typos: fix some comments that have typos in them. fs: Remove missed ->fds_bits from cessation use of fd_set structs internally Staging:android: Change type for binder_debug_no_lock switch to bool Staging: android: binder: Fix use-after-free bug
securecrt
2012-08-14 16:48:25 +08:00
e20f7d7077
base: genlock: Remove genlock_release_lock and associated ioctl base: genlock: allow synchronization with a single gralloc handle base: genlock: remove BIT macro usage
securecrt
2012-08-14 13:45:36 +08:00
3107194028
fixed typo in config file
securecrt
2012-08-07 16:52:14 +08:00
11a56d2216
add in_interrupt back
SecureCRT
2012-08-07 00:53:53 +08:00
65b62e5ee4
base: genlock: Remove genlock_release_lock and associated ioctl base: genlock: allow synchronization with a single gralloc handle base: genlock: remove BIT macro usage
SecureCRT
2012-08-07 00:45:11 +08:00
8d701dfec6
htcleo: updated htcleo_defconfig to tytung_HWA_r3.4
tytung
2012-08-07 00:04:47 +08:00
83bc93927f
power: ds2746: Add procfs interface for fast charge
marc1706
2012-08-05 22:55:20 +02:00
55ece772cd
msm: kgsl: Add per context timestamp Add new ioctls for per context timestamps. Timestamp functions (read/write/wait) will now be context specific rather than only using the global timestamp. Per context timestamps is a requirement for priority based queueing.
securecrt
2012-08-02 17:04:07 +08:00
1e188cc5e1
net: netfilter: enable bandwidth control to be able to set mobile data limit
securecrt
2012-08-02 13:21:31 +08:00
8bdae42d95
net: netfilter: enable bandwidth control to be able to set mobile data limit
securecrt
2012-08-01 10:55:06 +08:00
bc9444ab04
htcleo: updated htcleo_defconfig to tytung_HWA_r3.3
tytung
2012-08-01 00:21:30 +08:00
47e7119196
Merge branch 'ics_HWA' of git://github.com/securecrt/android_kernel_htcleo-2.6.32-ics into ics_HWA
tytung
2012-08-01 00:17:27 +08:00
05369deec9
include: checkout msm_mdp from ics_chocolate *needs to match userspace*
securecrt
2012-07-31 13:59:12 +08:00
c6e8ee54ff
msm: kgsl: rework ib checking Separate ib parse checking from cffdump as it is useful in other situations. This is controlled by a new debugfs file, ib_check. All ib checking is off (0) by default, because parsing and mem_entry lookup can have a performance impact on some benchmarks. Level 1 checking verifies the IB1's. Level 2 checking also verifies the IB2.
securecrt
2012-07-26 16:14:35 +08:00
d842173fc6
msm: kgsl: Add markers to identify IB sequence start and end Add nop packets in ringbuffer at the start and end of IB buffers subnmitted by user space driver. These nop packets serve as markers that can be used during replay, recovery, and snapshot to get valid data for a GPU hang dump
securecrt
2012-07-26 15:37:36 +08:00
394bda433a
msm: kgsl: Map a guard page on the back of GPU MMU regions Add a guard page on the backside of page_alloc MMU mappings to protect against an over zealous GPU pre-fetch engine that sometimes oversteps the end of the mapped region. The same phsyical page can be re-used for each mapping so we only need to allocate one phsyical page to rule them all and in the darkness bind them.
securecrt
2012-07-26 14:04:25 +08:00
4822aef009
msm: kgsl: Change name of vmalloc allocator Change the vmalloc allocation name to something more appropriate since we do not allocate memory using vmalloc for userspace driver. We directly allocate physical pages and map that to user address space. The name is changed to page_alloc instead of vmalloc. Add sysfs files to track memory usage via both vmalloc and page_alloc.
securecrt
2012-07-26 13:52:28 +08:00
e2ff78936f
msm: kgsl: Do not dereference pointer before checking against NULL The pagetable pointer was checked against NULL after being used. Check against NULL first and then dereference it.
securecrt
2012-07-25 21:10:10 +08:00
41b9064ec2
msm: kgsl: don't clear gpuaddr when unmapping global mappings Memory mapped through kgsl_mmu_map_global() is supposed to have the same gpu address in all pagetables. And the memdesc will persist beyond the lifetime of any single pagetable. Therefore, memdesc->gpuaddr should not be zeroed for these memdescs.
securecrt
2012-07-25 21:08:59 +08:00
121a2a91a5
msm: kgsl: Add GMEM size configuration in gpu list To avoid msm or gpu specific code in the driver, added GMEM size configuration parameter as a part of gpu list.
securecrt
2012-07-25 20:39:13 +08:00
efa80a4cc1
msm: kgsl: Cleanup header file macros Remove macro logic for macros that are always defined.
securecrt
2012-07-25 20:27:26 +08:00