b59f9f9775e643435bba76e30e59e47c19c56dee |
|
24-Jan-2012 |
Paul Mundt <lethal@linux-sh.org> |
sh: intc: optimize intc IRQ lookup This ensures that the sense/prio lists are sorted at registration time, enabling us to use a simple binary search for an optimized lookup (something that had been on the TODO for some time). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
5fbebcbdb3730666c0d1d22021a90d8483fc8e02 |
|
24-Jan-2012 |
Paul Mundt <lethal@linux-sh.org> |
sh: intc: Make global intc controller counter static. No need to expose this globally since it's only used for core accounting. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
0f966d74cf77a9140a025464a287e1d2fee8a1fc |
|
23-Dec-2011 |
Rafael J. Wysocki <rjw@sisk.pl> |
PM / shmobile: Don't include SH7372's INTCS in syscore suspend/resume Since the SH7372's INTCS in included into syscore suspend/resume, which causes the chip to be accessed when PM domains have been turned off during system suspend, the A4R domain containing the INTCS has to stay on during system sleep, which is suboptimal from the power consumption point of view. For this reason, add a new INTC flag, skip_syscore_suspend, to mark the INTCS for intc_suspend() and intc_resume(), so that they don't touch it. This allows the A4R domain to be turned off during system suspend and the INTCS state is resrored during system resume by the A4R's "power on" code. Suggested-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
|
f4e73bfcd9cca0b64cc8096175852936fb1d111f |
|
22-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
sh: intc - convert sysdev_class to a regular subsystem After all sysdev classes are ported to regular driver core entities, the sysdev implementation will be entirely removed from the kernel. Cc: Paul Mundt <lethal@linux-sh.org> Cc: Magnus Damm <magnus.damm@gmail.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
286b9bfe8ef6d97213c86bbaf30c250fd1f67568 |
|
30-Mar-2011 |
Thomas Gleixner <tglx@linutronix.de> |
sh: Fix irq cleanup fallout I missed that coccinelle does not fix up header files by default. Reported-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Paul Mundt <lethal@linux-sh.org> Cc: <lethal@linux-sh.org>
|
a696b89c582e3201ef10bfb0d0b3594e29b75e0f |
|
22-Mar-2011 |
Rafael J. Wysocki <rjw@sisk.pl> |
sh: Use struct syscore_ops instead of sysdevs Convert the SuperH clocks framework and shared interrupt handling code to using struct syscore_ops instead of a sysdev classes and sysdevs for power managment. This reduces the code size significantly and simplifies it. The optimizations causing things not to be restored after creating a hibernation image are removed, but they might lead to undesirable effects during resume from hibernation (e.g. the clocks would be left as the boot kernel set them, which might be not the same way as the hibernated kernel had seen them before the hibernation). This also is necessary for removing sysdevs from the kernel entirely in the future. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
26599a94dcadbed528a3e32a4f482a9766332f5b |
|
27-Oct-2010 |
Paul Mundt <lethal@linux-sh.org> |
sh: intc: irq_data conversion. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
6966fed9d8a74f178fc0dabdcc687cb1fe5b75fe |
|
06-Oct-2010 |
Paul Mundt <lethal@linux-sh.org> |
sh: intc: Fix build with IRQ balancing disabled. The balancing stubs obviously need to be static inline.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
2be6bb0c79c7fbda3425b65ee51c558bbaf4cf91 |
|
05-Oct-2010 |
Paul Mundt <lethal@linux-sh.org> |
sh: intc: Split up the INTC code. This splits up the sh intc core in to something more vaguely resembling a subsystem. Most of the functionality was alread fairly well compartmentalized, and there were only a handful of interdependencies that needed to be resolved in the process. This also serves as future-proofing for the genirq and sparseirq rework, which will make some of the split out functionality wholly generic, allowing things to be killed off in place with minimal migration pain. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|