- 23 Feb, 2004 40 commits
-
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> There were a number of bugs in our cmd_line handling: - We were looking at cmd_line after it had been tokenised. Use saved_command line instead - Use strlcpy instead of memcpy/explicit NULL set. - Remove magic numbers in iseries cmd_line parsing
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> UP compile fixes.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Restore the old cpu names in /proc/cpuinfo, some applications parse this field.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Some trivial oops cleanups.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Set node 0 online, otherwise the recent cpu/memory topology stuff will oops on a non NUMA machine.
-
Andrew Morton authored
From: Linda Xie <lxiep@us.ibm.com> set err to -ENODEV when a new node doesn't have "interrupt" property.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> __get_SP used to be a function call which meant we allocated a stack frame before calling it. This meant the SP it returned was one frame below the current function. Lets call that bogusSP (and the real one SP). The new dump_stack was being tail call optimised so it remained one frame above bogusSP. dump_stack would then store below SP (as the ABI allows us to) and would stomp over the back link that bogusSP pointed to (__get_SP had set the back link up so it worked sometimes, just not all the time). Fix this by just making __get_SP an inline that returns the current SP.
-
Andrew Morton authored
From: Stephen Rothwell <sfr@canb.auug.org.au> I think Ben introduced this new file and iSeries doesn't need it.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Another decent optimisation found in the ia64 port, dont take the irq descriptor lock or do the note_interrupt stuff on PER_CPU irqs (ie IPIs).
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Clean up per cpu usage in segment table code.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Make a number of segment table functions static. Clean up one duplicated slbia.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Add cpus and NUMA memory nodes to sysfs. Also add cpu physical id.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> The might_sleep infrastructure doesnt like our get_users in the backtrace code, we often end up with might_sleep warnings inside might_sleep warnings. Instead just be careful about pointers before dereferencing them. Also remove the hack where we only printed the bottom 32bits of the WCHAN value.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> This adds stack overflow debugging much like x86. Its pretty agressive and checks if > 8kB out of 16kB of stack is used.
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> This cleans up the rtasd logic, and also makes it hotplug CPU safe.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> smp_message_pass has a few args that are never used. Remove em. Also add memory missing memory barrier in smp_call_function_interrupt.
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> 1) Check for cpuids >= NR_CPUS in prom_hold_cpus: we previously overflowed arrays when this happened, and checking it here ensures that it doesn't happen elsewhere. Still move processors to secondary_hold (out of OF), but we won't release them. 2) smp_iSeries_message_pass and smp_xics_message_pass don't need to iterate if given a specific CPU: cleanup and fix. 3) kick_cpu variants don't need to check cpu range (caller is screwed anyway if this happened): replaced with BUG_ON for now. 4) smp_openpic_probe and smp_xics_probe can use cpus_weight(): it's faster and simpler. 5) User for_each_cpu/for_each_online_cpu as appropriate.
-
Andrew Morton authored
From: Hollis Blanchard <hollisb@us.ibm.com> fix warning and compile error without CONFIG_SMP
-
Andrew Morton authored
From: Dave Boutcher <sleddog@us.ibm.com> fix naming collision with asm-ppc64/vio.h. The define would be set there and this file would not get pulled in.
-
Andrew Morton authored
From: Olaf Hering <olh@suse.de> Fix for valid nvram rtas tokens.
-
Andrew Morton authored
From: Jake Moilanen <moilanen@austin.ibm.com> Add 970FX entry into the cputable.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Be like x86 and enable -funit-at-a-time. Use the check_gcc hook when enabling -mcpu=power4/-mtune=power4.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Add DEBUG_STACK_USAGE to ppc64
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org print useful flags in oops, like x86
-
Andrew Morton authored
From: Jeremy Kerr <jk@ozlabs.org> Add a ppc64 archhelp.
-
Andrew Morton authored
From: Dave Hansen <haveblue@us.ibm.com> Allow CROSS32_COMPILE to be set via environment variable
-
Andrew Morton authored
From: Nathan Fontenot <nfont@austin.ibm.com> Add log_rtas_error(), to be called in the event that a rtas call returns a hardware error (-1) so we can log additional information about the hardware error.
-
Andrew Morton authored
From: Nathan Fontenot <nfont@austin.ibm.com> Add call to rtas to retrieve slot-error-detail information and log this data to nvram in an EEH event.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Fix for ppc64 SMT enablement bug provided by Jimi Xenidis and Michael Day
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> Remove duplicate pcibios_scan_all_fns definition
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> This appeared in the ia64 port and sounds like a good idea. Potentially avoid an atomic operation in switch_mm.
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> - remove LMB_MEMORY_AREA, LMB_IO_AREA, we only allocate/reserve memory areas now - remove lmb_property->type, lmb_region->iosize, lmb_region->lcd_size, no longer used - bump number of regions to 128, we'll hit this limit sooner or later with our big boxes (if we have more than 64 PCI host bridges the reserved array will fill up for example) - make all the lmb stuff __init - no need to explicitly zero struct lmb lmb now we zero the BSS early - we had two functions to dump the lmb array, kill one of them - move the inline functions into lmb.c, they are only ever called from there
-
Andrew Morton authored
From: Anton Blanchard <anton@samba.org> There is a prototype for dump_regs on ppc32 and ppc64 but its never defined. Remove it since it conflicts with something in drivers/atm/horizon.c. Also clean up ppc64 system.h a bit to match the ppc32 version.
-
Andries E. Brouwer authored
This sounds like a good moment to come with this patch. This is essentially a five-year-old patch by Bruno Haible. It introduces utf8 mode, and the effect it has on erasing input characters. (Side note - without stty support, this is not very useful, but now the infrastructure is in place)
-
Alexander Viro authored
We never use CONFIG_BINFTM_ELF and CONFIG_BINFMT_ELF_MODULE anywhere in the source (they are used in makefiles, obviously). 32bit-emulation binfmt_elf_... in arch/* still define those guys even though it hadn't been needed for years. Junk removed. PS: BTW, CONFIG_BINFMT_ELF32 _is_ used in several places in arch/mips and it looks like they really want #if defined(CONFIG_BINFMT_ELF32) || defined(CONFIG_BINFMT_ELF32_MODULE) in these ifdefs, but that's a separate story...
-
Nathan Scott authored
I was modifying mkfs.xfs to use O_EXCL for 2.6, and hit a snag. It seems that once I've opened a block dev with O_EXCL I can no longer issue the BLKBSZSET ioctl to it. Making this change, the ioctl succeeds cos the original filp bdev owner from open now matches with the owner in the ioctl call.
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/tg3-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/tg3-2.6
-