<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/qat/qat_api, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>qat: Export missing symbols in qat_common</title>
<updated>2025-12-29T16:13:53+00:00</updated>
<author>
<name>Rupesh Pilania</name>
<email>rupeshpilania@gmail.com</email>
</author>
<published>2025-12-29T16:13:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6ea05372bea5bdb19ca329c27c4c6510cbeed7c8'/>
<id>6ea05372bea5bdb19ca329c27c4c6510cbeed7c8</id>
<content type='text'>
Some symbols required by dependent modules were missing from
qat_common.ko and qat_api.ko, causing load failures when local symbol
resolution is disabled.

PR:		291271
Reviewed by:	zlei, markj
Differential Revision:	https://reviews.freebsd.org/D54107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some symbols required by dependent modules were missing from
qat_common.ko and qat_api.ko, causing load failures when local symbol
resolution is disabled.

PR:		291271
Reviewed by:	zlei, markj
Differential Revision:	https://reviews.freebsd.org/D54107
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: add disable safe dc mode for QAT SPR devices</title>
<updated>2025-06-06T13:42:58+00:00</updated>
<author>
<name>Hareshx Sankar Raj</name>
<email>hareshx.sankar.raj@intel.com</email>
</author>
<published>2025-04-30T00:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5a8e5215cef0dac1115853889e925099f61bb5fa'/>
<id>5a8e5215cef0dac1115853889e925099f61bb5fa</id>
<content type='text'>
Build and sysctl configuration modes are introduced for QAT SPR
devices to disable safe dc mode. A new QAT driver build option
‘QAT_DISABLE_SAFE_DC_MODE’ is required to build the QAT driver
with code that allows a request to be sent to FW to override the
‘History Buffer’ mitigation. Default QAT driver builds do not
include this ‘QAT_DISABLE_SAFE_DC_MODE’ build option. Even if the
QAT driver was built with code that allows a request to be sent to
FW to override the ‘History Buffer’ mitigation, the QAT driver must
still be configured using sysctl to request an override of the
‘History Buffer’ mitigation if desired. The default QAT driver
configuration option sysctl dev.qat.X.disable_safe_dc_mode does not
allow override of the mitigation. The new sysctl attribute
disable_safe_dc_mode is to be set to 1 for overriding the history
buffer mitigation. Firmware for qat_4xxx is updated for this change.
If this mode is enabled, decompression throughput increases but may
result in a data leak if num_user_processes is more than 1.
This option is to be enabled only if your system is not prone to
user data leaks.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Build and sysctl configuration modes are introduced for QAT SPR
devices to disable safe dc mode. A new QAT driver build option
‘QAT_DISABLE_SAFE_DC_MODE’ is required to build the QAT driver
with code that allows a request to be sent to FW to override the
‘History Buffer’ mitigation. Default QAT driver builds do not
include this ‘QAT_DISABLE_SAFE_DC_MODE’ build option. Even if the
QAT driver was built with code that allows a request to be sent to
FW to override the ‘History Buffer’ mitigation, the QAT driver must
still be configured using sysctl to request an override of the
‘History Buffer’ mitigation if desired. The default QAT driver
configuration option sysctl dev.qat.X.disable_safe_dc_mode does not
allow override of the mitigation. The new sysctl attribute
disable_safe_dc_mode is to be set to 1 for overriding the history
buffer mitigation. Firmware for qat_4xxx is updated for this change.
If this mode is enabled, decompression throughput increases but may
result in a data leak if num_user_processes is more than 1.
This option is to be enabled only if your system is not prone to
user data leaks.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379
</pre>
</div>
</content>
</entry>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Add Intel® 4xxx Series VF driver support</title>
<updated>2023-06-12T17:44:01+00:00</updated>
<author>
<name>Krzysztof Zdziarski</name>
<email>krzysztofx.zdziarski@intel.com</email>
</author>
<published>2023-06-12T17:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=266b0663c598b7e50c2998974c16f89b7ac23e3a'/>
<id>266b0663c598b7e50c2998974c16f89b7ac23e3a</id>
<content type='text'>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series VF driver support.
- Device configurability via sysctls.
- UIO support for Intel® 4xxx Series devices.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D39850
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series VF driver support.
- Device configurability via sysctls.
- UIO support for Intel® 4xxx Series devices.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Karol Grzadziel &lt;karolx.grzadziel@intel.com&gt;

Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D39850
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Add Intel® 4xxx Series platform support</title>
<updated>2023-01-24T15:33:50+00:00</updated>
<author>
<name>Michal Gulbicki</name>
<email>michalx.gulbicki@intel.com</email>
</author>
<published>2023-01-24T14:31:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a977168c48d45085cdf0c40f9b9bde3850b1f3ea'/>
<id>a977168c48d45085cdf0c40f9b9bde3850b1f3ea</id>
<content type='text'>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series platform support.
- QuickAssist kernel API implementation update for Generation 4 device.
  Enabled services: symmetric cryptography and data compression.
