| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/firmware/meson/ |
| D | meson_sm.txt | 1 * Amlogic Secure Monitor 3 In the Amlogic SoCs the Secure Monitor code is used to provide access to the 6 Required properties for the secure monitor node: 7 - compatible: Should be "amlogic,meson-gxbb-sm" 12 sm: secure-monitor { 13 compatible = "amlogic,meson-gxbb-sm";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/firmware/meson/ |
| D | meson_sm.txt | 1 * Amlogic Secure Monitor 3 In the Amlogic SoCs the Secure Monitor code is used to provide access to the 6 Required properties for the secure monitor node: 7 - compatible: Should be "amlogic,meson-gxbb-sm" 12 sm: secure-monitor { 13 compatible = "amlogic,meson-gxbb-sm";
|
| /kernel/linux/linux-5.10/include/linux/firmware/intel/ |
| D | stratix10-smc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2017-2018, Intel Corporation 9 #include <linux/arm-smccc.h> 13 * This file defines the Secure Monitor Call (SMC) message protocol used for 14 * service layer driver in normal world (EL1) to communicate with secure 15 * monitor software in Secure Monitor Exception Level 3 (EL3). 17 * This file is shared with secure firmware (FW) which is out of kernel tree. 19 * An ARM SMC instruction takes a function identifier and up to 6 64-bit 20 * register values as arguments, and can return up to 4 64-bit register 21 * value. The operation of the secure monitor is determined by the parameter [all …]
|
| /kernel/linux/linux-4.19/arch/arm/firmware/ |
| D | Kconfig | 12 bool "Trusted Foundations secure monitor support" 16 Some devices (including most Tegra-based consumer devices on the 17 market) are booted with the Trusted Foundations secure monitor 18 active, requiring some core operations to be performed by the secure 19 monitor instead of the kernel. 21 This option allows the kernel to invoke the secure monitor whenever 24 tlm,trusted-foundations device tree binding documentation for details
|
| /kernel/linux/linux-5.10/drivers/firmware/meson/ |
| D | meson_sm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Amlogic Secure Monitor driver 9 #define pr_fmt(fmt) "meson-sm: " fmt 11 #include <linux/arm-smccc.h> 62 const struct meson_sm_cmd *cmd = chip->cmd; in meson_sm_get_cmd() 64 while (cmd->smc_id && cmd->index != cmd_index) in meson_sm_get_cmd() 67 return cmd->smc_id; in meson_sm_get_cmd() 91 * meson_sm_call - generic SMC32 call to the secure-monitor 93 * @fw: Pointer to secure-monitor firmware 109 if (!fw->chip) in meson_sm_call() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Amlogic Secure Monitor driver 10 Say y here to enable the Amlogic secure monitor driver
|
| /kernel/linux/linux-4.19/arch/arm/mach-bcm/ |
| D | bcm_kona_smc.c | 37 {.compatible = "brcm,kona-smc"}, 38 {.compatible = "bcm,kona-smc"}, /* deprecated name */ 54 return -ENODEV; in bcm_kona_smc_init() 58 return -EINVAL; in bcm_kona_smc_init() 60 /* We assume space for four 32-bit arguments */ in bcm_kona_smc_init() 62 return -EINVAL; in bcm_kona_smc_init() 67 return -EINVAL; in bcm_kona_smc_init() 71 return -ENOMEM; in bcm_kona_smc_init() 74 pr_info("Kona Secure API initialized\n"); in bcm_kona_smc_init() 82 * Only core 0 can run the secure monitor code. If an "smc" request [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-bcm/ |
| D | bcm_kona_smc.c | 37 {.compatible = "brcm,kona-smc"}, 38 {.compatible = "bcm,kona-smc"}, /* deprecated name */ 54 return -ENODEV; in bcm_kona_smc_init() 58 return -EINVAL; in bcm_kona_smc_init() 60 /* We assume space for four 32-bit arguments */ in bcm_kona_smc_init() 62 return -EINVAL; in bcm_kona_smc_init() 67 return -EINVAL; in bcm_kona_smc_init() 71 return -ENOMEM; in bcm_kona_smc_init() 74 pr_info("Kona Secure API initialized\n"); in bcm_kona_smc_init() 82 * Only core 0 can run the secure monitor code. If an "smc" request [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/ |
| D | amlogic-efuse.txt | 4 - compatible: should be "amlogic,meson-gxbb-efuse" 5 - clocks: phandle to the efuse peripheral clock provided by the 7 - secure-monitor: phandle to the secure-monitor node 16 compatible = "amlogic,meson-gxbb-efuse"; 18 #address-cells = <1>; 19 #size-cells = <1>; 20 secure-monitor = <&sm>; 35 sm: secure-monitor { 36 compatible = "amlogic,meson-gxbb-sm"; 46 nvmem-cells = <ð_mac>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/firmware/ |
| D | intel,stratix10-svc.txt | 3 Intel Stratix10 SoC is composed of a 64 bit quad-core ARM Cortex A53 hard 4 processor system (HPS) and Secure Device Manager (SDM). When the FPGA is 10 communication with SDM, only the secure world of software (EL3, Exception 18 driver also manages secure monitor call (SMC) to communicate with secure monitor 22 ------------------- 26 - compatible: "intel,stratix10-svc" or "intel,agilex-svc" 27 - method: smc or hvc 28 smc - Secure Monitor Call 29 hvc - Hypervisor Call 30 - memory-region: [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 15 set of operating system-independent software interfaces that are 17 interfaces for: Discovery and self-description of the interfaces 19 a given device or domain into the various power-saving states that 51 provides a mechanism for inter-processor communication between SCP 102 bool "Add firmware-provided memory map to sysfs" if EXPERT 105 Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap. 109 See also Documentation/ABI/testing/sysfs-firmware-memmap. 142 DMI-based module auto-loading. [all …]
|
| D | stratix10-svc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017-2018, Intel Corporation 19 #include <linux/firmware/intel/stratix10-smc.h> 20 #include <linux/firmware/intel/stratix10-svc-client.h> 24 * SVC_NUM_DATA_IN_FIFO - number of struct stratix10_svc_data in the FIFO 26 * SVC_NUM_CHANNEL - number of channel supported by service layer driver 28 * FPGA_CONFIG_DATA_CLAIM_TIMEOUT_MS - claim back the submitted buffer(s) 29 * from the secure world for FPGA manager to reuse, or to free the buffer(s) 30 * when all bit-stream data had be send. 32 * FPGA_CONFIG_STATUS_TIMEOUT_SEC - poll the FPGA configuration status, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/ |
| D | amlogic,meson-sec-pwrc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 --- 6 $id: "http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#" 7 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 9 title: Amlogic Meson Secure Power Domains 12 - Jianxin Pan <jianxin.pan@amlogic.com> 15 Secure Power Domains used in Meson A1/C1 SoCs, and should be the child node 16 of secure-monitor. 21 - amlogic,meson-a1-pwrc 23 "#power-domain-cells": [all …]
|
| /kernel/linux/linux-4.19/arch/arm/mach-omap2/ |
| D | omap-secure.h | 2 * omap-secure.h: OMAP Secure infrastructure header. 16 /* Monitor error code */ 24 /* Secure HAL API flags */ 31 /* Maximum Secure memory storage size */ 36 /* Secure low power HAL API index */ 42 /* Secure Monitor mode APIs */ 53 /* Secure PPA(Primary Protected Application) APIs */ 57 /* Secure RX-51 PPA (Primary Protected Application) APIs */
|
| D | omap-smc.S | 2 * OMAP34xx and OMAP44xx secure APIs file. 18 * This is common routine to manage secure monitor API 19 * used to modify the PL310 secure registers. 21 * the monitor API number. It uses few CPU registers 28 stmfd sp!, {r2-r12, lr} 33 ldmfd sp!, {r2-r12, pc} 38 * Low level common routine for secure HAL and PPA APIs. 45 stmfd sp!, {r4-r12, lr} 50 mov r12, #0x00 @ Secure Service ID 56 ldmfd sp!, {r4-r12, pc} [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | omap-secure.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * omap-secure.h: OMAP Secure infrastructure header. 15 /* Monitor error code */ 23 /* Secure HAL API flags */ 30 /* Maximum Secure memory storage size */ 35 /* Secure low power HAL API index */ 41 /* Secure Monitor mode APIs */ 52 /* Secure PPA(Primary Protected Application) APIs */ 60 /* Secure RX-51 PPA (Primary Protected Application) APIs */
|
| D | omap-smc.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * OMAP34xx and OMAP44xx secure APIs file. 15 * This is common routine to manage secure monitor API 16 * used to modify the PL310 secure registers. 18 * the monitor API number. It uses few CPU registers 23 .arch armv7-a 26 stmfd sp!, {r2-r12, lr} 31 ldmfd sp!, {r2-r12, pc} 36 * Low level common routine for secure HAL and PPA APIs. 43 stmfd sp!, {r4-r12, lr} [all …]
|
| /kernel/linux/linux-4.19/drivers/firmware/meson/ |
| D | meson_sm.c | 2 * Amlogic Secure Monitor driver 15 #define pr_fmt(fmt) "meson-sm: " fmt 17 #include <linux/arm-smccc.h> 66 const struct meson_sm_cmd *cmd = chip->cmd; in meson_sm_get_cmd() 68 while (cmd->smc_id && cmd->index != cmd_index) in meson_sm_get_cmd() 71 return cmd->smc_id; in meson_sm_get_cmd() 95 * meson_sm_call - generic SMC32 call to the secure-monitor 113 return -ENOENT; in meson_sm_call() 117 return -EINVAL; in meson_sm_call() 129 * meson_sm_call_read - retrieve data from secure-monitor [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/ |
| D | pmu.txt | 1 * ARM Performance Monitor Units 5 representation in the device tree should be done as under:- 9 - compatible : should be one of 10 "apm,potenza-pmu" 11 "arm,armv8-pmuv3" 12 "arm,cortex-a73-pmu" 13 "arm,cortex-a72-pmu" 14 "arm,cortex-a57-pmu" 15 "arm,cortex-a53-pmu" 16 "arm,cortex-a35-pmu" [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-highbank/ |
| D | smc.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copied from omap44xx-smc.S Copyright (C) 2010 Texas Instruments, Inc. 10 * This is common routine to manage secure monitor API 11 * used to modify the PL310 secure registers. 13 * the monitor API number. 16 .arch armv7-a 19 stmfd sp!, {r4-r11, lr} 24 ldmfd sp!, {r4-r11, pc}
|
| /kernel/linux/linux-4.19/arch/arm/mach-highbank/ |
| D | smc.S | 2 * Copied from omap44xx-smc.S Copyright (C) 2010 Texas Instruments, Inc. 13 * This is common routine to manage secure monitor API 14 * used to modify the PL310 secure registers. 16 * the monitor API number. 21 stmfd sp!, {r4-r11, lr} 26 ldmfd sp!, {r4-r11, pc}
|
| /kernel/linux/linux-4.19/arch/arm/common/ |
| D | secure_cntvoff.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Initialization of CNTVOFF register from secure mode 13 .arch armv7-a 15 * CNTVOFF has to be initialized either from non-secure Hypervisor 16 * mode or secure Monitor mode with SCR.NS==1. If TrustZone is enabled 17 * then it should be handled by the secure code. The CPU must implement 21 mrc p15, 0, r1, c1, c1, 0 /* Get Secure Config */ 23 mcr p15, 0, r0, c1, c1, 0 /* Set Non Secure bit */ 28 mcr p15, 0, r1, c1, c1, 0 /* Set Secure bit */
|
| /kernel/linux/linux-5.10/arch/arm/common/ |
| D | secure_cntvoff.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Initialization of CNTVOFF register from secure mode 13 .arch armv7-a 15 * CNTVOFF has to be initialized either from non-secure Hypervisor 16 * mode or secure Monitor mode with SCR.NS==1. If TrustZone is enabled 17 * then it should be handled by the secure code. The CPU must implement 21 mrc p15, 0, r1, c1, c1, 0 /* Get Secure Config */ 23 mcr p15, 0, r0, c1, c1, 0 /* Set Non Secure bit */ 28 mcr p15, 0, r1, c1, c1, 0 /* Set Secure bit */
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | pmu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM Performance Monitor Units 10 - Mark Rutland <mark.rutland@arm.com> 11 - Will Deacon <will.deacon@arm.com> 16 representation in the device tree should be done as under:- 21 - enum: 22 - apm,potenza-pmu 23 - arm,armv8-pmuv3 # Only for s/w models [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/ |
| D | brcm,kona-smc.txt | 1 Broadcom Secure Monitor Bounce buffer 2 ----------------------------------------------------- 4 used for non-secure to secure communications. 7 - compatible : "brcm,kona-smc" 8 - DEPRECATED: compatible : "bcm,kona-smc" 9 - reg : Location and size of bounce buffer 13 compatible = "brcm,bcm11351-smc", "brcm,kona-smc";
|