TPM_CAP_FLAG_PERM
if (tpm1_getcap(chip, TPM_CAP_FLAG_PERM, &cap,
if (subcap_id == TPM_CAP_FLAG_PERM ||