David Mosberger [Fri, 23 Jan 2004 02:52:32 +0000 (18:52 -0800)]
ia64: Drop copyright notices on header files which are either entirely trivial
or ended up being trivial variations of another file. Fix some
missing attributions and rephrase existing attributions for specifity.
Jesse Barnes [Fri, 16 Jan 2004 08:42:27 +0000 (00:42 -0800)]
[PATCH] ia64: kill some more warnings
Kills a warning and a false sense of safety by removing the volatile
qualifier on cpu_to_node_map[] and node_to_cpu_mask[]. Also fix the
printk for total processors since num_online_cpus() can return an int or
a long depending on the value of NR_CPUS.
David Mosberger [Thu, 15 Jan 2004 08:39:13 +0000 (00:39 -0800)]
ia64: Replace unwcheck shell-script with a Python script which works
correctly even on 32-bit hosts. As an added bonus, it's faster,
too. Run "unwcheck" by default, but for now, don't let unwcheck
errors cause the kernel build to fail.
Jes Sorensen [Wed, 14 Jan 2004 03:26:25 +0000 (19:26 -0800)]
[PATCH] ia64: quiet down SMP boot messages
This patch gets rid of some superfluous printk's which get tedious on
machines with insane number of CPUs. The virtual/physical address bit
info is already available via /proc/pal, so there is no need to print
it at boot- time.
Bjorn Helgaas [Wed, 14 Jan 2004 03:18:29 +0000 (19:18 -0800)]
[PATCH] ia64: move HCDP under serial console #ifdef
Currently you can select HCDP independent of serial console. This
doesn't seem very useful, and makes the setup_serial_hcdp() reference
unresolved if the serial driver is built as a module.
CONFIG_SERIAL_8250_CONSOLE is only selectable if the serial core is
built in (SERIAL_8250=y), so this patch makes sure we don't try to
call setup_serial_hcdp() unless it is actually built in to the kernel.
(I think we should also make HCDP selection dependent on
SERIAL_8250_CONSOLE=y in Kconfig; I'll send a separate patch
for that since it's not ia64-specific.)
Jes Sorensen [Wed, 14 Jan 2004 02:56:03 +0000 (18:56 -0800)]
[PATCH] ia64: header cleanup
I fixed the code to compile with CONFIG_ACPI_NUMA and
!CONFIG_DISCONTIG since it's actually possible to compile that
configuration as well as cleaned up the #include usage a litte.
Alex Williamson [Mon, 12 Jan 2004 08:04:10 +0000 (00:04 -0800)]
[PATCH] ia64: sba_iommu update
This patch does a couple things:
* Allows iommu page size different than PAGE_SIZE. This was
largely done by Bjorn. The motivation for this is that sx1000
hardware officially only supports use of the iommu with a 4k
page size. Thus the default is now 4k for sx1000 and PAGE_SIZE
for zx1.
* Cleanup the runtime statistics gathering such that we can turn
it on for some info w/o impacting runtime performance.
Andreas Schwab [Mon, 12 Jan 2004 04:10:14 +0000 (20:10 -0800)]
[PATCH] ia64: __ia64_memcpy_fromio() may be missing from kernel
When building a highly modular, non-generic kernel it can happen that
arch/ia64/lib/io.o is not included in the image because nothing built-in
needs __ia64_memcpy_fromio, etc., yet it may be called from a module. We
should force it to be linked in.
David Mosberger [Mon, 12 Jan 2004 03:20:44 +0000 (19:20 -0800)]
ia64: add generic defconfig file
Here's a generic_defconfig that works on all the ia64
platforms I'm aware of, and we can always update it if it's
missing a driver or two. Compile tested 'make compressed' and
'make modules', and boot tested on sn2, and I think Alex boot
tested on an HP machine.
Linus Torvalds [Thu, 8 Jan 2004 03:46:52 +0000 (19:46 -0800)]
Fix subtle fork() race that Ingo noticed.
We must not mark the process TASK_STOPPED early, because
that might allow a signal to wake it up before we actually
got to the "wake_up_forked_process()" state. Total confusion
would happen.
Make wake_up_forked_process() verify the new world order.
Dave Jones [Wed, 7 Jan 2004 14:53:58 +0000 (14:53 +0000)]
[AGPGART] Add support for Radeon IGP345M to ATI GART driver.
Also consolidate a bunch of convoluted if's into a single
"is this an r200 or r300" function.
Andrew Morton [Wed, 7 Jan 2004 13:56:59 +0000 (05:56 -0800)]
[PATCH] ppc64: Add missing section definition
From: Anton Blanchard <anton@samba.org>
For a laugh we moved the BSS and our world exploded. Turns out we zero
from __bss_start to _end. Add __bss_stop to our section definitions so
we can use it instead.
Dave Kleikamp [Wed, 7 Jan 2004 02:35:15 +0000 (18:35 -0800)]
[PATCH] don't clear i_sb
From: Christoph Hellwig <hch@lst.de>
JFS currently clears i_sb in some error pathes which can make the
core kernel OOPS because it may never be NULL. Noticed because some
IBM people try to "fix" the core kernel for it now..
Andrew Morton [Tue, 6 Jan 2004 23:52:48 +0000 (15:52 -0800)]
[PATCH] ia32 sched_clock() deadlock fix
From: Ingo Molnar <mingo@elte.hu>,
Voyager is getting odd deadlocks due to the taking of xtime_lock() in
sched_clock()->get_jiffies_64().
I had this patch queued up to fix a different deadlock, which occurs when we
relax the requirement that TSC's be synchronised across CPUs. But it will
fix James' deadlock too.
Andrew Morton [Tue, 6 Jan 2004 23:52:30 +0000 (15:52 -0800)]
[PATCH] JFS fix for NFS on little-endian systems
From: Dave Kleikamp <shaggy@austin.ibm.com>
After Jose debugged the problem down to the routine jfs_get_parent, we
were able to find the problem. I believe it only affects users of
NFS-exported JFS file systems on big-endian hardware.
The problem was a missing le32_to_cpu macro. The patch also fixes a
return code to be more consistent other implementations of get_parent.
Andrew Morton [Tue, 6 Jan 2004 23:52:21 +0000 (15:52 -0800)]
[PATCH] fix sysfs oops
From: Greg KH <greg@kroah.com>
This fixes an oops when a kobject is unregistered before it's child is.
The usb-serial devices show this bug very easily (yank out a device
while its port is opened...)
Patch was originally written by Mike Gorse <mgorse@mgorse.dhs.org>
Andrew Morton [Tue, 6 Jan 2004 23:52:12 +0000 (15:52 -0800)]
[PATCH] MSI build fixes
Add missing NR_VECTORS definition to visws and pc9800. Also, make MSI
support dependent on CONFIG_X86_IO_APIC, as it won't build without IOAPIC
support.
Adam Belay [Tue, 6 Jan 2004 12:08:21 +0000 (04:08 -0800)]
[PATCH] Fix PnP BIOS call
The recent escd fix I have made corrects a thinko in the PnPBIOS code and it
turns out that faults from calling /proc/pnp/bus/escd were probably not caused
by BIOS bugs.
Fix for oops on rmmod caused by *_remove() function marked as __devinit
(and thus discarded after module initialization - if CONFIG_MODULES=y
and CONFIG_HOTPLUG is not set).
This patch changes __devinit to __devexit and adds __devexit_p() where
pointer to such function is used.
The only exception is au1000, where au1000_remove() is called from
cleanup_au1000() function - __devinit is jest removed there.
This fixes BUG-on-swapout for srmmu-based systems. The problem is
caused by kmap_atomic_to_page being fed an aliased (pagetable) address
and returning bogons. This also adjusts the pkmap and fixmap base
addresses so they cannot overlap.
David Mosberger [Mon, 5 Jan 2004 05:09:39 +0000 (21:09 -0800)]
Many files:
ia64: Cleanup EXPORT_SYMBOL usage
This cleans up the use of EXPORT_SYMBOL in ia64_ksyms.c by
moving most of them to the place where the symbol is defined.
Ideally, only symbols defined in assembler sources should
remain here, but there are some cases where an EXPORT_SYMBOL
is missing outside the arch/ia64 tree. I did not change them
for now. Also, EXPORT_SYMBOL_NOVERS is obsolete.
This patch for 2.6 fixes the problem found by Zoltan Farkas
with mixed PCI/ISA and a non-modular config. The problem is the old_netdev
ISA probing isn't skipping eth0 which already got assigned by the PCI
initialization.
David Mosberger [Mon, 5 Jan 2004 03:16:25 +0000 (19:16 -0800)]
ia64: Skip zero-length resources in PCI root bridge _CRS. This fixes
some ugly messages that used to show up on Tiger and other Intel
boxes:
alloc 0xffffffff-0x0 from PCI mem for PCI Bus 0000:02 failed
alloc 0xffffffff-0x0 from PCI mem for PCI Bus 0000:08 failed
alloc 0xffffffff-0x0 from PCI mem for PCI Bus 0000:08 failed
alloc 0xffffffff-0x0 from PCI mem for PCI Bus 0000:08 failed
alloc 0xffff-0x0 from PCI IO for PCI Bus 0000:08 failed
alloc 0xffffffff-0x0 from PCI mem for PCI Bus 0000:09 failed
alloc 0xffffffff-0x0 from PCI mem for PCI Bus 0000:0f failed