- Increased default number of crypto instances in static configuration
  for performance purposes.

OCF backend changes:
- changed GCM/CCM MAC validation policy to generate MAC by HW
  and validate by SW due to the QAT HW limitations.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Jaraczewski &lt;michalx.jaraczewski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Adam Czupryna &lt;adamx.czupryna@intel.com&gt;
Patch co-authored by: Konrad Zelazny &lt;konradx.zelazny@intel.com&gt;
Patch co-authored by: Katarzyna Rucinska &lt;katarzynax.kargol@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Zbigniew Jedlinski &lt;zbigniewx.jedlinski@intel.com&gt;

Sponsored by:	Intel Corporation
Reviewed by:	markj, jhb
Differential Revision:	https://reviews.freebsd.org/D36254
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Overview:
Intel(R) QuickAssist Technology (Intel(R) QAT) provides hardware
acceleration for offloading security, authentication and compression
services from the CPU, thus significantly increasing the performance and
efficiency of standard platform solutions.

This commit introduces:
- Intel® 4xxx Series platform support.
- QuickAssist kernel API implementation update for Generation 4 device.
  Enabled services: symmetric cryptography and data compression.
- Increased default number of crypto instances in static configuration
  for performance purposes.

OCF backend changes:
- changed GCM/CCM MAC validation policy to generate MAC by HW
  and validate by SW due to the QAT HW limitations.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Jaraczewski &lt;michalx.jaraczewski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Adam Czupryna &lt;adamx.czupryna@intel.com&gt;
Patch co-authored by: Konrad Zelazny &lt;konradx.zelazny@intel.com&gt;
Patch co-authored by: Katarzyna Rucinska &lt;katarzynax.kargol@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Zbigniew Jedlinski &lt;zbigniewx.jedlinski@intel.com&gt;

Sponsored by:	Intel Corporation
Reviewed by:	markj, jhb
Differential Revision:	https://reviews.freebsd.org/D36254
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Remove non-existent path from -I.</title>
<updated>2022-09-29T22:06:31+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-09-29T22:06:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b1746534958ad2ed76202b127182a0b302757e35'/>
<id>b1746534958ad2ed76202b127182a0b302757e35</id>
<content type='text'>
Reviewed by:	markj
Reported by:	GCC -Wmissing-include-dirs
Differential Revision:	https://reviews.freebsd.org/D36779
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	markj
Reported by:	GCC -Wmissing-include-dirs
Differential Revision:	https://reviews.freebsd.org/D36779
</pre>
</div>
</content>
</entry>
<entry>
<title>LinuxKPI: define LINUXKPI_INCLUDES for module builds as well</title>
<updated>2022-09-26T19:34:01+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2022-09-23T21:18:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=514fb3872166a361faa81d89909f65913e90b1b2'/>
<id>514fb3872166a361faa81d89909f65913e90b1b2</id>
<content type='text'>
While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk
for kmod builds we've not had a common define to use leading to various
spellings of include paths.

In order for the include list to be expanded more easily in the future,
e.g., adding the "dummy" includes (for all) and to harmonize code,
duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.

MFC after:	1 week
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D36683
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk
for kmod builds we've not had a common define to use leading to various
spellings of include paths.

In order for the include list to be expanded more easily in the future,
e.g., adding the "dummy" includes (for all) and to harmonize code,
duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.

