commit 49561d58a14351d136518f25bd686f9a6ca41b69
Author: Avik Sil <email address hidden>
Date: Wed Feb 15 17:06:50 2012 +0530
Perf: Fallback to /bin/more if less is not found for perf pager
Signed-off-by: Avik Sil <email address hidden>
Signed-off-by: Andrey Konovalov <email address hidden>
commit 1259fb203caf0e9466127a51e5245db238ae4d50
Author: Grant Likely <email address hidden>
Date: Mon Oct 24 11:09:15 2011 +0200
dt: Linux dt usage model documentation
v2: 2nd draft
- Editorial cleanups from Randy Dunlap
Signed-off-by: Grant Likely <email address hidden>
commit 083c32bf6bed0772a8dfbf9029e74240f73f37af
Author: Grant Likely <email address hidden>
Date: Mon Oct 24 11:09:12 2011 +0200
arm/dt: vexpress: add basic DT platform matching support
This patch adds a DT match table to the Versatile Express machine
description in order to enable basic device tree support.
Tested on a Versatile Express board where the device tree blob is
passed to the kernel by u-boot.
Signed-off-by: Lorenzo Pieralisi <email address hidden>
[converted .dts file to use skeleton.dtsi, and added 'dtbs' targets]
Signed-off-by: Grant Likely <email address hidden>
Conflicts:
arch/arm/mach-vexpress/v2m.c
commit 5061f67e57f9deb1df574be663ec36e05aef2830
Author: Grant Likely <email address hidden>
Date: Mon Oct 24 11:09:11 2011 +0200
arm/dt: Add basic device tree support for mx51 and mx53 boards
This patch add support for the Genesi Efika MX Smarttop and Smartbook,
the Freescale mx51 babbage board, and the Freescale mx53 loco board
Signed-off-by: Jason Liu <email address hidden>
Signed-off-by: Grant Likely <email address hidden>
Conflicts:
arch/arm/mach-imx/mach-mx51_babbage.c
arch/arm/mach-imx/mach-mx51_efikamx.c
arch/arm/mach-imx/mach-mx51_efikasb.c
arch/arm/mach-imx/mach-mx53_loco.c
arch/arm/mach-mx5/Makefile.boot
commit 7bf3d757f27330f778130508a506b5f4eefbc41c
Author: Andrey Konovalov <email address hidden>
Date: Fri Jan 6 23:12:42 2012 +0400
arm/dt: Add basic device tree support for smdkv310 board
Enable basic device tree support for Exynos4 smdkv310 board.
Signed-off-by: Thomas Abraham <email address hidden>
Signed-off-by: Grant Likely <email address hidden>
Conflicts:
arch/arm/mach-exynos/mach-smdkv310.c
commit 4669ffe99ac3ef6df4cdf65f34ffb2c1d69e7ae2
Author: Grant Likely <email address hidden>
Date: Mon Oct 24 11:09:10 2011 +0200
arm/dt: omap3 basic device tree board support
Enable basic device tree support for the Gumstix Overo, IGEP, Panda
and Beagle OMAP boards
Signed-off-by: Andy Doan <email address hidden>
Signed-off-by: Jon Medhurst <email address hidden>
Signed-off-by: Grant Likely <email address hidden>
Conflicts:
arch/arm/mach-omap2/board-igep0020.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/board-overo.c
commit 250b766cfdf6fc7a678e459702a2db6b2db8de27
Author: Shawn Guo <email address hidden>
Date: Mon Oct 24 11:09:07 2011 +0200
arm/dt: add versatile dtb build rules
Makes 'make dtbs' build the versatile .dtb files when versatile is enabled.
Signed-off-by: Grant Likely <email address hidden>
commit 6d21aa69fdbc8ba4b19f7cb1330906e56d74c688
Author: John Bonesio <email address hidden>
Date: Mon Oct 24 11:09:06 2011 +0200
dt: Add id to AUXDATA structure
This patch adds the ability to set the device id in the AUXDATA structure for
those few device drivers that just have to have a statically defined device id.
Signed-off-by: John Bonesio <email address hidden>
Signed-off-by: Grant Likely <email address hidden>
commit dbc75ed3f60be4c61fe67a325f4df41da542c0cc
Author: Grant Likely <email address hidden>
Date: Thu Jan 26 14:10:13 2012 -0700
irq_domain/microblaze: Convert microblaze to use irq_domains
This patch converts Microblaze to use the irq_domain remapper and get
away from hard coding the offset between hwirq number and the linux irq
number space. This also paves the way for multiple interrupt controllers.
v2: Don't enable SPARSE_IRQ and keep NR_IRQS set to 33
Signed-off-by: Grant Likely <email address hidden>
Signed-off-by: Michal Simek <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: John Williams <email address hidden>
Cc: John Linn <email address hidden>
commit 8e81fde616a20d4918dc0a145abfab2fa1c55ab0
Author: Grant Likely <email address hidden>
Date: Tue Jan 24 17:09:13 2012 -0700
irq_domain/powerpc: Replace custom xlate functions with library functions
This patch converts a number of the powerpc drivers to use the common library
of irq_domain xlate functions, dropping a bunch of lines in the process.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit d86b40cc9e6e0c522f53ecbb65a0fec85f5d1668
Author: Grant Likely <email address hidden>
Date: Thu Jan 26 12:24:34 2012 -0700
irq_domain/powerpc: constify irq_domain_ops
Make all the irq_domain_ops structures in powerpc 'static const'
Signed-off-by: Grant Likely <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit ac92dc778e7e9443bc642842a4c9680519878b65
Author: Grant Likely <email address hidden>
Date: Thu Jan 26 08:40:09 2012 -0700
irq_domain/c6x: Use library of xlate functions
The c6x irq controllers don't need to define custom .xlate hooks
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Mark Salter <email address hidden>
Cc: Thomas Gleixner <email address hidden>
commit 2cc50d6b124a3e3da92d8a496cb0a12ad5cd404d
Author: Grant Likely <email address hidden>
Date: Thu Jan 26 12:25:18 2012 -0700
irq_domain/c6x: constify irq_domain structures
Signed-off-by: Grant Likely <email address hidden>
Cc: Mark Salter <email address hidden>
Cc: Thomas Gleixner <email address hidden>
commit e1396063ae58b023b404796ec3916f9a6ee65fff
Author: Mark Salter <email address hidden>
Date: Thu Jan 26 09:26:21 2012 -0500
irq_domain/c6x: Convert c6x to use generic irq_domain support.
The C6X IRQ support was copied almost verbatim from the PowerPC virtual IRQ
code. The PowerPC code was used as the basis for generic irq_domain support,
so this patch mostly copies what what done to arch/powerpc by Grant Likely
in his irq_domain patch series.
Signed-off-by: Mark Salter <email address hidden>
Signed-off-by: Grant Likely <email address hidden>
Cc: Aurelien Jacquiot <email address hidden>
Cc: Thomas Gleixner <email address hidden>
commit a2b6f17d92da58d5959be08d437000ac295067b9
Author: Grant Likely <email address hidden>
Date: Thu Jan 26 12:12:14 2012 -0700
irq_domain: constify irq_domain_ops
Make irq_domain_ops pointer a constant to make it safer for multiple
instances to share the same ops pointer and change the irq_domain code
so that it does not modify the ops.
v4: Fix mismatched type reference in powerpc code
Signed-off-by: Grant Likely <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 0ab8797bfe0d916c6866cbf05ca2f91e3333682d
Author: Grant Likely <email address hidden>
Date: Thu Jan 26 11:26:52 2012 -0700
irq_domain: Create common xlate functions that device drivers can use
Rather than having each interrupt controller driver creating its own barely
unique .xlate function for irq_domain, create a library of translators which
any driver can use directly.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Mark Salter <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit d35d055c2bf436dac8870d995117ab5ff011c2c9
Author: Grant Likely <email address hidden>
Date: Tue Jan 10 17:09:30 2012 -0700
irq_domain: Remove irq_domain_add_simple()
irq_domain_add_simple() was a stop-gap measure until complete irq_domain
support was complete. This patch removes the irq_domain_add_simple()
interface.
This patch also drops the explicit irq_domain initialization performed
by the mach-versatile code because the versatile interrupt controller
already has irq_domain support built into it. This was a bug that was
hanging around quietly for a while, but with the full irq_domain which
actually verifies that irq_domain ranges are available it would cause
the registration to fail and the system wouldn't boot.
v4: Fixed number of irqs in mx5 gpio code
v2: Updated to pass in host_data pointer on irq_domain allocation.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Cc: Russell King <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit c1ad45e011d71f6b613e299843ab91f0ad9f27a9
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:05 2012 -0700
irq_domain: Remove 'new' irq_domain in favour of the ppc one
This patch removes the simplistic implementation of irq_domains and enables
the powerpc infrastructure for all irq_domain users. The powerpc
infrastructure includes support for complex mappings between Linux and
hardware irq numbers, and can manage allocation of irq_descs.
This patch also converts the few users of irq_domain_add()/irq_domain_del()
to call irq_domain_add_legacy() instead.
v3: Fix bug that set up too many irqs in translation range.
v2: Fix removal of irq_alloc_descs() call in gic driver
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 590529be8baba0fedc6b3a1b22d7c29f4b64609d
Author: Benoit Cousson <email address hidden>
Date: Fri Feb 3 14:58:17 2012 +0100
Subject: [PATCH] mfd: twl-core.c: Fix the number of interrupts managed by twl4030
TWL4030 does handle 3 different interrupts ranges: 8 for the core, 8 for
the power events and 18 for the GPIOs.
Change the total number of interrupts managed by TWL4030 from 8 to 34.
Signed-off-by: Benoit Cousson <email address hidden>
Signed-off-by: Grant Likely <email address hidden>
commit f4c9170637f2240f158d1075ed90ea149af05690
Author: Grant Likely <email address hidden>
Date: Wed Feb 1 12:03:43 2012 -0700
of/address: add empty static inlines for !CONFIG_OF
As the title says, this patch adds empty implementations for the address
translation functions so that they can be used when CONFIG_OF is disabled.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
commit de7471ce3218920f2cb822835e6b6e7b9bd5b1b8
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:05 2012 -0700
irq_domain: Add support for base irq and hwirq in legacy mappings
Add support for a legacy mapping where irq = (hwirq - first_hwirq + first_irq)
so that a controller driver can allocate a fixed range of irq_descs and use
a simple calculation to translate back and forth between linux and hw irq
numbers. This is needed to use an irq_domain with many of the ARM interrupt
controller drivers that manage their own irq_desc allocations. Ultimately
the goal is to migrate those drivers to use the linear revmap, but doing it
this way allows each driver to be converted separately which makes the
migration path easier.
This patch generalizes the IRQ_DOMAIN_MAP_LEGACY method to use
(first_irq-first_hwirq) as the offset between hwirq and linux irq number,
and adds checks to make sure that the hwirq number does not exceed range
assigned to the controller.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit a690068d6f9f3011666febeebc1e23062802bcf6
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:03 2012 -0700
irq_domain: Replace irq_alloc_host() with revmap-specific initializers
Each revmap type has different arguments for setting up the revmap.
This patch splits up the generator functions so that each revmap type
can do its own setup and the user doesn't need to keep track of how
each revmap type handles the arguments.
This patch also adds a host_data argument to the generators. There are
cases where the host_data pointer will be needed before the function returns.
ie. the legacy map calls the .map callback for each irq before returning.
v2: - Add void *host_data argument to irq_domain_add_*() functions
- fixed failure to compile
- Moved IRQ_DOMAIN_MAP_* defines into irqdomain.c
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 0ab902f4a36138144e0f80511f344bae1eedb1df
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:03 2012 -0700
irq_domain: Remove references to old irq_host names
No functional changes. Replaces non-exported references to 'host' with domain.
Does not change any symbol names referenced by other .c files.
Signed-off-by: Grant Likely <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit ed2f17f0af41979c0e971b94f46e2efc0a53f511
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:02 2012 -0700
irq_domain: remove NO_IRQ from irq domain code
zero always means no irq when using irq domains. Get rid of the NO_IRQ
references.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 164cc570f17ed1db68621268a2005609ae2287cf
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:02 2012 -0700
irq_domain: Move irq_domain code from powerpc to kernel/irq
This patch only moves the code. It doesn't make any changes, and the
code is still only compiled for powerpc. Follow-on patches will generalize
the code for other architectures.
Signed-off-by: Grant Likely <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 95ddd16c0b9eac26cc5916009303909927b81aa7
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:01 2012 -0700
irq_domain/powerpc: Eliminate virq_is_host()
There is only one user, and it is trivial to open-code.
Signed-off-by: Grant Likely <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 7836113b8c57948ce89a575b7f7dfd581fd2c984
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:00 2012 -0700
irq_domain/powerpc: eliminate irq_map; use irq_alloc_desc() instead
This patch drops the powerpc-specific irq_map table and replaces it with
directly using the irq_alloc_desc()/irq_free_desc() interfaces for allocating
and freeing irq_desc structures.
This patch is a preparation step for generalizing the powerpc-specific virq
infrastructure to become irq_domains.
As part of this change, the irq_big_lock is changed to a mutex from a raw
spinlock. There is no longer any need to use a spin lock since the irq_desc
allocation code is now responsible for the critical section of finding
an unused range of irq numbers.
The radix lookup table is also changed to store the irq_data pointer instead
of the irq_map entry since the irq_map is removed. This should end up being
functionally equivalent since only allocated irq_descs are ever added to the
radix tree.
v4: - Fix incorrect access to irq_data structure in debugfs code
- Don't ever allocate virq 0
Signed-off-by: Grant Likely <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit cc8c0c59e997a51c5c3ff28f7015c318fbf6c835
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:29:00 2012 -0700
irq_domain/powerpc: Use common irq_domain structure instead of irq_host
This patch drops the powerpc-specific irq_host structures and uses the common
irq_domain strucutres defined in linux/irqdomain.h. It also fixes all
the users to use the new structure names.
Renaming irq_host to irq_domain has been discussed for a long time, and this
patch is a step in the process of generalizing the powerpc virq code to be
usable by all architecture.
An astute reader will notice that this patch actually removes the irq_host
structure instead of renaming it. This is because the irq_domain structure
already exists in include/linux/irqdomain.h and has the needed data members.
Signed-off-by: Grant Likely <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit faca00eefee711b765d910b3bf86937cacca8d2c
Author: Grant Likely <email address hidden>
Date: Wed Jan 11 10:28:59 2012 -0700
irq_domain: convert microblaze from irq_host to irq_domain
Trivial change, microblaze doesn't use irq remapping yet.
Signed-off-by: Grant Likely <email address hidden>
Cc: Michal Simek <email address hidden>
Cc: Thomas Gleixner <email address hidden>
commit d4d78338d982f6d548dea69f809b84e148d77e58
Author: Grant Likely <email address hidden>
Date: Wed Jan 18 14:35:28 2012 -0700
irq_domain: Make irq_domain structure match powerpc's irq_host
Part of the series to unify the irq remapping mechanisms in the
kernel. A follow up patch will copy the powerpc implementation into
kernel/irq/irqdomain.c, which will be a lot easier if the structures
are identical.
Where they differ, I've chose to use the powerpc names since there is
a lot more code using those names.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit 85f92a50d2b942e4935f3e3c4df9ded66f83910e
Author: Grant Likely <email address hidden>
Date: Wed Jan 18 14:35:27 2012 -0700
irq_domain: Be less verbose
irq_domain printk's too much. Drop some output.
Signed-off-by: Grant Likely <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit f376bdadda220baa119b2e32201c82cf80ff4380
Author: Grant Likely <email address hidden>
Date: Wed Jan 18 14:35:27 2012 -0700
irq_domain: add documentation and MAINTAINERS entry.
Documentation for irq_domain library which will be created in subsequent
patches.
v4: editorial changes
Signed-off-by: Grant Likely <email address hidden>
Reviewed-by: Randy Dunlap <email address hidden>
Cc: Benjamin Herrenschmidt <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: Rob Herring <email address hidden>
Cc: Milton Miller <email address hidden>
Tested-by: Olof Johansson <email address hidden>
commit e6a723587b8e2839499cfc1fa9db637a586bfac3
Author: Andrey Konovalov <email address hidden>
Date: Mon Jan 23 21:06:26 2012 +0400
Get rid of "ERROR: "omap_bus_sync" undefined!" when building modules
Signed-off-by: Andrey Konovalov <email address hidden>
commit ac1598c101faa55562051932fb9134f8a002a777
Author: Andrey Konovalov <email address hidden>
Date: Mon Jan 23 21:00:43 2012 +0400
arm: omap4: Fix omap_barriers_init for generic ioremap changes
From: Tony Lindgren <email address hidden>
Date: Thu, 12 Jan 2012 10:42:57 -0800
Cc: Santosh Shilimkar <email address hidden>
Commit 73829af71fdb8655e7ba4b5a2a6612ad34a75a11
(Merge branch 'vmalloc' of git://git.linaro.org/people/nico/linux
into devel-stable) merged generic ioremap changes.
Commit 137d105d50f6e6c373c1aa759f59045e6239cf66
(ARM: OMAP4: Fix errata i688 with MPU interconnect barriers)
added a workaround for omap4.
In order for the errata to work, we now need the following
patch or else we'll get:
kernel BUG at mm/vmalloc.c:1134!
Signed-off-by: Tony Lindgren <email address hidden>
Signed-off-by: Andrey Konovalov <email address hidden>
commit 46c551285117a7ed7c7dddc0fef2a1775f20c53c
Author: Amit Daniel Kachhap <email address hidden>
Date: Wed Dec 21 16:38:23 2011 +0530
ARM: exynos4: Add thermal sensor driver platform device support
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap <email address hidden>
Conflicts:
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/Makefile
commit 358d20ce19a13a025a574fdec74a975fc288ad78
Author: Amit Daniel Kachhap <email address hidden>
Date: Wed Dec 21 14:32:48 2011 +0530
thermal: exynos4: Register the tmu sensor with the thermal interface layer
Export and register information from the hwmon tmu sensor to the samsung
exynos kernel thermal framework where different cooling devices and thermal
zone are binded. The exported information is based according to the data
structure thermal_sensor_conf present in exynos_thermal.h. HWMON sysfs
functions are currently left although all of them are present in generic
linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit ef3ded479d54ef21d2eaee85cc86cd26433331a2
Author: Amit Daniel Kachhap <email address hidden>
Date: Wed Dec 21 15:23:55 2011 +0530
thermal: exynos: Add thermal interface support for linux thermal layer
This codes uses the generic linux thermal layer and creates a bridge
between temperature sensors, linux thermal framework and cooling devices
for samsung exynos platform. This layer recieves or monitor the
temperature from the sensor and informs the generic thermal layer to take
the necessary cooling action.
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit 3b5271128b94f585d724053e2ebc20f98b2b1210
Author: Amit Daniel Kachhap <email address hidden>
Date: Tue Dec 13 20:40:01 2011 +0530
thermal: Add generic cpu cooling implementation
This patch adds support for generic cpu thermal cooling low level
implementations using frequency scaling and cpuhotplugg currently.
Different cpu related cooling devices can be registered by the
user and the binding of these cooling devices to the corresponding
trip points can be easily done as the registration API's return the
cooling device pointer.
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit c6b463db4a9745b6434db6c87e21c7a82bfc2b14
Author: Amit Daniel Kachhap <email address hidden>
Date: Thu Dec 1 18:51:39 2011 +0530
thermal: Add a new trip type to use cooling device instance number
This patch adds a new trip type THERMAL_TRIP_STATE_ACTIVE. This
trip behaves same as THERMAL_TRIP_ACTIVE but also passes the cooling
device instance number. This helps the cooling device registered as
different instances to perform appropriate cooling action decision in
the set_cur_state call back function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit e08e698f7a0978a74796cdd3b2b40ff6b702d24e
Author: Amit Daniel Kachhap <email address hidden>
Date: Tue Jan 10 10:49:19 2012 +0530
ARM: exynos: Enable l2 configuration through device tree
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit f57f8d0fa083909f418310173f3130f5efbac9c0
Author: Amit Daniel Kachhap <email address hidden>
Date: Tue Jan 10 10:45:16 2012 +0530
ARM: exynos: remove useless code to save/restore L2
Following the merge of CPU PM notifiers and L2 resume code, this patch
removes useless code to save and restore L2 registers.
This is now automatically covered by suspend calls which integrated
CPU PM notifiers and new sleep code that allows to resume L2 before MMU
is turned on.
Signed-off-by: Lorenzo Pieralisi <email address hidden>
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit 8fb8d7a5be17a4c6af822308b11d95d7971d8bfa
Author: Amit Daniel Kachhap <email address hidden>
Date: Tue Jan 10 10:39:46 2012 +0530
ARM: exynos: save L2 settings during bootup
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi <email address hidden>
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit 922a8f607c7900b76d903bfb6b73cab3404d41b3
Author: Amit Daniel Kachhap <email address hidden>
Date: Mon Dec 5 15:24:33 2011 +0530
ARM: s5p: add L2 early resume code
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi <email address hidden>
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit efae770884e98fb8faefc303ad9cdc5953bbc9bd
Author: Amit Daniel Kachhap <email address hidden>
Date: Wed Jan 4 13:46:19 2012 +0530
ARM: exynos: Add support AFTR mode on EXYNOS4210
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in
cpuidle driver. L2 cache keeps their data in this mode.
This patch ports the code to the latest interfaces to
save/restore CPU state inclusive of CPU PM notifiers, l2
resume and cpu_suspend/resume.
Signed-off-by: Jaecheol Lee <email address hidden>
Signed-off-by: Lorenzo Pieralisi <email address hidden>
Signed-off-by: Amit Daniel Kachhap <email address hidden>
commit b64923ea8a8c898f1377a121314b8f6b00009dfc
Author: Vincent Guittot <email address hidden>
Date: Fri Oct 21 09:02:47 2011 +0200
sched: Ensure cpu_power periodic update
With a lot of small task, the softirq sched is nearly never called
when no_hz is enable. Te load_balance is mainly called with
the newly_idle mode which doesn't update the cpu_power.
Add a next_update field which ensure a maximum update period when
there is short activity
Signed-off-by: Vincent Guittot <email address hidden>
Conflicts:
include/linux/sched.h
commit 4779de4762d5843e47b51e0548348e32eef01682
Author: Arnd Bergmann <email address hidden>
Date: Sat Oct 8 17:07:50 2011 +0200
ARM: kprobes: work around build errors
I got a few build errors for kprobes playing with randconfig on the
latest kernel. While this patch manages to avoid these errors, I'm
pretty sure that it is not the ideal solution.
The errors I got in arm are while building for ARMv6 with
the arm-linux-gnueabihf-gcc-4.6 provided by Linaro, which
results in these messages:
/tmp/ccGpftnj.s: Assembler messages:
/tmp/ccGpftnj.s:22066: Error: selected processor does not support ARM mode `mls r0,r1,r2,r3'
/tmp/ccGpftnj.s:22099: Error: selected processor does not support ARM mode `mlshi r7,r8,r9,r10'
/tmp/ccGpftnj.s:22128: Error: selected processor does not support ARM mode `mls lr,r1,r2,r13'
/tmp/ccGpftnj.s:23781: Error: selected processor does not support ARM mode `strexd r0,r2,r3,[sp]'
/tmp/ccGpftnj.s:23802: Error: selected processor does not support ARM mode `ldrexd r2,r3,[sp]'
/tmp/ccGpftnj.s:23823: Error: selected processor does not support ARM mode `strexb r0,r2,[sp]'
/tmp/ccGpftnj.s:23844: Error: selected processor does not support ARM mode `ldrexb r2,[sp]'
/tmp/ccGpftnj.s:23865: Error: selected processor does not support ARM mode `strexh r0,r2,[sp]'
/tmp/ccGpftnj.s:23886: Error: selected processor does not support ARM mode `ldrexh r2,[sp]'
/tmp/ccGpftnj.s:25836: Warning: base register written back, and overlaps second transfer register
[ NP: I didn't reproduce the T2 errors, and Tixy was doubtful about them.
Merged Tixy's change suggestions and his ACK. ]
Signed-off-by: Arnd Bergmann <email address hidden>
Acked-by: Jon Medhurst <email address hidden>
Signed-off-by: Nicolas Pitre <email address hidden>
commit 7f2be4a1c8181de24da244673b16ee98926b4a7e
Author: Ming Lei <email address hidden>
Date: Wed Aug 31 00:03:13 2011 +0800
usb: ehci: make HC see up-to-date qh/qtd descriptor ASAP
This patch introduces the helper of ehci_sync_mem to flush
qtd/qh into memory immediately on some ARM, so that HC can
see the up-to-date qtd/qh descriptor asap.
This patch fixs one performance bug on ARM Cortex A9 dual core
platform, which has been reported on quite a few ARM machines
(OMAP4, Tegra 2, snowball...), see details from link of
https://bugs.launchpad.net/bugs/709245.
The patch has been tested ok on OMAP4 panda A1 board, and the
performance of 'dd' over usb mass storage can be increased from
4~5MB/sec to 14~16MB/sec after applying this patch.
Cc: Russell King <email address hidden>
Signed-off-by: Ming Lei <email address hidden>
Signed-off-by: Alan Stern <email address hidden>