------- Comment From <email address hidden> 2017-02-23 16:09 EDT-------
I've verified that the kernel config options we requested are in fact enabled in the Ubuntu 17.04 daily kernel. However, there are 2 problems for which I'll open separate bugs.
1. Some additional options that were not requested and should not be enabled were enabled:
2. We've found that msleep() is buggy and causes excessive delays in TPM extend operations during bursts of measurements from IMA. Currently with IMA enabled by passing ima_tcb on the kernel command line, the kernel will not boot. We have a proof of concept patch that changes msleep() to usleep_ranged() in the Nuvoton I2C TPM device driver, which remedies the problem on our platform.
------- Comment From <email address hidden> 2017-02-23 16:09 EDT-------
I've verified that the kernel config options we requested are in fact enabled in the Ubuntu 17.04 daily kernel. However, there are 2 problems for which I'll open separate bugs.
1. Some additional options that were not requested and should not be enabled were enabled:
CONFIG_ IMA_APPRAISE_ SIGNED_ INIT IMA_BLACKLIST_ KEYRING IMA_KEYRINGS_ PERMIT_ SIGNED_ BY_BUILTIN_ OR_SECONDARY IIMA_READ_ POLICY IIMA_WRITE_ POLICY
CONFIG_
CONFIG_
CONFIG_
CONFIG_
2. We've found that msleep() is buggy and causes excessive delays in TPM extend operations during bursts of measurements from IMA. Currently with IMA enabled by passing ima_tcb on the kernel command line, the kernel will not boot. We have a proof of concept patch that changes msleep() to usleep_ranged() in the Nuvoton I2C TPM device driver, which remedies the problem on our platform.