1. 11 Dec, 2006 3 commits
    • Benjamin Herrenschmidt's avatar
      [POWERPC] Fix irq routing on some 32-bit PowerMacs · dae4828d
      Benjamin Herrenschmidt authored
      The changes to use pci_read_irq_line() broke interrupt parsing
      on some 32-bit powermacs (oops).  The reason is a bit obscure.
      The code to parse interrupts happens earlier now, during
      pcibios_fixup() as the PCI bus is being probed.  However, the
      current implementation pci_device_to_OF_node() for 32-bit
      powerpc relies, on machines like PowerMac which renumber PCI buses,
      on a table called pci_OF_bus_map containing a map of bus numbers
      between the kernel and the firmware which is setup only later.
      Thus, it fails to match the device node.  In addition, some of
      Apple internal PCI devices lack a proper PCI_INTERRUPT_PIN, thus
      preventing the fallback mapping code to work.
      
      This patch fixes it by making pci_device_to_OF_node() 32-bit
      implementation use a different algorithm that works without
      using the pci_OF_bus_map thing (which I intend to deprecate
      anyway). It's a bit slower but that function isn't called in
      any hot path hopefully.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      dae4828d
    • Geoff Levand's avatar
      [POWERPC] ps3: Add vuart support · 74e95d5d
      Geoff Levand authored
      Adds support for the PS3 virtual UART (vuart).  The vuart provides a
      bi-directional byte stream data link between logical partitions.
      
      This is needed for the ps3 graphics driver and the ps3 power
      control support to be able to communicate with the lv1 policy
      module.
      Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      74e95d5d
    • Paul Mackerras's avatar
      [POWERPC] Support ibm,dynamic-reconfiguration-memory nodes · 0204568a
      Paul Mackerras authored
      For PAPR partitions with large amounts of memory, the firmware has an
      alternative, more compact representation for the information about the
      memory in the partition and its NUMA associativity information.  This
      adds the code to the kernel to parse this alternative representation.
      
      The other part of this patch is telling the firmware that we can
      handle the alternative representation.  There is however a subtlety
      here, because the firmware will invoke a reboot if the memory
      representation we request is different from the representation that
      firmware is currently using.  This is because firmware can't change
      the representation on the fly.  Further, some firmware versions used
      on POWER5+ machines have a bug where this reboot leaves the machine
      with an altered value of load-base, which will prevent any kernel
      booting until it is reset to the normal value (0x4000).  Because of
      this bug, we do NOT set fake_elf.rpanote.new_mem_def = 1, and thus we
      do not request the new representation on POWER5+ and earlier machines.
      We do request the new representation on POWER6, which uses the
      ibm,client-architecture-support call.
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      0204568a
  2. 09 Dec, 2006 4 commits
  3. 08 Dec, 2006 22 commits
  4. 07 Dec, 2006 11 commits