public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv1] Add Intel Stratix10 service layer driver
@ 2018-01-25 16:39 richard.gong
  2018-01-25 16:39 ` [PATCHv1] driver: misc: add " richard.gong
  2018-01-25 16:53 ` [PATCHv1] Add " Greg KH
  0 siblings, 2 replies; 10+ messages in thread
From: richard.gong @ 2018-01-25 16:39 UTC (permalink / raw)
  To: arnd, gregkh; +Cc: linux-kernel, richard.gong

From: Richard Gong <richard.gong@intel.com>

Intel Stratix10 SoC is composed of a 64 bit quad-core ARM Cortex A53 hard
processor system (HPS) and Secure Device Manager (SDM). SDM is the hardware
which does the FPGA configuration, QSPI, Crypto and warm reset.

When the FPGA is configured from HPS, there needs to be a way for HPS to
notify SDM the location and size of the configuration data. Then SDM will
get the configuration data from that location and perform the FPGA configuration.

To meet the whole system security needs and support virtual machine
requesting communication with SDM, only the secure world of software (EL3,
Exception Level 3) can interface with SDM. All software entities running
on other exception levels must channel through the EL3 software whenever it
needs service from SDM.

Intel Stratix10 service layer driver is added to provide the service for
FPGA configuration. Running at privileged exception level (EL1, Exception
Level 1), Intel Stratix10 service layer driver interfaces with the service
provider at EL1 (Intel Stratix10 FPGA Manager) and manages secure monitor
call (SMC) to communicate with secure monitor software at secure monitor
exception level (EL3).

Later the Intel Stratix10 service layer driver will be extended to provide
services for QSPI, Crypto and warm reset.

Richard Gong (1):
  driver: misc: add Intel Stratix10 service layer driver

 drivers/misc/Kconfig                       |   3 +-
 drivers/misc/Makefile                      |   3 +-
 drivers/misc/intel-service/Kconfig         |   9 +
 drivers/misc/intel-service/Makefile        |   2 +
 drivers/misc/intel-service/intel_service.c | 703 +++++++++++++++++++++++++++++
 include/linux/intel-service-client.h       | 227 ++++++++++
 include/linux/intel-service.h              | 122 +++++
 include/linux/intel-smc.h                  | 246 ++++++++++
 8 files changed, 1313 insertions(+), 2 deletions(-)
 create mode 100644 drivers/misc/intel-service/Kconfig
 create mode 100644 drivers/misc/intel-service/Makefile
 create mode 100644 drivers/misc/intel-service/intel_service.c
 create mode 100644 include/linux/intel-service-client.h
 create mode 100644 include/linux/intel-service.h
 create mode 100644 include/linux/intel-smc.h

-- 
2.7.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-02-22 21:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-25 16:39 [PATCHv1] Add Intel Stratix10 service layer driver richard.gong
2018-01-25 16:39 ` [PATCHv1] driver: misc: add " richard.gong
2018-01-25 16:54   ` Greg KH
2018-01-25 16:55   ` Greg KH
2018-01-25 16:58   ` Greg KH
2018-01-25 23:27   ` Randy Dunlap
2018-01-25 16:53 ` [PATCHv1] Add " Greg KH
2018-01-30  2:08   ` Richard Gong
2018-01-30  7:41     ` Greg KH
2018-02-22 21:43       ` Alan Tull

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox