[RFC PATCH 0/3]fpga: Add encrypted Bitstream loading support

Nava kishore Manne nava.kishore.manne at amd.com
Tue Nov 21 21:44:01 PST 2023


For user-key encrypted bitstream loading use case, users can encrypt
FPGA configuration Images with their own key.While decrypting the
configuration Image the user needs to provide the same key.To support
this use case with the existing FPGA manager framework is not possible
because it doesn’t have a mechanism to get the required inputs from
the user. So this patch series adds the required changes to the FPGA
manager framework to support user-key encrypted bitstream image loading
use case.

Please take a look at the changes and let us know if any improvements
are required.

Nava kishore Manne (3):
  dt-bindings: fpga: Add support for user-key encrypted bitstream
    loading
  drivers: fpga: Add user-key encrypted FPGA Image loading support
  fpga: zynqmp: Add encrypted Bitstream loading support

 .../devicetree/bindings/fpga/fpga-region.txt  | 32 +++++++
 drivers/fpga/fpga-mgr.c                       | 86 +++++++++++++++++--
 drivers/fpga/of-fpga-region.c                 | 10 +++
 drivers/fpga/zynqmp-fpga.c                    | 53 +++++++++++-
 include/linux/firmware/xlnx-zynqmp.h          |  2 +
 include/linux/fpga/fpga-mgr.h                 |  8 ++
 6 files changed, 181 insertions(+), 10 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list