On Fri, Feb 01, 2019 at 09:33:09AM -0500, Mimi Zohar wrote: > Thanks! I just finished compiling, rebooting, and verifying the IMA > boot-aggregate matches. > > While compiling, I saw some messages that "TPM_BUFSIZE is redefined" > for tpm_i2c_infineon, tpm_i2c_nuvoton, and st33zp24. Didn't look to > see if this is a result of this patch set or not. > > The IMA boot-aggregate matches the PCRs. > > Tested-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> (on x86 for TPM 1.2 & PTT > TPM 2.0) Thank you. I found the reason for that warning. It is redefined, for reason unknown to me in drivers/char/tpm/st33zp24/st33zp24.h (commit bf38b8710892). I'll post a fix to that commit ASAP. After that commit has been applied I can apply Roberto's patches. /Jarkko