linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: linuxppc-dev@lists.ozlabs.org
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
	Andrew Donnellan <andrew.donnellan@au1.ibm.com>,
	Russell Currey <ruscur@russell.cc>
Subject: [PATCH kernel v2 0/6] powerpc/eeh: Some cleanups
Date: Tue, 29 Aug 2017 17:33:58 +1000	[thread overview]
Message-ID: <20170829073404.8885-1-aik@ozlabs.ru> (raw)

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

             reply	other threads:[~2017-08-29  7:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29  7:33 Alexey Kardashevskiy [this message]
2017-08-29  7:33 ` [PATCH kernel v2 1/6] powerpc/pci: Remove unused parameter from add_one_dev_pci_data() Alexey Kardashevskiy
2017-08-31 11:36   ` [kernel, v2, " Michael Ellerman
2017-08-29  7:34 ` [PATCH kernel v2 2/6] powerpc/eeh: Reduce to one the number of places where edev is allocated Alexey Kardashevskiy
2017-08-29  7:34 ` [PATCH kernel v2 3/6] powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev Alexey Kardashevskiy
2017-08-29  7:34 ` [PATCH kernel v2 4/6] powerpc/eeh: Remove unnecessary config_addr " Alexey Kardashevskiy
2017-08-29  7:34 ` [PATCH kernel v2 5/6] powerpc/eeh: Reduce use of pci_dn::node Alexey Kardashevskiy
2017-08-29  7:34 ` [PATCH kernel v2 6/6] powerpc/pci: Remove OF node back pointer from pci_dn Alexey Kardashevskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170829073404.8885-1-aik@ozlabs.ru \
    --to=aik@ozlabs.ru \
    --cc=andrew.donnellan@au1.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=ruscur@russell.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).