[Skiboot] [PATCH 3/9] phb4: Remove unused code
Michael Neuling
mikey at neuling.org
Fri Oct 20 22:59:36 AEDT 2017
This is old unused code from phb3 so just remove it.
No functional change
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
hw/phb4.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/hw/phb4.c b/hw/phb4.c
index ceab7da933..a5f47a713c 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -3187,16 +3187,6 @@ static int64_t phb4_eeh_next_error(struct phb *phb,
* for the case.
*/
if (p->err.err_class == PHB4_ERR_CLASS_ER) {
-#if 0
- // FIXME XXXXX
- fir = phb4_read_reg_asb(p, PHB_LEM_FIR_ACCUM);
- if (fir & PPC_BIT(60)) {
- phb4_pcicfg_read32(&p->phb, 0,
- p->aercap + PCIECAP_AER_UE_STATUS, &cfg32);
- if (cfg32 & PCIECAP_AER_UE_MALFORMED_TLP)
- p->err.err_class = PHB4_ERR_CLASS_FENCED;
- }
-#endif
}
switch (p->err.err_class) {
--
2.11.0
More information about the Skiboot
mailing list