Prevent infinite TPM reconfig loop
Prevent infinite TPM reconfig loop

When FSP detects TPM but Hostboot does not, the presence mismatch
handler forces the TPM present/functional and then guards it out
to prevent an infinite failover situation.  However in situations
where two nodes have opposite TPMs guarded, this can lead to infinite
reconfig loops.  This commit breaks the infinite reconfig loop
by not allowing the TPM to ever appear functional when a guard record
already exists.  It also inhibits generating new mismatch errors when a
part is already guarded out.

Change-Id: Ic4a7745894d97d8a4dff47d8db526ba215a34ed0
CQ: SW527030
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/118347
Reviewed-by: Ilya Smirnov <2c7a6ec38cfb553b896499595cca9c656159f2a4@us.ibm.com>
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Tested-by: Jenkins OP Build CI <e610bd72261d3c0a48f1e8ae36832ab00774d426@us.ibm.com>
Tested-by: Jenkins OP HW <0eb0fff262f74a65a832afbcc7b153e391c9a3fd@us.ibm.com>
Tested-by: Jenkins Combined Simics CI <8312af3886dfc9bb930f549023677220805b137e@us.ibm.com>
Tested-by: FSP CI Jenkins <aa9e4d9ac7cd25905e9c0dd36d4150516e73dd86@us.ibm.com>
Tested-by: Hostboot CI <52521565bd8ea18a2b112942dce4f4220a97c2c8@us.ibm.com>
Reviewed-by: Michael Baiocchi <a81f28e8886c5e2bd4bbd867228778c3b7b19dea@us.ibm.com>
Reviewed-by: Christian R Geddes <f397583a9caa8163a06ad1128784fb67413f2fe6@us.ibm.com>

open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot