-
Notifications
You must be signed in to change notification settings - Fork 8
Comparing changes
Open a pull request
base repository: s0be/cm-kernel
base: android-msm-2.6.35-unified
head repository: riemervdzee/hero-kernel-2.6.35_OLD
compare: android-msm-2.6.35-unified
Commits on Jul 22, 2010
-
Revert "Staging: android: delete android drivers"
This reverts commit b0a0ccf.
Configuration menu - View commit details
-
Copy full SHA for 3fcce2d - Browse repository at this point
Copy the full SHA 3fcce2dView commit details -
staging/android: fix build issues
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Configuration menu - View commit details
-
Copy full SHA for 05edfb1 - Browse repository at this point
Copy the full SHA 05edfb1View commit details -
Revert "Staging: android: mark subsystem as broken"
This reverts commit 2cdf99c.
Configuration menu - View commit details
-
Copy full SHA for 4467715 - Browse repository at this point
Copy the full SHA 4467715View commit details -
ARM: Make low-level printk work
Makes low-level printk work. Signed-off-by: Tony Lindgren <tony@atomide.com>
Configuration menu - View commit details
-
Copy full SHA for 537400c - Browse repository at this point
Copy the full SHA 537400cView commit details -
[ARM] Add code to prevent system calls from being restarted muliple t…
…imes before returning from the kernel. Fixes crashes with thumb syscalls.
Configuration menu - View commit details
-
Copy full SHA for 1bdf0e2 - Browse repository at this point
Copy the full SHA 1bdf0e2View commit details -
Signed-off-by: Brian Swetland <swetland@google.com> Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 173c502 - Browse repository at this point
Copy the full SHA 173c502View commit details -
[ARM] Allow ICEDCC to work with CPU_V7 as well as CPU_V6.
The mechanism is the same -- just need to adjust some ifdefs. Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for 113fe88 - Browse repository at this point
Copy the full SHA 113fe88View commit details -
[ARM] avoid mis-detecting some V7 cores in the decompressor
This allows kernel decompress to happen nearly instantly instead of taking over 20 seconds. Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for 3aeb3da - Browse repository at this point
Copy the full SHA 3aeb3daView commit details -
mm: Add min_free_order_shift tunable.
By default the kernel tries to keep half as much memory free at each order as it does for one order below. This can be too agressive when running without swap. Change-Id: I5efc1a0b50f41ff3ac71e92d2efd175dedd54ead Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 5a56804 - Browse repository at this point
Copy the full SHA 5a56804View commit details -
mm: Check if any page in a pageblock is reserved before marking it MI…
…GRATE_RESERVE This fixes a problem where the first pageblock got marked MIGRATE_RESERVE even though it only had a few free pages. This in turn caused no contiguous memory to be reserved and frequent kswapd wakeups that emptied the caches to get more contiguous memory.
Configuration menu - View commit details
-
Copy full SHA for e1899e0 - Browse repository at this point
Copy the full SHA e1899e0View commit details -
futex: Restore one of the fast paths eliminated by 38d47c1
This improves futex performance until our user-space code is fixed to use FUTEX_PRIVATE_FLAG for non-shared futexes. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 14c462a - Browse repository at this point
Copy the full SHA 14c462aView commit details -
[ARM] Optionally flush entire dcache from v6_dma_flush_range
If CACHE_FLUSH_RANGE_LIMIT is defined, then the entire dcache will be flushed if the requested range is larger than this limit. Change-Id: I29277d645a9d6716b1952cf3b870c78496261dd0 Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 9db0dad - Browse repository at this point
Copy the full SHA 9db0dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for a07bddd - Browse repository at this point
Copy the full SHA a07bdddView commit details -
sched: Enable might_sleep before initializing drivers.
This allows detection of init bugs in built-in drivers. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 6f8c0de - Browse repository at this point
Copy the full SHA 6f8c0deView commit details -
sched: make task dump print all 15 chars of proc comm
Change-Id: I1a5c9676baa06c9f9b4424bbcab01b9b2fbfcd99 Signed-off-by: Erik Gilling <konkers@android.com>
Configuration menu - View commit details
-
Copy full SHA for a9df307 - Browse repository at this point
Copy the full SHA a9df307View commit details -
Make /dev/mem configurable, as we don't want it.
Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for b196005 - Browse repository at this point
Copy the full SHA b196005View commit details -
w1: don't allow arbitrary users to remove w1 devices
The search/pullup/add/remove device attributes were 0666 which would allow arbitrary users to affect the 1 wire bus. Change to 0664 to prevent that. Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for 39088f0 - Browse repository at this point
Copy the full SHA 39088f0View commit details -
[docs] android: Add android config documentation to boot framework.
Signed-off-by: Mike Chan <mike@android.com>
Configuration menu - View commit details
-
Copy full SHA for 4133c94 - Browse repository at this point
Copy the full SHA 4133c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13520b8 - Browse repository at this point
Copy the full SHA 13520b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2e39f7 - Browse repository at this point
Copy the full SHA d2e39f7View commit details -
PM: wakelock: Replace expire work with a timer The expire work function did not work in the normal case. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for d0abed8 - Browse repository at this point
Copy the full SHA d0abed8View commit details -
power: Prevent spinlock recursion when wake_unlock() is called
Signed-off-by: Mike Chan <mike@android.com>
Configuration menu - View commit details
-
Copy full SHA for 55e0ecd - Browse repository at this point
Copy the full SHA 55e0ecdView commit details -
power: wakelocks: fix buffer overflow in print_wake_locks
Change-Id: Ic944e3b3d3bc53eddc6fd0963565fd072cac373c Signed-off-by: Erik Gilling <konkers@android.com>
Configuration menu - View commit details
-
Copy full SHA for 82a1632 - Browse repository at this point
Copy the full SHA 82a1632View commit details -
PM: wakelocks: Use seq_file for /proc/wakelocks so we can get more th…
…an 3K of stats. Change-Id: I42ed8bea639684f7a8a95b2057516764075c6b01 Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for add74ea - Browse repository at this point
Copy the full SHA add74eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39b9b38 - Browse repository at this point
Copy the full SHA 39b9b38View commit details -
PM: Enable early suspend through /sys/power/state
If EARLYSUSPEND is enabled then writes to /sys/power/state no longer blocks, and the kernel will try to enter the requested state every time no wakelocks are held. Write "on" to resume normal operation.
Configuration menu - View commit details
-
Copy full SHA for 04cbf5f - Browse repository at this point
Copy the full SHA 04cbf5fView commit details -
PM: Add user-space wake lock api.
This adds /sys/power/wake_lock and /sys/power/wake_unlock. Writing a string to wake_lock creates a wake lock the first time is sees a string and locks it. Optionally, the string can be followed by a timeout. To unlock the wake lock, write the same string to wake_unlock. Change-Id: I66c6e3fe6487d17f9c2fafde1174042e57d15cd7
Configuration menu - View commit details
-
Copy full SHA for f2f49cf - Browse repository at this point
Copy the full SHA f2f49cfView commit details -
PM: wakelock: Abort task freezing if a wake lock is held.
Avoids a problem where the device sometimes hangs for 20 seconds before the screen is turned on.
Configuration menu - View commit details
-
Copy full SHA for b665321 - Browse repository at this point
Copy the full SHA b665321View commit details -
PM: wakelock: Don't dump unfrozen task list when aborting try_to_free…
…ze_tasks after less than one second Change-Id: Ib2976e5b97a5ee4ec9abd4d4443584d9257d0941 Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 10e424c - Browse repository at this point
Copy the full SHA 10e424cView commit details -
PM: earlysuspend: Add console switch when user requested sleep state …
…changes. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 9371527 - Browse repository at this point
Copy the full SHA 9371527View commit details -
consoleearlysuspend: Fix for 2.6.32
vt_waitactive now needs a 1 based console number Change-Id: I07ab9a3773c93d67c09d928c8d5494ce823ffa2e
Configuration menu - View commit details
-
Copy full SHA for 70543a1 - Browse repository at this point
Copy the full SHA 70543a1View commit details -
PM: earlysuspend: Removing dependence on console.
Rather than signaling a full update of the display from userspace via a console switch, this patch introduces 2 files int /sys/power, wait_for_fb_sleep and wait_for_fb_wake. Reading these files will block until the requested state has been entered. When a read from wait_for_fb_sleep returns userspace should stop drawing. When wait_for_fb_wake returns, it should do a full update. If either are called when the fb driver is already in the requested state, they will return immediately. Signed-off-by: Rebecca Schultz <rschultz@google.com> Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for e7e155d - Browse repository at this point
Copy the full SHA e7e155dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18b8d08 - Browse repository at this point
Copy the full SHA 18b8d08View commit details -
rtc: alarm: Add in-kernel alarm interface
Drivers can now create alarms that will use an hrtimer while the system is running and the rtc to wake up from suspend. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 22c2535 - Browse repository at this point
Copy the full SHA 22c2535View commit details -
rtc: Try to prevent RTC errors from accumulating.
When we resume we only know how many whole seconds has elapsed. These errors would accumulate in delta. We now only set the delta if it would change by more than two seconds. If we drift back by by more than a second add one in resume. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 2e26cb0 - Browse repository at this point
Copy the full SHA 2e26cb0View commit details -
ledtrig-sleep: Add led trigger for sleep debugging.
Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for aa601dd - Browse repository at this point
Copy the full SHA aa601ddView commit details -
Input: Hold wake lock while event queue is not empty.
Allows userspace code to process input events while the device appears to be asleep. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for b53880a - Browse repository at this point
Copy the full SHA b53880aView commit details -
Input: Use monotonic time for event time stamps.
Since wall time can jump backwards, it cannot be used to determine if one event occured before another or for how long a key was pressed. Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for a7c88ad - Browse repository at this point
Copy the full SHA a7c88adView commit details -
input: evdev: Use unique wakelock names
wakelock names are now contain evdev->name and pid Signed-off-by: Mike Chan <mike@android.com>
Configuration menu - View commit details
-
Copy full SHA for dce3de3 - Browse repository at this point
Copy the full SHA dce3de3View commit details -
power_supply: Hold a wake_lock while power supply change notification…
…s are pending When connecting usb or the charger the device would often go back to sleep before the charge led and screen turned on. Change-Id: I01def6d86ddece0d4e31d2a91d176ed0975b6b9d Signed-off-by: Arve Hjønnevåg <arve@android.com>
Configuration menu - View commit details
-
Copy full SHA for 4231d02 - Browse repository at this point
Copy the full SHA 4231d02View commit details -
switch: switch class and GPIO drivers.
switch: Export symbol switch_set_state. Signed-off-by: Mike Lockwood <lockwood@android.com> switch: gpio: Don't call request_irq with interrupts disabled Signed-off-by: Arve Hjønnevåg <arve@android.com> switch: Use device_create instead of device_create_drvdata. device_create_drvdata is obsolete. Signed-off-by: Arve Hjønnevåg <arve@android.com> switch_gpio: Add missing #include <linux/interrupt.h> Change-Id: I6c397e41bbe1457162cc69e31a29db5d9f76fccb Signed-off-by: Mike Lockwood <lockwood@android.com>
Configuration menu - View commit details
-
Copy full SHA for 29853d7 - Browse repository at this point
Copy the full SHA 29853d7View commit details -
Signed-off-by: Rebecca Schultz <rschultz@google.com> pmem: Use the thread group leader insted of the current thread. Instead of keeping track of the current thread, use the thread group leader Signed-off-by: Rebecca Schultz <rschultz@google.com> pmem: Add some apis to reference and flush pmem files by file struct The api to refer to pmem files by fd should be depricated, it can cause problems if a processes fd table changes while the kernel is processing data in a pmem file. This change adds the safer api. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: Remove unused depricated fd api to pmem. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: Remove error message when calling get_pmem_addr This call is used from the mdp driver to determine if the memory is in pmem or in the fb. We will encounter this case during normal operation so this error message should be removed. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: Add include sched.h to fix compile errors Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: remove HW3D_* ioctls Signed-off-by: Dima Zavin <dima@android.com> pmem: Expose is_pmem_file to the in-kernel users. Signed-off-by: Dima Zavin <dima@android.com> pmem: Make the exposed functions be noops if CONFIG_ANDROID_PMEM is not set. Signed-off-by: Dima Zavin <dima@android.com> misc: pmem: don't flush if file was opened with O_SYNC Change-Id: I067218658a0d7f7ecc1fe73e9ff6b0c3b3054653 Signed-off-by: Dima Zavin <dima@android.com>
Configuration menu - View commit details
-
Copy full SHA for c739190 - Browse repository at this point
Copy the full SHA c739190View commit details -
Add <linux/android_aid.h>, our mapping of AID defines to gid numbers. Signed-off-by: Robert Love <rlove@google.com>
Configuration menu - View commit details
-
Copy full SHA for 96b7efe - Browse repository at this point
Copy the full SHA 96b7efeView commit details -
Forward port of ashmem to 2.6.27. Signed-off-by: Robert Love <rlove@google.com> ashmem: Don't install fault handler for private mmaps. Ashmem is used to create named private heaps. If this heap is backed by a tmpfs file it will allocate two pages for every page touched. In 2.6.27, the extra page would later be freed, but 2.6.29 does not scan anonymous pages when running without swap so the memory is not freed while the file is referenced. This change changes the behavior of private ashmem mmaps to match /dev/zero instead tmpfs. Signed-off-by: Arve Hjønnevåg <arve@android.com> ashmem: Add common prefix to name reported in /proc/pid/maps Signed-off-by: Arve Hjønnevåg <arve@android.com> ashmem: don't require a page aligned size This makes ashmem more similar to shmem and mmap, by not requiring the specified size to be page aligned, instead rounding it internally as needed. Signed-off-by: Marco Nelissen <marcone@android.com>
Configuration menu - View commit details
-
Copy full SHA for d457dac - Browse repository at this point
Copy the full SHA d457dacView commit details -
With CONFIG_ANDROID_PARANOID_NETWORK, require specific uids/gids to instantiate network sockets. Signed-off-by: Robert Love <rlove@google.com> paranoid networking: Use in_egroup_p() to check group membership The previous group_search() caused trouble for partners with module builds. in_egroup_p() is also cleaner. Signed-off-by: Nick Pelly <npelly@google.com> Fix 2.6.29 build. Signed-off-by: Arve Hjønnevåg <arve@android.com> net: Fix compilation of the IPv6 module Fix compilation of the IPv6 module -- current->euid does not exist anymore, current_euid() is what needs to be used. Signed-off-by: Steinar H. Gunderson <sesse@google.com>
Configuration menu - View commit details
-
Copy full SHA for 528f6d1 - Browse repository at this point
Copy the full SHA 528f6d1View commit details -
net: socket ioctl to reset connections matching local address
Introduce a new socket ioctl, SIOCKILLADDR, that nukes all sockets bound to the same local address. This is useful in situations with dynamic IPs, to kill stuck connections. Signed-off-by: Brian Swetland <swetland@google.com> net: fix tcp_v4_nuke_addr Signed-off-by: Dima Zavin <dima@android.com> net: ipv4: Fix a spinlock recursion bug in tcp_v4_nuke. We can't hold the lock while calling to tcp_done(), so we drop it before calling. We then have to start at the top of the chain again. Signed-off-by: Dima Zavin <dima@android.com> net: ipv4: Fix race in tcp_v4_nuke_addr(). To fix a recursive deadlock in 2.6.29, we stopped holding the hash table lock across tcp_done() calls. This fixed the deadlock, but introduced a race where the socket could die or change state. Fix: Before unlocking the hash table, we grab a reference to the socket. We can then unlock the hash table without risk of the socket going away. We then lock the socket, which is safe because it is pinned. We can then call tcp_done() without recursive deadlock and without race. Upon return, we unlock the socket and then unpin it, killing it. Change-Id: Idcdae072b48238b01bdbc8823b60310f1976e045 Signed-off-by: Robert Love <rlove@google.com> Acked-by: Dima Zavin <dima@android.com> ipv4: disable bottom halves around call to tcp_done(). Signed-off-by: Robert Love <rlove@google.com> Signed-off-by: Colin Cross <ccross@android.com> ipv4: Move sk_error_report inside bh_lock_sock in tcp_v4_nuke_addr When sk_error_report is called, it wakes up the user-space thread, which then calls tcp_close. When the tcp_close is interrupted by the tcp_v4_nuke_addr ioctl thread running tcp_done, it leaks 392 bytes and triggers a WARN_ON. This patch moves the call to sk_error_report inside the bh_lock_sock, which matches the locking used in tcp_v4_err. Signed-off-by: Colin Cross <ccross@android.com>
Configuration menu - View commit details
-
Copy full SHA for 3f58adf - Browse repository at this point
Copy the full SHA 3f58adfView commit details -
sysfs_net_ipv4: Add sysfs-based knobs for controlling TCP window size
Add a family of knobs to /sys/kernel/ipv4 for controlling the TCP window size: tcp_wmem_min tcp_wmem_def tcp_wmem_max tcp_rmem_min tcp_rmem_def tcp_rmem_max This six values mirror the sysctl knobs in /proc/sys/net/ipv4/tcp_wmem and /proc/sys/net/ipv4/tcp_rmem. Sysfs, unlike sysctl, allows us to set and manage the files' permissions and owners. Signed-off-by: Robert Love <rlove@google.com>
Configuration menu - View commit details
-
Copy full SHA for 560ffd2 - Browse repository at this point
Copy the full SHA 560ffd2View commit details -
misc: uidstat: Adding uid stat driver to collect network statistics.
Signed-off-by: Mike Chan <mike@android.com>
Configuration menu - View commit details
-
Copy full SHA for b455f85 - Browse repository at this point
Copy the full SHA b455f85View commit details -
FAT: Add new ioctl VFAT_IOCTL_GET_VOLUME_ID for reading the volume ID.
Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for eab7c2c - Browse repository at this point
Copy the full SHA eab7c2cView commit details -
Grants system server access to /proc/<pid>/oom_adj for Android applic…
…ations. Signed-off-by: Brian Swetland <swetland@google.com>
Configuration menu - View commit details
-
Copy full SHA for 71b1bc9 - Browse repository at this point
Copy the full SHA 71b1bc9View commit details
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.