1. 28 Apr, 2006 6 commits
    • David Woodhouse's avatar
      [PATCH] powerpc: Use check_legacy_ioport() on ppc32 too. · 1269277a
      David Woodhouse authored
      Some people report that we die on some Macs when we are expecting to
      catch machine checks after poking at some random I/O address. I'd seen
      it happen on my dual G4 with serial ports until we fixed those to use
      OF, but now other users are reporting it with i8042.
      
      This expands the use of check_legacy_ioport() to avoid that situation
      even on 32-bit kernels.
      Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      1269277a
    • Alan Modra's avatar
      [PATCH] powerpc64: Fix loading of modules without a .toc section · f749edae
      Alan Modra authored
      Normally, ppc64 module .ko files contain a table-of-contents (.toc)
      section, but if the module doesn't reference any static or external
      data or external procedures, it is possible for gcc/binutils to
      generate a .ko that doesn't have a .toc.  Currently the module
      loader refuses to load such a module, since it needs the address
      of the .toc section to use in relocations.
      
      This patch fixes the problem by using the address of the .stubs
      section instead, which is an acceptable substitute in this situation.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      f749edae
    • Andreas Schwab's avatar
      [PATCH] sound/ppc: snd_pmac_toonie_init should be __init · d882995c
      Andreas Schwab authored
      snd_pmac_toonie_init is only called by __init code and calls __init code
      itself.
      Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      d882995c
    • Paul Mackerras's avatar
      powerpc/pseries: Tell firmware our capabilities on new machines · f709bfac
      Paul Mackerras authored
      This adds code to call a new firmware method to tell the firmware
      what machines and capabilities (such as VMX/Altivec) we support.
      This will be needed on POWER5+ and POWER6 machines, and it has no
      effect on past and current machines.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      f709bfac
    • David Gibson's avatar
      [PATCH] powerpc: Fix pagetable bloat for hugepages · f10a04c0
      David Gibson authored
      At present, ARCH=powerpc kernels can waste considerable space in
      pagetables when making large hugepage mappings.  Hugepage PTEs go in
      PMD pages, but each PMD page maps 256M and so contains only 16
      hugepage PTEs (128 bytes of data), but takes up a 1024 byte
      allocation.  With CONFIG_PPC_64K_PAGES enabled (64k base page size),
      the situation is worse.  Now hugepage PTEs are at the PTE page level
      (also mapping 256M), so we store 16 hugepage PTEs in a 64k allocation.
      
      The PowerPC MMU already means that any 256M region is either all
      hugepage, or all normal pages.  Thus, with some care, we can use a
      different allocation for the hugepage PTE tables and only allocate the
      128 bytes necessary.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      f10a04c0
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 37e53db8
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] update sn2 defconfig
        [IA64] Add mca recovery failure messages
        [IA64-SGI] fix SGI Altix tioce_reserve_m32() bug
        [IA64] enable dumps to capture second page of kernel stack
        [IA64-SGI] - Reduce overhead of reading sn_topology
        [IA64-SGI] - Fix discover of nearest cpu node to IO node
        [IA64] IOC4 config option ordering
        [IA64] Setup an IA64 specific reclaim distance
        [IA64] eliminate compile time warnings
        [IA64] eliminate compile time warnings
        [IA64-SGI] SN SAL call to inject memory errors
        [IA64] - Fix MAX_PXM_DOMAINS for systems with > 256 nodes
        [IA64] Remove unused variable in sn_sal.h
        [IA64] Remove redundant NULL checks before kfree
        [IA64] wire up compat_sys_adjtimex()
      37e53db8
  2. 27 Apr, 2006 34 commits