LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gavin Shan <shangw@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
Subject: [PATCH 0/6] EEH Support for PHB3
Date: Fri,  6 Sep 2013 08:59:59 +0800	[thread overview]
Message-ID: <1378429205-16248-1-git-send-email-shangw@linux.vnet.ibm.com> (raw)

Naturally, EEH has been supported for PHB3, but we had some mask bits
to disable it because the firmware isn't ready. The series of patch
instends to remove those "mask bits" and enable EEH for PHB3. Besides,
the output messages from EEH has been reordered to reflect the correct
steps during EEH recovery. Also, we have dedicated data struct for PHB3
diag-data, which is similiar to the case of P7IOC.

Note: We can't recover fenced PHB3 this moment because the f/w still have
some problems, which I'm tracing down. However, the fix shouldn't affect
the logic we have in Linux side.

In order to force frozen PE, you need issue following command or similiar
one on different PHB#:

echo 0x8000000000000000 > /sys/kernel/debug/powerpc/PCI0003/err_injct_outbound

---

arch/powerpc/include/asm/opal.h              |   65 +++++++++++
arch/powerpc/kernel/eeh.c                    |    6 +-
arch/powerpc/platforms/powernv/eeh-ioda.c    |  153 ++++++++++++++++++++++----
arch/powerpc/platforms/powernv/eeh-powernv.c |    5 +-
arch/powerpc/platforms/powernv/pci.h         |    2 +-
5 files changed, 200 insertions(+), 31 deletions(-)

Thanks,
Gavin

             reply	other threads:[~2013-09-06  1:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06  0:59 Gavin Shan [this message]
2013-09-06  1:00 ` [PATCH 1/6] powerpc/powernv: Enable EEH for PHB3 Gavin Shan
2013-09-06  1:00 ` [PATCH 2/6] powerpc/powernv: Support inbound error injection Gavin Shan
2013-09-06  1:00 ` [PATCH 3/6] powerpc/eeh: Output error number Gavin Shan
2013-09-06  1:00 ` [PATCH 4/6] powerpc/powernv: Double size of log blob Gavin Shan
2013-09-06  1:00 ` [PATCH 5/6] powerpc/eeh: Output PHB3 diag-data Gavin Shan
2013-09-06  1:00 ` [PATCH 6/6] powerpc/eeh: Reorder output messages Gavin Shan

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=1378429205-16248-1-git-send-email-shangw@linux.vnet.ibm.com \
    --to=shangw@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox