aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29ia64: Remove stale irq_chip.endThomas Gleixner4-27/+0
irq_chip.end got obsolete with the removal of __do_IRQ(). Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Tony Luck <[email protected]> LKML-Reference: <[email protected]>
2011-03-29ia64: Cleanup migrate_irqs()Thomas Gleixner1-13/+14
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29ia64: Convert migrate_platform_irqs() to new irq chip functionsThomas Gleixner1-7/+7
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29bfin: Use proper accessors in traceThomas Gleixner1-3/+4
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29bfin: Convert irq namespaceThomas Gleixner2-18/+18
Convert to the new function names. Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: [email protected]
2011-03-29bfin: Final irq cleanupThomas Gleixner2-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 <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: [email protected]
2011-03-29alpha: Use generic show_interrupts()Thomas Gleixner3-59/+17
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 <[email protected]>
2011-03-29alpha: Convert to new irq function namesThomas Gleixner20-34/+38
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: Fold irq_set_chip/irq_set_handlerThomas Gleixner84-235/+209
Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: Reorder irq_set_ function callsThomas Gleixner9-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 <[email protected]>
2011-03-29arm: Cleanup the irq namespaceThomas Gleixner140-610/+626
Convert to the new function names. Automated with coccinelle. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: Use generic show_interrupts()Thomas Gleixner2-50/+6
Use the generic version and just keep the arch specific output. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: dove: Use proper irq accessor functionsThomas Gleixner2-11/+2
Remove the obsolete desc_handle_irq() helper. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: gic: Use proper accessor functionsThomas Gleixner1-1/+1
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: at91: Cleanup irq chipThomas Gleixner1-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 <[email protected]>
2011-03-29arm: davinci: Cleanup irq chip codeThomas Gleixner1-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 <[email protected]>
2011-03-29arm: ep93xx: Use proper irq accessor functionsThomas Gleixner1-11/+10
No need to write the flow type. Core code does already. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: gemini: Use proper irq accessor functionsThomas Gleixner1-4/+2
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: mxc: Use generic_handle_irq()Thomas Gleixner1-6/+1
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: vt8500: Use proper irq accessorsThomas Gleixner1-3/+3
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: msm: Use proper irq accessor functionsThomas Gleixner5-10/+10
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: plat-omap: Cleanup irq_desc accessThomas Gleixner1-8/+1
1) Core code stores the flow type already 2) Flow type is accessible in irq_data Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: nomadik: Use local irq stateThomas Gleixner1-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 <[email protected]>
2011-03-29arm: stmp3xxx: Use generic_handle_irq()Thomas Gleixner1-2/+1
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: plat-samsung: Use proper irq accessor functionsThomas Gleixner3-14/+10
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: Cleanup irq_desc accessThomas Gleixner2-16/+11
Use the proper wrappers and use the flow type in irq_data. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: msm: Convert to new irq chip functionsThomas Gleixner1-16/+17
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: Use irq flag setter functionThomas Gleixner1-9/+6
Use the proper accessor function instead of fiddling in the status bits directly. Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected]
2011-03-29arm: Use genirq lockdep helper to set lock classThomas Gleixner3-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 <[email protected]>
2011-03-29arm: tegra: Remove unused bogus irq enable/disable magicThomas Gleixner1-19/+0
The core code handles thees already. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Colin Cross <[email protected]> Cc: [email protected] Cc: [email protected]
2011-03-29arm: h720x: Fix irq conversion falloutThomas Gleixner1-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 <[email protected]>
2011-03-29arm: nomadik: Remove non existing cpu id checkThomas Gleixner1-7/+0
Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: ns9xxx: Remove non exisiting machine checksThomas Gleixner2-7/+0
The machine id cleanup missed to remove the checks for now removed ids. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: dove: Use correct GPIO_BASE and remove orion_gpio_init() leftoverThomas Gleixner2-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 <[email protected]>
2011-03-29arm: at91: at572d940hf: Fix SDRAMC defineThomas Gleixner1-1/+1
That wants to be AT91_SDRAMC0 Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: footbridge: Make cksrc_dc21285_disable() voidThomas Gleixner1-1/+1
This clocksource function needs to be void. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29arm: bios32: Remove non exisiting machine codeThomas Gleixner1-25/+0
The id removal left this machine check in which breaks the build on some platforms. Remove it. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29watchdog: softdog.c: enhancement to optionally invoke panic instead of ↵Anithra P Janakiraman1-3/+13
reboot on timer expiry This is needed for determining the reason for failure when a softdog timeout occurs. We use softdog to watch for critical application failures and at the minimum a snapshot of the system would help to determine the cause. In such a scenario the application could fail but there isn't a softlockup as such, hence the detect softlockup feature does not help. The patch adds a module parameter soft_panic which when set to 1 causes softdog to invoke panic instead of reboot when the softdog timer expires. By invoking panic we execute kdump if it is configured and the vmcore generated by kdump should provide atleast a minimal idea of the reason for failure. Based on an original patch by Ken Sugawara <[email protected]> Signed-off-by: Anithra P J <[email protected]> Reviewed-by: WANG Cong <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
2011-03-29watchdog: fix nv_tco section mismatchRandy Dunlap1-1/+1
Fix section mismatch warning: Mark the called nv_tco_getdevice() as __devinit, just like its caller. WARNING: drivers/watchdog/nv_tco.o(.devinit.text+0x16): Section mismatch in reference from the function nv_tco_init() to the function .init.text:nv_tco_getdevice() The function __devinit nv_tco_init() references a function __init nv_tco_getdevice(). If nv_tco_getdevice is only used by nv_tco_init then annotate nv_tco_getdevice with a matching annotation. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
2011-03-29watchdog: sp5100_tco.c: Check if firmware has set correct value in tcobase.Yinghai Lu1-2/+14
Stefano found SP5100 TCO watchdog driver using wrong address. [ 9.148536] SP5100 TCO timer: SP5100 TCO WatchDog Timer Driver v0.01 [ 9.148628] DEBUG __ioremap_caller WARNING address=b8fe00 size=8 valid=1 reserved=1 and e820 said that range is RAM. We should check if we can use that reading out. BIOS could just program wrong address there. Reported-by: Stefano Stabellini <[email protected]> Signed-off-by:Yinghai Lu <[email protected]> Acked-by: Mike Waychison <[email protected]> Tested-by: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Cc: stable <[email protected]>
2011-03-29watchdog: Convert release_resource to release_region/release_mem_regionJulia Lawall3-39/+31
Request_mem_region should be used with release_mem_region, not release_resource. In pnx4008_wdt.c, a missing clk_put is added as well. The semantic match that finds the first problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,E; @@ *x = request_mem_region(...) ... when != release_mem_region(x) when != x = E * release_resource(x); // </smpl> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Cc: stable <[email protected]>
2011-03-29watchdog: s3c2410_wdt.c: Convert release_resource to ↵Julia Lawall1-11/+8
release_region/release_mem_region Request_mem_region should be used with release_mem_region, not release_resource. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,E; @@ *x = request_mem_region(...) ... when != release_mem_region(x) when != x = E * release_resource(x); // </smpl> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]> Cc: stable <[email protected]>
2011-03-29genirq: Fix harmless typoThomas Gleixner1-1/+1
The late night fixup missed to convert the data type from irq_desc to irq_data, which results in a harmless but annoying warning. Signed-off-by: Thomas Gleixner <[email protected]>
2011-03-29x86, microcode: Unregister syscore_ops after microcode unloadedXiaotian Feng1-0/+1
Currently, microcode doesn't unregister syscore_ops after it's unloaded. So if we modprobe then rmmod microcode, the stale microcode syscore_ops info will stay on syscore_ops_list. Later when we're trying to reboot/halt/shutdown the machine, kernel will panic on syscore_shutdown(). With the patch applied, I can reboot/halt/shutdown my machine successfully. Signed-off-by: Xiaotian Feng <[email protected]> Cc: Tigran Aivazian <[email protected]> Cc: Rafael J. Wysocki <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2011-03-29x86: Stop including <linux/delay.h> in two asm header filesJean Delvare9-2/+7
Stop including <linux/delay.h> in x86 header files which don't need it. This will let the compiler complain when this header is not included by source files when it should, so that contributors can fix the problem before building on other architectures starts to fail. Credits go to Geert for the idea. Signed-off-by: Jean Delvare <[email protected]> Cc: James E.J. Bottomley <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Stephen Rothwell <[email protected]> LKML-Reference: <[email protected]> [ this also fixes an upstream build bug in drivers/media/rc/ite-cir.c ] Signed-off-by: Ingo Molnar <[email protected]>
2011-03-29Merge branch 'core' of ↵Ingo Molnar2-0/+6
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/urgent
2011-03-29Merge branch 'common/fbdev' of ↵Paul Mundt4-12/+91
master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
2011-03-29fbdev: sh_mobile_lcdcfb: fix module lock acquisitionAlexandre Courbot1-4/+4
Whenever the LCDC is to be started or stopped, a board callback is checked for existence and invoked. Prior to the invokation, the callback's module lock is also acquired, to be released once the callback returns. However, the order of testing makes it possible for the lock to be acquired and not released in case the callback does not exist. This patch reorders the tests to prevent this particular case. Signed-off-by: Alexandre Courbot <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2011-03-29fbdev: sh_mobile_lcdcfb: add blanking supportAlexandre Courbot2-0/+45
Add a blanking callback to the LCDC driver in order to support both FBIOBLANK and TIOCLINUX blanking ioctls. LCDC clocks are also released if the requested blanking level is superior to FB_BLANK_NORMAL, to allow runtime PM to disable the clocks if possible. Signed-off-by: Alexandre Courbot <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2011-03-29dma: shdma: add checking the DMAOR_AE in sh_dmae_errYoshihiro Shimoda1-1/+6
The irq numbers of tranfer end and address error are assigned same number on some CPU. So the sh_dmae_err() should check the AE flag in DMAOR. Signed-off-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Paul Mundt <[email protected]>