1. 15 2月, 2009 2 次提交
    • B
      powerpc/4xx: Add missing USB and i2c devices to Canyonlands · 018f76ec
      Benjamin Herrenschmidt 提交于
      This adds the device-tree entries for a handful of devices on the
      Canyonlands board, such as the EHCI and OHCI controllers, the real
      time clock and the AD7414 thermal monitor.
      
      I also updated the defconfig to enable various options related to
      these devices.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      018f76ec
    • Y
      powerpc/44x: Support for 256KB PAGE_SIZE · e1240122
      Yuri Tikhonov 提交于
      This patch adds support for 256KB pages on ppc44x-based boards.
      
      For simplification of implementation with 256KB pages we still assume
      2-level paging. As a side effect this leads to wasting extra memory space
      reserved for PTE tables: only 1/4 of pages allocated for PTEs are
      actually used. But this may be an acceptable trade-off to achieve the
      high performance we have with big PAGE_SIZEs in some applications (e.g.
      RAID).
      
      Also with 256KB PAGE_SIZE we increase THREAD_SIZE up to 32KB to minimize
      the risk of stack overflows in the cases of on-stack arrays, which size
      depends on the page size (e.g. multipage BIOs, NTFS, etc.).
      
      With 256KB PAGE_SIZE we need to decrease the PKMAP_ORDER at least down
      to 9, otherwise all high memory (2 ^ 10 * PAGE_SIZE == 256MB) we'll be
      occupied by PKMAP addresses leaving no place for vmalloc. We do not
      separate PKMAP_ORDER for 256K from 16K/64K PAGE_SIZE here; actually that
      value of 10 in support for 16K/64K had been selected rather intuitively.
      Thus now for all cases of PAGE_SIZE on ppc44x (including the default, 4KB,
      one) we have 512 pages for PKMAP.
      
      Because ELF standard supports only page sizes up to 64K, then you should
      use binutils later than 2.17.50.0.3 with '-zmax-page-size' set to 256K
      for building applications, which are to be run with the 256KB-page sized
      kernel. If using the older binutils, then you should patch them like follows:
      
      	--- binutils/bfd/elf32-ppc.c.orig
      	+++ binutils/bfd/elf32-ppc.c
      
      	-#define ELF_MAXPAGESIZE                0x10000
      	+#define ELF_MAXPAGESIZE                0x40000
      
      One more restriction we currently have with 256KB page sizes is inability
      to use shmem safely, so, for now, the 256KB is available only if you turn
      the CONFIG_SHMEM option off (another variant is to use BROKEN).
      Though, if you need shmem with 256KB pages, you can always remove the !SHMEM
      dependency in 'config PPC_256K_PAGES', and use the workaround available here:
       http://lkml.org/lkml/2008/12/19/20Signed-off-by: NYuri Tikhonov <yur@emcraft.com>
      Signed-off-by: NIlya Yanok <yanok@emcraft.com>
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      e1240122
  2. 11 2月, 2009 9 次提交
  3. 10 2月, 2009 6 次提交
  4. 07 2月, 2009 7 次提交
  5. 05 2月, 2009 5 次提交
  6. 04 2月, 2009 1 次提交
    • G
      powerpc/5200: Trim cruft from device trees · b8842451
      Grant Likely 提交于
      Trim out obsolete/extraneous properties and tighten up some usage
      conventions.  Changes include:
      - removal of device_type properties
      - removal of cell-index properties
      - Addition of gpio-controller and #gpio-cells properties to gpio
        nodes
      - Move common interrupt-parent property out of device nodes and
        into top level parent node.
      
      This patch also include what looks to be just trivial editorial
      whitespace/format changes, but there is real method in this
      madness.  Editorial changes were made to keep the all the
      mpc5200 board device trees as similar as possible so that diffs
      between them only show the real differences between the boards.
      The pcm030 device tree was most affected by this because many
      of the comments had been changed from // to /* */ style and
      some cell values where changed from decimal to hex format when
      it was cloned from one of the other 5200 device trees.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Reviewed-by: NWolfram Sang <w.sang@pengutronix.de>
      b8842451
  7. 03 2月, 2009 1 次提交
  8. 02 2月, 2009 4 次提交
  9. 30 1月, 2009 2 次提交
  10. 29 1月, 2009 3 次提交