summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries
Commit message (Collapse)AuthorAgeFilesLines
* powerpc: make mem= work on iSeries againStephen Rothwell2005-11-011-17/+25
| | | | | | | | By parsing the command line earlier, we can add the mem= value to the flattened device tree and let the generic code sort out the memory limit for us. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Fix bug arising from having multiple memory_limit variablesPaul Mackerras2005-10-311-2/+0
| | | | | | | | | | We had a static memory_limit in prom.c, and then another one defined in setup_64.c and used in numa.c, which resulted in the kernel crashing when mem=xxx was given on the command line. This puts the declaration in system.h and the definition in mem.c. This also moves the definition of tce_alloc_start/end out of setup_64.c. Signed-off-by: Paul Mackerras <paulus@samba.org>
* powerpc: iseries: Fix a bogus commentStephen Rothwell2005-10-241-5/+1
| | | | | | | | | A comment in lpevents.c refers to code that's actually in HvCallEvent.h. The code in HvCallEvent.h is pretty obvious, so just remove the comment altogether. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
* Merge changes from linux-2.6 by handPaul Mackerras2005-10-221-1/+1
|
* ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfoPaul Mackerras2005-10-201-2/+2
| | | | | | | ... for consistency with ppc32; also add in ppc32's show_percpuinfo function. Signed-off-by: Paul Mackerras <paulus@samba.org>
* powerpc: Merge machdep.hPaul Mackerras2005-10-193-13/+13
| | | | | | | | | | | | A few things change for consistency between ppc32 and ppc64: idle functions return void; *_get_boot_time functions return unsigned long (i.e. time_t) rather than filling in a struct rtc_time (since that's useful to the callers and easier for pmac to generate); *_get_rtc_time and *_set_rtc_time functions take a struct rtc_time; irq_canonicalize is gone; nvram_sync returns void. Signed-off-by: Paul Mackerras <paulus@samba.org>
* powerpc: move iSeries/HvCallPci.h to platforms/iseries/call_pci.hStephen Rothwell2005-10-144-3/+293
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move iSeries/HvCallHpt.h to platforms/iseries/call_hpt.hStephen Rothwell2005-10-143-2/+104
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: eliminate DsaAddr from pci_dnStephen Rothwell2005-10-144-16/+23
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: remove ISERIES_[SUB]BUS macrosStephen Rothwell2005-10-143-17/+10
| | | | | | This allows us to simplify a couple of things. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move iSeries/iSeries_pci.h to platforms/iseriesStephen Rothwell2005-10-145-12/+77
| | | | | | | | The only real user of this file outside platforms/iseries was drivers/net/iseries_veth.c but all it wanted was ISERIES_HV_ADDR() so we move that to abs_addr.h (and lowercase it). Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: make iSeries boot againStephen Rothwell2005-10-122-5/+3
| | | | | | | | | | | | | | | | On ARCH=ppc64 we were getting htab_hash_mask recalculated to the correct value for our particular machine by accident. In the merge tree, that code was commented out, so htab_hash_mask was being corrupted. We now set ppc64_pft_size instead which gets htab_has_mask calculated correctly for us later. We should put an ibm,pft-size property in the device tree at some point. Also set -mno-minimal-toc in some makefiles. Allow iSeries to configure PROC_DEVICETREE. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: pci_dn's should point to their device_node'sStephen Rothwell2005-10-121-0/+1
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Get iseries to compile with ARCH=powerpcPaul Mackerras2005-10-103-13/+10
| | | | | | | | This moves the Device_List member from struct device_node to struct pci_dn, which cleans up the device_node and makes the code a little simpler. Signed-off-by: Paul Mackerras <paulus@samba.org>
* powerpc: move lparmap.c to arch/powerpc/kernelPaul Mackerras2005-10-101-31/+0
| | | | | | | Since lparmap.s gets included in arch/powerpc/kernel/head_64.S, this avoids depending on a file in another directory. Signed-off-by: Paul Mackerras <paulus@samba.org>
* powerpc: make iSeries buildStephen Rothwell2005-10-011-0/+2
| | | | | | | | Merge vmlinux.lds.S. Also remove arch/powerpc/kernel/vmlinux.lds which is a generated file. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move lparmap.c to powerpc/platformsStephen Rothwell2005-09-301-0/+31
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* ppc64 iseries: move some iSeries include filesStephen Rothwell2005-09-3013-14/+569
| | | | | | | These files are only referenced from within arch/powerpc/platforms/iseries, so move them there. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* ppc64 iSeries: use device_node instead of iSeries_Device_nodeStephen Rothwell2005-09-283-55/+67
| | | | | | There needs to be more cleanup after this. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move more iSeries codeStephen Rothwell2005-09-283-1/+84
| | | | | | | Move the iSeries specific parts of misc.S and ppc_ksyms.c into powerpc/platforms/iseries. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move viopath.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-0/+673
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_smp.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-0/+122
| | | | | | And rename it to smp.c. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_vio.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-0/+157
| | | | | | And rename it to vio.c. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_VpdInfo.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-1/+267
| | | | | | And rename it to vpdinfo.c. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_irq.c to powerpc/platorms/iseriesStephen Rothwell2005-09-282-1/+366
| | | | | | And rename it to irq.c. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_pci.c to powerpc/platform/iseriesStephen Rothwell2005-09-282-0/+904
| | | | | | | | and rename it to pci.c. This also required moving arch/ppc64/kernel/pci.h into include/asm-powerpc (called ppc-pci.h. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_iommu.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-1/+176
| | | | | | And rename it to iommu.c Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move iSeries_htab.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-1/+257
| | | | | | And rename it to htab.c Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move iSeries_proc.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-1/+117
| | | | | | And renamed it to proc.c Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Merge HvLpEvent.c into lpevents.cStephen Rothwell2005-09-281-1/+67
| | | | | | These two files were intimately connected, so just merge them. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move hvCall.s to powerpc/platforms/iseriesStephen Rothwell2005-09-283-1/+94
| | | | | | | | | Rename it to hvcall.S and (so I can do that) rename hvcall.c to hvlog.c - a more appropriate name. Do some white space cleanups. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move ItLpQueue.c to powerpc/platforms/iseriesStephen Rothwell2005-09-282-1/+262
| | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: move iSeries_setup.[ch] and mf.c into platforms/iseriesStephen Rothwell2005-09-274-1/+2347
| | | | | | | | | | | iSeries_setup.c becomes setup.c iSeries_setup.h becomes setup.h mf.c retains its name Also moved iSeries_[gs]et_rtc_time and iSeries_get_boot_time into mf.c since they are just small wrappers around mf_ functions. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move LparData.c to powerpc platformsStephen Rothwell2005-09-272-1/+228
| | | | | | Also rename it to lpardata.c Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Move HvLpConfig.c to powerpc archStephen Rothwell2005-09-272-1/+27
| | | | | | Also rename it to hvlpconfig.c Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Create arch/powerpc/platforms/iseriesStephen Rothwell2005-09-272-0/+36
| | | | | | | I also move arch/ppc64/kernel/HvCall.c to arch/powerpc/platforms/iseries/hvcall.c. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
* powerpc: Merge enough to start building in arch/powerpc.Paul Mackerras2005-09-261-0/+31
This creates the directory structure under arch/powerpc and a bunch of Kconfig files. It does a first-cut merge of arch/powerpc/mm, arch/powerpc/lib and arch/powerpc/platforms/powermac. This is enough to build a 32-bit powermac kernel with ARCH=powerpc. For now we are getting some unmerged files from arch/ppc/kernel and arch/ppc/syslib, or arch/ppc64/kernel. This makes some minor changes to files in those directories and files outside arch/powerpc. The boot directory is still not merged. That's going to be interesting. Signed-off-by: Paul Mackerras <paulus@samba.org>
OpenPOWER on IntegriCloud