Use pib target for sbe_mpipl_get_ti_info call

Attention handler was incorrectly using the fsi target for the call to
sbe_mpipl_get_ti_info. Changed code to use a pib target.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I037508accf24d562c7dc8f04a25d4d245f9fc2eb
diff --git a/attn/attn_handler.cpp b/attn/attn_handler.cpp
index 9bd3ac7..016b33f 100644
--- a/attn/attn_handler.cpp
+++ b/attn/attn_handler.cpp
@@ -244,12 +244,20 @@
     int rc = RC_SUCCESS; // assume special attention handled
 
     // The TI infor chipop will give us a pointer to the TI info data
-    uint8_t* tiInfo           = nullptr; // ptr to TI info data
-    uint32_t tiInfoLen        = 0;       // length of TI info data
-    pdbg_target* tiInfoTarget = i_attention->getTarget(); // get TI info target
+    uint8_t* tiInfo    = nullptr; // ptr to TI info data
+    uint32_t tiInfoLen = 0;       // length of TI info data
+    pdbg_target *tiInfoTarget, *attnProc;
 
-    // Get length and location of TI info data
-    sbe_mpipl_get_ti_info(tiInfoTarget, &tiInfo, &tiInfoLen);
+    attnProc = i_attention->getTarget();
+
+    pdbg_for_each_target("pib", attnProc, tiInfoTarget)
+    {
+        if (PDBG_TARGET_ENABLED == pdbg_target_probe(tiInfoTarget))
+        {
+            sbe_mpipl_get_ti_info(tiInfoTarget, &tiInfo, &tiInfoLen);
+            break;
+        }
+    }
 
     // Note: If we want to support running this application on architectures
     // of different endian-ness we need to handler that here. The TI data