- 06 May, 2003 14 commits
-
-
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.
-
- 17 Apr, 2003 3 commits
-
-
Bjorn Helgaas authored
This is mostly trivial whitespace and printk text tweaks. I did add the segment number to a printk that previously just had the bus.
-
Bjorn Helgaas authored
Include id when encountering unknown IOC.
-
Bjorn Helgaas authored
This removes a workaround for some broken firmware that was never released.
-
- 16 Apr, 2003 5 commits
-
-
Arun Sharma authored
> It looks like dynamic x86 binaries have a problem once again (or > still). If I try to run any shared x86 binaries, I get: > > $ ls.x86 > ls.x86: error while loading shared libraries: librt.so.1: cannot map zero-fill pages: Error 14 > > Would someone take a look? We saw this behavior with 2.5.59 also. The attached work around should take care of the problem temporarily. Last time this happened, IA-32 programs were doing mmaps, whose size was one page bigger than the size of the underlying file (even after rounding up the file size). I never got a chance to figure out why glibc was doing mmaps with the wrong size. Also, I failed to reproduce the problem with a more recent (RH 8.0) glibc. Which version of IA-32 glibc were you using ?
-
David Mosberger authored
int.
-
David Mosberger authored
help of ia64_fetchadd() macro. Ditto for _raw_read_unlock().
-
David Mosberger authored
-
David Mosberger authored
-
- 15 Apr, 2003 4 commits
-
-
Kochi Takayoshi authored
This patch fixes waste of interrupt vector pool by not allocating an interrupt vector to a GSI which has no corresponding IO SAPIC.
-
David Mosberger authored
-
Alex Williamson authored
This fix is needed to boot on Intel-based machines.
-
Alex Williamson authored
This fixes a couple problems with the generic target in the latest 2.5.67 kernel. First is simply a fix for the addition of readX in the machvec. The second gets things to link in roughly the same order when using a generic vs zx1 flavor. With the current code, sba_init() is called in the right place when using a zx1 flavor kernel, but happens way too early on a generic kernel.
-
- 11 Apr, 2003 3 commits
-
-
David Mosberger authored
-
David Mosberger authored
Various small 2.5.67 fixes.
-
David Mosberger authored
-
- 09 Apr, 2003 3 commits
-
-
David Mosberger authored
-
David Mosberger authored
-
Martin Hicks authored
Here is a trivial patch to processor.h to change "extern" to "static".
-
- 08 Apr, 2003 4 commits
-
-
Stephen Rothwell authored
Here is the ia64 part of the patch. It depends on my previous COMPAT patches. This is safe to apply even before Linus applies the generic part.
-
Stephen Rothwell authored
Here is the ia64 part of the patch. Pleas apply after Linus has applied the generic part.
-
David Mosberger authored
-
David Mosberger authored
-
- 07 Apr, 2003 4 commits
-
-
David Mosberger authored
Chandra Kapate).
-
Linus Torvalds authored
-
Linus Torvalds authored
implies that it should vary between 0-7, not any further (the higher bits are done by updating current_vector by 8). This also means that we don't have any overflow condition.
-
Krzysztof Halasa authored
This version fixes: - missing rtnl_lock()/rtnl_unload() bug on unregister_hdlc_device - N2, C101: interrupt handler now works under high IRQ load from other devices (with previous versions, the IRQ processing for the card could sometimes stop after reaching "work limit") This is production-tested on devices I have access to (N2, C101, PC300, PCI200SYN).
-