forked from microsoft/WSL2-Linux-Kernel
-
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 'v6.4-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…herbert/crypto-2.6 Pull crypto updates from Herbert Xu: "API: - Total usage stats now include all that returned errors (instead of just some) - Remove maximum hash statesize limit - Add cloning support for hmac and unkeyed hashes - Demote BUG_ON in crypto_unregister_alg to a WARN_ON Algorithms: - Use RIP-relative addressing on x86 to prepare for PIE build - Add accelerated AES/GCM stitched implementation on powerpc P10 - Add some test vectors for cmac(camellia) - Remove failure case where jent is unavailable outside of FIPS mode in drbg - Add permanent and intermittent health error checks in jitter RNG Drivers: - Add support for 402xx devices in qat - Add support for HiSTB TRNG - Fix hash concurrency issues in stm32 - Add OP-TEE firmware support in caam" * tag 'v6.4-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (139 commits) i2c: designware: Add doorbell support for Mendocino i2c: designware: Use PCI PSP driver for communication powerpc: Move Power10 feature PPC_MODULE_FEATURE_P10 crypto: p10-aes-gcm - Remove POWER10_CPU dependency crypto: testmgr - Add some test vectors for cmac(camellia) crypto: cryptd - Add support for cloning hashes crypto: cryptd - Convert hash to use modern init_tfm/exit_tfm crypto: hmac - Add support for cloning crypto: hash - Add crypto_clone_ahash/shash crypto: api - Add crypto_clone_tfm crypto: api - Add crypto_tfm_get crypto: x86/sha - Use local .L symbols for code crypto: x86/crc32 - Use local .L symbols for code crypto: x86/aesni - Use local .L symbols for code crypto: x86/sha256 - Use RIP-relative addressing crypto: x86/ghash - Use RIP-relative addressing crypto: x86/des3 - Use RIP-relative addressing crypto: x86/crc32c - Use RIP-relative addressing crypto: x86/cast6 - Use RIP-relative addressing crypto: x86/cast5 - Use RIP-relative addressing ...
- Loading branch information
Showing
257 changed files
with
6,776 additions
and
2,730 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/qcom-qce.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm crypto engine driver | ||
|
||
maintainers: | ||
- Bhupesh Sharma <bhupesh.sharma@linaro.org> | ||
|
||
description: | ||
This document defines the binding for the QCE crypto | ||
controller found on Qualcomm parts. | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- const: qcom,crypto-v5.1 | ||
deprecated: true | ||
description: Kept only for ABI backward compatibility | ||
|
||
- const: qcom,crypto-v5.4 | ||
deprecated: true | ||
description: Kept only for ABI backward compatibility | ||
|
||
- items: | ||
- enum: | ||
- qcom,ipq6018-qce | ||
- qcom,ipq8074-qce | ||
- qcom,msm8996-qce | ||
- qcom,sdm845-qce | ||
- const: qcom,ipq4019-qce | ||
- const: qcom,qce | ||
|
||
- items: | ||
- enum: | ||
- qcom,sm8250-qce | ||
- qcom,sm8350-qce | ||
- qcom,sm8450-qce | ||
- qcom,sm8550-qce | ||
- const: qcom,sm8150-qce | ||
- const: qcom,qce | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: iface clocks register interface. | ||
- description: bus clocks data transfer interface. | ||
- description: core clocks rest of the crypto block. | ||
|
||
clock-names: | ||
items: | ||
- const: iface | ||
- const: bus | ||
- const: core | ||
|
||
iommus: | ||
minItems: 1 | ||
maxItems: 8 | ||
description: | ||
phandle to apps_smmu node with sid mask. | ||
|
||
interconnects: | ||
maxItems: 1 | ||
description: | ||
Interconnect path between qce crypto and main memory. | ||
|
||
interconnect-names: | ||
const: memory | ||
|
||
dmas: | ||
items: | ||
- description: DMA specifiers for rx dma channel. | ||
- description: DMA specifiers for tx dma channel. | ||
|
||
dma-names: | ||
items: | ||
- const: rx | ||
- const: tx | ||
|
||
allOf: | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- qcom,crypto-v5.1 | ||
- qcom,crypto-v5.4 | ||
- qcom,ipq4019-qce | ||
|
||
then: | ||
required: | ||
- clocks | ||
- clock-names | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- dmas | ||
- dma-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,gcc-apq8084.h> | ||
crypto-engine@fd45a000 { | ||
compatible = "qcom,ipq6018-qce", "qcom,ipq4019-qce", "qcom,qce"; | ||
reg = <0xfd45a000 0x6000>; | ||
clocks = <&gcc GCC_CE2_AHB_CLK>, | ||
<&gcc GCC_CE2_AXI_CLK>, | ||
<&gcc GCC_CE2_CLK>; | ||
clock-names = "iface", "bus", "core"; | ||
dmas = <&cryptobam 2>, <&cryptobam 3>; | ||
dma-names = "rx", "tx"; | ||
iommus = <&apps_smmu 0x584 0x0011>, | ||
<&apps_smmu 0x586 0x0011>, | ||
<&apps_smmu 0x594 0x0011>, | ||
<&apps_smmu 0x596 0x0011>; | ||
}; |
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
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.