1. 17 9月, 2012 1 次提交
    • G
      powerpc/powernv: Create bus sensitive PEs · fb446ad0
      Gavin Shan 提交于
      Basically, there're 2 types of PCI bus sensitive PEs: (A) The PE
      includes single PCI bus. (B) The PE includes the PCI bus and all
      the subordinate PCI buses. At present, we'd like to put PCI bus
      originated by PCI-e link to form PE that contains single PCI bus,
      and the PCIe-to-PCI bridge will form the 2nd type of PE. We don't
      figure out to detect PLX bridge yet. Once we can detect PLX bridge
      some day, we have to put PCI buses originated from the downstream
      port of PLX bridge to the 2nd type of PE.
      
      The patch changes the original implementation for a little bit
      to support 2 types of PCI bus sensitive PEs described as above.
      Also, the function used to retrieve the corresponding PE according
      to the given PCI device has been changed based on that because each
      PCI device should trace the directly associated PE.
      Signed-off-by: NGavin Shan <shangw@linux.vnet.ibm.com>
      Reviewed-by: NRam Pai <linuxram@us.ibm.com>
      Reviewed-by: NRichard Yang <weiyang@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      fb446ad0
  2. 12 9月, 2012 1 次提交
    • G
      powerpc/powernv: I/O and memory alignment for P2P bridges · 271fd03a
      Gavin Shan 提交于
      The patch implements ppc_md.pcibios_window_alignment for powernv
      platform so that the resource reassignment in PCI core will be
      done according to the I/O and memory alignment returned from
      powernv platform. The alignments returned from powernv platform
      is closely depending on the scheme for PE segmenting. Besides,
      the patch isn't useful for now, but the subsequent patches will
      be working based on it.
      
      [bhelgaas: use pci_pcie_type() since pci_dev.pcie_type was removed]
      Signed-off-by: NGavin Shan <shangw@linux.vnet.ibm.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      271fd03a
  3. 10 9月, 2012 1 次提交
  4. 05 9月, 2012 2 次提交
  5. 23 8月, 2012 1 次提交
  6. 10 7月, 2012 3 次提交
  7. 14 6月, 2012 1 次提交
  8. 29 3月, 2012 1 次提交
  9. 21 3月, 2012 1 次提交
  10. 27 2月, 2012 1 次提交
  11. 24 2月, 2012 2 次提交
  12. 14 2月, 2012 1 次提交
  13. 25 1月, 2012 1 次提交
  14. 08 12月, 2011 1 次提交
    • P
      powerpc/powernv: Fix problems in onlining CPUs · cba313da
      Paul Mackerras 提交于
      At present, on the powernv platform, if you off-line a CPU that was
      online, and then try to on-line it again, the kernel generates a
      warning message "OPAL Error -1 starting CPU n".  Furthermore, if the
      CPU is a secondary thread that was used by KVM while it was off-line,
      the CPU fails to come online.
      
      The first problem is fixed by only calling OPAL to start the CPU the
      first time it is on-lined, as indicated by the cpu_start field of its
      PACA being zero.  The second problem is fixed by restoring the
      cpu_start field to 1 instead of 0 when using the CPU within KVM.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      cba313da
  15. 07 12月, 2011 2 次提交
  16. 25 11月, 2011 3 次提交
  17. 20 9月, 2011 12 次提交