From: Gavin Shan Date: Mon, 27 Feb 2012 20:03:57 +0000 (+0000) Subject: powerpc/eeh: pseries platform PE state retrieval X-Git-Tag: v3.4-rc1~159^2~17^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb594a4754e71e41c048e0f1559bb6f13dab7070;p=pandora-kernel.git powerpc/eeh: pseries platform PE state retrieval On pSeries platform, there're 2 dedicated RTAS calls introduced to retrieve the corresponding PE's state: ibm,read-slot-reset-state and ibm,read-slot-reset-state2. The patch implements the retrieval of PE's state according to the given PE address. Besides, the implementation has been abstracted by struct eeh_ops::get_state so that EEH core components could support multiple platforms in future. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed