1. 09 Oct, 2007 7 commits
    • Benjamin Herrenschmidt's avatar
      [POWERPC] cell: Move cbe_regs.h to include/asm-powerpc/cell-regs.h · eef686a0
      Benjamin Herrenschmidt authored
      The new Cell EDAC driver needs that file, oprofile also does ugly
      path tricks to get to it, it's time to move it to asm-powerpc. While
      at it, rename it to be consistent with cell-pmu.h (and dashes look
      nicer than underscores anyway).
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      eef686a0
    • Grant Likely's avatar
      [POWERPC] Enable debug info on boot wrapper · 105c13dd
      Grant Likely authored
      Add '-g' to BOOTCFLAGS if CONFIG_DEBUG_INFO is set.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      105c13dd
    • Paul Mackerras's avatar
      [POWERPC] Remove unused old code from powermac setup code · 6ee0d9f7
      Paul Mackerras authored
      Since bootdevice never gets initialized, it's always NULL, and hence a
      whole pile of code in arch/powerpc/platforms/setup.c never gets used.
      (This was the code that originally was there so that the automatic
      root partition selection mechanism would prefer a rootish-looking
      partition on the device that OF loaded the kernel from over a similar
      partition on other devices.)
      
      This removes the unused code.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      6ee0d9f7
    • Stephen Rothwell's avatar
      [POWERPC] Remove some more section mismatch warnings · d7418031
      Stephen Rothwell authored
      WARNING: vmlinux.o(.text+0x2ff5c): Section mismatch: reference to .init.text:.pmac_find_ide_boot (between '.note_bootable_part' and '.note_scsi_host')
      
      >From holly_defconfig:
      WARNING: vmlinux.o(.text+0x164fe): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      WARNING: vmlinux.o(.text+0x16506): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      
      >From linkstation_defconfig:
      WARNING: vmlinux.o(.text+0x158fe): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      WARNING: vmlinux.o(.text+0x15906): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      
      >From mpc7448_hpc2_defconfig:
      WARNING: vmlinux.o(.text+0x1583e): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      WARNING: vmlinux.o(.text+0x15846): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      
      >From pmac32_defconfig:
      WARNING: vmlinux.o(.text+0x154ca): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'note_scsi_host')
      WARNING: vmlinux.o(.text+0x154d2): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'note_scsi_host')
      WARNING: vmlinux.o(.text+0x1553c): Section mismatch: reference to .init.text:pmac_find_ide_boot (between 'note_bootable_part' and 'note_scsi_host')
      
      >From ppc64_defconfig:
      WARNING: vmlinux.o(.text+0x3acdc): Section mismatch: reference to .init.text:.pmac_find_ide_boot (between '.note_bootable_part' and '.note_scsi_host')
      
      >From prpmc2800_defconfig:
      WARNING: vmlinux.o(.text+0x1611e): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      WARNING: vmlinux.o(.text+0x16126): Section mismatch: reference to .init.data:boot_command_line (between 'note_bootable_part' and 'find_via_pmu')
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      d7418031
    • Paul Mackerras's avatar
      [POWERPC] Use cache-inhibited large page bit from firmware · 84fdde5a
      Paul Mackerras authored
      Discussions with firmware architects have confirmed that the bit in
      the ibm,pa-features property that indicates support for
      cache-inhibited large (>= 64kB) page mappings does in fact mean that
      the hypervisor allows 64kB mappings to I/O devices.
      
      Thus we can now enable the code that tests that bit and sets our
      CPU_FTR_CI_LARGE_PAGE feature bit.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      84fdde5a
    • Stephen Rothwell's avatar
      [POWERPC] Prepare to remove of_platform_driver name · cd6eed37
      Stephen Rothwell authored
      The name field of of_platform_driver is just copied into the included
      device_driver.  By not overriding an already initialised device_driver
      name, we can convert the drivers over time to stop using the
      of_platform_driver name.
      
      Also we were not copying the owner field from of_platform_driver, so do
      the same with it.
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      cd6eed37
    • Stephen Rothwell's avatar
  2. 08 Oct, 2007 20 commits
  3. 04 Oct, 2007 13 commits