- 16 Oct, 2003 2 commits
-
-
Stéphane Eranian authored
- remove PFM_FL_UNSECURE support because broken - remove instrumentation code for syswide ctx update (5% speedup) - integrated cleanups from John Levon - remove references to pmu_conf.ovfl_val from loops, use local variable - updated pfm_bad_permissions() - support reset values for non-counting pmds - serialization of PFM_RESTART - added support for restart_active in per-task mode - remove potential deadlock caused by calling pfm_overflow_handler() from pfm_load_regs() - fix invalid check in perfmon_mckinley() for PMC13
-
Tony Luck authored
Software Developer's Manual page 2:270, section 11.3.2.3 says that the processor min-state save area must be in an uncacheable region ... but current MCA recovery code allocates the min-state area "ia64_mca_min_state_save_info" in regular kernel data/bss. This patch re-uses the same min-state area that the PAL/SAL used to report the error to Linux ... which mostly requires deleting code and declarations (some of which were wrong, MIN_STATE_AREA_SIZE ought to have been 58). The real "work" is copying the pointer to the min-state area from the sal_to_os handoff structure into the os_to_sal structure.
-
- 15 Oct, 2003 7 commits
-
-
David Mosberger authored
workaround caused fsyscalls to return with the wrong privilege level. This patch also adds fsys_rt_sigprocmask(), which happens to be a good test-case for this bug. Only McKinley systems using fsyscalls are affected. Merced and Madison are OK.
-
Ian Wienand authored
Attached is a suggestion for a small addition to fsys.txt about how userspace can use fast system calls. If people think this is totally wrong, or that something like this might be more appropriate in our WiKi, that's fine.
-
David Mosberger authored
loop because, e.g., the compiler might decide to unroll the loop when passed a constant, etc.
-
Bjorn Helgaas authored
Now that the serial driver fully supports discovery via ACPI, we can get rid of all the legacy junk in asm-ia64/serial.h. This keeps the serial driver from blindly probing I/O port space. This also fixes a long-standing serial device naming issue: ttyS0-ttyS3 were always reserved for the compiled-in COM ports, even if they weren't present in the box. Any additional PCI or ACPI ports appeared starting at ttyS4 (except for the special case of things described in the HCDP). Now we'll just name ttyS devices in the order they're discovered, without any holes for non-existent devices. This is a little bit ugly for serial console because the HCDP is currently the only way we learn about serial ports before the actual ACPI discovery. All HP firmware implements HCDP, but Intel firmware does not. So in the absence of an HCDP, we have to probe for legacy COM ports. Otherwise, the serial console wouldn't work until the serial driver discovers the port via ACPI.
-
Nathan Scott authored
This brings the kernel in sync with glibc (and all other 64-bit platforms other than Alpha and S390x). This fixes ustat() and breaks nfsctl_export, but the latter is a deprecated interface anyhow (newer versions of nfsutils use "exportfs" instead).
-
David Mosberger authored
cause BogoMIPS to drop to half the clock-speed with current versions of GCC, but this just shows that GCC doesn't generate very good code for single-cycle loops. Perhaps it will motivate someone to improve GCC in this area (though it's hardly of practical value, other than for producing large BogoMIPS values).
-
Jesse Barnes authored
Make sure that generic kernels actually build by forcing on the necessary options. With this patch I was able to build a generic kernel out of the to-linus-2.5 tree.
-
- 14 Oct, 2003 3 commits
-
-
Ian Wienand authored
itc_get_offset() has a consistency check which is no longer valid now that xtime_lock is a seq_lock. Drop the bogus check.
-
Jesse Barnes authored
Because we're the only platform with seperate in, out, and read routines, we have to include the file that defines them in our machvec header so that users of the functions will get the right defines and not use the non-inline function variants (which are only necessary for generic kernels).
-
Tony Luck authored
The definition of the pal_process_state_info_s structure misses out some useful pieces (e.g. the "mi" bit which indicates whether we should call PAL_MC_ERROR_INFO to get more details). Worse yet, some of the bits are in the wrong places (cc/tc/bc). See Volume 2 of "Intel Itanium Architecture Software Developer's Manual". (In the Rev 2.1 October 2002 edition, p. 2:268 and 2:276).
-
- 13 Oct, 2003 2 commits
-
-
Tony Luck authored
Another no-brainer bug fix snipped out of the quagmire of the MCA/TLB patch. This one is for 2.6 only, we must use the new LOAD_PHYSICAL() macro to get the physical address of the code label that we want to jump to, the INST_VA_TO_PA() macro just clears the region bits, which only works for region 7 addresses.
-
Tony Luck authored
This bugfix has been hiding inside the MCA TLB patches. There is an infinite loop in ia64_mca_wakeup_ipi_wait() because the compiler optimizes away the test at the bottom of the while loop. It does this because IA64_MCA_WAKEUP_VECTOR is 0xf0, so irr_bit is known to be the constant 0x30, a.k.a. 48 in decimal. So when the compiler looks at the expression: It observes that 1' as unsigned long.
-
- 10 Oct, 2003 8 commits
-
-
Jesse Barnes authored
Now that it works, we can enable sn2 in generic builds. This should not only allow generic kernels to work on sn2, but also fix the build problems people have been seeing with the qla1280 driver. I tested a generic kernel built with this patch on zx1 and it worked.
-
Tony Luck authored
This corrects the save/restore code in mca_asm.S which was written long ago, before the assembler understood mnemonic names for 'cr' and 'ar' registers (in fact it appears to have been written pre-silicon, some of the control register numbers don't match with what actually got built). There were other goofs too (like using 0, 1, 2, etc. for region register subscripts).
-
Jesse Barnes authored
Now that the ACPI table parsing stuff has been fixed we can move find_memory() back where it belongs--after the SRAT table has been parsed.
-
David Mosberger authored
This patch fixes the combination of CONFIG_DISCONTIGMEM and CONFIG_VIRTUAL_MEM_MAP so that generic kernels will work on all ia64 platforms, including sn2, and also makes sn2 specific kernels work (which I think is a first). I've cleaned this patch up heavily based on feedback from yourself, Christoph and others. I've tested sn2, zx1, and dig (thanks Xavier!) specific configurations, as well as a generic configuration that allows the same binary to boot on zx1, dig, and sn2.
-
Jesse Barnes authored
-
Andreas Schwab authored
This fixes a misnomer of some syscalls in 2.6.0-test[567]. Glibc wants them without the sys_ infix.
-
Jesse Barnes authored
Patch from Christoph. Fixes interrupt allocation code for sn2.
-
Arun Sharma authored
This seems to be introduced by recent changes in 2.6.0-test series.
-
- 09 Oct, 2003 9 commits
-
-
Arun Sharma authored
-
Peter Chubb authored
GAS_HAS_LOCAL_TAGS was removed a long time ago, but uaccess.h never got updated. Without this fix, bad syscall args may cause a SEGFAULT instead of failing gracefully.
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
Kenneth W. Chen authored
Here is a patch that adds numa support for hugetlb page on ia64. It is taken from x86 numa implementation. The low level hugetlb page pre-allocation is done in round robin fashion on each numa node and allocation for user level code is node local aware.
-
Jesse Barnes authored
n platforms without an SRAT (e.g. zx1), the cpu_to_node_map will get built incorrectly without this fix, making generic kernels fail when they try to alloc_pages_node() from a nodeid of -1.
-
Jesse Barnes authored
Small fix to build early_sn_setup even if early printk is turned off.
-
Jesse Barnes authored
I didn't realize that any_online_cpu() wouldn't work for is_headless_node(), so this patch reverts the function back to using the node_to_cpu_mask[] array, fixing sn2 for systems with less than 64p.
-
Jesse Barnes authored
Don't try to use the sn2 I/O code if we're not on sn2 or we may get into trouble. Only makes a difference for generic kernels.
-
Jesse Barnes authored
-
- 08 Oct, 2003 9 commits
-
-
Janet Morgan authored
I ran into some bugs testing epoll in ia32-emulation mode on ia64. The attached patch fixes the problems and is well tested. Here is a summary of the changes: Changes to sys32_epoll_ctl() and sys32_epoll_wait(): - changed epoll_event32.data to an array (this is subjective, but seems to make the code more readable) Changes to sys32_epoll_wait(): - added call to __get_free_pages if kmalloc(epoll_event array) fails. This provides needed scalability and fixes the -ENOMEM failure during epoll-pipetest. - deleted copy-in of epoll_event array since this is not a user-inputsyscall - changed to check numevents > 0 as indicator of success on call to sys_epoll_wait. - changed to loop on numevents not maxevents when copying out to userspace.
-
Linus Torvalds authored
-
Stephen Hemminger authored
Replace read/write lock used for HPET timer monotonic_lock with seqlock. Similar to locking used on xtime and monotonic_lock in timers/timer_tsc.c
-
Stephen Hemminger authored
Replace read/write lock used for cyclone timer monotonic_lock with seqlock. Similar to locking used on xtime and monotonic_lock in timers/timer_tsc.c
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
-
Andi Kleen authored
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Chas Williams authored
-