aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2012-07-16drivers/gpu/arm/mali, drivers/gpu/arm/ump: s/mach/mach-exynosAndrey Konovalov
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
2012-07-16Automatically merging tracking-samslt-mali into merge-linux-linaroAndrey Konovalov
Conflicting files:
2012-07-16Merge branch 'tracking-samslt-mfc' into merge-linux-linaroAndrey Konovalov
2012-07-16Automatically merging tracking-samslt-hdmi into merge-linux-linaroAndrey Konovalov
Conflicting files:
2012-07-16Automatically merging tracking-samslt-audio into merge-linux-linaroAndrey Konovalov
Conflicting files:
2012-07-16Automatically merging tracking-samslt-wlan into merge-linux-linaroAndrey Konovalov
Conflicting files:
2012-07-16Merge branch 'tracking-samslt-touch' into merge-linux-linaroAndrey Konovalov
2012-07-16Automatically merging tracking-samslt-gadget into merge-linux-linaroAndrey Konovalov
Conflicting files:
2012-07-16Merge branch 'tracking-samslt-dummy_reg' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-asv_cpufreq' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-s2ram' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-pd' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-fb' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-dt' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-bl' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-samslt-core' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-tracking-armlt-mmc' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-tracking-armlt-hdlcd' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-unsorted' into merge-linux-linaroAndrey Konovalov
2012-07-16Merge branch 'tracking-big-LITTLE-MP-v3' into merge-linux-linaro-core-trackingtracking-llct-ll-20120716.1llct-20120716.1Andrey Konovalov
2012-07-16Automatically merging tracking-ubuntu-sauce into ↵Andrey Konovalov
merge-linux-linaro-core-tracking Conflicting files:
2012-07-16Automatically merging tracking-multiplatform into ↵Andrey Konovalov
merge-linux-linaro-core-tracking Conflicting files:
2012-07-16Merge branch 'tracking-gator' into merge-linux-linaro-core-trackingAndrey Konovalov
2012-07-16Merge branch 'tracking-linaro-android-3.5' into merge-linux-linaro-core-trackingAndrey Konovalov
2012-07-16Automatically merging tracking-thermal_exynos4_imx6 into ↵Andrey Konovalov
merge-linux-linaro-core-tracking Conflicting files:
2012-07-16Merge branch 'tracking-ufs' into merge-linux-linaro-core-trackingAndrey Konovalov
2012-07-16Merge branches 'arm-asymmetric-support-v3', 'cpuidle-next-v4', ↵tracking-big-LITTLE-MP-v3-llct-20120723.1tracking-big-LITTLE-MP-v3-llct-20120723.0tracking-big-LITTLE-MP-v3-llct-20120716.1big-LITTLE-MP-v3Viresh Kumar
'per-cpu-thread-hotplug-v3', 'task-placement-v1' and 'config-fragments' into big-LITTLE-MP-v3 Based on v3.5-rc7 $ git checkout -b big-LITTLE-MP-v3 v3.5-rc7 $ git merge arm-asymmetric-support-v3 cpuidle-next-v4 per-cpu-thread-hotplug-v3 per-task-load-average-v2 task-placement-v1 config-fragments
2012-07-16cpuidle: coupled: add parallel barrier functionColin Cross
Adds cpuidle_coupled_parallel_barrier, which can be used by coupled cpuidle state enter functions to handle resynchronization after determining if any cpu needs to abort. The normal use case will be: static bool abort_flag; static atomic_t abort_barrier; int arch_cpuidle_enter(struct cpuidle_device *dev, ...) { if (arch_turn_off_irq_controller()) { /* returns an error if an irq is pending and would be lost if idle continued and turned off power */ abort_flag = true; } cpuidle_coupled_parallel_barrier(dev, &abort_barrier); if (abort_flag) { /* One of the cpus didn't turn off it's irq controller */ arch_turn_on_irq_controller(); return -EINTR; } /* continue with idle */ ... } This will cause all cpus to abort idle together if one of them needs to abort. Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2012-07-16cpuidle: add support for states that affect multiple cpusColin Cross
On some ARM SMP SoCs (OMAP4460, Tegra 2, and probably more), the cpus cannot be independently powered down, either due to sequencing restrictions (on Tegra 2, cpu 0 must be the last to power down), or due to HW bugs (on OMAP4460, a cpu powering up will corrupt the gic state unless the other cpu runs a work around). Each cpu has a power state that it can enter without coordinating with the other cpu (usually Wait For Interrupt, or WFI), and one or more "coupled" power states that affect blocks shared between the cpus (L2 cache, interrupt controller, and sometimes the whole SoC). Entering a coupled power state must be tightly controlled on both cpus. The easiest solution to implementing coupled cpu power states is to hotplug all but one cpu whenever possible, usually using a cpufreq governor that looks at cpu load to determine when to enable the secondary cpus. This causes problems, as hotplug is an expensive operation, so the number of hotplug transitions must be minimized, leading to very slow response to loads, often on the order of seconds. This file implements an alternative solution, where each cpu will wait in the WFI state until all cpus are ready to enter a coupled state, at which point the coupled state function will be called on all cpus at approximately the same time. Once all cpus are ready to enter idle, they are woken by an smp cross call. At this point, there is a chance that one of the cpus will find work to do, and choose not to enter idle. A final pass is needed to guarantee that all cpus will call the power state enter function at the same time. During this pass, each cpu will increment the ready counter, and continue once the ready counter matches the number of online coupled cpus. If any cpu exits idle, the other cpus will decrement their counter and retry. To use coupled cpuidle states, a cpuidle driver must: Set struct cpuidle_device.coupled_cpus to the mask of all coupled cpus, usually the same as cpu_possible_mask if all cpus are part of the same cluster. The coupled_cpus mask must be set in the struct cpuidle_device for each cpu. Set struct cpuidle_device.safe_state to a state that is not a coupled state. This is usually WFI. Set CPUIDLE_FLAG_COUPLED in struct cpuidle_state.flags for each state that affects multiple cpus. Provide a struct cpuidle_state.enter function for each state that affects multiple cpus. This function is guaranteed to be called on all cpus at approximately the same time. The driver should ensure that the cpus all abort together if any cpu tries to abort once the function is called. Cc: Len Brown <len.brown@intel.com> Cc: Amit Kucheria <amit.kucheria@linaro.org> Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Trinabh Gupta <g.trinabh@gmail.com> Cc: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2012-07-16cpuidle: fix error handling in __cpuidle_register_deviceColin Cross
Fix the error handling in __cpuidle_register_device to include the missing list_del. Move it to a label, which will simplify the error handling when coupled states are added. Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2012-07-16cpuidle: refactor out cpuidle_enter_stateColin Cross
Split the code to enter a state and update the stats into a helper function, cpuidle_enter_state, and export it. This function will be called by the coupled state code to handle entering the safe state and the final coupled state. Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2012-07-16infiniband: ehca: Use hotplug thread infrastructureThomas Gleixner
Get rid of the hotplug notifiers and use the generic hotplug thread infrastructure. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2012-07-16ARM HDLCD: Add developer option to remove double-height framebuffersChris Redpath
This option can be used with Android to push the graphics subsystem into a different composition strategy which is more effective when used on hardware where the framebuffer memory is not cacheable. Signed-off-by: Chris Redpath <chris.redpath@arm.com>
2012-07-16ARM HDLCD: Review comments from Liviu - extraneous memcpyChris Redpath
Signed-off-by: Chris Redpath <chris.redpath@arm.com> Reviewed-By: Liviu Dudau <liviu.dudau@arm.com>
2012-07-16ARM HDLCD: Add useful functions to HDLCD driver for system integrationChris Redpath
During TC2 integration a bad config option resulted in HDLCD memory reads not being serviced often enough. This lead to unsightly screen blanking. These options allow the developer to count the number of underruns and to control the color used by HDLCD when an underrun prevents accessing pixel data. The combination of these two options allow easy diagnosis of HDLCD underrun conditions. Signed-off-by: Chris Redpath <chris.redpath@arm.com>
2012-07-16ARM HDLCD: Change default byte ordering to match Android assumptionChris Redpath
Change color byte location in 32-bit word from argb to abgr to match the assumption made in Android when 32-bit color displays are used. Signed-off-by: Chris Redpath <chris.redpath@arm.com>
2012-07-16ARM HDLCD: Get it working under Android.Dietmar Eggemann
Add a shortcut when set_par is called to only change the yoffset. Android is doing that instead of calling pan_display to flip the framebuffer. Signed-off-by: Chris Redpath <chris.redpath@arm.com>
2012-07-16ARM HDLCD: Fixup driver to resemble ARM's latest codebase.Jon Medhurst
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-16ARM HDLCD: Add missing clk_{un}prepare callsJon Medhurst
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-16ARM HDLCD: Add support for ARM High Definition LCD.Liviu Dudau
The ARM HDLCD device is now found in various new Versatile Express coretiles. Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
2012-07-16mmc: block: Make multi-block write errors retry as single block writestracking-tracking-armlt-mmc-ll-20120723.0tracking-tracking-armlt-mmc-ll-20120716.1tracking-tracking-armlt-mmc-ll-20120716.0Jon Medhurst
The current mmc block code retries i/o errors on multi-block reads by using single block reads. For platforms with unreliable multi-block operations, like the ARM Versatile Express board, this is a valuable error recovery path. This patch extends the single block retry to also include write operations. Signed-off-by: Jon Medhurst <jon.medhurst@linaro.org>
2012-07-16gator-driver: Move work scheduling to timerstracking-gator-llct-20120725.0tracking-gator-llct-20120723.1tracking-gator-llct-20120723.0tracking-gator-llct-20120716.1Wade Cherry
... in order to work around deadlocks in kernel >= 3.5... Signed-off-by: Wade Cherry <wade.cherry@arm.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com>
2012-07-16gator: Get Makefile to work with DKMSJon Medhurst
DKMS uses an absolute paths for $(src) and $(obj) whereas these are relative paths for other kernel building scenarios. So we need to do some jiggery-pokery to get the rule for gator_events.h to work in all situations. Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-16gator: Revert #error about lack of CONFIG_PERF_EVENTSJon Medhurst
Make this a #warning as in version 5.9. This lets Gator build (with much reduced functionality) on platforms which require CONFIG_PERF_EVENTS to be disabled for whatever reason. Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-16gator: Default GATOR_MALI_INTERFACE_STYLE to '2'Jon Medhurst
At the moment, we only have users with the old style interface, so make our life easier by making it the default. Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-16gator: Add config for building the module in-treeJon Medhurst
Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-16gator: Version 5.10Jon Medhurst
New gator release (build 1385) for ARM DS-5 v5.10 Signed-off-by: Jon Medhurst <tixy@linaro.org>
2012-07-14blk: fix wrong idr_pre_get() error check in loop.cSilva Paulo
The idr_pre_get() function never returns a value < 0. It returns 0 (no memory) or 1 (OK). Reported-by: Silva Paulo <psdasilva@yahoo.com> [ Rewrote Silva's patch, but attributing it to Silva anyway - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-14Merge branch 'release' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux Pull ACPI patch from Len Brown. * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: ACPICA: Fix possible fault in return package object repair code
2012-07-14Merge tag 'cpufreq-for-3.5-rc7' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm Pull cpufreq fix from Rafael Wysocki: "This fixes a regression preventing the ACPI cpufreq driver from loading on some systems where it worked previously without any problems." * tag 'cpufreq-for-3.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: cpufreq / ACPI: Fix not loading acpi-cpufreq driver regression