[PATCH 00/15] crypto: zynqmp-aes-gcm: Bug fixes and aes-gcm support for Versal

Harsh Jain h.jain at amd.com
Wed Oct 29 03:21:43 PDT 2025


This series includes bug fixes and adds aes-gcm support for Versal device.
It is based on
https://github.com/Xilinx/linux-xlnx/commits/for-next/

because of dependency on below patches
Link: https://lore.kernel.org/r/20250701123851.1314531-2-jay.buddhabhatti@amd.com

Harsh Jain (15):
  firmware: zynqmp: Move crypto API's to separate file
  crypto: zynqmp-aes-gcm: cleanup: Remove union from zynqmp_aead_drv_ctx
  firmware: zynqmp: Add helper API to self discovery the device
  dt-bindings: crypto: Mark zynqmp-aes as Deprecated
  crypto: zynqmp-aes-gcm: Update probe to self discover the device
  crypto: zynqmp-aes-gcm: Return linux error code instead of firmware
    error code
  crypto: zynqmp-aes-gcm: Avoid Encrypt request to fallback for authsize
    < 16
  crypto: zynqmp-aes-gcm: Avoid submitting fallback requests to engine
  crypto: zynqmp-aes-gcm: Fix setkey operation to select HW keys
  crypto: zynqmp-aes-gcm: Change coherent DMA to streaming DMA API
  firmware: xilinx: Add firmware API's to support aes-gcm in Versal
    device
  crypto: xilinx: Replace zynqmp prefix with xilinx
  crypto: xilinx: cleanup: Remove un-necessary typecast operation
  crypto: zynqmp-aes-gcm: Save dma bit mask value in driver context
  crypto: xilinx: Add gcm(aes) support for AMD/Xilinx Versal device

 .../bindings/crypto/xlnx,zynqmp-aes.yaml      |   2 +
 .../firmware/xilinx/xlnx,zynqmp-firmware.yaml |   1 +
 drivers/crypto/xilinx/zynqmp-aes-gcm.c        | 820 ++++++++++++++----
 drivers/firmware/xilinx/Makefile              |   2 +-
 drivers/firmware/xilinx/zynqmp-crypto.c       | 239 +++++
 drivers/firmware/xilinx/zynqmp.c              |  49 --
 include/linux/firmware/xlnx-zynqmp-crypto.h   | 119 +++
 include/linux/firmware/xlnx-zynqmp.h          |  14 +-
 8 files changed, 1005 insertions(+), 241 deletions(-)
 create mode 100644 drivers/firmware/xilinx/zynqmp-crypto.c
 create mode 100644 include/linux/firmware/xlnx-zynqmp-crypto.h

-- 
2.49.1




More information about the linux-arm-kernel mailing list