aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-13sata_mv: fix MSI irq race conditionMark Lord1-1/+2
Fix a (rare) race condition in mv_interrupt() when using MSI. The value of hpriv->main_irq_mask_addr can change on on the fly, and without this patch we could end up writing back a stale copy to the hardware. Signed-off-by: Mark Lord <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2009-03-13qlge: bugfix: Pad outbound frames smaller than 60 bytes.Ron Mercer1-0/+3
With some asic configurations xmit of frames smaller than 60 bytes may fail. Signed-off-by: Ron Mercer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-03-13qlge: bugfix: Move netif_napi_del() to common call point.Ron Mercer1-4/+6
Moving netif_napi_del() up the call chain so it will get called from all exit points. Signed-off-by: Ron Mercer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-03-13qlge: bugfix: Tell hw to strip vlan header.Ron Mercer1-3/+3
Signed-off-by: Ron Mercer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-03-13qlge: bugfix: Increase filter on inbound csum.Ron Mercer2-12/+27
Chip does not do UDP checksum when fragmentation occurs. Signed-off-by: Ron Mercer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-03-13dnet: replace obsolete *netif_rx_* functions with *napi_*Ilya Yanok1-4/+4
*netif_rx_* functions is obsolete and removed in newer kernels so we need to use corresponding *napi_* functions instead. Signed-off-by: Ilya Yanok <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-03-13V4L/DVB (10978): Report tuning algorith correctlyMatthias Schwarzzot1-1/+1
Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-03-13V4L/DVB (10977): STB6100 init fix, the call to stb6100_set_bandwidth needs ↵Hans Werner1-2/+2
an argument in Hz not kHz, and a comment incorrectly says MHz instead of Hz. I don't know if this caused real problems anywhere Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-03-13V4L/DVB (10976): Bug fix: For legacy applications stv0899 performs search ↵Igor M. Liplianin1-3/+4
only first time after insmod. For legacy applications stv0899 performs search only first time after insmod due to not set DVBFE_ALGO_SEARCH_AGAIN bit Signed-off-by: Igor M. Liplianin <[email protected]> Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-03-13V4L/DVB (10975): Bug: Use signed types, Offsets and range can be negativeManu Abraham2-15/+11
Code simplification: use in kernel macros Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-03-13V4L/DVB (10974): Use Diseqc 3/3 mode to send dataSigmund Augdal1-1/+1
Signed-off-by: Sigmund Augdal <[email protected]> Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2009-03-13genirq: deprecate obsolete typedefs and definesThomas Gleixner1-0/+9
More than two years is enough migration time. Remove the compability cruft. Signed-off-by: Thomas Gleixner <[email protected]>
2009-03-13genirq: deprecate __do_IRQThomas Gleixner2-0/+13
Two years migration time is enough. Remove the compability cruft. Add the deprecated warning in kernel/irq/handle.c because marking __do_IRQ itself is way too noisy. Signed-off-by: Thomas Gleixner <[email protected]>
2009-03-13numa, cpumask: move numa_node_id default implementation to topology.hRusty Russell3-6/+6
Impact: cleanup, potential bugfix Not sure what changed to expose this, but clearly that numa_node_id() doesn't belong in mmzone.h (the inline in gfp.h is probably overkill, too). In file included from include/linux/topology.h:34, from arch/x86/mm/numa.c:2: /home/rusty/patches-cpumask/linux-2.6/arch/x86/include/asm/topology.h:64:1: warning: "numa_node_id" redefined In file included from include/linux/topology.h:32, from arch/x86/mm/numa.c:2: include/linux/mmzone.h:770:1: warning: this is the location of the previous definition Signed-off-by: Rusty Russell <[email protected]> Cc: Mike Travis <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2009-03-13cpumask: convert node_to_cpumask_map[] to cpumask_var_tRusty Russell1-1/+1
Impact: fix (CONFIG_MAXSMP=y only) boot crash c032ef60d1aa9af33730b7a35bbea751b131adc1 "cpumask: convert node_to_cpumask_map[] to cpumask_var_t" didn't get this one conversion. There was a compile warning, but I missed it. Reported-by: Ingo Molnar <[email protected]> Signed-off-by: Rusty Russell <[email protected]> Cc: Mike Travis <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2009-03-13genirq: add doc to struct irqactionThomas Gleixner2-0/+12
Impact: documentation struct irqaction is not documented. Add kernel doc comments and add interrupt.h to the genirq docbook. Signed-off-by: Thomas Gleixner <[email protected]>
2009-03-13genirq: use kzalloc instead of explicit zero initializationThomas Gleixner1-3/+1
Impact: simplification Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Peter Zijlstra <[email protected]>
2009-03-13genirq: make irqreturn_t an enumThomas Gleixner2-20/+12
Impact: cleanup Remove the 2.4 compabiliy cruft Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Peter Zijlstra <[email protected]>
2009-03-13genirq: remove redundant if conditionThomas Gleixner1-1/+1
Impact: cleanup The code is only compiled if CONFIG_GENERIC_HARDIRQS=y so another check for this define in the code is redundant. Remove it. Signed-off-by: Thomas Gleixner <[email protected]>
2009-03-13genirq: remove unused hw_irq_controller typedefThomas Gleixner1-1/+0
hw_irq_controller is unused. Remove the typedef Impact: cleanup Signed-off-by: Thomas Gleixner <[email protected]>
2009-03-13parisc: update defconfigsKyle McMartin5-831/+1681
Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: define x->x mmio accessorsKyle McMartin1-0/+9
Bloody inconsiderate driver writers... Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: dino: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers1-5/+6
Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: convert cpu_check_affinity to new cpumask apiKyle McMartin3-8/+13
cpumask arg to the affinity function is now const, sort that out through the irq_desc implementations. Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: convert (read|write)bwlq to inlinesKyle McMartin1-9/+33
Kills the 'value computed but not used' due to leX_to_cpu. Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: fix use of new cpumask api in irq.cKyle McMartin1-4/+4
cpumask api needs to take a pointer to irq_desc[cpu].affinity Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: update parisc for new irq_descMike Travis1-4/+4
Impact: cleanup, update to new cpumask API Irq_desc.affinity and irq_desc.pending_mask are now cpumask_var_t's so access to them should be using the new cpumask API. Signed-off-by: Mike Travis <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: update MAINTAINERSGrant Grundler1-4/+2
Signed-off-By: Grant Grundler <[email protected]> Reviewed-by: Matthew Wilcox <[email protected]> Acked-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: fix wrong assumption about bus->selfGrant Grundler3-8/+7
Kenji Kaneshige <[email protected]> posted a patch series to linux-pci to fix a wrong assumption about pci_bus->self==NULL for all PCI host bus controllers. While PARISC platforms to not behave this way, I prefer to have the code consistent across architectures. The following patch replaces pci_bus->self with pci_bus->parent when used as a test to check for "root bus controller". Signed-off-by: Grant Grundler <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: fix 64bit buildHelge Deller1-0/+1
Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: add braces around arguments in assembler macrosHelge Deller2-8/+8
Add braces around the macro arguments, else for example "shl %r1, 5-3, %r2" would not expand to what you would assume. Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: fix dev_printk() compile warnings for accessing a device structHelge Deller2-2/+2
Fix compile warnings: drivers/scsi/zalon.c: In function `zalon_probe': drivers/scsi/zalon.c:140: warning: passing arg 1 of `dev_driver_string' from incompatible pointer type drivers/scsi/zalon.c:140: warning: passing arg 1 of `dev_name' from incompatible pointer type Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: remove unused local out_putf labelHelge Deller1-1/+0
Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: fix `struct pt_regs' declared inside parameter list warningHelge Deller1-0/+1
Fix those compile warnings: uaccess.h:244: warning: `struct pt_regs' declared inside parameter list uaccess.h:244: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: fix section mismatch warningsHelge Deller1-6/+6
Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: remove klist iteratorsJames Bottomley3-55/+68
commit 11c3b5c3e08f4d855cbef52883c266b9ab9df879 Author: Greg Kroah-Hartman <[email protected]> Date: Tue Dec 16 12:24:56 2008 -0800 driver core: move klist_children into private structure Broke our parisc build pretty badly because we touch the klists directly in three cases (AGP, SBA and GSC). Although GregKH will revert this patch, there's no reason we should be using the iterators directly, we can just move to the standard device_for_each_child() API. Signed-off-by: James Bottomley <[email protected]> Tested-by: Helge Deller <[email protected]> Tested-by: Kyle McMartin <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13parisc: BUG_ON() cleanupHelge Deller3-24/+9
- convert a few "if (xx) BUG();" to BUG_ON(xx) - remove a few printk()s, as we get a backtrace with BUG_ON() anyway Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
2009-03-13ps3/block: Replace mtd/ps3vram by block/ps3vramGeert Uytterhoeven6-776/+873
Convert the PS3 Video RAM Storage Driver from an MTD driver to a plain block device driver. The ps3vram driver exposes unused video RAM on the PS3 as a block device suitable for storage or swap. Fast data transfer is achieved using a local cache in system RAM and DMA transfers via the GPU. The new driver is ca. 50% faster for reading, and ca. 10% for writing. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Geoff Levand <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
2009-03-13Merge branch 'cpus4096' of ↵Ingo Molnar38-336/+246
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-x86 into cpus4096
2009-03-13Merge commit 'v2.6.29-rc8' into cpus4096Ingo Molnar73-410/+884
2009-03-13cpumask: remove x86 cpumask_t uses.Rusty Russell6-13/+13
Impact: cleanup We are removing cpumask_t in favour of struct cpumask: mainly as a marker of what code is now CONFIG_CPUMASK_OFFSTACK-safe. The only non-trivial change here is vector_allocation_domain(): explicitly clear the mask and set the first word, rather than using assignment. Signed-off-by: Rusty Russell <[email protected]>
2009-03-13cpumask: use cpumask_var_t in uv_flush_tlb_others.Rusty Russell1-2/+7
Impact: remove cpumask_t, reduce per-cpu size for CONFIG_CPUMASK_OFFSTACK=y Signed-off-by: Rusty Russell <[email protected]>
2009-03-13cpumask: remove cpumask_t assignment from vector_allocation_domain()Rusty Russell4-4/+8
Impact: cleanup It's not legal to do assignments into cpumask_var_t; they will soon be of variable length. So explicitly clear the mask and set the first word, rather than using assignment. Signed-off-by: Rusty Russell <[email protected]>
2009-03-13cpumask: make Xen use the new operators.Rusty Russell1-2/+2
Impact: cleanup In particular, *map are deprecated, and you have to use the accessors as *mask are const. Signed-off-by: Rusty Russell <[email protected]> To: Jeremy Fitzhardinge <[email protected]>
2009-03-13cpumask: clean up summit's send_IPI functionsRusty Russell1-7/+3
Impact: cleanup, remove cpumask from stack summit_send_IPI_allbutself might as well call default_send_IPI_mask_allbutself_logical(). Also change cpumask_t to struct cpumask and &cpu_online_map to cpu_online_mask while here. Signed-off-by: Rusty Russell <[email protected]>
2009-03-13cpumask: use new cpumask functions throughout x86Rusty Russell9-27/+26
Impact: cleanup 1) &cpu_online_map -> cpu_online_mask 2) first_cpu/next_cpu_nr -> cpumask_first/cpumask_next 3) cpu_*_map manipulation -> init_cpu_* / set_cpu_* Signed-off-by: Rusty Russell <[email protected]>
2009-03-13x86: unify ↵Rusty Russell2-30/+0
cpu_callin_mask/cpu_callout_mask/cpu_initialized_mask/cpu_sibling_setup_mask Impact: cleanup Signed-off-by: Rusty Russell <[email protected]>
2009-03-13cpumask: convert struct cpuinfo_x86's llc_shared_map to cpumask_var_tRusty Russell2-8/+27
Impact: reduce kernel memory usage when CONFIG_CPUMASK_OFFSTACK=y Signed-off-by: Rusty Russell <[email protected]>
2009-03-13cpumask: convert node_to_cpumask_map[] to cpumask_var_tRusty Russell4-28/+24
Impact: reduce kernel memory usage when CONFIG_CPUMASK_OFFSTACK=y Straightforward conversion: done for 32 and 64 bit kernels. node_to_cpumask_map is now a cpumask_var_t array. 64-bit used to be a dynamic cpumask_t array, and 32-bit used to be a static cpumask_t array. Signed-off-by: Rusty Russell <[email protected]>
2009-03-13x86: unify 32 and 64-bit node_to_cpumask_mapRusty Russell5-94/+83
Impact: cleanup We take the 64-bit code and use it on 32-bit as well. The new file is called mm/numa.c. In a minor cleanup, we use cpu_none_mask instead of declaring a local cpu_mask_none. Signed-off-by: Rusty Russell <[email protected]>