- 24 Feb, 2004 1 commit
-
-
Benjamin Herrenschmidt authored
This fixes the ppc64 /proc/cpuinfo oops introduced with the lmb cleanups. We are trying to slowly phase out the LMB stuff (it mostly duplicates functionality of bootmem...), this part got overlooked.
-
- 23 Feb, 2004 39 commits
-
-
bk://bk.linux1394.org/ieee1394-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.5/linux
-
Ben Collins authored
-
Ben Collins authored
-
Ben Collins authored
-
Ben Collins authored
-
Ben Collins authored
-
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
-
Ben Collins authored
-
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
-