All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] firmware: stratix10-svc: Add new FCS support
@ 2022-03-14 14:09 tien.sung.ang
  0 siblings, 0 replies; only message in thread
From: tien.sung.ang @ 2022-03-14 14:09 UTC (permalink / raw)
  To: Dinh Nguyen; +Cc: linux-kernel, Ang Tien Sung

From: Ang Tien Sung <tien.sung.ang@intel.com>

Hi,
Beginning with Stratix10 and Agilex, a new fpga crypto services shall be
supported. This is a first of many patches to add new cryto
functionalities in the form of new commands to the firmware svc driver.
The new crytpo services are provided by the Secure device manager(SDM).
The firmware SVC driver receives the commands from the client drivers
and sends this command via SMC calls to the Arm trusted firmware(ATF) or
U-boot firmware at EL3. The firmware interrupt service handlers than,
processes the new commands and send them the SDM's mailbox. 
To support asynchronos commands, we have introduced a
INTEL_SIP_SMP_SERVICE_COMPLETED command to poll the completion of the
crypto operations. This polling commands are essential for the rest of
the FCS commands. All new FCS commands shall have a prefix of
INTEL_SIP_SMC_FCS_XXXXX.
There shall also be a new FCS client device driver called intel_fcs 
that will be added. The SVC firmware driver registers the new FCS client
driver and allocates a new channel for this device driver. This brings
the total supported client drivers to 3 (RSU, FPGA and FCS)
We have tested this functionality by regression testing within Intel's
test framework. 

Ang Tien Sung (3):
  firmware: stratix10-svc: extend svc to support FCS features
  firmware: stratix10-svc: add new polling command for FCS
  firmware: stratix10-svc: add new FCS commands

 drivers/firmware/stratix10-svc.c              | 160 ++++++++++++++++--
 include/linux/firmware/intel/stratix10-smc.h  | 138 ++++++++++++++-
 .../firmware/intel/stratix10-svc-client.h     |  50 +++++-
 3 files changed, 326 insertions(+), 22 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-14  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 14:09 [PATCH v2 0/3] firmware: stratix10-svc: Add new FCS support tien.sung.ang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.