0ce790e | Linus Torvalds | 29 March 2011, 19:09:47 UTC | Linux 2.6.39-rc1 | 29 March 2011, 19:09:47 UTC |
6b2a4f7 | Linus Torvalds | 29 March 2011, 19:09:30 UTC | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (26 commits) mmc: SDHI should depend on SUPERH || ARCH_SHMOBILE mmc: tmio_mmc: Move some defines into a shared header mmc: tmio: support aggressive clock gating mmc: tmio: fix power-mode interpretation mmc: tmio: remove work-around for unmasked SDIO interrupts sh: fix SDHI IO address-range ARM: mach-shmobile: fix SDHI IO address-range mmc: tmio: only access registers above 0xff, if available mfd: remove now redundant sh_mobile_sdhi.h header sh: convert boards to use linux/mmc/sh_mobile_sdhi.h ARM: mach-shmobile: convert boards to use linux/mmc/sh_mobile_sdhi.h mmc: tmio: convert the SDHI MMC driver from MFD to a platform driver sh: ecovec: use the CONFIG_MMC_TMIO symbols instead of MFD mmc: tmio: split core functionality, DMA and MFD glue mmc: tmio: use PIO for short transfers mmc: tmio-mmc: Improve DMA stability on sh-mobile mmc: fix mmc_app_send_scr() for dma transfer mmc: sdhci-esdhc: enable esdhc on imx53 mmc: sdhci-esdhc: use writel/readl as general APIs mmc: sdhci: add the abort CMDTYPE bits definition ... | 29 March 2011, 19:09:30 UTC |
eefbab5 | Linus Torvalds | 29 March 2011, 18:43:30 UTC | Merge branch 'frv' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-frv * 'frv' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-frv: FRV: Use generic show_interrupts() FRV: Convert genirq namespace frv: Select GENERIC_HARDIRQS_NO_DEPRECATED frv: Convert cpu irq_chip to new functions frv: Convert mb93493 irq_chip to new functions frv: Convert mb93093 irq_chip to new function frv: Convert mb93091 irq_chip to new functions frv: Fix typo from __do_IRQ overhaul frv: Remove stale irq_chip.end FRV: Do some cleanups FRV: Missing node arg in alloc_thread_info_node() macro NOMMU: implement access_remote_vm NOMMU: support SMP dynamic percpu_alloc NOMMU: percpu should use is_vmalloc_addr(). | 29 March 2011, 18:43:30 UTC |
90f1e74 | Linus Torvalds | 29 March 2011, 18:36:52 UTC | Merge branch 'stable/bug-fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen * 'stable/bug-fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen: xen: Use new irq_move functions xen: Convert genirq namespace xen: fix p2m section mismatches xen/p2m: Allocate p2m tracking pages on override xen-gntdev: unlock on error path in gntdev_mmap() xen-gntdev: return -EFAULT on copy_to_user failure | 29 March 2011, 18:36:52 UTC |
d6ae0c6 | Linus Torvalds | 29 March 2011, 18:20:09 UTC | Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog * git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog: watchdog: softdog.c: enhancement to optionally invoke panic instead of reboot on timer expiry watchdog: fix nv_tco section mismatch watchdog: sp5100_tco.c: Check if firmware has set correct value in tcobase. watchdog: Convert release_resource to release_region/release_mem_region watchdog: s3c2410_wdt.c: Convert release_resource to release_region/release_mem_region | 29 March 2011, 18:20:09 UTC |
8c82840 | Linus Torvalds | 29 March 2011, 18:11:18 UTC | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: amd64_edac: Fix potential memleak | 29 March 2011, 18:11:18 UTC |
c86defc | Linus Torvalds | 29 March 2011, 17:46:15 UTC | Merge branch 'irq-final-for-linus-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip * 'irq-final-for-linus-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (111 commits) gpio: ab8500: Mark broken genirq: Remove move_*irq leftovers genirq: Remove compat code drivers: Final irq namespace conversion mn10300: Use generic show_interrupts() mn10300: Cleanup irq_desc access mn10300: Convert genirq namespace frv: Use generic show_interrupts() frv: Convert genirq namespace frv: Select GENERIC_HARDIRQS_NO_DEPRECATED frv: Convert cpu irq_chip to new functions frv: Convert mb93493 irq_chip to new functions frv: Convert mb93093 irq_chip to new function frv: Convert mb93091 irq_chip to new functions frv: Fix typo from __do_IRQ overhaul frv: Remove stale irq_chip.end m68k: Convert irq function namespace xen: Use new irq_move functions xen: Cleanup genirq namespace unicore32: Use generic show_interrupts() ... | 29 March 2011, 17:46:15 UTC |
1309d7a | Peter Huewe | 29 March 2011, 11:31:25 UTC | char/tpm: Fix unitialized usage of data buffer This patch fixes information leakage to the userspace by initializing the data buffer to zero. Reported-by: Peter Huewe <huewe.external@infineon.com> Signed-off-by: Peter Huewe <huewe.external@infineon.com> Signed-off-by: Marcel Selhorst <m.selhorst@sirrix.com> [ Also removed the silly "* sizeof(u8)". If that isn't 1, we have way deeper problems than a simple multiplication can fix. - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 29 March 2011, 16:45:34 UTC |
a9f0fbe | Borislav Petkov | 29 March 2011, 16:10:53 UTC | amd64_edac: Fix potential memleak We check the pointers together but at least one of them could be invalid due to failed allocation. Since we cannot continue if either of the two allocations has failed, exit early by freeing them both. Cc: <stable@kernel.org> # 38.x Reported-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> | 29 March 2011, 16:19:06 UTC |
0444d76 | Dave Chinner | 29 March 2011, 07:08:50 UTC | fs: don't use igrab() while holding i_lock Fix the incorrect use of igrab() inside the i_lock in NFS and Ceph‥ If we are already holding the i_lock, we have a reference to the inode so we can safely use ihold() to gain an extra reference. This avoids hangs due to lock recursion on the i_lock now that the inode_lock is gone and igrab() uses the i_lock itself. Signed-off-by: Dave Chinner <dchinner@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-fsdevel@vger.kernel.org Cc: Ryan Mallon <ryan@bluewatersys.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 29 March 2011, 14:50:34 UTC |
cb1817b | Linus Torvalds | 29 March 2011, 14:41:33 UTC | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (30 commits) xfrm: Restrict extended sequence numbers to esp xfrm: Check for esn buffer len in xfrm_new_ae xfrm: Assign esn pointers when cloning a state xfrm: Move the test on replay window size into the replay check functions netdev: bfin_mac: document TE setting in RMII modes drivers net: Fix declaration ordering in inline functions. cxgb3: Apply interrupt coalescing settings to all queues net: Always allocate at least 16 skb frags regardless of page size ipv4: Don't ip_rt_put() an error pointer in RAW sockets. net: fix ethtool->set_flags not intended -EINVAL return value mlx4_en: Fix loss of promiscuity tg3: Fix inline keyword usage tg3: use <linux/io.h> and <linux/uaccess.h> instead <asm/io.h> and <asm/uaccess.h> net: use CHECKSUM_NONE instead of magic number Net / jme: Do not use legacy PCI power management myri10ge: small rx_done refactoring bridge: notify applications if address of bridge device changes ipv4: Fix IP timestamp option (IPOPT_TS_PRESPEC) handling in ip_options_echo() can: c_can: Fix tx_bytes accounting can: c_can_platform: fix irq check in probe ... | 29 March 2011, 14:41:33 UTC |
e240ae4 | Thomas Gleixner | 24 March 2011, 20:37:31 UTC | xen: Use new irq_move functions These functions take irq_data as an argument and avoid a redundant lookup in the sparse irq case. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 29 March 2011, 14:01:05 UTC |
3b3af76 | Thomas Gleixner | 25 March 2011, 10:01:39 UTC | xen: Convert genirq namespace Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 29 March 2011, 14:01:04 UTC |
b83c6e5 | Randy Dunlap | 24 March 2011, 20:34:32 UTC | xen: fix p2m section mismatches Fix section mismatch warnings: set_phys_range_identity() is called by __init xen_set_identity(), so also mark set_phys_range_identity() as __init. then: __early_alloc_p2m() is called set_phys_range_identity(), so also mark __early_alloc_p2m() as __init. WARNING: arch/x86/built-in.o(.text+0x7856): Section mismatch in reference from the function __early_alloc_p2m() to the function .init.text:extend_brk() The function __early_alloc_p2m() references the function __init extend_brk(). This is often because __early_alloc_p2m lacks a __init annotation or the annotation of extend_brk is wrong. WARNING: arch/x86/built-in.o(.text+0x7967): Section mismatch in reference from the function set_phys_range_identity() to the function .init.text:extend_brk() The function set_phys_range_identity() references the function __init extend_brk(). This is often because set_phys_range_identity lacks a __init annotation or the annotation of extend_brk is wrong. [v2: Per Stephen Hemming recommonedation made __early_alloc_p2m static] Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 29 March 2011, 14:01:03 UTC |
3062aa5 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | FRV: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
60af3ab | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | FRV: Convert genirq namespace Convert to new function names. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
a9554c3 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | frv: Select GENERIC_HARDIRQS_NO_DEPRECATED All chips converted Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
1251646 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | frv: Convert cpu irq_chip to new functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
a4b48a4 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | frv: Convert mb93493 irq_chip to new functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
9148d88 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | frv: Convert mb93093 irq_chip to new function Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
193e7a5 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | frv: Convert mb93091 irq_chip to new functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
303fef9 | Thomas Gleixner | 29 March 2011, 13:05:13 UTC | frv: Fix typo from __do_IRQ overhaul Compiles way better. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:13 UTC |
c4b1598 | Thomas Gleixner | 29 March 2011, 13:05:12 UTC | frv: Remove stale irq_chip.end irq_chip.end got obsolete with the removal of __do_IRQ(). irq-mb93093.c even lacks an implementation, but nobody noticed that it's broken since commit 88d6e1 in 2006. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:12 UTC |
5ca7202 | Amerigo Wang | 29 March 2011, 13:05:12 UTC | FRV: Do some cleanups 1. frv doesn't support SMP, remove the useless SMP bits. 2. frv has its own alloc_task_struct, so define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR (I am not sure if frv should use generic alloc_task_struct().) Signed-off-by: WANG Cong <amwang@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:12 UTC |
5ef9bdd | David Howells | 29 March 2011, 13:05:12 UTC | FRV: Missing node arg in alloc_thread_info_node() macro There are two alloc_thread_info_node() macros defined (one for debugging and one for normal). The commit that changed them most recently: commit b6a84016bd2598e35ead635147fa53619982648d Author: Eric Dumazet <eric.dumazet@gmail.com> Date: Tue Mar 22 16:30:42 2011 -0700 Subject: mm: NUMA aware alloc_thread_info_node() didn't add the node argument into the macro argument list for the normal macro. This results in the following error: kernel/fork.c:267:39: error: macro "alloc_thread_info_node" passed 2 arguments, but takes just 1 kernel/fork.c: In function 'dup_task_struct': kernel/fork.c:267: error: 'alloc_thread_info_node' undeclared (first use in this function) kernel/fork.c:267: error: (Each undeclared identifier is reported only once kernel/fork.c:267: error: for each function it appears in.) Signed-off-by: David Howells <dhowells@redhat.com> | 29 March 2011, 13:05:12 UTC |
f55f199 | Mike Frysinger | 29 March 2011, 13:05:12 UTC | NOMMU: implement access_remote_vm Recent vm changes brought in a new function which the core procfs code utilizes. So implement it for nommu systems too to avoid link failures. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: Simon Horman <horms@verge.net.au> Tested-by: Ithamar Adema <ithamar.adema@team-embedded.nl> Acked-by: Greg Ungerer <gerg@uclinux.org> | 29 March 2011, 13:05:12 UTC |
9ad198c | Thomas Gleixner | 29 March 2011, 02:02:50 UTC | gpio: ab8500: Mark broken This driver is broken in several aspects. 1) old style irq_chip functions. Sigh 2) Abuse of the unlock callback. That's not supposed to be a state machine for evrything and some more. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:50:42 UTC |
851d7cf | Thomas Gleixner | 29 March 2011, 00:51:13 UTC | genirq: Remove move_*irq leftovers All users converted to new interface. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:50:32 UTC |
0c6f8a8 | Thomas Gleixner | 28 March 2011, 11:32:20 UTC | genirq: Remove compat code Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:19 UTC |
dced35a | Thomas Gleixner | 28 March 2011, 15:49:12 UTC | drivers: Final irq namespace conversion Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:19 UTC |
2a8f55b | Thomas Gleixner | 24 March 2011, 17:54:24 UTC | mn10300: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:19 UTC |
232f1d8 | Thomas Gleixner | 24 March 2011, 16:36:37 UTC | mn10300: Cleanup irq_desc access The migration needs only access to irq_data. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:18 UTC |
f4c547e | Thomas Gleixner | 24 March 2011, 16:35:56 UTC | mn10300: Convert genirq namespace Convert to new function names. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:18 UTC |
a120017 | Thomas Gleixner | 24 March 2011, 17:48:36 UTC | frv: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:18 UTC |
de2e95a | Thomas Gleixner | 24 March 2011, 15:38:49 UTC | frv: Convert genirq namespace Convert to new function names. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:18 UTC |
808339b | Thomas Gleixner | 06 February 2011, 19:20:39 UTC | frv: Select GENERIC_HARDIRQS_NO_DEPRECATED All chips converted Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.601290592@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:18 UTC |
380e311 | Thomas Gleixner | 06 February 2011, 19:20:38 UTC | frv: Convert cpu irq_chip to new functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.501651128@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:17 UTC |
a55174f | Thomas Gleixner | 06 February 2011, 19:20:37 UTC | frv: Convert mb93493 irq_chip to new functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.401266547@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:17 UTC |
9741f28 | Thomas Gleixner | 06 February 2011, 19:20:36 UTC | frv: Convert mb93093 irq_chip to new function Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.300303769@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:17 UTC |
ac34605 | Thomas Gleixner | 06 February 2011, 19:20:35 UTC | frv: Convert mb93091 irq_chip to new functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.203431646@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:17 UTC |
0f421c9 | Thomas Gleixner | 06 February 2011, 19:20:34 UTC | frv: Fix typo from __do_IRQ overhaul Compiles way better. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.109992056@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:16 UTC |
db3b360 | Thomas Gleixner | 06 February 2011, 19:20:33 UTC | frv: Remove stale irq_chip.end irq_chip.end got obsolete with the removal of __do_IRQ(). irq-mb93093.c even lacks an implementation, but nobody noticed that it's broken since commit 88d6e1 in 2006. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <20110206192106.011224503@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:16 UTC |
0b98b16 | Thomas Gleixner | 28 March 2011, 11:31:17 UTC | m68k: Convert irq function namespace Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:15 UTC |
a3b975c | Thomas Gleixner | 24 March 2011, 20:31:25 UTC | xen: Use new irq_move functions These functions take irq_data as an argument and avoid a redundant lookup in the sparse irq case. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 29 March 2011, 12:48:15 UTC |
c442b80 | Thomas Gleixner | 25 March 2011, 09:58:06 UTC | xen: Cleanup genirq namespace Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:15 UTC |
37daf32 | Thomas Gleixner | 24 March 2011, 17:26:42 UTC | unicore32: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:15 UTC |
e1f5ce8 | Thomas Gleixner | 24 March 2011, 17:26:16 UTC | unicore32: Convert to new irq function names Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:14 UTC |
fa680c7 | Thomas Gleixner | 24 March 2011, 17:03:13 UTC | sparc: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: sparclinux@vger.kernel.org | 29 March 2011, 12:48:14 UTC |
394d441 | Thomas Gleixner | 24 March 2011, 16:52:54 UTC | sparc: Convert to new irq function names Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: sparclinux@vger.kernel.org | 29 March 2011, 12:48:14 UTC |
16741ea | Thomas Gleixner | 24 March 2011, 16:57:12 UTC | sparc: Cleanup direct irq_desc access Use the proper wrapper functions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: sparclinux@vger.kernel.org | 29 March 2011, 12:48:14 UTC |
fcd8d4f | Thomas Gleixner | 24 March 2011, 08:03:45 UTC | sparc: Use the new genirq functionality Make use of the new features in genirq: 1) Set the chip flag IRCHIP_EOI_IF_HANDLED, which ensures in the core code that irq_eoi() is only called when the interrupt was handled. That removes the extra status check in the callback. 2) Use the preflow handler, which is called from the fasteoi core code before the device handler. That avoids another status check and the open coded handler redirection. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: sparclinux@vger.kernel.org | 29 March 2011, 12:48:14 UTC |
fcb8918 | Thomas Gleixner | 24 March 2011, 15:31:17 UTC | sh: Convert to new function names Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:13 UTC |
a821b27 | Thomas Gleixner | 24 March 2011, 13:47:46 UTC | sh: Use the proper accessor functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:13 UTC |
433c9c6 | Thomas Gleixner | 25 March 2011, 16:04:59 UTC | powerpc: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:13 UTC |
ec775d0 | Thomas Gleixner | 25 March 2011, 15:45:20 UTC | powerpc: Convert to new irq_* function names Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:12 UTC |
7bfbc1f | Thomas Gleixner | 25 March 2011, 15:36:35 UTC | powerpc: irq: Use irqdata based information We want to tighten the irq_desc access. So use the new accessors for the same information. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:12 UTC |
ddaedd1 | Thomas Gleixner | 28 March 2011, 14:46:02 UTC | powerpc-fsl-msi-use-irqd.patch Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:11 UTC |
773e20d | Thomas Gleixner | 25 March 2011, 15:26:01 UTC | powerpc: xilinx: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The core also updates the LEVEL flag. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:11 UTC |
1ac06cd | Thomas Gleixner | 25 March 2011, 15:23:57 UTC | powerpc: uic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The core also updates IRQ_LEVEL. Use irq_data to get the level type information in the chip functions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:10 UTC |
24a3f2e | Thomas Gleixner | 25 March 2011, 15:20:15 UTC | powerpc: mpic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Retrieve the IRQ_LEVEL information from irq_data which avoids a redundant sparse irq lookup as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:10 UTC |
5fed97a | Thomas Gleixner | 25 March 2011, 15:18:32 UTC | powerpc: mpc8xx_pic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The level flag is updated in the core as well. Use the proper accessors for setting the irq handlers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:10 UTC |
ecf4b19 | Thomas Gleixner | 25 March 2011, 15:16:30 UTC | powerpc: ipic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Use the proper accessors for setting the irq handlers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:10 UTC |
7bf811a | Thomas Gleixner | 25 March 2011, 15:13:38 UTC | powerpc: cpm2_pic: Use IRQCHIP_EOI_IF_HANDLED The core code provides the same functionality when the IRQCHIP_EOI_IF_HANDLED flag is set for the irq chip. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:10 UTC |
a28ab38 | Thomas Gleixner | 25 March 2011, 15:07:51 UTC | powerpc: cpm2_pic: Cleanup flow type handling The core irq_set_type() function updates the flow type when the chip callback returns 0. So setting the type is bogus. The new core code allows to update the type in irq_data and return IRQ_SET_MASK_OK_NOCOPY, so the core code will not touch it, except for setting the IRQ_LEVEL flag. Use the proper accessors for setting the irq handlers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:09 UTC |
00e70ba | Thomas Gleixner | 25 March 2011, 15:04:41 UTC | powerpc: cell: Fix the irq_desc access The core irq_set_type() function updates the flow type when the chip callback returns 0. It also updates irq_data, so this can be used in irq_ack() to check for the level bit. That avoids a redundant sparse irq lookup. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:09 UTC |
8c99f56 | Thomas Gleixner | 25 March 2011, 15:03:07 UTC | powerpc: mac: pic: Use irqd_is_level_type() No need for a redundant sparse irq lookup. irqdata provides the same information. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:09 UTC |
212d786 | Thomas Gleixner | 25 March 2011, 14:54:03 UTC | powerpc: media5200: Remove pointless set_irq_type() The irq chip has no irq_set_type() callback. So calling the call is pointless. Set IRQ_LEVEL via the proper accessor. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:09 UTC |
98488db | Thomas Gleixner | 25 March 2011, 14:43:57 UTC | powerpc: Use proper accessors for IRQ_* flags Use the proper accessors instead of open access to irq_desc. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:08 UTC |
68f20f4 | Thomas Gleixner | 28 March 2011, 11:47:54 UTC | parisc: Use irq_to_desc() in show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:08 UTC |
e2f571d | Thomas Gleixner | 24 March 2011, 16:41:44 UTC | parisc: Convert irq namespace Convert to the new function names. Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: linux-parisc@vger.kernel.org | 29 March 2011, 12:48:08 UTC |
337ce68 | Thomas Gleixner | 24 March 2011, 16:48:47 UTC | parisc: Convert the final irq bits 1) As promised in the comment, the core does not copy cpumask anymore when the arch code returns -EINVAL 2) Get the per cpu information from irq_data Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: linux-parisc@vger.kernel.org | 29 March 2011, 12:48:08 UTC |
1d5f821 | Thomas Gleixner | 28 March 2011, 11:59:54 UTC | mips: vr41xx: Use irdq_irq_disabled() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:07 UTC |
e4ec798 | Thomas Gleixner | 27 March 2011, 13:19:28 UTC | MIPS: Convert the irq functions to the new names Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:07 UTC |
9efbc3f | Thomas Gleixner | 27 March 2011, 13:11:13 UTC | MIPS: alchemy: Use proper irq accessors This really starts to be a sysiphean task. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:07 UTC |
5b7cd6f | Thomas Gleixner | 27 March 2011, 14:04:30 UTC | MIPS: Octeon: Simplify irq_cpu_on/offline irq chip functions Make use of the IRQCHIP_ONOFFLINE_ENABLED flag and remove the wrappers. Use irqd_irq_disabled() instead of desc->status, which will go away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: David Daney <ddaney@caviumnetworks.com> | 29 March 2011, 12:48:07 UTC |
0c32638 | David Daney | 25 March 2011, 19:38:51 UTC | MIPS: Octeon: Rewrite interrupt handling code. This includes conversion to new style irq_chip functions, and correctly enabling/disabling per-CPU interrupts. The hardware interrupt bit to irq number mapping is now done with a flexible map, instead of by bit twiddling the irq number. [ tglx: Adjusted to new irq_cpu_on/offline callbacks and __irq_set_affinity_lock ] Signed-off-by: David Daney <ddaney@caviumnetworks.com> Cc: linux-mips@linux-mips.org Cc: ralf@linux-mips.org LKML-Reference: <1301081931-11240-5-git-send-email-ddaney@caviumnetworks.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:06 UTC |
a458465 | Thomas Gleixner | 27 March 2011, 14:54:26 UTC | MIPS: Fix syncfs syscall copy and paste failure Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:06 UTC |
9d61c18 | Thomas Gleixner | 24 March 2011, 13:55:52 UTC | microblaze: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:06 UTC |
4adc192 | Thomas Gleixner | 24 March 2011, 13:52:04 UTC | microblaze: Convert to new irq function names Namespace conversion scripted with coccinelle. Also retrieve the irq type from irq_data in intc_enable_or_unmask() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:06 UTC |
a749f8a | Thomas Gleixner | 28 March 2011, 11:50:08 UTC | ia64: Remove redundant declaration of irq_desc[] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:05 UTC |
53c909c | Thomas Gleixner | 25 March 2011, 20:06:09 UTC | ia64: Convert to the new irq_* function names Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:05 UTC |
e3d7812 | Thomas Gleixner | 25 March 2011, 20:04:38 UTC | ia64: Use generic show_interrupts() Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:05 UTC |
f5e5bf0 | Thomas Gleixner | 25 March 2011, 19:50:49 UTC | ia64: Use irqd_irq_disabled() instead of desc->status access Remove the last open coded access to irq_desc. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:04 UTC |
33776b0 | Thomas Gleixner | 25 March 2011, 19:43:34 UTC | ia64: sn: Use irqd_mark_affinity_set() helper irq_desc->status is going to be restricted. Provide a helper to set that information in irq_data, where it belongs. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:04 UTC |
97499b2 | Thomas Gleixner | 25 March 2011, 19:36:55 UTC | ia64: msi: Use irq_move_irq() This replaces the old move_native_irq() function which is going away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:04 UTC |
b5f0149 | Thomas Gleixner | 25 March 2011, 19:35:17 UTC | ia64: sn: Use irq_move_irq() This replaces the old move_native_irq() function which is going away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:04 UTC |
91ce72e | Thomas Gleixner | 25 March 2011, 19:30:53 UTC | ia64: iosapic: Use new irq_move_* functions The current functions are going away. Also use the accessor for pending setaffinity in irq_data instead of the open coded irq_desc access. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:03 UTC |
459960d | Thomas Gleixner | 25 March 2011, 19:25:06 UTC | ia64: iosapic: Remove redundant mask from ack() The core code calls mask_ack() which calls irq_ack() and irq_mask() for the case where an interrupt is disabled and marked pending. That seems to be a leftover from the old __do_IRQ() mode. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:03 UTC |
a217833 | Thomas Gleixner | 24 March 2011, 15:44:38 UTC | ia64: Use accessor functions all over the place Use the proper accessor functions instead of open coded irq_desc access. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:03 UTC |
41ef020 | Thomas Gleixner | 25 March 2011, 19:18:14 UTC | ia64: xen: Use irq accessor functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:03 UTC |
dea1078 | Thomas Gleixner | 25 March 2011, 19:16:05 UTC | ia64: iosapic: Cleanup irq_desc access Use irq_to_desc() and use accessors for setting chip and handler. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:03 UTC |
e5ffece | Thomas Gleixner | 25 March 2011, 18:40:39 UTC | ia64: sn: Drop unused function Leftover from the irq chip conversion. Reported-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:02 UTC |
8fac171 | Thomas Gleixner | 04 February 2011, 19:31:21 UTC | ia64: Convert iosapic to new irq_chip functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:02 UTC |
5c217b6 | Thomas Gleixner | 04 February 2011, 19:29:37 UTC | ia64: Convert lsapic to new irq_chip functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:02 UTC |
f1f701e | Thomas Gleixner | 04 February 2011, 19:18:43 UTC | ia64: Convert msi to new irq_chip functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:02 UTC |
545c8d8 | Thomas Gleixner | 04 February 2011, 19:08:36 UTC | ia64: Convert sn to new irq_chip functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:01 UTC |
42c9a74 | Thomas Gleixner | 04 February 2011, 19:02:09 UTC | ia64: Convert msi_sn to new irq_chip functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:01 UTC |
4a983ed | Thomas Gleixner | 05 February 2011, 19:23:29 UTC | ia64: hp-sim: Cleanup direct access to irq_desc Use accessor functions instead of open coded access. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:00 UTC |
35d75b0 | Thomas Gleixner | 04 February 2011, 19:12:06 UTC | ia64: Convert hp-sim to new irq_chip functions Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | 29 March 2011, 12:48:00 UTC |
3d373ce | Thomas Gleixner | 03 February 2011, 00:46:48 UTC | ia64: Remove stale irq_chip.end 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> | 29 March 2011, 12:48:00 UTC |