1. 30 10月, 2013 1 次提交
  2. 11 10月, 2013 20 次提交
  3. 27 8月, 2013 1 次提交
  4. 14 8月, 2013 11 次提交
  5. 24 7月, 2013 4 次提交
  6. 01 7月, 2013 3 次提交
    • B
      powerpc/powernv: Fix iommu initialization again · 74251fe2
      Benjamin Herrenschmidt 提交于
      So because those things always end up in trainwrecks... In 7846de40
      we moved back the iommu initialization earlier, essentially undoing
      37f02195 which was causing us endless trouble... except that in the
      meantime we had merged 959c9bdd (to workaround the original breakage)
      which is now ... broken :-)
      
      This fixes it by doing a partial revert of the latter (we keep the
      ppc_md. path which will be needed in the hotplug case, which happens
      also during some EEH error recovery situations).
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: <stable@vger.kernel.org> [v3.10]
      74251fe2
    • P
      powerpc: Delete __cpuinit usage from all users · 061d19f2
      Paul Gortmaker 提交于
      The __cpuinit type of throwaway sections might have made sense
      some time ago when RAM was more constrained, but now the savings
      do not offset the cost and complications.  For example, the fix in
      commit 5e427ec2 ("x86: Fix bit corruption at CPU resume time")
      is a good example of the nasty type of bugs that can be created
      with improper use of the various __init prefixes.
      
      After a discussion on LKML[1] it was decided that cpuinit should go
      the way of devinit and be phased out.  Once all the users are gone,
      we can then finally remove the macros themselves from linux/init.h.
      
      This removes all the powerpc uses of the __cpuinit macros.  There
      are no __CPUINIT users in assembly files in powerpc.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Josh Boyer <jwboyer@gmail.com>
      Cc: Matt Porter <mporter@kernel.crashing.org>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      061d19f2
    • G
      powerpc/powernv: Use dev-node in PCI config accessors · 9bf41be6
      Gavin Shan 提交于
      Currently, we're using the combo (PCI bus + devfn) in the PCI
      config accessors and PCI config accessors in EEH depends on them.
      However, it's not safe to refer the PCI bus which might have been
      removed during hotplug. So we're using device node in the PCI
      config accessors and the corresponding backends just reuse them.
      
      The patch also fix one potential risk: We possiblly have frozen
      PE during the early PCI probe time, but we haven't setup the PE
      mapping yet. So the errors should be counted to PE#0.
      Signed-off-by: NGavin Shan <shangw@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      9bf41be6