On Sun, Nov 29, 2020 at 02:30:22PM -0800, James Bottomley wrote: > + default: > + /* > + * If this warning triggers, send a patch to > + * add both a PCR_ATTR_BUILD() macro above for > + * the missing algorithm as well as an > + * additional case in this switch statement. > + */ > + WARN(1, "TPM with unsupported bank algorthm 0x%04x", > + chip->allocated_banks[i].alg_id); Please use pr_info() here instead. We don't want to dump the stack because of this. Nothing is working as far as kernel goes in an unexpected manner. /Jarkko