switch (ehdr->reply_code) { case REP82_ERROR_INVALID_MSG_LEN: /* 0x23 */ case REP82_ERROR_RESERVD_FIELD: /* 0x24 */ case REP82_ERROR_FORMAT_FIELD: /* 0x29 */ case REP82_ERROR_MALFORMED_MSG: /* 0x40 */ case REP82_ERROR_INVALID_SPECIAL_CMD: /* 0x41 */ case REP82_ERROR_MESSAGE_LENGTH: /* 0x80 */ case REP82_ERROR_OPERAND_INVALID: /* 0x82 */ case REP82_ERROR_OPERAND_SIZE: /* 0x84 */ case REP82_ERROR_EVEN_MOD_IN_OPND: /* 0x85 */ case REP82_ERROR_INVALID_DOMAIN_PENDING: /* 0x8A */ case REP82_ERROR_FILTERED_BY_HYPERVISOR: /* 0x8B */ case REP82_ERROR_PACKET_TRUNCATED: /* 0xA0 */ case REP88_ERROR_MESSAGE_MALFORMD: /* 0x22 */ case REP88_ERROR_KEY_TYPE: /* 0x34 */ /* RY indicates malformed request */ if (ehdr->reply_code == REP82_ERROR_FILTERED_BY_HYPERVISOR &&
ehdr->type == TYPE86_RSP_CODE) { struct { struct type86_hdr hdr; struct type86_fmt2_ext fmt2;
} __packed * head = reply->msg; unsignedint apfs = *((u32 *)head->fmt2.apfs);
ZCRYPT_DBF_WARN("%s dev=%02x.%04x RY=0x%02x apfs=0x%x => rc=EINVAL\n",
__func__, card, queue,
ehdr->reply_code, apfs);
} else {
ZCRYPT_DBF_WARN("%s dev=%02x.%04x RY=0x%02x => rc=EINVAL\n",
__func__, card, queue,
ehdr->reply_code);
} return -EINVAL; case REP82_ERROR_MACHINE_FAILURE: /* 0x10 */ case REP82_ERROR_MESSAGE_TYPE: /* 0x20 */ case REP82_ERROR_TRANSPORT_FAIL: /* 0x90 */ /* *Msgtowrongtypeorcard/infrastructurefailure.Return *EAGAIN,theupperlayermaydoaretryontherequest.
*/ /* For type 86 response show the apfs value (failure reason) */ if (ehdr->reply_code == REP82_ERROR_TRANSPORT_FAIL &&
ehdr->type == TYPE86_RSP_CODE) { struct { struct type86_hdr hdr; struct type86_fmt2_ext fmt2;
} __packed * head = reply->msg; unsignedint apfs = *((u32 *)head->fmt2.apfs);
ZCRYPT_DBF_WARN( "%s dev=%02x.%04x RY=0x%02x apfs=0x%x => bus rescan, rc=EAGAIN\n",
__func__, card, queue, ehdr->reply_code, apfs);
} else {
ZCRYPT_DBF_WARN("%s dev=%02x.%04x RY=0x%02x => bus rescan, rc=EAGAIN\n",
__func__, card, queue,
ehdr->reply_code);
} return -EAGAIN; default: /* Assume request is valid and a retry will be worth it */
ZCRYPT_DBF_WARN("%s dev=%02x.%04x RY=0x%02x => rc=EAGAIN\n",
__func__, card, queue, ehdr->reply_code); return -EAGAIN;
}
}
#endif/* _ZCRYPT_ERROR_H_ */
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.9Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.