- 29 Jun, 2004 6 commits
-
-
Kenneth W. Chen authored
The patch to move the current pointer for init_task from region 7 to region 5 inadvertendly caused ar.k4 (CURRENT_STACK) to be initialized improperly for the bootstrap processor. Fix this by initializing it to -1. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Kenneth W. Chen authored
The code allocated all 96 stacked registers, for no apparent reason. Also, fix ia64_pal_call_static() to switch RSE to enforced-lazy, LE mode before the PAL-call. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Kenneth W. Chen authored
Change ia64_switch_mode_phys() and ia64_switch_mode_virt() to preserve the virtual sp/bsp and update the call-sites accordingly. This avoids problems with the init_task pointer which lives in region 5 now. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
H. J. Lu authored
Gcc 3.4 has a new DFA scheduler for ia64. Unfortunately, it is not well tested for Itanium 1. When I tried to use gcc 3.4 to compile 2.6 kernel configured for Merced, gcc failed in many places: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15598 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15653 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15655 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16130 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16142 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16143 Some of them have been fixed. But I am afraid many more remain. I don't know how many Itanium 1 machines left in production use. If people want to optimize kernel for Itanium 1, they can stick with the older gccs. Or they should upgrade their machines. I think the gcc developer's time should be better spent on somewhere else. I have been using this patch for a while, kernel seems to work OK. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Bjorn Helgaas authored
Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Bjorn Helgaas authored
Define cpu_logical_id() even when !SMP. I added uses of this in some iosapic printk's, which broke the UP build. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 25 Jun, 2004 6 commits
-
-
Alex Williamson authored
call_pernode_memory() is rounding memory regions to page boundaries, but in the non-NUMA case, it's incorrectly passing the rounded start and the original length. Any reserved memory regions sitting beyond a memory region that isn't nicely aligned is potentially at risk for getting freed and trashed. This is a fairly nasty bug that can bite in very hard to find ways. In my case, the EFI memory map was getting overwritten, causing the ACPI methods to access chipset registers cachable instead of uncachable. It could potentially be causing some of the random hangs and strange behavior we're seeing lately. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Jesse Barnes authored
This update fixes the FAT default NLS options and trims some others. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Bjorn Helgaas authored
Introduce iosapic_{read,write,eoi} to hide the IOSAPIC REG_SELECT stuff. i386 and x86_64 already do this for io_apic_{read,write}. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Jesse Barnes authored
Altix needs to use 16MB granules to prevent attribute aliasing in low memory space. This patch makes the kernel configuration system enforce that requirement. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Robin Holt authored
The attached patch contains some cleanups to the bte code and introduces the ability to excercise bte interfaces on other nodes. This is an SGI Altix specific piece of hardware. Signed-off by: Robin Holt Signed-off by: Jesse Barnes Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Jesse Barnes authored
Allow consoles to register early if they're capable of early output. If one of them registers successfully, set CPU 0 online so that printk() will actually call the console drivers. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 18 Jun, 2004 4 commits
-
-
Yanmin Zhang authored
In base kernel 2.6.7, there is bug in function hugetlb_prefault(). The call to free_huge_page() is incorrect and should be replaced with a call to page_cache_release(). Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Stéphane Eranian authored
This patch moves the pfm_ovfl_arg_t structure from the kernel stack into the pfm_context_t structure. This minimizes kernel stack space consumption. Signed-off-by: Stephane Eranian <eranian@hpl.hp.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Ashok Raj authored
This patch moves move_irq() from ioaspic.c to irq.c to make this common for ia64 subarches. Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Arun Sharma authored
- Handle the overlapping mmaps in the MAP_FIXED case - Handle unmaps correctly i.e. call __ia32_delete_pp_range() - There are now three clear entry points into the pp manipulation code - ia32_set_pp - ia32_unset_pp - ia32_compare_pp - Rename internal functions to __ia32_*pp_* - Grab mmap_sem just once at the main entry point Signed-off-by: Gordon Jin <gordon.jin@intel.com> Signed-off-by: Arun Sharma <arun.sharma@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 17 Jun, 2004 5 commits
-
-
Tony Luck authored
A couple of months ago Hidetoshi Seto from Fujitsu proposed a patch to provide similar switching between interrupt mode and polling mode for corrected platform events (CPE) as we have for processor events (CMC) [with the obvious difference that not all platforms support an interrupt for CPE]. I dusted it off and made a couple of very minor cleanups (which Seto-san checked out last night on his test setup and confirmed still passes). Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Pat Gefre authored
Signed-off-by: Patrick Gefre <pfg@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
David Mosberger authored
Without this fix, you'll get unresolved references to sys_rt_sigaction().
-
David Mosberger authored
-
David Mosberger authored
-
- 16 Jun, 2004 5 commits
-
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
David Mosberger authored
-
David Mosberger authored
-
Jesse Barnes authored
Small patch to update the sn2_defconfig file. I just did a 'make oldconfig' with the current sn2_defconfig and removed 8250 support. Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
Keith Owens authored
The SN prom supports fine grained error handling features, the OS needs to tell the prom if the OS expects to use these platform specific features. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: David Mosberger <davidm@hpl.hp.com>
-
- 15 Jun, 2004 14 commits
-
-
Linus Torvalds authored
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
John Rose authored
I noticed that insert_resource() incorrectly handles the case of an existing parent resource with the same ending address as a newly added child. This results in incorrect nesting, like the following: # cat /proc/ioports <snip> 002f0000-002fffff : PCI Bus #48 00200000-002fffff : /pci@800000020000003 </snip> Signed-off-by: John Rose <johnrose@austin.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
Make sure that number of sectors != 0 for in/out command before sending it to drive. Remove no longer needed checks from flagged_* PIO handlers. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
PIO handlers under CONFIG_IDE_TASKFILE_IO=n are never used for bio based requests (rq->bio is always NULL) so we can use rq->buffer directly instead of calling ide_[un]map_buffer(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
- merge status checking code for rq->current_nr_sectors and !rq->current_nr_sectors cases - remove !rq->bio check as it is always true Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
These handlers are nowadays used only for REQ_DRIVE_TASKFILE requests (rq->bio is always NULL) which aren't retried et all so remove code 'rewinding' rq->current_nr_sectors and some FIXMEs. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
If REQ_DRIVE_* request fails ide_end_drive_cmd() should be called for it not ->end_request(). This was broken by 2.6.5, fix it. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
'cat /proc/ide/hdx/identify' generates REQ_DRIVE_TASKFILE request (for WIN_PIDENTIFY command) even for devices controlled by ide-cd. All other drivers don't try to retry such requests. Acked by Jens. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
First introduced in 2.4.19/2.5.3 as ALTSTAT_SCREW_UP, never used. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
- do not unregister ide-pnp driver while detaching random IDE device from random IDE device driver if IDE is modular (somebody added this in 2.3.51) - clear 'hw_regs_t hw' allocated from stack - mark idepnp_init() with __init - use ide_std_init_ports() instead of ide_setup_ports() Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
From: Geert Uytterhoeven <geert@linux-m68k.org> The IDE sparse fixups cause 2 warnings (unused variables `val' and `reg') on m68k and APUS. However, the reason why this code was commented out is gone. So just remove the special case. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
They are only included from these drivers. While at it: - remove redundant ide_pci_device_t tables - add DECLARE_CS_DEV() (cs5520) - remove duplicate DISPLAY_SC1200_TIMINGS define (sc1200) - remove unused SIIMAGE_BUFFERED_TASKFILE, SII_DEBUG and siiprintk() defines + add DECLARE_SII_DEV() (siimage) - remove unused SLC90E66_DEBUG_DRIVE_INFO define (slc90e66) Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
Extracted from the Debian kernel package (original patch is from Herbert Xu). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-