On Wed, 3 Jul 2019 13:17:16 +0200
Michal Suchánek [off-list ref] wrote:
On Wed, 3 Jul 2019 15:54:59 +0530
Sachin Sant [off-list ref] wrote:
quoted
Booting mainline kernel on PowerVM LPAR with vTPM enabled results
into a kernel crash.
[ 0.365989] BUG: Kernel NULL pointer dereference at 0x00000012
...
quoted
[ 0.366085] NIP [c00000000073dd80] tpm1_pcr_extend+0x130/0x230
[ 0.366090] LR [c00000000073dcd0] tpm1_pcr_extend+0x80/0x230
...
You need to revert (or fix up) commit 0b6cf6b97b7e ("tpm: pass an array
of tpm_extend_digest structures to tpm_pcr_extend()". At least
reverting it fixes the issue for me.
FTR this is the revert on lkml https://lkml.org/lkml/2019/7/1/423
Thanks
Michal