linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] powerpc/powernv: Simplify EEH Implementation
@ 2015-02-16  3:45 Gavin Shan
  2015-02-16  3:45 ` [PATCH 01/10] powerpc/powernv: Shorten EEH function names Gavin Shan
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Gavin Shan @ 2015-02-16  3:45 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Gavin Shan

The EEH was implemented for PowerNV platform with 2 layers, which are
supported by "struct eeh_ops" and "struct pnv_eeh_ops" separately. The
latter, called chip layer, was introduced for EEH guest support initially.
However, the EEH guest support was implemented depending on "struct eeh_ops"
completely. So it's uncessary to maintain 2 layers for EEH implementation
on PowerNV platform, as Ben pointed out.

The series of patches is pretty much mechanically to move all functions
in eeh-ioda.c to eeh-powernv.c, which enables us to remove the chip
layer, equivalently to remove "struct pnv_eeh_ops" and eeh-ioda.c, to
have simplifed EEH implementation on PowerNV platform.

Gavin Shan (10):
  powerpc/powernv: Shorten EEH function names
  powerpc/powernv: Drop PHB operation err_inject()
  powerpc/powernv: Drop PHB operation post_init()
  powerpc/powernv: Drop PHB operation get_log()
  powerpc/powernv: Drop PHB operation configure_bridge()
  powerpc/powernv: Drop PHB operation set_option()
  powerpc/powernv: Drop PHB operation get_state()
  powerpc/powernv: Drop PHB operation next_error()
  powerpc/powernv: Drop PHB operation reset()
  powerpc/powernv: Remove unused file

 arch/powerpc/platforms/powernv/Makefile      |    2 +-
 arch/powerpc/platforms/powernv/eeh-ioda.c    | 1149 --------------------------
 arch/powerpc/platforms/powernv/eeh-powernv.c | 1146 ++++++++++++++++++++++---
 arch/powerpc/platforms/powernv/pci-ioda.c    |    7 +-
 arch/powerpc/platforms/powernv/pci.h         |   25 +-
 5 files changed, 1041 insertions(+), 1288 deletions(-)
 delete mode 100644 arch/powerpc/platforms/powernv/eeh-ioda.c

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-02-16  3:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16  3:45 [PATCH 00/10] powerpc/powernv: Simplify EEH Implementation Gavin Shan
2015-02-16  3:45 ` [PATCH 01/10] powerpc/powernv: Shorten EEH function names Gavin Shan
2015-02-16  3:45 ` [PATCH 02/10] powerpc/powernv: Drop PHB operation err_inject() Gavin Shan
2015-02-16  3:45 ` [PATCH 03/10] powerpc/powernv: Drop PHB operation post_init() Gavin Shan
2015-02-16  3:45 ` [PATCH 04/10] powerpc/powernv: Drop PHB operation get_log() Gavin Shan
2015-02-16  3:45 ` [PATCH 05/10] powerpc/powernv: Drop PHB operation configure_bridge() Gavin Shan
2015-02-16  3:45 ` [PATCH 06/10] powerpc/powernv: Drop PHB operation set_option() Gavin Shan
2015-02-16  3:45 ` [PATCH 07/10] powerpc/powernv: Drop PHB operation get_state() Gavin Shan
2015-02-16  3:45 ` [PATCH 08/10] powerpc/powernv: Drop PHB operation next_error() Gavin Shan
2015-02-16  3:45 ` [PATCH 09/10] powerpc/powernv: Drop PHB operation reset() Gavin Shan
2015-02-16  3:45 ` [PATCH 10/10] powerpc/powernv: Remove unused file Gavin Shan

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).