1. 07 11月, 2005 1 次提交
    • B
      [PATCH] ppc64: support 64k pages · 3c726f8d
      Benjamin Herrenschmidt 提交于
      Adds a new CONFIG_PPC_64K_PAGES which, when enabled, changes the kernel
      base page size to 64K.  The resulting kernel still boots on any
      hardware.  On current machines with 4K pages support only, the kernel
      will maintain 16 "subpages" for each 64K page transparently.
      
      Note that while real 64K capable HW has been tested, the current patch
      will not enable it yet as such hardware is not released yet, and I'm
      still verifying with the firmware architects the proper to get the
      information from the newer hypervisors.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3c726f8d
  2. 31 10月, 2005 3 次提交
  3. 29 10月, 2005 2 次提交
  4. 27 10月, 2005 2 次提交
  5. 26 10月, 2005 1 次提交
  6. 22 10月, 2005 1 次提交
  7. 20 10月, 2005 1 次提交
  8. 17 10月, 2005 1 次提交
    • P
      powerpc: Initialize btext subsystem later, after prom_init · 30cd4a4e
      Paul Mackerras 提交于
      We were initializing the btext stuff from prom_init(), thus breaking
      the rule that all communication between prom_init() and the rest of
      the kernel has to be via the flattened device tree.  This removes
      the btext initialization calls from prom_init() and initializes it
      instead after the device tree is unflattened.  It would be nice to
      do it earlier, but that needs some more infrastructure to find the
      properties we need in the flattened device tree.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      30cd4a4e
  9. 12 10月, 2005 2 次提交
    • P
      powerpc: Move default hash table size calculation to hash_utils_64.c · 3eac8c69
      Paul Mackerras 提交于
      We weren't computing the size of the hash table correctly on iSeries
      because the relevant code in prom.c was #ifdef CONFIG_PPC_PSERIES.
      This moves the code to hash_utils_64.c, makes it unconditional, and
      cleans it up a bit.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3eac8c69
    • S
      powerpc: make iSeries boot again · 3a5f8c5f
      Stephen Rothwell 提交于
      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: NStephen Rothwell <sfr@canb.auug.org.au>
      3a5f8c5f
  10. 10 10月, 2005 3 次提交
  11. 06 10月, 2005 1 次提交
    • P
      powerpc: Merge lmb.c and make MM initialization use it. · 7c8c6b97
      Paul Mackerras 提交于
      This also creates merged versions of do_init_bootmem, paging_init
      and mem_init and moves them to arch/powerpc/mm/mem.c.  It gets rid
      of the mem_pieces stuff.
      
      I made memory_limit a parameter to lmb_enforce_memory_limit rather
      than a global referenced by that function.  This will require some
      small changes to ppc64 if we want to continue building ARCH=ppc64
      using the merged lmb.c.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      7c8c6b97
  12. 28 9月, 2005 1 次提交
  13. 26 9月, 2005 1 次提交
    • P
      powerpc: Merge enough to start building in arch/powerpc. · 14cf11af
      Paul Mackerras 提交于
      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: NPaul Mackerras <paulus@samba.org>
      14cf11af