forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v5.20-p1' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/herbert/crypto-2.6 Pull crypto updates from Herbert Xu: "API: - Make proc files report fips module name and version Algorithms: - Move generic SHA1 code into lib/crypto - Implement Chinese Remainder Theorem for RSA - Remove blake2s - Add XCTR with x86/arm64 acceleration - Add POLYVAL with x86/arm64 acceleration - Add HCTR2 - Add ARIA Drivers: - Add support for new CCP/PSP device ID in ccp" * tag 'v5.20-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (89 commits) crypto: tcrypt - Remove the static variable initialisations to NULL crypto: arm64/poly1305 - fix a read out-of-bound crypto: hisilicon/zip - Use the bitmap API to allocate bitmaps crypto: hisilicon/sec - fix auth key size error crypto: ccree - Remove a useless dma_supported() call crypto: ccp - Add support for new CCP/PSP device ID crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq crypto: testmgr - some more fixes to RSA test vectors cyrpto: powerpc/aes - delete the rebundant word "block" in comments hwrng: via - Fix comment typo crypto: twofish - Fix comment typo crypto: rmd160 - fix Kconfig "its" grammar crypto: keembay-ocs-ecc - Drop if with an always false condition Documentation: qat: rewrite description Documentation: qat: Use code block for qat sysfs example crypto: lib - add module license to libsha1 crypto: lib - make the sha1 library optional crypto: lib - move lib/sha1.c into lib/crypto/ crypto: fips - make proc files report fips module name and version ...
- Loading branch information
Showing
114 changed files
with
9,140 additions
and
1,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
What: /sys/bus/pci/devices/<BDF>/qat/state | ||
Date: June 2022 | ||
KernelVersion: 5.20 | ||
Contact: [email protected] | ||
Description: (RW) Reports the current state of the QAT device. Write to | ||
the file to start or stop the device. | ||
|
||
The values are: | ||
|
||
* up: the device is up and running | ||
* down: the device is down | ||
|
||
|
||
It is possible to transition the device from up to down only | ||
if the device is up and vice versa. | ||
|
||
This attribute is only available for qat_4xxx devices. | ||
|
||
What: /sys/bus/pci/devices/<BDF>/qat/cfg_services | ||
Date: June 2022 | ||
KernelVersion: 5.20 | ||
Contact: [email protected] | ||
Description: (RW) Reports the current configuration of the QAT device. | ||
Write to the file to change the configured services. | ||
|
||
The values are: | ||
|
||
* sym;asym: the device is configured for running crypto | ||
services | ||
* dc: the device is configured for running compression services | ||
|
||
It is possible to set the configuration only if the device | ||
is in the `down` state (see /sys/bus/pci/devices/<BDF>/qat/state) | ||
|
||
The following example shows how to change the configuration of | ||
a device configured for running crypto services in order to | ||
run data compression:: | ||
|
||
# cat /sys/bus/pci/devices/<BDF>/qat/state | ||
up | ||
# cat /sys/bus/pci/devices/<BDF>/qat/cfg_services | ||
sym;asym | ||
# echo down > /sys/bus/pci/devices/<BDF>/qat/state | ||
# echo dc > /sys/bus/pci/devices/<BDF>/qat/cfg_services | ||
# echo up > /sys/bus/pci/devices/<BDF>/qat/state | ||
# cat /sys/bus/pci/devices/<BDF>/qat/cfg_services | ||
dc | ||
|
||
This attribute is only available for qat_4xxx devices. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9079,16 +9079,25 @@ S: Supported | |
F: Documentation/admin-guide/perf/hns3-pmu.rst | ||
F: drivers/perf/hisilicon/hns3_pmu.c | ||
|
||
HISILICON QM AND ZIP Controller DRIVER | ||
HISILICON QM DRIVER | ||
M: Weili Qian <[email protected]> | ||
M: Zhou Wang <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/ABI/testing/debugfs-hisi-zip | ||
F: drivers/crypto/hisilicon/Kconfig | ||
F: drivers/crypto/hisilicon/Makefile | ||
F: drivers/crypto/hisilicon/qm.c | ||
F: drivers/crypto/hisilicon/sgl.c | ||
F: drivers/crypto/hisilicon/zip/ | ||
F: include/linux/hisi_acc_qm.h | ||
|
||
HISILICON ZIP Controller DRIVER | ||
M: Yang Shen <[email protected]> | ||
M: Zhou Wang <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/ABI/testing/debugfs-hisi-zip | ||
F: drivers/crypto/hisilicon/zip/ | ||
|
||
HISILICON ROCE DRIVER | ||
M: Wenpeng Liang <[email protected]> | ||
M: Weihang Li <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.