- 12 May, 2003 3 commits
-
-
Asit K. Mallick authored
-
Walter Harms authored
This is a fix to kernel_thread(). I dont claim to fix any real problem its just a fix to return pid_t. This is part of a series of fixes for the linux kernel 2.4.20 to make proper use of pid_t.
-
Seth Rohit authored
Please find attached a small update that syncs up the definition and usage of check_valid_hugepage_range across different arch dependent and independent files.
-
- 09 May, 2003 3 commits
-
-
David Mosberger authored
-
David Mosberger authored
-
Seth Rohit authored
-
- 08 May, 2003 1 commit
-
-
David Mosberger authored
wasn't updated and one place in the sigreturn path where the fph-owner wasn't set.
-
- 06 May, 2003 18 commits
-
-
Arun Sharma authored
-
David Mosberger authored
(show_min_state): Fix typo r11 -> r12.
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
David Mosberger authored
-
Ernie Petrides authored
Here are two fixes for the ia32-compatibility mode handling for the new semtimedop() system call for the ia64 architecture. The first problem was that treatment of user-mode calls to semtimedop() with a NULL 4th (struct timespec *) parameter was inconsistent with the behavior of the same executable on i386 and also with a natively compiled ia64 binary. A NULL 4th arg to semtimedop() should result in no timeout being used (like a straight semop() call) rather than in an EFAULT error. The second problem was that a legitimate semtimedop() with a timeout was also resulting in an EFAULT because the fetch of the internal timespec strucure by sys_semtimedop() from semtimedop32()'s kernel stack was treated as an invalid user-data reference. This requires temporarily switching the addressing limit with set_fs(), further requiring that appropriate parameter checking by performed prior to the switch. The const qualifier was removed from the (struct compat_timespec *) arg to semtimedop32() so that the call to get_compat_timespec() wouldn't generate a compilation warning.
-
Bjorn Helgaas authored
This is to - handle _CRS with multiple vendor-specific resources - use acpi_walk_resources() instead of doing it by hand - make lookup of vendor resource by GUID generic - cleanup now-unused helper functions (This depends on the previous IO port space patches, because they removed the last of acpi_get_addr_space()). My hope is that acpi_vendor_resource_match() and acpi_find_vendor_resource() can someday move into ACPI, but that probably depends on getting the idea of labelling vendor resources with a GUID into the spec. HP does this and I think is working on putting it in the spec.
-
Bjorn Helgaas authored
This is a trivial patch that makes sba_iommu recognize a new IOC. Only change is that it will print IOC: sx1000 0.1 HPA 0xf8120002000 IOVA space 1024Mb at 0x80000000 instead of IOC: Unknown (103c:127c) 0.1 HPA 0xf8120002000 IOVA space 1024Mb at 0x80000000
-
Bjorn Helgaas authored
trivial (whitespace, copyright, and move pcibios_fixup_device_resources closer to related code)
-
Bjorn Helgaas authored
add support for /proc/iomem and /proc/ioports
-
Bjorn Helgaas authored
enhance pcibios_scan_root to get multiple mem & io windows from ACPI _CRS, and fixup all the resources
-
Bjorn Helgaas authored
This has been in my 2.4 BK tree for a while, but I should have posted it in case there's feedback from other people working on large machines. So here it is, in four parts: 1 enhance __ia64_mk_io_addr(port) 2 enhance pcibios_scan_root to get multiple mem & io windows from ACPI _CRS, and fixup all the resources 3 add support for /proc/iomem and /proc/ioports 4 trivial (whitespace, copyright, and move pcibios_fixup_device_resources closer to related code) The current scheme is that IO ports are 64 bits, with the low 24 bits being the port number within an IO port space, and the upper bits identifying the space. There is currently a limit of 16 spaces.
-
Alex Williamson authored
Here's some cleanups/fixes/changes for interrupts on 2.5.67 + ia64. Specifically: - Cleanup some ugliness with polarity/trigger setup. - Add iosapic_enable_intr() to set_rte on an interupt when the device is enabled. IMHO, we really only want to unmask RTEs for PRTs we might actually use. This moves the interrupt distribution here too. - When changing a vector from edge to level, call register_intr() to do it so all the data structures get set correctly. If we have to guess how to setup an interupt and get it wrong, this should close some holes in changing it back to the correct type. - Register the HCDP interrupt in 8250_hcdp - this is where we have to guess the polarity/trigger. The real handler will get fixed up via PCI setup or ACPI namespace serial support, this gets it associated w/ the port at setup. This should allow interrupts to work when using builtin UARTs as console on HP Itanium2 boxes.
-
Alex Williamson authored
This patch fixes the issue of some CPUs not showing timer interrupts going off. Seems during the process of sync'ing the itc, we jumped over the next timer value. This patch is against 2.5.67 + ia64. I haven't seen the problem on 2.4, but a quick looks seems like it's potentially an issue there too.
-
David Mosberger authored
-
Steven Cole authored
-
Stéphane Eranian authored
Please apply the following patch on top of 2.5.6x. This patch does the following: - repair broken system-wide overflow notification - repair broken per-process notification - fix a problem in the resrved bitmask for opcode matcher8,9 for McKinley as reported by UIUC. - forcing of bit2 for pmc8/pmc9 now part of reserved bitmask - add the unsecure option to perfmon - update to perfmon 1.4 (similar to 2.4)
-
Arun Sharma authored
-
David Mosberger authored
with a special convention. Various minor fixes for gcc-pre3.4.
-
- 04 May, 2003 1 commit
-
-
http://ppc.bkbits.net/for-linus-ppc64driversLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 05 May, 2003 3 commits
-
-
Anton Blanchard authored
into samba.org:/scratch/anton/linux-2.5_ppc64drivers
-
Anton Blanchard authored
into samba.org:/scratch/anton/linux-2.5_ppc64
-
Anton Blanchard authored
into samba.org:/scratch/anton/tmp3
-
- 04 May, 2003 10 commits
-
-
Linus Torvalds authored
-
Ben Collins authored
- Remove some 2.4 compatibility macros - Fix userspace pointer misuse in video1394 ioctl. Caught by the Stanford Checker. Gotta love the automated systems. - Move our hotplug stuff around, to make the transition to putting our module dev table in mod_devicetable.h. - Fix ohci1394 for possible crash with async stream packets. Cleaned up some debug messages.
-
Bartlomiej Zolnierkiewicz authored
This fixes two bugs introduced by some 2.5 changes: - O_NDELAY handling typo in floppy_open() - handling of failed transfers in floppy_end_request() (do equivalent of what 2.4 does) Without first fix I was getting "floppy0: disk absent or changed during operation" infinite loop on opening and without second fix, infinite loop on error retry. Now floppy driver seems to be (somehow) working :-).
-
Christoph Hellwig authored
This file was _the_ header for block-device related stuff in earlier Linux versions, but nowdays there's just a few prototypes left that really belong into blkdev.h or genhd.h (and in one case elevator.h). This patch moves them over and removes everything but including blkdev.h from blk.h Note that blkdev.h gets all the headers that were included in blk.h inmplicitly too. Now we can start removing all references to it an maybe kill it off before 2.6. *sniff*
-
Ben Collins authored
This adds ieee1394 for module table registration.
-
Ben Collins authored
This fixes the compat_ioctl interface for the case where a NULL handler is registered. This should produce a "compatible" as opposed to "translated" interface for the specified ioctl. The patch was sent to linux-kernel and no one complained (atleast with this second rev).
-
Christoph Hellwig authored
Currently __bdevname walks the obsolete list of block majors to find a name for the given dev_t and falls back to unknown-block(%u,%u) if that's not possible. Replace this with an attempted get_gendisk() + disk_name. This means __bdevname can't be called from irq context anymore, but as all old irq context callers are using bdevname() now that fine (and I've added a big comment).
-
Christoph Hellwig authored
- both rpciod_up and rpciod_down do a gratious inc/dec of the use count - but we can't ever be inside those function unless it's called from an other module -> totally useless - rpciod() (the kernel thread) also bumps the refcount when starting and decrements it when exiting. but as a different module must initiate this using rpciod_up/rpciod_down this is again not needed. (except when a module does rpciod_up without a matching rpciod_down - but that a big bug anyway and we don't need to partially handle that using module refcounts).
-
Christoph Hellwig authored
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 03 May, 2003 1 commit
-
-
James Morris authored
-