summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ia64: Convert sn to new irq_chip functionsThomas Gleixner2011-03-291-21/+23
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ia64: Convert msi_sn to new irq_chip functionsThomas Gleixner2011-03-291-14/+14
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ia64: hp-sim: Cleanup direct access to irq_descThomas Gleixner2011-03-291-5/+5
| | | | | | Use accessor functions instead of open coded access. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ia64: Convert hp-sim to new irq_chip functionsThomas Gleixner2011-03-291-10/+10
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ia64: Remove stale irq_chip.endThomas Gleixner2011-03-294-27/+0
| | | | | | | | | irq_chip.end got obsolete with the removal of __do_IRQ(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Tony Luck <tony.luck@intel.com> LKML-Reference: <20110203004210.143127544@linutronix.de>
* ia64: Cleanup migrate_irqs()Thomas Gleixner2011-03-291-13/+14
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ia64: Convert migrate_platform_irqs() to new irq chip functionsThomas Gleixner2011-03-291-7/+7
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* bfin: Use proper accessors in traceThomas Gleixner2011-03-291-3/+4
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* bfin: Convert irq namespaceThomas Gleixner2011-03-292-18/+18
| | | | | | | | Convert to the new function names. Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: uclinux-dist-devel@blackfin.uclinux.org
* bfin: Final irq cleanupThomas Gleixner2011-03-292-9/+6
| | | | | | | | | Use the trigger type in irq_data and check level type instead of looking at desc->handle_irq. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: uclinux-dist-devel@blackfin.uclinux.org
* alpha: Use generic show_interrupts()Thomas Gleixner2011-03-292-57/+11
| | | | | | | | | | | | | The only subtle difference is that alpha uses ACTUAL_NR_IRQS and prints the IRQF_DISABLED flag. Change the generic implementation to deal with ACTUAL_NR_IRQS if defined. The IRQF_DISABLED printing is pointless, as we nowadays run all interrupts with irqs disabled. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* alpha: Convert to new irq function namesThomas Gleixner2011-03-2920-34/+38
| | | | | | Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Fold irq_set_chip/irq_set_handlerThomas Gleixner2011-03-2984-235/+209
| | | | | | Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Reorder irq_set_ function callsThomas Gleixner2011-03-299-11/+11
| | | | | | | | | | | | | | | | | | | | Reorder irq_set_chip() irq_set_chip_data() irq_set_handler() to irq_set_chip() irq_set_handler() irq_set_chip_data() so the next patch can combine irq_set_chip() and irq_set_handler() to irq_set_chip_and_handler(). Automated conversion with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Cleanup the irq namespaceThomas Gleixner2011-03-29140-610/+626
| | | | | | Convert to the new function names. Automated with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Use generic show_interrupts()Thomas Gleixner2011-03-292-50/+6
| | | | | | Use the generic version and just keep the arch specific output. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: dove: Use proper irq accessor functionsThomas Gleixner2011-03-292-11/+2
| | | | | | Remove the obsolete desc_handle_irq() helper. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: gic: Use proper accessor functionsThomas Gleixner2011-03-291-1/+1
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: at91: Cleanup irq chipThomas Gleixner2011-03-291-22/+9
| | | | | | | | | Avoid the whole lazy disable dance in the demux handler by providing a irq_disable() callback. Use the proper accessor functions and tidy up gpio_irq_handler() Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: davinci: Cleanup irq chip codeThomas Gleixner2011-03-291-13/+4
| | | | | | | | | | Make use of the new functionality which ensures that irq_set_type is called with the chip masked. Unmask is only done when the interrupt is not disabled. Retrieve the trigger type from irq_data in unmask Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: ep93xx: Use proper irq accessor functionsThomas Gleixner2011-03-291-11/+10
| | | | | | No need to write the flow type. Core code does already. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: gemini: Use proper irq accessor functionsThomas Gleixner2011-03-291-4/+2
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: mxc: Use generic_handle_irq()Thomas Gleixner2011-03-291-6/+1
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: vt8500: Use proper irq accessorsThomas Gleixner2011-03-291-3/+3
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: msm: Use proper irq accessor functionsThomas Gleixner2011-03-295-10/+10
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: plat-omap: Cleanup irq_desc accessThomas Gleixner2011-03-291-8/+1
| | | | | | | 1) Core code stores the flow type already 2) Flow type is accessible in irq_data Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: nomadik: Use local irq stateThomas Gleixner2011-03-291-6/+10
| | | | | | | Store the enabled mask in the local state, so there is no need to fiddle in the irq descriptor. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: stmp3xxx: Use generic_handle_irq()Thomas Gleixner2011-03-291-2/+1
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: plat-samsung: Use proper irq accessor functionsThomas Gleixner2011-03-293-14/+10
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Cleanup irq_desc accessThomas Gleixner2011-03-292-16/+11
| | | | | | Use the proper wrappers and use the flow type in irq_data. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: msm: Convert to new irq chip functionsThomas Gleixner2011-03-291-16/+17
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: Use irq flag setter functionThomas Gleixner2011-03-291-9/+6
| | | | | | | | Use the proper accessor function instead of fiddling in the status bits directly. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: linux-arm-kernel@lists.infradead.org
* arm: Use genirq lockdep helper to set lock classThomas Gleixner2011-03-293-5/+3
| | | | | | | Remove the open coded access to irq_desc which will fail on sparse irq and use the proper wrappers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: tegra: Remove unused bogus irq enable/disable magicThomas Gleixner2011-03-291-19/+0
| | | | | | | | | The core code handles thees already. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Colin Cross <ccross@android.com> Cc: linux-tegra@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org
* arm: h720x: Fix irq conversion falloutThomas Gleixner2011-03-291-3/+8
| | | | | | | The conversion missed, that one of the irq functions is called from the init code. Split it out, so the irq number based call works. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: nomadik: Remove non existing cpu id checkThomas Gleixner2011-03-291-7/+0
| | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: ns9xxx: Remove non exisiting machine checksThomas Gleixner2011-03-292-7/+0
| | | | | | | The machine id cleanup missed to remove the checks for now removed ids. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: dove: Use correct GPIO_BASE and remove orion_gpio_init() leftoverThomas Gleixner2011-03-292-4/+1
| | | | | | | | | | commit 9eac6d0 (ARM: Remove dependency of plat-orion GPIO code on mach directory includes) missed to convert one instance of DOVE_GPIO_VIRT_BASE and left the orion_gpio_init() in mpp.c Fix it up. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: at91: at572d940hf: Fix SDRAMC defineThomas Gleixner2011-03-291-1/+1
| | | | | | That wants to be AT91_SDRAMC0 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: footbridge: Make cksrc_dc21285_disable() voidThomas Gleixner2011-03-291-1/+1
| | | | | | This clocksource function needs to be void. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* arm: bios32: Remove non exisiting machine codeThomas Gleixner2011-03-291-25/+0
| | | | | | | The id removal left this machine check in which breaks the build on some platforms. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* ARM: mx51_efika: fix build error due to new mfd changesAndres Salomon2011-03-281-2/+4
| | | | | | | | | | | | MFD changes in 4ec1b54c ('mfd: mfd_cell is now implicitly available to mc13xxx drivers') changed the mc13xxx_platform_data struct layout. At the time all users were changed, but this driver was introduced in another tree at the same time. This updates the mc13xxx_platform_data user, fixing a build error. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
*-. Merge branches 'irq-cleanup-for-linus' and 'irq-fixes-for-linus' of ↵Linus Torvalds2011-03-283-103/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip * 'irq-cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: vlynq: Convert irq functions * 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: genirq; Fix cleanup fallout genirq: Fix typo and remove unused variable genirq: Fix new kernel-doc warnings genirq: Add setter for AFFINITY_SET in irq_data state genirq: Provide setter inline for IRQD_IRQ_INPROGRESS genirq: Remove handle_IRQ_event arm: Ns9xxx: Remove private irq flow handler powerpc: cell: Use the core flow handler genirq: Provide edge_eoi flow handler genirq: Move INPROGRESS, MASKED and DISABLED state flags to irq_data genirq: Split irq_set_affinity() so it can be called with lock held. genirq: Add chip flag for restricting cpu_on/offline calls genirq: Add chip hooks for taking CPUs on/off line. genirq: Add irq disabled flag to irq_data state genirq: Reserve the irq when calling irq_set_chip()
| | * arm: Ns9xxx: Remove private irq flow handlerThomas Gleixner2011-03-281-54/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle_prio_irq is almost identical with handle_fasteoi_irq. The subtle differences are 1) The handler checks for IRQ_DISABLED after the device handler has been called. In case it's set it masks the interrupt. 2) When the handler sees IRQ_DISABLED on entry it masks the interupt in the same way as handle_fastoei_irq, but does not set the IRQ_PENDING flag. 3) Instead of gracefully handling a recursive interrupt it crashes the kernel. #1 is just relevant when a device handler calls disable_irq_nosync() and it does not matter whether we mask the interrupt right away or not. We handle lazy masking for disable_irq anyway, so there is no real reason to have this extra mask in place. #2 will prevent the resend of a pending interrupt, which can result in lost interrupts for edge type interrupts. For level type interrupts the resend is a noop in the generic code. According to the datasheet all interrupts are level type, so marking them as such will result in the exact same behaviour as the private handle_prio_irq implementation. #3 is just stupid. Crashing the kernel instead of handling a problem gracefully is just wrong. With the current semantics- all handlers run with interrupts disabled - this is even more wrong. Rename ack to eoi, remove the unused mask_ack, switch to handle_fasteoi_irq and remove the private function. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Acked-by: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> Cc: linux-arm-kernel@lists.infradead.org LKML-Reference: <20110202212552.299898447@linutronix.de>
| | * powerpc: cell: Use the core flow handlerThomas Gleixner2011-03-282-49/+2
| | | | | | | | | | | | | | | | | | The core handler is a full equivalent replacement. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* | | Merge branch 'for-linus' of git://www.jni.nu/crisLinus Torvalds2011-03-285-382/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * 'for-linus' of git://www.jni.nu/cris: Correct auto-restart of syscalls via restartblock CRISv10: Fix return before mutex_unlock in pcf8563 Drop the CRISv32 version of pcf8563
| * | | Correct auto-restart of syscalls via restartblockJesper Nilsson2011-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This would for example be poll(2) Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
| * | | CRISv10: Fix return before mutex_unlock in pcf8563Jesper Nilsson2011-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Simone Contini <s.contini@oltrelinux.com> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
| * | | Drop the CRISv32 version of pcf8563Jesper Nilsson2011-03-213-380/+1
| | | | | | | | | | | | | | | | | | | | | | | | No longer used. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
* | | | Merge branch 'for-torvalds' of ↵Linus Torvalds2011-03-286-3/+268
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson * 'for-torvalds' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: mach-ux500: configure board for the TPS61052 regulator v2 mach-ux500: provide ab8500 init vector mach-ux500: board support for AB8500 GPIO driver gpio: driver for 42 AB8500 GPIO pins
OpenPOWER on IntegriCloud