Commit Graph

169990 Commits

Author SHA1 Message Date
柯飞雄
9ce96b6f28 mod i2c 2010-06-21 13:34:51 +08:00
柯飞雄
93596a983f mod i2c 2010-06-21 13:34:51 +08:00
柯飞雄
d0c25b91f7 mod i2c 2010-06-21 13:34:51 +08:00
柯飞雄
e276a7a9d6 mod i2c 2010-06-21 13:34:51 +08:00
柯飞雄
265556d2df del i2c.h 2010-06-21 13:34:51 +08:00
柯飞雄
fedb7b43e6 add i2c 2010-06-21 13:34:51 +08:00
柯飞雄
08e5c91a29 mod i2c 2010-06-21 13:34:51 +08:00
柯飞雄
73b03907bb add i2c 2010-06-21 13:34:51 +08:00
柯飞雄
c8822d746b add i2c 2010-06-21 13:34:50 +08:00
柯飞雄
5308e48a9e add i2c 2010-06-21 13:34:50 +08:00
柯飞雄
99e8fe779d add i2c 2010-06-21 13:34:50 +08:00
柯飞雄
f4d41f9ccf add i2c 2010-06-21 13:34:50 +08:00
柯飞雄
39baf1740b add i2c 2010-06-21 13:34:50 +08:00
柯飞雄
9128b02330 add i2c 2010-06-21 13:34:50 +08:00
林辉辉
50350fb320 add spi driver 2010-06-21 13:34:50 +08:00
黄涛
2fe0f135b9 map RK2818_SDRAMC_BASE 2010-06-21 13:34:50 +08:00
黄涛
4b5d517f8a add scu.h 2010-06-21 13:34:49 +08:00
倪振宇
0d43be70bd modify dwdma hardware connection 2010-06-21 13:34:49 +08:00
黄涛
01c55e4217 enable TCM 2010-06-21 13:34:49 +08:00
倪振宇
af5a5942bd disable dwdma testing switch 2010-06-21 13:34:49 +08:00
倪振宇
c16f9537c1 modify performance of dwdam interrupt method 2010-06-21 13:34:49 +08:00
倪振宇
bf70d5d56d modify method that get irq status 2010-06-21 13:34:49 +08:00
倪振宇
904be6454b modify interrupt type 2010-06-21 13:34:49 +08:00
沈睿汀
27a483a554 update for gpio 2010-06-21 13:34:49 +08:00
黄涛
b609179d36 support clk_set_parent 2010-06-21 13:34:49 +08:00
沈睿汀
9d8ef9b6c9 add for gpio 2010-06-21 13:34:48 +08:00
沈睿汀
08700a4d62 update for gpio 2010-06-21 13:34:48 +08:00
沈睿汀
65d56d9355 update for gpio 2010-06-21 13:34:48 +08:00
沈睿汀
d263011106 update for gpio 2010-06-21 13:34:48 +08:00
沈睿汀
904eb2f188 update for gpio 2010-06-21 13:34:48 +08:00
沈睿汀
f2f2ddf53b update for gpio 2010-06-21 13:34:48 +08:00
倪振宇
8847ae9cd5 delete macro test dma 2010-06-21 13:34:48 +08:00
倪振宇
7afb6cdc75 add dwdma driver 2010-06-21 13:34:48 +08:00
黄涛
b637f1ce14 set zreladdr to 0x60008000 2010-06-21 13:34:48 +08:00
黄涛
1c112ca231 update debug code 2010-06-21 13:34:47 +08:00
林辉辉
5e623a8256 update .config can run ramdisk 2010-06-21 13:34:47 +08:00
黄涛
e393c45cc7 more clock 2010-06-21 13:34:47 +08:00
林辉辉
7d91eb51dc add iomux driver 2010-06-21 13:34:47 +08:00
林辉辉
24da4f2bb4 update rk2818_serial 2010-06-21 13:34:47 +08:00
黄涛
e9146e9727 fix clock name from uart_clk to uart, uartclk get use clk_get_rate 2010-06-21 13:34:47 +08:00
黄涛
6af39fb5f6 add clock support 2010-06-21 13:34:47 +08:00
黄涛
673a8bce82 enable common clkdev 2010-06-21 13:34:47 +08:00
林辉辉
fca2f09cda add rk2818 serial and up iomap 2010-06-21 13:34:46 +08:00
林辉辉
cb338334b9 rk2818 for linux2.6.32 2010-06-21 13:34:46 +08:00
Bjorn Bringert
16fe6f1aa7 Implement read(2) in ashmem driver
Bug: 2595601
Change-Id: I47c0016f594f9354fb8658ccb26e3d395bcb137b
Signed-off-by: Bjorn Bringert <bringert@android.com>
2010-05-15 11:13:09 +01:00
San Mehat
ab24f9c8fd staging: android: lowmemorykiller: Remove bitrotted codepath
Now that we're murder-synchronous, this code path will never be
called (and if it does, it doesn't tell us anything useful other
than we killed a task that was already being killed by somebody
else but hadn't gotten its' signal yet)

Signed-off-by: San Mehat <san@google.com>
2010-05-06 15:51:17 -07:00
San Mehat
896c969afc staging: android: lowmemorykiller: Fix task_struct leak
As it turns out, the CONFIG_PROFILING interfaces leak a
task struct if the notifier chain returns NOTIFY_OK.. doh.

This patch reworks lowmemkiller to use the new generic task
free notifier chain.

Signed-off-by: San Mehat <san@google.com>
2010-05-06 15:51:08 -07:00
San Mehat
9e6cb2f4db sched: Add a generic notifier when a task struct is about to be freed
This patch adds a notifier which can be used by subsystems that may
be interested in when a task has completely died and is about to
have it's last resource freed.

  The Android lowmemory killer uses this to determine when a task
it has killed has finally given up its goods.

Signed-off-by: San Mehat <san@google.com>
2010-05-06 15:51:00 -07:00
Christopher Lais
6bdee543a3 binder: Fix memory corruption via page aliasing
binder_deferred_release was not unmapping the page from the buffer
before freeing it, causing memory corruption.  This only happened
when page(s) had not been freed by binder_update_page_range, which
properly unmaps the pages.

This only happens on architectures with VIPT aliasing.

To reproduce, create a program which opens, mmaps, munmaps, then closes
the binder very quickly.  This should leave a page allocated when the
binder is released.  When binder_deferrred_release is called on the
close, the page will remain mapped to the address in the linear
proc->buffer.  Later, we may map the same physical page to a different
virtual address that has different coloring, and this may cause
aliasing to occur.

PAGE_POISONING will greatly increase your chances of noticing any
problems.

Change-Id: I6941bf212881b8bf846bdfda43d3609c7ae4892e

Signed-off-by: Christopher Lais <chris+android@zenthought.org>
2010-05-05 15:53:29 -07:00
San Mehat
3508951576 staging: android: lowmemkiller: Substantially reduce overhead during reclaim
This patch optimizes lowmemkiller to not do any work when it has an outstanding
kill-request. This greatly reduces the pressure on the task_list lock
(improving interactivity), as well as improving the vmscan performance
when under heavy memory pressure (by up to 20x in tests).

Note: For this enhancement to work, you need CONFIG_PROFILING

Signed-off-by: San Mehat <san@google.com>
2010-05-05 12:11:41 -07:00