/linux/Documentation/devicetree/bindings/misc/ |
H A D | qcom,fastrpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 The FastRPC implements an IPC (Inter-Processor Communication) 25 - adsp 26 - mdsp 27 - sdsp 28 - cdsp 29 - cdsp1 [all …]
|
/linux/drivers/iommu/ |
H A D | ipmmu-vmsa.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * IOMMU API for Renesas VMSA-compatible IPMMU 6 * Copyright (C) 2014-2020 Renesas Electronics Corporation 11 #include <linux/dma-mapping.h> 18 #include <linux/io-pgtable.h> 29 #include <asm/dma-iommu.h> 32 #define arm_iommu_attach_device(...) -ENODEV 37 #define IPMMU_CTX_INVALID -1 93 /* ----------------------------------------------------------------------------- 100 #define IMCTR 0x0000 /* R-Car Gen2/3 */ [all …]
|
H A D | msm_iommu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. 13 #include <linux/io-pgtable.h> 25 #include "msm_iommu_hw-8xxx.h" 42 struct iommu_domain domain; member 51 return container_of(dom, struct msm_priv, domain); in to_msm_priv() 58 ret = clk_enable(iommu->pclk); in __enable_clocks() 62 if (iommu->clk) { in __enable_clocks() 63 ret = clk_enable(iommu->clk); in __enable_clocks() 65 clk_disable(iommu->pclk); in __enable_clocks() [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-cpu-debug.rst | 9 ------------ 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 13 debug module and it is mainly used for two modes: self-hosted debug and 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 20 to sample CPU program counter, secure state and exception level, etc; usually 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 29 -------------- 31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID 32 registers to decide if sample-based profiling is implemented or not. On some [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | st,stm32mp25-rifsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/st,stm32mp25-rifsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Gatien Chevallier <gatien.chevallier@foss.st.com> 19 - RISC registers associated with RISUP logic (resource isolation device unit 20 for peripherals), assign all non-RIF aware peripherals to zero, one or 21 any security domains (secure, privilege, compartment). 22 - RIMC registers: associated with RIMU logic (resource isolation master 23 unit), assign all non RIF-aware bus master to one security domain by [all …]
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_ccamisc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 18 #define TOKTYPE_NON_CCA 0x00 /* Non-CCA key token */ 42 /* inside view of a CCA secure key token (only type 0x01 version 0x04) */ 82 /* AES-128 512 640 */ 83 /* AES-192 576 640 */ 84 /* AES-256 640 640 */ 98 /* inside view of an CCA secure ECC private key */ 108 u8 htype; /* hash method, 0x02 for SHA-256 */ 134 * Simple check if the token is a valid CCA secure AES data key 142 * Simple check if the token is a valid CCA secure AES cipher key [all …]
|
/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | arm,mhu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jassi Brar <jaswinder.singh@linaro.org> 13 The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has 3 19 be a 'Secure' resource, hence can't be used by Linux running NS. 22 interrupt signal using a 32-bit register, with all 32-bits logically ORed 28 interrupt. Each of the 32-bits can be used as "doorbell" to alert the remote 37 - arm,mhu 38 - arm,mhu-doorbell [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-2017 ARM Limited, All Rights Reserved. 26 #include <linux/irqchip/arm-gic-common.h> 27 #include <linux/irqchip/arm-gic-v3.h> 28 #include <linux/irqchip/arm-gic-v3-prio.h> 29 #include <linux/irqchip/irq-partition-percpu.h> 32 #include <linux/arm-smccc.h> 39 #include "irq-gic-common.h" 65 struct irq_domain *domain; member 91 * are potentially stolen by the secure side. Some code, especially code dealing [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | fujitsu,mb86s70-crg11.txt | 2 ----------------------------------- 5 - compatible : Shall contain "fujitsu,mb86s70-crg11" 6 - #clock-cells : Shall be 3 {cntrlr domain port} 13 compatible = "fujitsu,mb86s70-crg11"; 14 #clock-cells = <3>; 18 #mbox-cells = <1>; 21 interrupts = <0 36 4>, /* LP Non-Sec */ 22 <0 35 4>, /* HP Non-Sec */ 23 <0 37 4>; /* Secure */ 24 clocks = <&clock 0 2 1>; /* Cntrlr:0 Domain:2 Port:1 */ [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | omap-wakeupgen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * implemented in MPU always ON power domain. During normal operation, 28 #include "omap-wakeupgen.h" 29 #include "omap-secure.h" 32 #include "omap4-sar-layout.h" 138 _wakeupgen_clear(d->hwirq, irq_target_cpu[d->hwirq]); in wakeupgen_mask() 151 _wakeupgen_set(d->hwirq, irq_target_cpu[d->hwirq]); in wakeupgen_unmask() 179 if (inverted && d->hwirq != SYS_NIRQ1_EXT_SYS_IRQ_1 && in wakeupgen_irq_set_type() 180 d->hwirq != SYS_NIRQ2_EXT_SYS_IRQ_2) in wakeupgen_irq_set_type() 182 d->hwirq); in wakeupgen_irq_set_type() [all …]
|
H A D | pm34xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2006-2008 Nokia Corporation 13 * Richard Woodruff <r-woodruff2@ti.com> 42 #include "cm-regbits-34xx.h" 43 #include "prm-regbits-34xx.h" 47 #include "omap-secure.h" 97 * FIXME: This function should be called before entering off-mode after 98 * OMAP3 secure services have been accessed. Currently it is only called 99 * once during boot sequence, but this works as we are not using secure 213 /* Enable IO-PAD and IO-CHAIN wakeups */ in omap_sram_idle() [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-mxc_v2.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2004-2011 Freescale Semiconductor, Inc. 21 #define SRTC_LPCR_NSA BIT(11) /* lp non secure access */ 22 #define SRTC_LPCR_NVE BIT(14) /* lp non valid state exit bit */ 26 #define SRTC_LPSR_NVES BIT(14) /* lp non-valid state exit status */ 29 #define SRTC_LPSCMR 0x00 /* LP Secure Counter MSB Reg */ 30 #define SRTC_LPSCLR 0x04 /* LP Secure Counter LSB Reg */ 31 #define SRTC_LPSAR 0x08 /* LP Secure Alarm Reg */ 49 * To take care of the asynchronous CKIL clock, all writes from the IP domain 50 * will be synchronized to the CKIL domain. [all …]
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | arm,arch_timer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <marc.zyngier@arm.com> 11 - Mark Rutland <mark.rutland@arm.com> 13 ARM cores may have a per-core architected timer, which provides per-cpu timers, 17 The per-core architected timer is attached to a GIC to deliver its 18 per-processor interrupts via PPIs. The memory mapped timer is attached to a GIC 24 - items: 25 - const: arm,cortex-a15-timer [all …]
|
/linux/arch/arm/mach-ux500/ |
H A D | cpu-db8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2009 ST-Ericsson SA 14 #include <linux/irqchip/arm-gic.h> 15 #include <linux/mfd/dbx500-prcmu.h> 16 #include <linux/platform_data/arm-ux500-pm.h> 25 #include <asm/hardware/cache-l2x0.h> 35 np = of_find_compatible_node(NULL, NULL, "arm,pl310-cache"); in ux500_l2x0_unlock() 39 return -ENODEV; in ux500_l2x0_unlock() 42 * Unlock Data and Instruction Lock if locked. Ux500 U-Boot versions in ux500_l2x0_unlock() 61 * We can't write to secure registers as we are in non-secure in ux500_l2c310_write_sec() [all …]
|
/linux/Documentation/arch/s390/ |
H A D | vfio-ap.rst | 13 The AP adapter cards are exposed via the AP bus. The motivation for vfio-ap 45 sub-directory:: 50 * AP domain 53 depending upon the adapter type and hardware configuration. A domain is 54 identified by a number from 0 to 255; however, the maximum domain number is 55 determined by machine model and/or adapter type.. A domain can be thought of 57 domain can be configured with a secure private key used for clear key 58 encryption. A domain is classified in one of two ways depending upon how it 65 usage domain; for example, to set the secure private key for the control 66 domain. [all …]
|
/linux/Documentation/admin-guide/ |
H A D | thunderbolt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 ----------------------------------- 27 should be a userspace tool that handles all the low-level details, keeps 31 found in ``Documentation/ABI/testing/sysfs-bus-thunderbolt``. 35 ``/etc/udev/rules.d/99-local.rules``:: 66 secure 68 addition to UUID the device (if it supports secure connect) is sent 89 the Thunderbolt domain the host controller manages. There is typically 90 one domain per Thunderbolt host controller. 92 If the security level reads as ``user`` or ``secure`` the connected [all …]
|
/linux/include/xen/interface/io/ |
H A D | blkif.h | 1 /* SPDX-License-Identifier: MIT */ 5 * Unified block-device I/O interface for Xen guest OSes. 7 * Copyright (c) 2003-2004, Keir Fraser 17 * Front->back notifications: When enqueuing a new request, sending a 19 * hold-off mechanism provided by the ring macros). Backends must set 22 * Back->front notifications: When enqueuing a new response, sending a 24 * hold-off mechanism provided by the ring macros). Frontends must set 33 * If supported, the backend will write the key "multi-queue-max-queues" to 37 * key "multi-queue-num-queues" with the number they wish to use, which must be 39 * "multi-queue-max-queues". [all …]
|
/linux/Documentation/process/ |
H A D | embargoed-hardware-issues.rst | 7 ----- 23 ------- 31 Linux kernel security team (:ref:`Documentation/admin-guide/ 34 The team can be contacted by email at <hardware-security@kernel.org>. This 43 - PGP: https://www.kernel.org/static/files/hardware-security.asc 44 - S/MIME: https://www.kernel.org/static/files/hardware-security.crt 55 - Linus Torvalds (Linux Foundation Fellow) 56 - Greg Kroah-Hartman (Linux Foundation Fellow) 57 - Thomas Gleixner (Linux Foundation Fellow) 59 Operation of mailing-lists [all …]
|
/linux/arch/arm/mach-exynos/ |
H A D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. 6 // Exynos - Suspend support 8 // Based on arch/arm/mach-s3c2410/pm.c 23 #include <linux/soc/samsung/exynos-pmu.h> 24 #include <linux/soc/samsung/exynos-regs-pmu.h> 27 #include <asm/hardware/cache-l2x0.h> 36 #define REG_TABLE_END (-1U) 41 * struct exynos_wkup_irq - PMU IRQ to mask mapping 43 * @mask: Mask in PMU wake-up mask register [all …]
|
/linux/drivers/thunderbolt/ |
H A D | domain.c | 1 // SPDX-License-Identifier: GPL-2.0 24 if (id->match_flags & TBSVC_MATCH_PROTOCOL_KEY) { in match_service_id() 25 if (strcmp(id->protocol_key, svc->key)) in match_service_id() 29 if (id->match_flags & TBSVC_MATCH_PROTOCOL_ID) { in match_service_id() 30 if (id->protocol_id != svc->prtcid) in match_service_id() 34 if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) { in match_service_id() 35 if (id->protocol_version != svc->prtcvers) in match_service_id() 39 if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) { in match_service_id() 40 if (id->protocol_revision != svc->prtcrevs) in match_service_id() 59 if (!driver->id_table) in __tb_service_match() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-thunderbolt | 29 de-authorization of devices. Value of 1 means user can 30 de-authorize PCIe tunnel by writing 0 to authorized 53 secure Require devices that support secure connect at 78 0 The device will be de-authorized (only supported if 79 deauthorization attribute under domain contains 1) 87 0 The device will be de-authorized (only supported if 88 deauthorization attribute under domain contains 1) 117 Description: When a devices supports Thunderbolt secure connect it will 119 authorization to use the secure connection method instead. 202 -ENODATA instead as the NVM version is not available. [all …]
|
/linux/drivers/misc/ |
H A D | fastrpc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. 7 #include <linux/dma-buf.h> 8 #include <linux/dma-mapping.h> 9 #include <linux/dma-resv.h> 102 /* Protection Domain(PD) ids */ 281 bool secure; member 289 bool secure; member 317 if (map->table) { in fastrpc_free_map() 318 if (map->attr & FASTRPC_ATTR_SECUREMAP) { in fastrpc_free_map() [all …]
|
/linux/drivers/xen/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 The balloon driver allows the Xen domain to request more memory from 10 the system to expand the domain's memory allocation, or alternatively 23 It's also very useful for non PV domains to obtain unpopulated physical 28 1) target domain: ensure that memory auto online policy is in 32 2) control domain: xl mem-max <target-domain> <maxmem> 35 3) control domain: xl mem-set <target-domain> <memory> 40 target domain. 43 the newly added memory can be manually onlined in the target domain 51 …SUBSYSTEM=="memory", ACTION=="add", RUN+="/bin/sh -c '[ -f /sys$devpath/state ] && echo online > /… [all …]
|
/linux/arch/powerpc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 5 def_bool PPC64 && $(cc-option, -mabi=elfv2) 8 def_bool PPC64 && $(cc-option, -mcpu=power10 -mprefixed) 11 # Clang has a bug (https://github.com/llvm/llvm-project/issues/62372) 12 # where pcrel code is not generated if -msoft-float, -mno-altivec, or 13 # -mno-vsx options are also given. Without these options, fp/vec 16 def_bool PPC64 && CC_IS_GCC && $(cc-option, -mcpu=power10 -mpcrel) 35 # On Book3S 64, the default virtual address space for 64-bit processes 38 # between bottom-up and top-down allocations for applications that 41 default 29 if PPC_BOOK3S_64 && PPC_64K_PAGES # 29 = 45 (32T) - 16 (64K) [all …]
|
/linux/tools/arch/x86/kcpuid/ |
H A D | cpuid.csv | 1 # SPDX-License-Identifier: CC0-1.0 2 # Generator: x86-cpuid-db v1.0 5 # Auto-generated file. 6 # Please submit all updates and bugfixes to https://x86-cpuid.org 16 0, 0, ebx, 31:0, cpu_vendorid_0 , CPU vendor ID string bytes 0 - 3 17 0, 0, ecx, 31:0, cpu_vendorid_2 , CPU vendor ID string bytes 8 - 11 18 0, 0, edx, 31:0, cpu_vendorid_1 , CPU vendor ID string bytes 4 - 7 35 1, 0, ecx, 2, dtes64 , 64-bit DS save area 49 1, 0, ecx, 17, pcid , Process-context identifiers 56 1, 0, ecx, 24, tsc_deadline_timer , APIC timer one-shot operation [all …]
|