From: Gavin Shan <shangw@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
Subject: [PATCH 4/6] powerpc/powernv: Double size of log blob
Date: Fri, 6 Sep 2013 09:00:03 +0800 [thread overview]
Message-ID: <1378429205-16248-5-git-send-email-shangw@linux.vnet.ibm.com> (raw)
In-Reply-To: <1378429205-16248-1-git-send-email-shangw@linux.vnet.ibm.com>
Each PHB instance (struct pnv_phb) has its corresponding log blob,
which is used to hold the retrieved error log from firmware. The
current size of that (4096) isn't enough for PHB3 case and the patch
makes that double to 8192.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
---
arch/powerpc/platforms/powernv/pci.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h
index d633c64..f4bccc8 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -17,7 +17,7 @@ enum pnv_phb_model {
PNV_PHB_MODEL_PHB3,
};
-#define PNV_PCI_DIAG_BUF_SIZE 4096
+#define PNV_PCI_DIAG_BUF_SIZE 8192
#define PNV_IODA_PE_DEV (1 << 0) /* PE has single PCI device */
#define PNV_IODA_PE_BUS (1 << 1) /* PE has primary PCI bus */
#define PNV_IODA_PE_BUS_ALL (1 << 2) /* PE has subordinate buses */
--
1.7.5.4
next prev parent 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 [PATCH 0/6] EEH Support for PHB3 Gavin Shan
2013-09-06 1:00 ` [PATCH 1/6] powerpc/powernv: Enable EEH " 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 ` Gavin Shan [this message]
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-5-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