[PATCH kernel v2 0/6] powerpc/eeh: Some cleanups

Alexey Kardashevskiy aik at ozlabs.ru
Tue Aug 29 17:33:58 AEST 2017


Here are few patches to get rid of some cached pointers across EEH and
powernv code as I was struggling to figure out about lifetime of
structures and so on.


This is based on sha1
98b9f8a45499 Linus Torvalds Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4


Please comment. Thanks.

Changelog:
v2:
* added sof/ab to 1/6, 2/6
* fixed compile issue with pseries platform in the rest of v1
* split 5/5 from v1 to 2 separate patches (for easier bisect if/when needed)



Alexey Kardashevskiy (6):
  powerpc/pci: Remove unused parameter from add_one_dev_pci_data()
  powerpc/eeh: Reduce to one the number of places where edev is
    allocated
  powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev
  powerpc/eeh: Remove unnecessary config_addr from eeh_dev
  powerpc/eeh: Reduce use of pci_dn::node
  powerpc/pci: Remove OF node back pointer from pci_dn

 arch/powerpc/include/asm/eeh.h               |  5 +-
 arch/powerpc/include/asm/pci-bridge.h        |  1 -
 arch/powerpc/kernel/eeh.c                    | 16 ++---
 arch/powerpc/kernel/eeh_dev.c                |  2 -
 arch/powerpc/kernel/eeh_driver.c             |  2 +-
 arch/powerpc/kernel/eeh_pe.c                 | 90 ++++++++++++++++------------
 arch/powerpc/kernel/eeh_sysfs.c              |  3 -
 arch/powerpc/kernel/pci_dn.c                 | 22 +++----
 arch/powerpc/platforms/powernv/eeh-powernv.c | 29 +++------
 arch/powerpc/platforms/pseries/eeh_pseries.c |  4 +-
 arch/powerpc/platforms/pseries/msi.c         | 11 +---
 11 files changed, 81 insertions(+), 104 deletions(-)

-- 
2.11.0



More information about the Linuxppc-dev mailing list