<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic QAT heartbeat with autoreset in Embedded Intel® Core™ Processors</title>
    <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-heartbeat-with-autoreset/m-p/715519#M3417</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enabled QAT autoreset on error and configured the QAT driver with "--enable-icp-hb-fail-sim" option. I noticed the following when I tried to test with "heartbeat_sim_fail".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;# cat /sys/kernel/debug/qat_dh895xcc_0000\:03\:00.0/heartbeat_sim_fail&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: adf_heartbeat_simulate_failure for random AE 9, thr 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# cat /sys/kernel/debug/qat_dh895xcc_0000\:03\:00.0/heartbeat&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: ERROR: QAT is not responding.&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: Quiescing device.&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: Disable arbiter.&lt;/P&gt;&lt;P&gt;------------[ cut here ]------------&lt;/P&gt;&lt;P&gt;WARNING: CPU: 30 PID: 184 at /home/srini/work/5.1.9/ap/build/tmp/work/ion-ion-linux/qat-dh895x/4.7.0.6-r1/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c:205 adf_device_reset_worker+0xd8/0x110 [intel_qat]&lt;/P&gt;&lt;P&gt;QAT: device reset failed. Device is in use&lt;/P&gt;&lt;P&gt;Modules linked in: esp4 sha512_generic ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_set ip_set_hash_ip ipt_REJECT nf_reject_ipv4 xt_policy iptable_nat xt_mark iptable_mangle xt_hashlimit xt_tcpudp xt_CT iptable_raw xt_multiport xt_conntrack xt_NFLOG nfnetlink_log nf_log_ipv4 nf_log_common xt_LOG nf_conntrack_sane nf_co&lt;/P&gt;&lt;P&gt;nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat libcrc32c nf_conntrack x86_pkg_temp_thermal&lt;/P&gt;&lt;P&gt;CPU: 30 PID: 184 Comm: kworker/30:1 Tainted: G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O&amp;nbsp;&amp;nbsp;4.10.17-yocto-standard #8&lt;/P&gt;&lt;P&gt;Hardware name: CloudGenix ion 7000/To be filled by O.E.M., BIOS ZG0 04/08/2019&lt;/P&gt;&lt;P&gt;Workqueue: qat_device_reset_wq adf_device_reset_worker [intel_qat]&lt;/P&gt;&lt;P&gt;Call Trace:&lt;/P&gt;&lt;P&gt;dump_stack+0x63/0x83&lt;/P&gt;&lt;P&gt;__warn+0xcb/0xf0&lt;/P&gt;&lt;P&gt;warn_slowpath_fmt+0x4f/0x60&lt;/P&gt;&lt;P&gt;adf_device_reset_worker+0xd8/0x110 [intel_qat]&lt;/P&gt;&lt;P&gt;process_one_work+0x1d0/0x480&lt;/P&gt;&lt;P&gt;worker_thread+0x48/0x4e0&lt;/P&gt;&lt;P&gt;kthread+0x108/0x140&lt;/P&gt;&lt;P&gt;? process_one_work+0x480/0x480&lt;/P&gt;&lt;P&gt;? kthread_create_on_node+0x40/0x40&lt;/P&gt;&lt;P&gt;ret_from_fork+0x2c/0x40&lt;/P&gt;&lt;P&gt;---[ end trace 0b5af0b0f873de6a ]---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===============================&lt;/P&gt;&lt;P&gt;Some information about the driver and firmware below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;# cat fw&lt;/P&gt;&lt;P&gt;4.7.0&lt;/P&gt;&lt;P&gt;# cat hw&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;# cat mmp&lt;/P&gt;&lt;P&gt;0.0.1&lt;/P&gt;&lt;P&gt;# ls&lt;/P&gt;&lt;P&gt;fw&amp;nbsp;hw&amp;nbsp;mmp&lt;/P&gt;&lt;P&gt;# pwd&lt;/P&gt;&lt;P&gt;/sys/kernel/debug/qat_dh895xcc_0000:03:00.0/version&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$cat versionfile&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_TYPE=QAT1.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_OS=L&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_MAJOR_NUMBER=4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_MINOR_NUMBER=7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_PATCH_NUMBER=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_BUILD_NUMBER=00006&lt;/P&gt;&lt;P&gt;=======================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===========================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Driver package name:&amp;nbsp;qat1.7.l.4.7.0-00006.tar.gz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Linux kernel version: 4.10.17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;H/W Info:&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;CPU Type:&amp;nbsp;Intel(R) Xeon(R) CPU E5-2640 v2 @ 2.00GHz&lt;/P&gt;&lt;P&gt;03:00.0 Co-processor: Intel Corporation DH895XCC Series QAT&lt;/P&gt;&lt;P&gt;==================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 12:29:43 GMT</pubDate>
    <dc:creator>SSant31</dc:creator>
    <dc:date>2019-11-12T12:29:43Z</dc:date>
    <item>
      <title>QAT heartbeat with autoreset</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-heartbeat-with-autoreset/m-p/715519#M3417</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I enabled QAT autoreset on error and configured the QAT driver with "--enable-icp-hb-fail-sim" option. I noticed the following when I tried to test with "heartbeat_sim_fail".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;======================================&lt;/P&gt;&lt;P&gt;# cat /sys/kernel/debug/qat_dh895xcc_0000\:03\:00.0/heartbeat_sim_fail&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: adf_heartbeat_simulate_failure for random AE 9, thr 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# cat /sys/kernel/debug/qat_dh895xcc_0000\:03\:00.0/heartbeat&lt;/P&gt;&lt;P&gt;-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: ERROR: QAT is not responding.&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: Quiescing device.&lt;/P&gt;&lt;P&gt;dh895xcc 0000:03:00.0: Disable arbiter.&lt;/P&gt;&lt;P&gt;------------[ cut here ]------------&lt;/P&gt;&lt;P&gt;WARNING: CPU: 30 PID: 184 at /home/srini/work/5.1.9/ap/build/tmp/work/ion-ion-linux/qat-dh895x/4.7.0.6-r1/quickassist/qat/drivers/crypto/qat/qat_common/adf_aer.c:205 adf_device_reset_worker+0xd8/0x110 [intel_qat]&lt;/P&gt;&lt;P&gt;QAT: device reset failed. Device is in use&lt;/P&gt;&lt;P&gt;Modules linked in: esp4 sha512_generic ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_set ip_set_hash_ip ipt_REJECT nf_reject_ipv4 xt_policy iptable_nat xt_mark iptable_mangle xt_hashlimit xt_tcpudp xt_CT iptable_raw xt_multiport xt_conntrack xt_NFLOG nfnetlink_log nf_log_ipv4 nf_log_common xt_LOG nf_conntrack_sane nf_co&lt;/P&gt;&lt;P&gt;nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat libcrc32c nf_conntrack x86_pkg_temp_thermal&lt;/P&gt;&lt;P&gt;CPU: 30 PID: 184 Comm: kworker/30:1 Tainted: G&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;O&amp;nbsp;&amp;nbsp;4.10.17-yocto-standard #8&lt;/P&gt;&lt;P&gt;Hardware name: CloudGenix ion 7000/To be filled by O.E.M., BIOS ZG0 04/08/2019&lt;/P&gt;&lt;P&gt;Workqueue: qat_device_reset_wq adf_device_reset_worker [intel_qat]&lt;/P&gt;&lt;P&gt;Call Trace:&lt;/P&gt;&lt;P&gt;dump_stack+0x63/0x83&lt;/P&gt;&lt;P&gt;__warn+0xcb/0xf0&lt;/P&gt;&lt;P&gt;warn_slowpath_fmt+0x4f/0x60&lt;/P&gt;&lt;P&gt;adf_device_reset_worker+0xd8/0x110 [intel_qat]&lt;/P&gt;&lt;P&gt;process_one_work+0x1d0/0x480&lt;/P&gt;&lt;P&gt;worker_thread+0x48/0x4e0&lt;/P&gt;&lt;P&gt;kthread+0x108/0x140&lt;/P&gt;&lt;P&gt;? process_one_work+0x480/0x480&lt;/P&gt;&lt;P&gt;? kthread_create_on_node+0x40/0x40&lt;/P&gt;&lt;P&gt;ret_from_fork+0x2c/0x40&lt;/P&gt;&lt;P&gt;---[ end trace 0b5af0b0f873de6a ]---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===============================&lt;/P&gt;&lt;P&gt;Some information about the driver and firmware below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;# cat fw&lt;/P&gt;&lt;P&gt;4.7.0&lt;/P&gt;&lt;P&gt;# cat hw&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;# cat mmp&lt;/P&gt;&lt;P&gt;0.0.1&lt;/P&gt;&lt;P&gt;# ls&lt;/P&gt;&lt;P&gt;fw&amp;nbsp;hw&amp;nbsp;mmp&lt;/P&gt;&lt;P&gt;# pwd&lt;/P&gt;&lt;P&gt;/sys/kernel/debug/qat_dh895xcc_0000:03:00.0/version&lt;/P&gt;&lt;P&gt;==============================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$cat versionfile&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_TYPE=QAT1.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_OS=L&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_MAJOR_NUMBER=4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_MINOR_NUMBER=7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_PATCH_NUMBER=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PACKAGE_VERSION_BUILD_NUMBER=00006&lt;/P&gt;&lt;P&gt;=======================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===========================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Driver package name:&amp;nbsp;qat1.7.l.4.7.0-00006.tar.gz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Linux kernel version: 4.10.17&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;H/W Info:&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;CPU Type:&amp;nbsp;Intel(R) Xeon(R) CPU E5-2640 v2 @ 2.00GHz&lt;/P&gt;&lt;P&gt;03:00.0 Co-processor: Intel Corporation DH895XCC Series QAT&lt;/P&gt;&lt;P&gt;==================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 12:29:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-heartbeat-with-autoreset/m-p/715519#M3417</guid>
      <dc:creator>SSant31</dc:creator>
      <dc:date>2019-11-12T12:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: QAT heartbeat with autoreset</title>
      <link>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-heartbeat-with-autoreset/m-p/715520#M3418</link>
      <description>&lt;P&gt;Hello, &lt;A href="https://community.intel.com/sfdc-users/SSant31"&gt;@SSant31&lt;/A&gt;​:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for contacting Intel Embedded Community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your Intel(R) QuickAssist Technology [QAT] consultations should be addressed as a reference to the channels listed at the following website:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://01.org/community" target="_self" alt="https://01.org/community"&gt;&lt;/A&gt;&lt;A href="https://01.org/community"&gt;https://01.org/community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.intel.com/sfdc-users/Mæcenas_INTEL"&gt;@Mæcenas_INTEL&lt;/A&gt;​.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 23:28:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Embedded-Intel-Core-Processors/QAT-heartbeat-with-autoreset/m-p/715520#M3418</guid>
      <dc:creator>CarlosAM_INTEL</dc:creator>
      <dc:date>2019-11-12T23:28:06Z</dc:date>
    </item>
  </channel>
</rss>