MFC after:	1 week
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D36683
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Move CWARNFLAGS down so it works.</title>
<updated>2022-09-02T21:52:55+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2022-09-02T21:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e120d3b2d48cc59b013b4e2fae292b738a294e21'/>
<id>e120d3b2d48cc59b013b4e2fae292b738a294e21</id>
<content type='text'>
CWARNFLAGS must be added to after including kern.mk, otherwise all the
warnings set in kern.mk are ignored.  This is why the
-Wmissing-prototypes warnings were not seen previously.

While here, drop -Wno-pointer-sign as it is doesn't seem to be needed,
but add -Wno-cast-qual to silence warnings for various casts of const
pointers to non-const pointers.

Reviewed by:	MichalX.Gulbicki_intel.com, markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D36332
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CWARNFLAGS must be added to after including kern.mk, otherwise all the
warnings set in kern.mk are ignored.  This is why the
-Wmissing-prototypes warnings were not seen previously.

While here, drop -Wno-pointer-sign as it is doesn't seem to be needed,
but add -Wno-cast-qual to silence warnings for various casts of const
pointers to non-const pointers.

Reviewed by:	MichalX.Gulbicki_intel.com, markj
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D36332
</pre>
</div>
</content>
</entry>
<entry>
<title>qat: Import a new Intel (R) QAT driver</title>
<updated>2022-07-27T15:12:35+00:00</updated>
<author>
<name>Julian Grajkowski</name>
<email>julianx.grajkowski@intel.com</email>
</author>
<published>2022-07-19T08:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=78ee8d1c4cdad7a56dbf50f1c8ade75531ce620c'/>
<id>78ee8d1c4cdad7a56dbf50f1c8ade75531ce620c</id>
<content type='text'>
QAT in-tree driver ported from out-of-tree release available
from 01.org.

The driver exposes complete cryptography and data compression
API in the kernel and integrates with Open Crypto Framework.
Details of supported operations, devices and usage can be found
in man and on 01.org.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Jaraczewski &lt;michalx.jaraczewski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Adam Czupryna &lt;adamx.czupryna@intel.com&gt;
Patch co-authored by: Konrad Zelazny &lt;konradx.zelazny@intel.com&gt;
Patch co-authored by: Katarzyna Rucinska &lt;katarzynax.kargol@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Zbigniew Jedlinski &lt;zbigniewx.jedlinski@intel.com&gt;

Reviewed by:	markj, jhb (OCF integration)
Reviewed by:	debdrup, pauamma (docs)
Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34632
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
QAT in-tree driver ported from out-of-tree release available
from 01.org.

The driver exposes complete cryptography and data compression
API in the kernel and integrates with Open Crypto Framework.
Details of supported operations, devices and usage can be found
in man and on 01.org.

Patch co-authored by: Krzysztof Zdziarski &lt;krzysztofx.zdziarski@intel.com&gt;
Patch co-authored by: Michal Jaraczewski &lt;michalx.jaraczewski@intel.com&gt;
Patch co-authored by: Michal Gulbicki &lt;michalx.gulbicki@intel.com&gt;
Patch co-authored by: Julian Grajkowski &lt;julianx.grajkowski@intel.com&gt;
Patch co-authored by: Piotr Kasierski &lt;piotrx.kasierski@intel.com&gt;
Patch co-authored by: Adam Czupryna &lt;adamx.czupryna@intel.com&gt;
Patch co-authored by: Konrad Zelazny &lt;konradx.zelazny@intel.com&gt;
Patch co-authored by: Katarzyna Rucinska &lt;katarzynax.kargol@intel.com&gt;
Patch co-authored by: Lukasz Kolodzinski &lt;lukaszx.kolodzinski@intel.com&gt;
Patch co-authored by: Zbigniew Jedlinski &lt;zbigniewx.jedlinski@intel.com&gt;

Reviewed by:	markj, jhb (OCF integration)
Reviewed by:	debdrup, pauamma (docs)
Sponsored by:	Intel Corporation
Differential Revision: https://reviews.freebsd.org/D34632
</pre>
</div>
</content>
</entry>
</feed>
