d5dedf9 | Andrew Morton | 05 March 2007, 08:30:04 UTC | [PATCH] cyclades: return closing_wait In http://bugzilla.kernel.org/show_bug.cgi?id=8065, Shen points out that the cyclades driver forget to return closing_wait to userspace. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Shen <shanlu@cs.uiuc.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 05 March 2007, 15:57:50 UTC |
20b0f65 | Linus Torvalds | 04 March 2007, 21:31:00 UTC | Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6: ide: make legacy IDE VLB modules check for the "probe" kernel params (v2) ide: remove some obsoleted kernel params (v2) ide/pci/delkin_cb.c: pci_module_init to pci_register_driver scc_pata: bugfix for checking DMA IRQ status ide: remove a ton of pointless #undef REALLY_SLOW_IO siimage: DRAC4 note adjust legacy IDE resource setting (v2) ide: fix pmac breakage ide-cs: Update device table ide: ide_get_best_pio_mode() returns incorrect IORDY setting (take 2) piix/slc90e66: more tuneproc() fixing (take 2) ide: fix drive side 80c cable check, take 2 cmd64x: fix PIO mode setup (take 3) alim15x3: fix PIO mode setup | 04 March 2007, 21:31:00 UTC |
70077f2 | Linus Torvalds | 04 March 2007, 21:25:28 UTC | Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: [libata] pata_jmicron: build fix | 04 March 2007, 21:25:28 UTC |
85a5d77 | Linus Torvalds | 04 March 2007, 21:22:12 UTC | Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb * master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: V4L/DVB (5260): Cx88-blackbird: allow usage of both 376836 and 262144 sized firmware images V4L/DVB (5366): Pvrusb2: Fix compilation warning for amd64 builds (use %zu instead of %u) | 04 March 2007, 21:22:12 UTC |
6d04e3b | Linus Torvalds | 04 March 2007, 21:16:49 UTC | Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [VLAN]: Avoid a 4-order allocation. [HDLC] Fix dev->header_cache_update having a random value. [NetLabel]: Verify sensitivity level has a valid CIPSO mapping [PPPOE]: Key connections properly on local device. [AF_UNIX]: Test against sk_max_ack_backlog properly. [NET]: Fix bugs in "Whether sock accept queue is full" checking | 04 March 2007, 21:16:49 UTC |
4227003 | Linus Torvalds | 04 March 2007, 21:15:48 UTC | Merge master.kernel.org:/home/rmk/linux-2.6-arm * master.kernel.org:/home/rmk/linux-2.6-arm: (30 commits) [ARM] Acorn: move the i2c bus driver into drivers/i2c [ARM] ARM SCSI: Don't try to dma_map_sg too many scatterlist entries [ARM] ARM FAS216: don't modify scsi_cmnd request_bufflen [ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC [ARM] rtc-pcf8583: correct month and year offsets [ARM] rtc-pcf8583: don't use BCD_TO_BIN/BIN_TO_BCD [ARM] EBSA110: Work around build errors [ARM] 4241/1: Define mb() as compiler barrier on a uniprocessor system [ARM] 4239/1: S3C24XX: Update kconfig entries for PM [ARM] 4238/1: S3C24XX: docs: update suspend and resume [ARM] 4237/2: oprofile: Always allow backtraces on ARM [ARM] Yet more asm/apm-emulation.h stuff ARM: OMAP: Add missing get_irqnr_preamble and arch_ret_to_user for omap2 ARM: OMAP: Use linux/delay.h not asm/delay.h ARM: OMAP: Remove obsolete alsa typedefs ARM: OMAP: omap1510->15xx conversions needed for sx1 ARM: OMAP: Add missing includes to board-nokia770 ARM: OMAP: Workqueue changes for board-h4.c ARM: OMAP: dmtimer.c omap1 register fix ARM: OMAP: board-nokia770: correct lcd name ... | 04 March 2007, 21:15:48 UTC |
2c89a8d | Linus Torvalds | 04 March 2007, 21:15:00 UTC | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] MTX1: clear PCI errors [MIPS] MTX1: add idsel cardbus ressources [MIPS] MTX1: remove unneeded settings [MIPS] dma_sync_sg_for_cpu is a no-op except for non-coherent R10000s. [MIPS] Cobalt: update reserved resources [MIPS] SN: PCI fixup needs to include <irq.h>. [MIPS] DMA: Fix a bunch of warnings due to missing inline keywords. [MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ... [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. [MIPS] DEC: Remove redeclarations of mips_machgroup and mips_machtype. [MIPS] No need to write c0_compare in plat_timer_setup [MIPS] Convert to RTC-class ds1742 driver [MIPS] Oprofile: Add missing break statements. [MIPS] jmr3927: build fix [MIPS] SNI: Fix mc146818_decode_year [MIPS] Replace sys32_timer_create with the generic compat_sys_timer_create. [MIPS] Replace sys32_socketcall with the generic compat_sys_socketcall. [MIPS] N32 waitid is the same as o32. | 04 March 2007, 21:15:00 UTC |
8d91cba | Russell King | 04 March 2007, 20:40:50 UTC | [ARM] Acorn: move the i2c bus driver into drivers/i2c Move the Acorn IOC/IOMD I2C bus driver from drivers/i2c, strip out the reminants of the platform specific parts of the old PCF8583 RTC code, and remove the old obsolete PCF8583 driver. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 04 March 2007, 20:40:50 UTC |
23d046f | Russell King | 04 March 2007, 20:21:38 UTC | [ARM] ARM SCSI: Don't try to dma_map_sg too many scatterlist entries An off-by-one bug meant we were always trying to map one too many scatterlist entries. This was mostly harmless prior to the checks going in to consistent_sync(), but now causes the kernel to BUG. Also, powertec.c was missing an assignment to info->ec. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 04 March 2007, 20:33:31 UTC |
6b4df7e | Russell King | 04 March 2007, 20:19:07 UTC | [ARM] ARM FAS216: don't modify scsi_cmnd request_bufflen SCSI doesn't want drivers to modify request_bufflen, so keep a driver-private copy of this in the scsi_pointer structure instead. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 04 March 2007, 20:33:20 UTC |
bb71f99 | Russell King | 04 March 2007, 20:33:07 UTC | [ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC Replace the I2C bus address, as per drivers/acorn/char/pcf8583.c. Also, since this driver also contains Acorn RiscPC specific code for obtaining the current year from the SRAM (and updating the platform specific checksum when writing new data back) this is NOT a platform independent driver. Document it as such, and update the dependencies to reflect this fact. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 04 March 2007, 20:33:07 UTC |
0ed8f21 | Russell King | 04 March 2007, 20:13:13 UTC | [ARM] rtc-pcf8583: correct month and year offsets No, today is not 4th April 3907, it's 4th March 2007. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 04 March 2007, 20:13:13 UTC |
f5e5b73 | Russell King | 04 March 2007, 20:12:07 UTC | [ARM] rtc-pcf8583: don't use BCD_TO_BIN/BIN_TO_BCD Both BCD_TO_BIN(x) and BIN_TO_BCD(x) have an unexpected side-effect - not only do they return the value as expected, they _modify_ their argument in the process. Let's play it safe and avoid these macros. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 04 March 2007, 20:12:07 UTC |
8b4ac6f | Florian Fainelli | 02 March 2007, 21:08:01 UTC | [MIPS] MTX1: clear PCI errors This patch clears PCI errors after showing more debug informations. Signed-off-by: Florian Fainelli <florian.fainelli@int-evry.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:45 UTC |
baa545f | Florian Fainelli | 02 March 2007, 21:07:48 UTC | [MIPS] MTX1: add idsel cardbus ressources Adds cardbus ressources for MTX1 boards which have a PCMCIA controller. Signed-off-by: Florian Fainelli <florian.fainelli@int-evry.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:44 UTC |
6fff989 | Florian Fainelli | 02 March 2007, 21:07:41 UTC | [MIPS] MTX1: remove unneeded settings This patch removes unnecessary settings at setup time. Signed-off-by: Florian Fainelli <florian.fainelli@int-evry.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:43 UTC |
5b648a9 | Ralf Baechle | 02 March 2007, 11:42:11 UTC | [MIPS] dma_sync_sg_for_cpu is a no-op except for non-coherent R10000s. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:42 UTC |
47d7c44 | Yoichi Yuasa | 01 March 2007, 13:50:25 UTC | [MIPS] Cobalt: update reserved resources This patch has removed unused timer resource. Moreover, the name of reserved resources ware changed. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:42 UTC |
3a1d821 | Ralf Baechle | 01 March 2007, 15:35:54 UTC | [MIPS] SN: PCI fixup needs to include <irq.h>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:40 UTC |
a9b6590 | Ralf Baechle | 01 March 2007, 15:30:01 UTC | [MIPS] DMA: Fix a bunch of warnings due to missing inline keywords. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:39 UTC |
07c0d74 | Ralf Baechle | 01 March 2007, 15:29:25 UTC | [MIPS] RM: It should be #ifdef CONFIG_FOO not #if CONFIG_FOO ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:38 UTC |
36a8853 | Ralf Baechle | 01 March 2007, 11:56:43 UTC | [MIPS] Fix and cleanup the mess that a dozen prom_printf variants are. early_printk is a so much saner thing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:37 UTC |
ca471c8 | Ralf Baechle | 01 March 2007, 10:47:23 UTC | [MIPS] DEC: Remove redeclarations of mips_machgroup and mips_machtype. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:36 UTC |
12e4396 | Atsushi Nemoto | 28 February 2007, 16:53:13 UTC | [MIPS] No need to write c0_compare in plat_timer_setup If R4k counter was used for hpt_timer and interrupt source, c0_hpt_timer_init() initializes the c0_compare register. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:35 UTC |
a0574e0 | Atsushi Nemoto | 28 February 2007, 15:40:21 UTC | [MIPS] Convert to RTC-class ds1742 driver The generic rtc-ds1742 driver can be used for RBTX4927 and JMR3927 (with __swizzle_addr trick). This patch also removes MIPS local DS1742 stuff. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:34 UTC |
148171b | Ralf Baechle | 28 February 2007, 15:34:22 UTC | [MIPS] Oprofile: Add missing break statements. This was causing oprofile to fail on R10000, R12000, R14000. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:34 UTC |
69f2827 | Atsushi Nemoto | 27 February 2007, 16:42:19 UTC | [MIPS] jmr3927: build fix Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:32 UTC |
49fa3c0 | Thomas Bogendoerfer | 03 February 2007, 13:06:10 UTC | [MIPS] SNI: Fix mc146818_decode_year Big endian RMs uses a different mc146818_decode_year than little endian RMs Correct mc146818_decode_year for years before 2000 Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:31 UTC |
821d313 | Ralf Baechle | 27 February 2007, 01:21:17 UTC | [MIPS] Replace sys32_timer_create with the generic compat_sys_timer_create. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:30 UTC |
08274ce | Ralf Baechle | 27 February 2007, 01:11:28 UTC | [MIPS] Replace sys32_socketcall with the generic compat_sys_socketcall. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:30 UTC |
440537e | Ralf Baechle | 27 February 2007, 00:56:37 UTC | [MIPS] N32 waitid is the same as o32. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> | 04 March 2007, 19:02:29 UTC |
e9cdb1e | Andrew Morton | 01 March 2007, 09:28:13 UTC | KVM: Move kvmfs magic number to <linux/magic.h> Use the standard magic.h for kvmfs. Cc: Avi Kivity <avi@qumranet.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:43 UTC |
58e690e | Avi Kivity | 26 February 2007, 14:29:43 UTC | KVM: Fix bogus failure in kvm.ko module initialization A bogus 'return r' can cause an otherwise successful module load to fail. This both denies users the use of kvm, and it also denies them the use of their machine, as it leaves a filesystem registered with its callbacks pointing into now-freed module memory. Fix by returning a zero like a good module. Thanks to Richard Lucassen <mailinglists@lucassen.org> (?) for reporting the problem and for providing access to a machine which exhibited it. Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:43 UTC |
ff990d5 | Uri Lublin | 22 February 2007, 15:37:32 UTC | KVM: Remove write access permissions when dirty-page-logging is enabled Enabling dirty page logging is done using KVM_SET_MEMORY_REGION ioctl. If the memory region already exists, we need to remove write accesses, so writes will be caught, and dirty pages will be logged. Signed-off-by: Uri Lublin <uril@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:43 UTC |
02b27c1 | Uri Lublin | 22 February 2007, 15:15:33 UTC | kvm: move do_remove_write_access() up To be called from kvm_vm_ioctl_set_memory_region() Signed-off-by: Uri Lublin <uril@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:43 UTC |
cd1a4a9 | Uri Lublin | 22 February 2007, 14:43:09 UTC | KVM: Fix dirty page log bitmap size/access calculation Since dirty_bitmap is an unsigned long array, the alignment and size need to take that into account. Signed-off-by: Uri Lublin <uril@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
ab51a43 | Uri Lublin | 21 February 2007, 16:25:21 UTC | KVM: Add missing calls to mark_page_dirty() A few places where we modify guest memory fail to call mark_page_dirty(), causing live migration to fail. This adds the missing calls. Signed-off-by: Uri Lublin <uril@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
f7e6a45 | Avi Kivity | 21 February 2007, 17:47:40 UTC | KVM: Bump API version Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
bccf215 | Avi Kivity | 21 February 2007, 16:04:26 UTC | KVM: Per-vcpu inodes Allocate a distinct inode for every vcpu in a VM. This has the following benefits: - the filp cachelines are no longer bounced when f_count is incremented on every ioctl() - the API and internal code are distinctly clearer; for example, on the KVM_GET_REGS ioctl, there is no need to copy the vcpu number from userspace and then copy the registers back; the vcpu identity is derived from the fd used to make the call Right now the performance benefits are completely theoretical since (a) we don't support more than one vcpu per VM and (b) virtualization hardware inefficiencies completely everwhelm any cacheline bouncing effects. But both of these will change, and we need to prepare the API today. Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
c5ea766 | Avi Kivity | 20 February 2007, 16:41:05 UTC | KVM: Move kvm_vm_ioctl_create_vcpu() around In preparation of some hacking. Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
2c6f5df | Avi Kivity | 20 February 2007, 16:27:58 UTC | KVM: Rename some kvm_dev_ioctl_*() functions to kvm_vm_ioctl_*() This reflects the changed scope, from device-wide to single vm (previously every device open created a virtual machine). Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
f17abe9 | Avi Kivity | 21 February 2007, 17:28:04 UTC | KVM: Create an inode per virtual machine This avoids having filp->f_op and the corresponding inode->i_fop different, which is a little unorthodox. The ioctl list is split into two: global kvm ioctls and per-vm ioctls. A new ioctl, KVM_CREATE_VM, is used to create VMs and return the VM fd. Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:42 UTC |
37e29d9 | Avi Kivity | 20 February 2007, 12:07:37 UTC | KVM: Add internal filesystem for generating inodes The kvmfs inodes will represent virtual machines and vcpus, as necessary, reducing cacheline bouncing due to inodes and filps being shared. Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:41 UTC |
19d1408 | Avi Kivity | 19 February 2007, 12:37:48 UTC | KVM: More 0 -> NULL conversions Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:41 UTC |
0152527 | Joerg Roedel | 19 February 2007, 12:37:47 UTC | KVM: SVM: intercept SMI to handle it at host level This patch changes the SVM code to intercept SMIs and handle it outside the guest. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:41 UTC |
cd20562 | Avi Kivity | 19 February 2007, 12:37:47 UTC | KVM: svm: init cr0 with the wp bit set Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:41 UTC |
270fd9b | Avi Kivity | 19 February 2007, 12:37:47 UTC | KVM: Wire up hypercall handlers to a central arch-independent location Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:41 UTC |
02e235b | Avi Kivity | 19 February 2007, 12:37:47 UTC | KVM: Add hypercall host support for svm Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:41 UTC |
c21415e | Ingo Molnar | 19 February 2007, 12:37:47 UTC | KVM: Add host hypercall support for vmx Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:40 UTC |
102d832 | Ingo Molnar | 19 February 2007, 12:37:47 UTC | KVM: add MSR based hypercall API This adds a special MSR based hypercall API to KVM. This is to be used by paravirtual kernels and virtual drivers. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:40 UTC |
5972e95 | Markus Rechberger | 19 February 2007, 12:37:47 UTC | KVM: Use page_private()/set_page_private() apis Besides using an established api, this allows using kvm in older kernels. Signed-off-by: Markus Rechberger <markus.rechberger@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:39 UTC |
9d8f549 | Ahmed S. Darwish | 19 February 2007, 12:37:46 UTC | KVM: Use ARRAY_SIZE macro instead of manual calculation. Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com> Signed-off-by: Dor Laor <dor.laor@qumranet.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:39 UTC |
de979ca | Joerg Roedel | 19 February 2007, 12:37:46 UTC | KVM: vmx: hack set_cr0_no_modeswitch() to actually do modeswitch The whole thing is rotten, but this allows vmx to boot with the guest reboot fix. Signed-off-by: Markus Rechberger <markus.rechberger@amd.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:39 UTC |
d27d4ac | Avi Kivity | 19 February 2007, 12:37:46 UTC | KVM: Cosmetics Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:39 UTC |
43934a3 | Jeremy Katz | 19 February 2007, 12:37:46 UTC | KVM: Move virtualization deactivation from CPU_DEAD state to CPU_DOWN_PREPARE This gives it more chances of surviving suspend. Signed-off-by: Jeremy Katz <katzj@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:39 UTC |
bf3f8e8 | Avi Kivity | 19 February 2007, 12:37:46 UTC | KVM: mmu: add missing dirty page tracking cases We fail to mark a page dirty in three cases: - setting the accessed bit in a pte - setting the dirty bit in a pte - emulating a write into a pagetable This fix adds the missing cases. Signed-off-by: Avi Kivity <avi@qumranet.com> | 04 March 2007, 09:12:39 UTC |
8491388 | Bartlomiej Zolnierkiewicz | 03 March 2007, 16:48:55 UTC | ide: make legacy IDE VLB modules check for the "probe" kernel params (v2) Legacy IDE VLB host drivers didn't check for "probe" options when compiled as modules, which was obviously wrong as we don't want module to poke at random I/O ports by simply loading it. Fix it by adding "probe" module param to legacy IDE VLB host drivers. v2: * don't obsolete old "ide0=dtc2278/ht6560b/qd65xx/ali14xx/umc8672" IDE driver options yet (per Alan Cox's request) and enhance documentation Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:55 UTC |
b6209a9 | Bartlomiej Zolnierkiewicz | 03 March 2007, 16:48:55 UTC | ide: remove some obsoleted kernel params (v2) Remove * "hdx=serialize" * "idex=noautotune" * "idex=autotune" kernel params, they have been obsoleted for ages. "idex=serialize", "hdx=noautotune" and "hdx=autotune" are still available so there is no funcionality loss caused by this patch. v2: * fix CONFIG_BLK_DEV_4DRIVES=y build broken by version 1 of the patch [ /me wearing brown paper bag ] Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:55 UTC |
e76ecf8 | Richard Knutsson | 03 March 2007, 16:48:55 UTC | ide/pci/delkin_cb.c: pci_module_init to pci_register_driver Convert pci_module_init() to pci_register_driver(). [ Compile-tested with "allyes", "allmod" & "allno" on i386. ] Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:55 UTC |
06a9952 | Akira Iguchi | 03 March 2007, 16:48:55 UTC | scc_pata: bugfix for checking DMA IRQ status On Tuesday 27 February 2007, Akira Iguchi wrote: > > But since I sent the first patch, I found a bug for checking DMA IRQ status. > (http://www.spinics.net/lists/linux-ide/msg06903.html) > Then I sent the fixed patch for libata only. So my drivers/ide patch > still has same bug and I want to fix it, too. > > The following patch fixes this bug. Please apply this patch. From: Akira Iguchi <akira2.iguchi@toshiba.co.jp> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:55 UTC |
846c11a | Alan Cox | 03 March 2007, 16:48:54 UTC | ide: remove a ton of pointless #undef REALLY_SLOW_IO Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:54 UTC |
8693d3e | Alan Cox | 03 March 2007, 16:48:54 UTC | siimage: DRAC4 note Revised DRAC4 warning as Jeff suggested, this one includes more info about why the problem occurs Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:54 UTC |
ed8ccee | Jan Beulich | 03 March 2007, 16:48:54 UTC | adjust legacy IDE resource setting (v2) The change to force legacy mode IDE channels' resources to fixed non-zero values confuses (at least some versions of) X, because the values reported by the kernel and those readable from PCI config space aren't consistent anymore. Therefore, this patch arranges for the respective BARs to also get updated if possible. Signed-off-by: Jan Beulich <jbeulich@novell.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:54 UTC |
9e5755b | Andrew Morton | 03 March 2007, 16:48:54 UTC | ide: fix pmac breakage Fix breakage added in the IDE devel tree. Add header, then fix drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_dma': drivers/ide/ppc/pmac.c:2044: warning: assignment from incompatible pointer type drivers/ide/ppc/pmac.c: In function `pmac_ide_dma_host_on': drivers/ide/ppc/pmac.c:1989: warning: control reaches end of non-void function include/linux/pci.h: In function `pmac_ide_init': drivers/ide/ppc/pmac.c:1563: warning: ignoring return value of `pci_register_driver', declared with attribute warn_unused_result Then add some apparently-long-missing error handling. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:54 UTC |
ed89616 | Magnus Damm | 03 March 2007, 16:48:54 UTC | ide-cs: Update device table Add CFA devices from I-O Data, Mitsubishi and Viking. Add SanDisk comment. Signed-off-by: Magnus Damm <damm@opensource.se> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:54 UTC |
81d368e | Sergei Shtylyov | 03 March 2007, 16:48:53 UTC | ide: ide_get_best_pio_mode() returns incorrect IORDY setting (take 2) The function ide_get_best_pio_mode() fails to return the correct IORDY setting for the explicitly specified modes -- fix this along with the heading comment, and also remove the long commented out code. Also, while at it, correct the misliading comment about the PIO cycle time in <linux/ide.h> -- it actually consists of only the active and recovery periods, with only some chips also including the address setup time into equation... [ bart: sl82c105 seems to be currently the only driver affected by this fix ] Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:53 UTC |
07af427 | Sergei Shtylyov | 03 March 2007, 16:48:53 UTC | piix/slc90e66: more tuneproc() fixing (take 2) The tuneproc() method in both these drivers failed to set the drive's own speed. Fix this by renaming the function and "wrapping around it" the new tuneproc() method. Switch back to calling tuneproc() in the PIO fallback code. While at it, also convert the rest of the PIO timing code into proper C. :-) Has been kind of tested on SLC90E66. I'm too lazy to reboot my box and test on ICH4... :-) [ bart: I quickly tested it on ICH4. ] Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:53 UTC |
fab5937 | Tejun Heo | 03 March 2007, 16:48:53 UTC | ide: fix drive side 80c cable check, take 2 eighty_ninty_three() had word 93 validitity check but not the 80c bit test itself (bit 13). This increases the chance of incorrect wire detection especially because host side cable detection is often unreliable and we sometimes soley depend on drive side cable detection. Fix it. [ bart: fix off-by-1 bit name in the patch description ] Signed-off-by: Tejun Heo <htejun@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:53 UTC |
f92d50e | Sergei Shtylyov | 03 March 2007, 16:48:53 UTC | cmd64x: fix PIO mode setup (take 3) The driver's tuneproc() method fails to set the drive's own speed -- fix this by renaming the function to cmd64x_tune_pio(), making it return the mode set, and "wrapping" the new tuneproc() method around it; while at it, also get rid of the non-working prefetch control code (filtering out related argument values in the "wrapper"), remove redundant PIO5 mode limitation, make cmdprintk() give more sensible mode info, and remove mention about the obsolete /proc/ interface. Get rid of the broken config_chipset_for_pio() which always tried to set PIO4, switch to always auto-tuning PIO instead. Oh, and add the missing PIO5 support to the speedproc() method while at it. :-) Warning: compile tested only -- getting to the real hardware isn't that easy... On Tuesday 06 February 2007 22:11, Mikael Pettersson <mikpe@it.uu.se> wrote: > > Worked fine on my SPARC Ultra5 with a CMD646 IDE controller. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:53 UTC |
21b8247 | Sergei Shtylyov | 03 March 2007, 16:48:52 UTC | alim15x3: fix PIO mode setup The driver's tuneproc() method fails to set the drive's own speed -- fix this by renaming the function to ali15x3_tune_pio() and "wrapping" the new tuneproc() method around it and making it return the mode set, update the heading comment. Also, setting PIO mode via the speedproc() method does not work due to passing to the tuneproc() method's a mode number not biased by XFER_PIO_0 -- fix this along with a typo in the heading comment... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 03 March 2007, 16:48:52 UTC |
527e1e1 | Jeff Garzik | 03 March 2007, 15:36:19 UTC | [libata] pata_jmicron: build fix Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 15:36:19 UTC |
af70dbd | Michael Krufky | 03 March 2007, 12:10:43 UTC | V4L/DVB (5260): Cx88-blackbird: allow usage of both 376836 and 262144 sized firmware images This updates the cx88-blackbird driver to be able to use the new cx23416 firmware image released by Hauppauge Computer Works, while retaining compatibility with the older firmware images. cx2341x firmware can be downloaded at: http://dl.ivtvdriver.org/ivtv/firmware/ Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> | 03 March 2007, 12:14:36 UTC |
48dc30a | Mike Isely | 03 March 2007, 12:13:05 UTC | V4L/DVB (5366): Pvrusb2: Fix compilation warning for amd64 builds (use %zu instead of %u) Signed-off-by Mike Isely <isely@pobox.com> Signed-off-by Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> | 03 March 2007, 12:14:34 UTC |
c5eb2a2 | Russell King | 03 March 2007, 11:54:19 UTC | [ARM] EBSA110: Work around build errors Work around EBSA110 build errors by selecting NO_IOPORT. EBSA110 can't support an IO port to MMIO mapping mechanism because the MMIO and IO port spaces have quite different and complex addressing requirements. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 03 March 2007, 11:55:01 UTC |
5c15bde | Dan Aloni | 03 March 2007, 04:44:51 UTC | [VLAN]: Avoid a 4-order allocation. This patch splits the vlan_group struct into a multi-allocated struct. On x86_64, the size of the original struct is a little more than 32KB, causing a 4-order allocation, which is prune to problems caused by buddy-system external fragmentation conditions. I couldn't just use vmalloc() because vfree() cannot be called in the softirq context of the RCU callback. Signed-off-by: Dan Aloni <da-x@monatomic.org> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net> | 03 March 2007, 04:44:51 UTC |
b5284e5 | Krzysztof Halasa | 02 March 2007, 23:52:22 UTC | [HDLC] Fix dev->header_cache_update having a random value. Switching HDLC devices from Ethernet-framing mode caused stale ethernet function assignments within net_device. Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl> Signed-off-by: David S. Miller <davem@davemloft.net> | 03 March 2007, 04:37:37 UTC |
c6387a8 | Paul Moore | 02 March 2007, 21:19:02 UTC | [NetLabel]: Verify sensitivity level has a valid CIPSO mapping The current CIPSO engine has a problem where it does not verify that the given sensitivity level has a valid CIPSO mapping when the "std" CIPSO DOI type is used. The end result is that bad packets are sent on the wire which should have never been sent in the first place. This patch corrects this problem by verifying the sensitivity level mapping similar to what is done with the category mapping. This patch also changes the returned error code in this case to -EPERM to better match what the category mapping verification code returns. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net> | 03 March 2007, 04:37:36 UTC |
90719db | Florian Zumbiehl | 02 March 2007, 21:16:56 UTC | [PPPOE]: Key connections properly on local device. It is based on the assumption that an interface's ifindex is basically an alias for a local MAC address, so incoming packets now are matched to sockets based on remote MAC, session id, and ifindex of the interface the packet came in on/the socket was bound to by connect(). For relayed packets, the socket that's used for relaying is selected based on destination MAC, session ID and the interface index of the interface whose name currently matches the name requested by userspace as the relaying source interface. Signed-off-by: David S. Miller <davem@davemloft.net> | 03 March 2007, 04:37:35 UTC |
248f067 | David S. Miller | 02 March 2007, 20:49:23 UTC | [AF_UNIX]: Test against sk_max_ack_backlog properly. This brings things inline with the sk_acceptq_is_full() bug fix. The limit test should be x >= sk_max_ack_backlog. Signed-off-by: David S. Miller <davem@davemloft.net> | 03 March 2007, 04:37:34 UTC |
8488df8 | Wei Dong | 02 March 2007, 20:37:26 UTC | [NET]: Fix bugs in "Whether sock accept queue is full" checking when I use linux TCP socket, and find there is a bug in function sk_acceptq_is_full(). When a new SYN comes, TCP module first checks its validation. If valid, send SYN,ACK to the client and add the sock to the syn hash table. Next time if received the valid ACK for SYN,ACK from the client. server will accept this connection and increase the sk->sk_ack_backlog -- which is done in function tcp_check_req().We check wether acceptq is full in function tcp_v4_syn_recv_sock(). Consider an example: After listen(sockfd, 1) system call, sk->sk_max_ack_backlog is set to 1. As we know, sk->sk_ack_backlog is initialized to 0. Assuming accept() system call is not invoked now. 1. 1st connection comes. invoke sk_acceptq_is_full(). sk- >sk_ack_backlog=0 sk->sk_max_ack_backlog=1, function return 0 accept this connection. Increase the sk->sk_ack_backlog 2. 2nd connection comes. invoke sk_acceptq_is_full(). sk- >sk_ack_backlog=1 sk->sk_max_ack_backlog=1, function return 0 accept this connection. Increase the sk->sk_ack_backlog 3. 3rd connection comes. invoke sk_acceptq_is_full(). sk- >sk_ack_backlog=2 sk->sk_max_ack_backlog=1, function return 1. Refuse this connection. I think it has bugs. after listen system call. sk->sk_max_ack_backlog=1 but now it can accept 2 connections. Signed-off-by: Wei Dong <weid@np.css.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net> | 03 March 2007, 04:37:33 UTC |
bb648a0 | Linus Torvalds | 03 March 2007, 01:58:52 UTC | Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: libata: add CONFIG_PM to libata core layer libata: add missing CONFIG_PM in LLDs libata: add missing PM callbacks pata_qdi: Fix initialisation [libata] pata_cmd64x: fix driver description in comments [libata] pata_{legacy,sc1200,sl82c105}: add missing hooks [libata] change master/slave IDENTIFY order libata-core: Fix simplex handling | 03 March 2007, 01:58:52 UTC |
8b45339 | Jeff Garzik | 03 March 2007, 01:21:56 UTC | [netdrvr] tulip, de2104x: fix typo: s/__sparc_/__sparc__/ Noticed by Doug Nazar (via David Miller). Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 01:21:56 UTC |
5ada386 | Dale Farnsworth | 01 March 2007, 23:31:48 UTC | mv643xx_eth: move mac_addr inside mv643xx_eth_platform_data The information contained within platform_data should be self-contained. Replace the pointer to a MAC address with the actual MAC address in struct mv643xx_eth_platform_data. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 01:16:10 UTC |
471a567 | Dave Jones | 28 February 2007, 20:41:39 UTC | Fix mv643xx_eth compilation. Commit 908b637fe793165b6aecdc875cdca67c4959a1ad removed ETH_DMA_ALIGN but missed a usage of it in a macro, which broke the build. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 01:16:10 UTC |
63f7792 | Ron Mercer | 01 March 2007, 00:42:17 UTC | qla3xxx: bugfix for line omitted in previous patch. This missing line caused transmit errors on the Qlogic 4032 chip. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 01:16:10 UTC |
e0e20a1 | Linsys Contractor Mithlesh Thukral | 28 February 2007, 13:16:40 UTC | NetXen: Fix second rmmod failure observed on PowerPC machines. Signed-off by: Mithlesh Thukral <mithlesh@netxen.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 01:02:28 UTC |
0c25cfe | Linsys Contractor Mithlesh Thukral | 28 February 2007, 13:14:07 UTC | NetXen: Updates, removal of unsupported features and minor bug fixes. Signed-off-by: Mithlesh Thukral <mithlesh@netxen.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 01:02:28 UTC |
d518725 | Divy Le Ray | 28 February 2007, 03:28:14 UTC | cxgb3 - Tag driver version This patch adds a "-ko" tag to the driver version. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 00:55:07 UTC |
4a2e612 | Brice Goglin | 27 February 2007, 16:18:40 UTC | myri10ge: fix copyright and license Fix copyright and license ("regents" should not have ever been used). Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 00:55:07 UTC |
c8d64f8 | Ralf Baechle | 27 February 2007, 18:15:01 UTC | jmr3927: do not call tc35815_killall(). No need to stop tc35815 before resetting the board. This fixes the build of tc35815 as a module. This also means there is no caller of tc35815_killall left, so remove that function also. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 03 March 2007, 00:55:07 UTC |
db7ce76 | Jeff Garzik | 03 March 2007, 00:40:24 UTC | Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes | 03 March 2007, 00:40:24 UTC |
6ffa01d | Tejun Heo | 02 March 2007, 08:32:47 UTC | libata: add CONFIG_PM to libata core layer Conditionalize all PM related stuff in libata core layer using CONFIG_PM. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 02 March 2007, 23:30:35 UTC |
438ac6d | Tejun Heo | 02 March 2007, 08:31:26 UTC | libata: add missing CONFIG_PM in LLDs Add missing #ifdef CONFIG_PM conditionals around all PM related parts in libata LLDs. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 02 March 2007, 23:30:35 UTC |
b23ff24 | Tejun Heo | 02 March 2007, 08:30:01 UTC | libata: add missing PM callbacks Some LLDs were missing scsi device PM callbacks while having host/port suspend support. Add missing ones. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> | 02 March 2007, 23:27:34 UTC |
43ecf52 | David S. Miller | 02 March 2007, 02:30:08 UTC | [AOE]: Add get_unaligned() calls where needed. Based upon a report by Andrew Walrond. Signed-off-by: David S. Miller <davem@davemloft.net> | 02 March 2007, 23:22:55 UTC |
7ab8767 | David S. Miller | 02 March 2007, 02:29:14 UTC | [RADEON]: Fix blanking return value. If you'll recall, over a year ago, I pointed out that the current Radeon driver erroneously returns -EINVAL for valid blanking codes, here is a link to that thread: http://lkml.org/lkml/2006/1/28/6 No other driver does this, and it confuses the X server into thinking that the device does not support blanking properly. I looked again and there is simply no reason for the Radeon driver to return -EINVAL for FB_BLANK_NORMAL. It claims it wants to do this in order to convince fbcon to blank in software, right here: if (fb_blank(info, blank)) fbcon_generic_blank(vc, info, blank); to software blank the screen. But it only causes that to happen in the FB_BLANK_NORMAL case. That makes no sense because the Radeon code does this: val |= CRTC_DISPLAY_DIS; in the FB_BLANK_NORMAL case so should be blanking the hardware, and there is therefore no reason to SW blank by returning -EINVAL. Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Antonino Daplas <adaplas@gmail.com> | 02 March 2007, 23:22:54 UTC |
c4c31fe | David S. Miller | 02 March 2007, 02:10:25 UTC | [SPARC]: Provide 'get_property()' alias for of_get_property(). Another powerpc compatibility item, this will allow us to share more code with them. Signed-off-by: David S. Miller <davem@davemloft.net> | 02 March 2007, 23:22:53 UTC |
f6d0f9e | David S. Miller | 02 March 2007, 02:09:18 UTC | [SPARC]: Provide pci_device_to_OF_node() just like powerpc. Signed-off-by: David S. Miller <davem@davemloft.net> | 02 March 2007, 23:22:51 UTC |
45bcca6 | David S. Miller | 02 March 2007, 02:08:05 UTC | [SPARC]: Handle unresolvable resources better in of_device.c Just leave them as zero if we couldn't calculate it. Signed-off-by: David S. Miller <davem@davemloft.net> | 02 March 2007, 23:22:50 UTC |
b85cdd4 | David S. Miller | 01 March 2007, 07:20:12 UTC | [SPARC]: Fix bus handling in build_device_resources(). We mistakedly modify 'bus' in the innermost loop. What should happen is that at each register index iteration, we start with the same 'bus'. So preserve it's value at the top level, and use a loop local variable 'dbus' for iteration. This bug causes registers other than the first to be decoded improperly. Signed-off-by: David S. Miller <davem@davemloft.net> | 02 March 2007, 23:22:49 UTC |