- 22 Oct, 2003 6 commits
-
-
Andrew Morton authored
This driver is taking uinitialised stack gunk from the pdev[] array and feeding it into pci_read_config_byte() and crashing when modprobed with no hardware present. Fix it to not index past the initialised members of pdev[]. We don't know if this driver works.
-
Andrew Morton authored
From: Stephen Hemminger <shemminger@osdl.org> The following will prevent adjtime from causing time regression. It delays starting the adjtime mechanism for one tick, and keeps gettimeofday inside the window. Only fixes i386, but changes to other arch would be similar. Running a simple clock test program and playing with adjtime demonstrates that this fixes the problem (and 2.6.0-test6 is broken). But given the fragile nature of the timer code, it should go through some more testing before inclusion.
-
Andrew Morton authored
Silence a bogus "may be used uninitialised" warning. It only affects architectures which use the tlb_finish_mmu() args.
-
Andrew Morton authored
Sync this up with 2.4: ChangeSet@1.404.2.2 2002-05-06 21:30:10-03:00 hch@infradead.org [PATCH] memsetup fixes (again) The mem= fixes from Red Hat's tree had a small bug: if mem= was not actually used with the additional features, but int plain old way, is used the value as the size of memory it wants, not the upper limit. The problem with this is that there is a small difference due to memory holes. I had one report of a person using mem= to reduce memory size for a broken i386 chipset thaty only supports 64MB cached and the rest as mtd/slram device for swap. I got broken as the boundaries changed.
-
Andrew Morton authored
From: Jens Axboe <axboe@suse.de> The command 'eject /dev/scd0' sends a START_STOP command to the device with the data direction set to SCSI_DATA_WRITE but a transfer length of zero. This causes a problem for some code paths.
-
Andrew Morton authored
From: "V. Rajesh" <vrajesh@eecs.umich.edu> If a vma is already present in an i_mmap list of a mapping, then it is racy to update the vm_start, vm_end, and vm_pgoff members of the vma without holding the mapping's i_shared_sem. This is because the updates can race with invalidate_mmap_range_list. I audited all the places that assign vm_start, vm_end, and vm_pgoff. AFAIK, the following is the list of questionable places: 1) This patch fixes the racy split_vma. Kernel 2.4 does the right thing, but the following changesets introduced a race. http://linux.bkbits.net:8080/linux-2.5/patch@1.536.34.4 http://linux.bkbits.net:8080/linux-2.5/patch@1.536.34.5 You can use the patch and programs in the following URL to trigger the race. http://www-personal.engin.umich.edu/~vrajesh/linux/truncate-race/ 2) This patch also locks a small racy window in vma_merge. 3) In few cases vma_merge and do_mremap expand a vma by adding extra length to vm_end without holding i_shared_sem. I think that's fine. 4) In arch/sparc64, vm_end is updated without holding i_shared_sem. Check make_hugetlb_page_present. I hope that is fine, but I am not sure.
-
- 21 Oct, 2003 12 commits
-
-
http://linux-acpi.bkbits.net/linux-acpi-release-2.6.0Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
James Cleverdon authored
The "irq_vector[]" array is indexed by the sum of all RTEs in all I/O APICs, and is not necessarily limited by the x86 CPU irq vector inputs. In fact, the irq vector index would overflow on big machines with lots of IO APIC's, causing the boot to fail. So grow the array for the big SMP boxes, keeping the default the same as before (and shrink the vector entry size down to a 8-bit value, since that's the size of the actual CPU vector entry).
-
bk://kernel.bkbits.net/jgarzik/libata-2.5Jeff Garzik authored
into redhat.com:/spare/repo/libata-2.5-merge
-
Jeff Garzik authored
-
Jeff Garzik authored
Intel ICH5 (production) ServerWorks / Apple K2 (beta) VIA (beta) Silicon Image 3112 (broken!) Various Promise (alpha/beta)
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Alexander Schulz authored
Patch from Alexander Schulz This patch adds the define for PCIMEM_BASE so that the shark kernel compiles again.
-
Dave Jiang authored
Patch from Dave Jiang The fix allows IOP321 based platforms to boot all the way instead of blank screen after "starting kernel...". Inherited from Deepak's earlier patch.
-
Bartlomiej Zolnierkiewicz authored
CMD640 driver also supports VLB version of the chipset, therefore fix drivers/ide/Makefile to include pci/ subdir even if CONFIG_BLK_DEV_IDEPCI=n.
-
Michael Hunold authored
- remove cruft, memset() i2c-client structures in tda9840, tea6420, tea6415c driver, otherwise i2c_register()/kobject() segfaults later on
-
Michael Hunold authored
- remove cruft, add I2C_ADAP_CLASS_TV_ANALOG identifier for analog tv i2c handler
-
Michael Hunold authored
- DVB networking uses big endian crc32, so change all occurences of crc32_le to crc32_be - fix usage of firmware location Kconfig option in tda1004x frontend driver - add missing VBI line decoding initialization to saa7113 code for av7110 driver - make av7110 firmware static and *not* __initdata, so recover_arm() can work in case the driver is compiled in statically
-
- 20 Oct, 2003 15 commits
-
-
-
Len Brown authored
use X86 ACPI specific version of eisa_set_level_irq() http://bugzilla.kernel.org/show_bug.cgi?id=1390
-
Alexander Viro authored
This fixes initrd with devfs. With that combination the late-boot code does temporary mount of devfs over rootfs /dev, which made /dev/initrd inaccessible. For setups without devfs that didn't happen. The fix is trivial - put the file in question outside of /dev; IOW, we simply replace "/dev/initrd" with "/initrd.image" in init/*. Confirmed to fix the problem by Valdis Kletnieks
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://cifs.bkbits.net/linux-2.5cifsLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Neil Brown authored
... as if "nohide" is in used, it will be the wrong filehandle, and returning a filehandle is optional anyway.
-
Neil Brown authored
When raid0 needs to split a request, it uses 'block' (1K) addresses rather than sector (512b) addresses, which causes problems if the sector address is odd. This patch fixes the problem. Thanks to Andy Polyakov <appro@fy.chalmers.se>
-
Gerd Knorr authored
As found by Herbert Xu: the last v4l update broke bttv. videobuf_iolock was passed a vb that has just been filled with zeros. Fixed like this.
-
Bartlomiej Zolnierkiewicz authored
From: "Noah J. Misch" <noah@caltech.edu> The Silicon Image driver is not building properly when CONFIG_PROC_FS is unset. This patch corrects that problem. It appears as though several utility functions at the top of drivers/ide/pci/siimage.c that the driver always needs accidentally fell within an #ifdef CONFIG_PROC_FS. I also removed an excess include while I noticed it.
-
Stéphane Eranian authored
- converts hdr_cur_pos into hdr_cur_offs to avoid leaking kernel addresses to userland. As a consequence hdr_last_pos is gone. - correct buffer saturation mode bug by which the hdr_count would be reset, leading to no visible samples collected.
-
Arun Sharma authored
Newer versions of strace manipulate the syscall arguments and to make this work for ia32 processes, we need to reload the syscall args after doing the syscall-trace callback.
-
David Mosberger authored
enable_irq() sequences).
-
Jesse Barnes authored
Tony pointed out (thanks Tony) that in -test8 kobject_set_name() will try to free a kobject's k_name field if it's non-NULL, so we need to zero it out in case kmalloc() gave us recycled memory or we'll try to kfree a bogus area.
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
Bjorn Helgaas authored
This fixes a problem in EFI memory map trimming. For example, here's part of the memory map on my i2000: mem00: type=4, attr=0x9, range=[0x0000000000000000-0x0000000000001000) (0MB) mem01: type=7, attr=0x9, range=[0x0000000000001000-0x0000000000088000) (0MB) mem02: type=4, attr=0x9, range=[0x0000000000088000-0x00000000000a0000) (0MB) mem03: type=5, attr=0x8000000000000009, range=[0x00000000000c0000-0x0000000000100000) (0MB) mem04: type=7, attr=0x9, range=[0x0000000000100000-0x0000000004000000) (63MB) mem05: type=2, attr=0x9, range=[0x0000000004000000-0x00000000049ba000) (9MB) mem06: type=7, attr=0x9, range=[0x00000000049ba000-0x000000007ec0b000) (1954MB) ... There's a hole at 0xa0000-0xc0000, so we should ignore all the WB memory in that granule. With 16MB granules, the existing code trims like this (note the 4K page at 0x0 should have been ignored, but wasn't).
-
- 19 Oct, 2003 2 commits
-
-
Len Brown authored
into intel.com:/home/lenb/bk/linux-acpi-test-2.6.0
-
bk://linux.bkbits.net/linux-2.5Steve French authored
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs
-
- 17 Oct, 2003 5 commits
-
-
David Mosberger authored
-
David Mosberger authored
-
David Mosberger authored
-
Len Brown authored
-
-