All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gavin Shan <gwshan@linux.vnet.ibm.com>
To: Gavin Shan <gwshan@linux.vnet.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 0/7] powerpc/eeh: Refactor to use pci_dn
Date: Tue, 17 Mar 2015 16:14:31 +1100	[thread overview]
Message-ID: <20150317051430.GA9252@shangw> (raw)
In-Reply-To: <1426556244-30066-1-git-send-email-gwshan@linux.vnet.ibm.com>

On Tue, Mar 17, 2015 at 12:37:17PM +1100, Gavin Shan wrote:

Please ignore this and v2 with more changes according to Ben's comments
is on the way.

Thanks,
Gavin

>Currently, EEH depends on device_node or pci_dev heavily. Unfortunately,
>SRIOV VFs are supported depending on pci_dn heavily, which is conflicting
>with EEH implementation. In order for better support EEH on SRIOV VF, the
>EEH is better to be changed a bit to depend on pci_dn, which is exactly
>what the patchset does.
>
>The patchset is expected to merged after the patchset "EEH cleanup to
>remove chip layer for PowerNV", before "SRIOV patchset". The first two
>patches are extracted from SRIOV patchset to make this patchset
>self-contained.
>
>Gavin Shan (7):
>  powerpc/pci: Refactor pci_dn
>  powerpc/powernv: Use pci_dn, not device_node, in PCI config accessor
>  powerpc/pci: Trace more information from pci_dn
>  powerpc/eeh: Create eeh_dev from pci_dn instead of device_node
>  powerpc/eeh: Do probe on pci_dn
>  powerpc/eeh: Replace device_node with pci_dn in eeh_ops
>  powerpc/eeh: Remove device_node dependency
>
> arch/powerpc/include/asm/device.h            |   3 +
> arch/powerpc/include/asm/eeh.h               |  28 ++-
> arch/powerpc/include/asm/pci-bridge.h        |  31 +--
> arch/powerpc/include/asm/ppc-pci.h           |   3 +
> arch/powerpc/kernel/eeh.c                    | 127 +++++-------
> arch/powerpc/kernel/eeh_cache.c              |  25 +--
> arch/powerpc/kernel/eeh_dev.c                |  14 +-
> arch/powerpc/kernel/eeh_driver.c             |  22 --
> arch/powerpc/kernel/eeh_pe.c                 | 116 ++++++-----
> arch/powerpc/kernel/of_platform.c            |   2 +-
> arch/powerpc/kernel/pci-hotplug.c            |   2 +-
> arch/powerpc/kernel/pci_dn.c                 | 295 ++++++++++++++++++++++++++-
> arch/powerpc/kernel/pci_of_scan.c            |   2 +-
> arch/powerpc/kernel/rtas_pci.c               |   2 +-
> arch/powerpc/platforms/powernv/eeh-powernv.c | 192 ++++++++++++-----
> arch/powerpc/platforms/powernv/pci-ioda.c    |  16 ++
> arch/powerpc/platforms/powernv/pci.c         |  69 +++----
> arch/powerpc/platforms/powernv/pci.h         |   4 +-
> arch/powerpc/platforms/pseries/eeh_pseries.c |  98 ++++-----
> arch/powerpc/platforms/pseries/msi.c         |   6 +-
> arch/powerpc/platforms/pseries/pci_dlpar.c   |   2 +-
> arch/powerpc/platforms/pseries/setup.c       |   2 +-
> drivers/pci/hotplug/rpadlpar_core.c          |   2 +-
> 23 files changed, 694 insertions(+), 369 deletions(-)
>
>-- 
>1.8.3.2
>

      parent reply	other threads:[~2015-03-17  5:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17  1:37 [PATCH 0/7] powerpc/eeh: Refactor to use pci_dn Gavin Shan
2015-03-17  1:37 ` [PATCH 1/7] powerpc/pci: Refactor pci_dn Gavin Shan
2015-03-17  1:37 ` [PATCH 2/7] powerpc/powernv: Use pci_dn, not device_node, in PCI config accessor Gavin Shan
2015-03-17  1:37 ` [PATCH 3/7] powerpc/pci: Trace more information from pci_dn Gavin Shan
2015-03-17  1:37 ` [PATCH 4/7] powerpc/eeh: Create eeh_dev from pci_dn instead of device_node Gavin Shan
2015-03-17  1:37 ` [PATCH 5/7] powerpc/eeh: Do probe on pci_dn Gavin Shan
2015-03-17  1:37 ` [PATCH 6/7] powerpc/eeh: Replace device_node with pci_dn in eeh_ops Gavin Shan
2015-03-17  1:37 ` [PATCH 7/7] powerpc/eeh: Remove device_node dependency Gavin Shan
2015-03-17  5:14 ` Gavin Shan [this message]

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=20150317051430.GA9252@shangw \
    --to=gwshan@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.