Patch "tpm: return a TPM_RC_COMMAND_CODE response if command is not implemented" has been added to the 4.15-stable tree