1. 05 9月, 2012 4 次提交
  2. 21 3月, 2012 1 次提交
  3. 14 7月, 2010 1 次提交
  4. 09 7月, 2010 1 次提交
  5. 04 8月, 2008 1 次提交
  6. 14 2月, 2008 1 次提交
  7. 26 4月, 2006 1 次提交
  8. 09 1月, 2006 1 次提交
  9. 10 11月, 2005 1 次提交
    • D
      [PATCH] powerpc: Move various ppc64 files with no ppc32 equivalent to powerpc · 8882a4da
      David Gibson 提交于
      This patch moves a bunch of files from arch/ppc64 and
      include/asm-ppc64 which have no equivalents in ppc32 code into
      arch/powerpc and include/asm-powerpc.  The file affected are:
      	abs_addr.h
      	compat.h
      	lppaca.h
      	paca.h
      	tce.h
      	cpu_setup_power4.S
      	ioctl32.c
      	firmware.c
      	pacaData.c
      
      The only changes apart from the move and corresponding Makefile
      changes are:
      	- #ifndef/#define in includes updated to _ASM_POWERPC_ form
      	- trailing whitespace removed
      	- comments giving full paths removed
      	- pacaData.c renamed paca.c to remove studlyCaps
      	- Misplaced { moved in lppaca.h
      
      Built and booted on POWER5 LPAR (ARCH=powerpc and ARCH=ppc64), built
      for 32-bit powermac (ARCH=powerpc).
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8882a4da
  10. 14 10月, 2005 1 次提交
  11. 29 8月, 2005 7 次提交
    • M
      [PATCH] ppc64: Remove CONFIG_MSCHUNKS · bef56862
      Michael Ellerman 提交于
      We can now remove CONFIG_MSCHUNKS as it doesn't do anything interesting
      anymore.
      
      The only macro in abs_addr.h which is called by non-iSeries code is
      phys_to_abs(), so remove the other dummy implementations, and we add a
      firmware feature check to phys_to_abs().
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      bef56862
    • M
      [PATCH] ppc64: Remove redundant abs_to_phys() macro · e88bcd1b
      Michael Ellerman 提交于
      abs_to_phys() is a macro that turns out to do nothing, and also has the
      unfortunate property that it's not the inverse of phys_to_abs() on iSeries.
      
      The following is for my benefit as much as everyone else.
      
      With CONFIG_MSCHUNKS enabled, the lmb code is changed such that it keeps
      a physbase variable for each lmb region. This is used to take the possibly
      discontiguous lmb regions and present them as a contiguous address space
      beginning from zero.
      
      In this context each lmb region's base address is its "absolute" base
      address, and its physbase is it's "physical" address (from Linux's point of
      view). The abs_to_phys() macro does the mapping from "absolute" to "physical".
      
      Note: This is not related to the iSeries mapping of physical to absolute
      (ie. Hypervisor) addresses which is maintained with the msChunks structure.
      And the msChunks structure is not controlled via CONFIG_MSCHUNKS.
      
      Once upon a time you could compile for non-iSeries with CONFIG_MSCHUNKS
      enabled. But these days CONFIG_MSCHUNKS depends on CONFIG_PPC_ISERIES, so
      for non-iSeries code abs_to_phys() is a no-op.
      
      On iSeries we always have one lmb region which spans from 0 to
      systemcfg->physicalMemorySize (arch/ppc64/kernel/iSeries_setup.c line 383).
      This region has a base (ie. absolute) address of 0, and a physbase address
      of 0 (as calculated in lmb_analyze() (arch/ppc64/kernel/lmb.c line 144)).
      
      On iSeries, abs_to_phys(aa) is defined as lmb_abs_to_phys(aa), which finds
      the lmb region containing aa (and there's only one, ie. 0), and then does:
      
       return lmb.memory.region[0].physbase + (aa - lmb.memory.region[0].base)
      
      physbase == base == 0, so you're left with "return aa".
      
      So remove abs_to_phys(), and lmb_abs_to_phys() which is the implementation
      of abs_to_phys() for iSeries.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e88bcd1b
    • M
      [PATCH] ppc64: Remove redundant uses of physRpn_to_absRpn · aefd16b0
      Michael Ellerman 提交于
      physRpn_to_absRpn is a no-op on non-iSeries platforms, remove the two
      redundant calls.
      
      There's only one caller on iSeries so fold the logic in there so we can get
      rid of it completely.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      aefd16b0
    • M
      [PATCH] ppc64: Consolidate some macros · ce217952
      Michael Ellerman 提交于
      The only caller of chunk_offset() and abs_chunk() is phys_to_abs(), so
      fold the former two into the latter.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      ce217952
    • M
      [PATCH] ppc64: Rename msChunks structure · 56e97b71
      Michael Ellerman 提交于
      Rename the msChunks struct to get rid of the StUdlY caps and make it a bit
      clearer what it's for.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      56e97b71
    • M
      [PATCH] ppc64: msChunks cleanups · 34c8f696
      Michael Ellerman 提交于
      Chunks are 256KB, so use constants for the size/shift/mask, rather than
      getting them from the msChunks struct. The iSeries debugger (??) might still
      need access to the values in the msChunks struct, so we keep them around
      for now, but set them from the constant values.
      
      Replace msChunks_entry typedef with regular u32.
      
      Simplify msChunks_alloc() to manipulate klimit directly, rather than via
      a parameter.
      
      Move msChunks_alloc() and msChunks into iSeries_setup.c, as that's where
      they're used.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      34c8f696
    • M
      [PATCH] ppc64: Remove PTRRELOC() from msChunks code · 38e85dc1
      Michael Ellerman 提交于
      The msChunks code was written to work on pSeries, but now it's only used on
      iSeries. This means there's no need to do PTRRELOC anymore, so remove it all.
      
      A few places were getting "extern reloc_offset()" from abs_addr.h, move it
      into system.h instead.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      38e85dc1
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4