summaryrefslogtreecommitdiffstats
path: root/mm/quicklist.c
diff options
context:
space:
mode:
authorjmlatten@linux.vnet.ibm.com <jmlatten@linux.vnet.ibm.com>2015-02-20 18:11:24 -0600
committerPeter Huewe <peterhuewe@gmx.de>2015-03-05 23:41:46 +0100
commit6da2517ddb03cb12c6e8bbe449b5ed1b51878642 (patch)
tree6ecd23deab4ad9f8c3809cefcab3d7488abc6ec1 /mm/quicklist.c
parent74f0414b2f9a6b12df208a69baa21e22178a2463 (diff)
downloadtalos-op-linux-6da2517ddb03cb12c6e8bbe449b5ed1b51878642.tar.gz
talos-op-linux-6da2517ddb03cb12c6e8bbe449b5ed1b51878642.zip
tpm/ibmvtpm: Additional LE support for tpm_ibmvtpm_send
Problem: When IMA and VTPM are both enabled in kernel config, kernel hangs during bootup on LE OS. Why?: IMA calls tpm_pcr_read() which results in tpm_ibmvtpm_send and tpm_ibmtpm_recv getting called. A trace showed that tpm_ibmtpm_recv was hanging. Resolution: tpm_ibmtpm_recv was hanging because tpm_ibmvtpm_send was sending CRQ message that probably did not make much sense to phype because of Endianness. The fix below sends correctly converted CRQ for LE. This was not caught before because it seems IMA is not enabled by default in kernel config and IMA exercises this particular code path in vtpm. Tested with IMA and VTPM enabled in kernel config and VTPM enabled on both a BE OS and a LE OS ppc64 lpar. This exercised CRQ and TPM command code paths in vtpm. Patch is against Peter's tpmdd tree on github which included Vicky's previous vtpm le patches. Signed-off-by: Joy Latten <jmlatten@linux.vnet.ibm.com> Cc: <stable@vger.kernel.org> # eb71f8a5e33f: "Added Little Endian support to vtpm module" Cc: <stable@vger.kernel.org> Reviewed-by: Ashley Lai <ashley@ahsleylai.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud