2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/crypto
Subbaraya Sundeep 25d51ebf0f octeontx2: Set appropriate PF, VF masks and shifts based on silicon
Number of RVU PFs on CN20K silicon have increased to 96 from maximum
of 32 that were supported on earlier silicons. Every RVU PF and VF is
identified by HW using a 16bit PF_FUNC value. Due to the change in
Max number of PFs in CN20K, the bit encoding of this PF_FUNC has changed.

This patch handles the change by using helper functions(using silicon
check) to use PF,VF masks and shifts to support both new silicon CN20K,
OcteonTx series. These helper functions are used in different modules.

Also moved the NIX AF register offset macros to other files which
will be posted in coming patches.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sai Krishna <saikrishnag@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Link: https://patch.msgid.link/1749639716-13868-2-git-send-email-sbhatta@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-16 17:37:49 -07:00
..
allwinner crypto: sun8i-ce - move fallback ahash_request to the end of the struct 2025-05-19 13:48:48 +08:00
amcc crypto: crypto4xx - Remove ahash-related code 2025-05-12 13:32:52 +08:00
amlogic crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
aspeed crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
axis treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bcm crypto: bcm - set memory to zero only once 2025-02-22 15:56:03 +08:00
caam crypto: caam - Add support for i.MX8QM 2025-04-16 15:16:21 +08:00
cavium crypto: cavium/zip - Remove driver 2025-04-07 13:22:25 +08:00
ccp Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
ccree crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
chelsio crypto: drivers - Correct multiple typos in comments 2024-10-05 13:22:05 +08:00
gemini crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
hisilicon crypto: hisilicon/qm - replace devm_kzalloc with devm_kcalloc 2025-05-05 18:20:46 +08:00
inside-secure crypto: cbcmac - Set block size properly 2025-04-16 15:36:24 +08:00
intel crypto: qat - add missing header inclusion 2025-05-23 19:25:47 +08:00
marvell octeontx2: Set appropriate PF, VF masks and shifts based on silicon 2025-06-16 17:37:49 -07:00
nx crypto: nx - Use API partial block handling 2025-04-23 15:52:47 +08:00
qce crypto: qce - revert "use __free() for a buffer that's always freed" 2024-12-21 22:46:24 +08:00
rockchip crypto: rk3288 - use API helpers to setup fallback request 2025-04-16 15:16:21 +08:00
starfive crypto: starfive - remove unneeded crypto_engine_stop() call 2024-10-28 18:33:11 +08:00
stm32 This update includes the following changes: 2025-03-29 10:01:55 -07:00
tegra crypto: tegra - use API helpers to setup fallback request 2025-04-16 15:16:21 +08:00
virtio crypto: virtio - Erase some sensitive memory when it is freed 2025-03-15 15:08:54 +08:00
xilinx crypto: zynqmp-sha - Fix partial block implementation 2025-05-05 18:20:46 +08:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel - add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2025-04-16 15:16:21 +08:00
atmel-authenc.h
atmel-ecc.c crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-10-05 13:22:05 +08:00
atmel-i2c.c crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-i2c.h crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-sha204a.c crypto: atmel-sha204a - Set hwrng quality to lowest possible 2025-04-23 09:32:57 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel - add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2025-04-16 15:16:21 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel - add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2025-04-16 15:16:21 +08:00
exynos-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
geode-aes.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
geode-aes.h
hifn_795x.c crypto: hifn_795x - Remove unused hifn_*_command structs 2024-05-31 17:34:56 +08:00
img-hash.c crypto: img-hash - use API helpers to setup fallback request 2025-04-16 15:16:21 +08:00
Kconfig s390/crypto: Select crypto engine in Kconfig when PAES is chosen 2025-06-02 10:49:52 +02:00
Makefile crypto: cavium - Move cpt and nitrox rules into cavium Makefile 2025-04-07 13:22:25 +08:00
mxs-dcp.c crypto: mxs-dcp - Only set OTP_KEY bit for OTP key 2025-03-08 16:22:23 +08:00
omap-aes-gcm.c crypto: omap - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
omap-aes.c crypto: omap-aes - use dev_groups to register attribute groups 2025-04-07 13:22:26 +08:00
omap-aes.h crypto: omap - switch from scatter_walk to plain offset 2025-01-14 11:38:32 +08:00
omap-crypto.c
omap-crypto.h
omap-des.c crypto: omap - switch from scatter_walk to plain offset 2025-01-14 11:38:32 +08:00
omap-sham.c crypto: omap-sham - use dev_groups to register attribute groups 2025-04-07 13:22:26 +08:00
padlock-aes.c
padlock-sha.c crypto: padlock-sha - Use core import and export for fallback 2025-05-05 18:20:46 +08:00
qcom-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
s5p-sss.c crypto: s5p-sss - Add missing header inclusions 2025-04-16 15:16:21 +08:00
sa2ul.c crypto: sa2ul - Use proper helpers to setup request 2025-04-07 13:22:26 +08:00
sa2ul.h crypto: sa2ul - change unsafe data size limit to 255 bytes 2023-05-19 16:45:43 +08:00
sahara.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.h