Home
last modified time | relevance | path

Searched +full:protection +full:- +full:domain (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,apr.txt7 - compatible:
10 Definition: must be "qcom,apr-v<VERSION-NUMBER>", example "qcom,apr-v2"
12 - qcom,apr-domain
17 1 - APR simulator
18 2 - PC
19 3 - MODEM
20 4 - ADSP
21 5 - APPS
22 6 - MODEM2
23 7 - APPS2
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,apr.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
20 - qcom,apr
21 - qcom,apr-v2
22 - qcom,gpr
24 power-domains:
27 qcom,apr-domain:
31 Selects the processor domain for apr
[all …]
Dqcom,apr-services.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,apr-services.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
39 qcom,protection-domain:
40 $ref: /schemas/types.yaml#/definitions/string-array
42 Protection domain service name and path for APR service (if supported).
51 - reg
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dapr.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
43 * apr_send_pkt() - Send a apr message from apr device
52 struct packet_router *apr = dev_get_drvdata(adev->dev.parent); in apr_send_pkt()
57 spin_lock_irqsave(&adev->svc.lock, flags); in apr_send_pkt()
59 hdr = &pkt->hdr; in apr_send_pkt()
60 hdr->src_domain = APR_DOMAIN_APPS; in apr_send_pkt()
61 hdr->src_svc = adev->svc.id; in apr_send_pkt()
62 hdr->dest_domain = adev->domain_id; in apr_send_pkt()
63 hdr->dest_svc = adev->svc.id; in apr_send_pkt()
[all …]
/kernel/linux/linux-6.6/drivers/soc/qcom/
Dapr.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
48 * apr_send_pkt() - Send a apr message from apr device
57 struct packet_router *apr = dev_get_drvdata(adev->dev.parent); in apr_send_pkt()
62 spin_lock_irqsave(&adev->svc.lock, flags); in apr_send_pkt()
64 hdr = &pkt->hdr; in apr_send_pkt()
65 hdr->src_domain = APR_DOMAIN_APPS; in apr_send_pkt()
66 hdr->src_svc = adev->svc.id; in apr_send_pkt()
67 hdr->dest_domain = adev->domain_id; in apr_send_pkt()
68 hdr->dest_svc = adev->svc.id; in apr_send_pkt()
[all …]
/kernel/linux/linux-5.10/drivers/iommu/
Dexynos-iommu.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/dma-mapping.h>
25 #include <linux/dma-iommu.h>
39 #define SECT_MASK (~(SECT_SIZE - 1))
40 #define LPAGE_MASK (~(LPAGE_SIZE - 1))
41 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
56 * v1.x - v3.x SYSMMU supports 32bit physical and 32bit virtual address spaces
63 static short PG_ENT_SHIFT = -1;
99 #define section_offs(iova) (iova & (SECT_SIZE - 1))
101 #define lpage_offs(iova) (iova & (LPAGE_SIZE - 1))
[all …]
/kernel/linux/linux-5.10/include/xen/
Dxen-ops.h1 /* SPDX-License-Identifier: GPL-2.0 */
102 return -EOPNOTSUPP; in xen_xlate_remap_gfn_array()
108 return -EOPNOTSUPP; in xen_xlate_unmap_gfn_range()
116 * xen_remap_domain_gfn_array() - map an array of foreign frames by gfn
121 * @err_ptr: Returns per-GFN error status.
122 * @prot: page protection mask
123 * @domid: Domain owning the pages
124 * @pages: Array of pages if this domain has an auto-translated physmap
129 * Returns the number of successfully mapped frames, or a -ve error
153 * xen_remap_domain_mfn_array() - map an array of foreign frames by mfn
[all …]
/kernel/linux/linux-6.6/include/xen/
Dxen-ops.h1 /* SPDX-License-Identifier: GPL-2.0 */
84 return -EOPNOTSUPP; in xen_xlate_remap_gfn_array()
90 return -EOPNOTSUPP; in xen_xlate_unmap_gfn_range()
98 * xen_remap_domain_gfn_array() - map an array of foreign frames by gfn
103 * @err_ptr: Returns per-GFN error status.
104 * @prot: page protection mask
105 * @domid: Domain owning the pages
106 * @pages: Array of pages if this domain has an auto-translated physmap
111 * Returns the number of successfully mapped frames, or a -ve error
135 * xen_remap_domain_mfn_array() - map an array of foreign frames by mfn
[all …]
/kernel/linux/linux-6.6/drivers/iommu/
Dexynos-iommu.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/dma-mapping.h>
37 #define SECT_MASK (~(SECT_SIZE - 1))
38 #define LPAGE_MASK (~(LPAGE_SIZE - 1))
39 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
54 * v1.x - v3.x SYSMMU supports 32bit physical and 32bit virtual address spaces
61 static short PG_ENT_SHIFT = -1;
97 #define section_offs(iova) (iova & (SECT_SIZE - 1))
99 #define lpage_offs(iova) (iova & (LPAGE_SIZE - 1))
101 #define spage_offs(iova) (iova & (SPAGE_SIZE - 1))
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-kernel-iommu_groups5 Description: /sys/kernel/iommu_groups/ contains a number of sub-
7 name of the sub-directory matches the iommu_group_id()
23 output direct-mapped, MSI, non mappable regions. Each
29 USB devices it is now exposed as "direct-relaxable" instead
38 domain in use by iommu for this group. See include/linux/iommu.h
45 DMA-FQ As above, but using batched invalidation to lazily
47 overhead at the cost of reduced memory protection.
50 but zero protection.
54 The default domain type of a group may be modified only when
56 - The device in the group is not bound to any device driver.
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dkyber.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 TP_PROTO(dev_t dev, const char *domain, const char *type,
20 TP_ARGS(dev, domain, type, percentile, numerator, denominator, samples),
24 __array( char, domain, DOMAIN_LEN )
33 __entry->dev = dev;
34 strscpy(__entry->domain, domain, sizeof(__entry->domain));
35 strscpy(__entry->type, type, sizeof(__entry->type));
36 __entry->percentile = percentile;
37 __entry->numerator = numerator;
38 __entry->denominator = denominator;
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
7 * 2-Clause License. This program is distributed in the hope that it
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
17 * The BSD 2-Clause License
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
52 #include <rdma/vmw_pvrdma-abi.h>
58 * pvrdma_query_device - query device
71 if (uhw->inlen || uhw->outlen) in pvrdma_query_device()
72 return -EINVAL; in pvrdma_query_device()
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c2 * Copyright (c) 2012-2016 VMware, Inc. All rights reserved.
7 * 2-Clause License. This program is distributed in the hope that it
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
17 * The BSD 2-Clause License
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
52 #include <rdma/vmw_pvrdma-abi.h>
58 * pvrdma_query_device - query device
71 if (uhw->inlen || uhw->outlen) in pvrdma_query_device()
72 return -EINVAL; in pvrdma_query_device()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dkyber.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 TP_PROTO(struct request_queue *q, const char *domain, const char *type,
20 TP_ARGS(q, domain, type, percentile, numerator, denominator, samples),
24 __array( char, domain, DOMAIN_LEN )
33 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));
34 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
35 strlcpy(__entry->type, type, sizeof(__entry->type));
36 __entry->percentile = percentile;
37 __entry->numerator = numerator;
38 __entry->denominator = denominator;
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dmmu.h1 /* SPDX-License-Identifier: GPL-2.0 */
40 (((1ULL << PT32_DIR_PSE36_SIZE) - 1) << PT32_DIR_PSE36_SHIFT)
52 return ((2ULL << (e - s)) - 1) << s; in rsvd_bits()
71 if (likely(vcpu->arch.mmu->root_hpa != INVALID_PAGE)) in kvm_mmu_reload()
93 u64 root_hpa = vcpu->arch.mmu->root_hpa; in kvm_mmu_load_pgd()
99 vcpu->arch.mmu->shadow_root_level); in kvm_mmu_load_pgd()
109 if (likely(vcpu->arch.mmu->page_fault == kvm_tdp_page_fault)) in kvm_mmu_do_page_fault()
112 return vcpu->arch.mmu->page_fault(vcpu, cr2_or_gpa, err, prefault); in kvm_mmu_do_page_fault()
116 * Currently, we have two sorts of write-protection, a) the first one
117 * write-protects guest page to sync the guest modification, b) another one is
[all …]
/kernel/linux/linux-6.6/drivers/irqchip/
Dirq-omap-intc.c2 * linux/arch/arm/mach-omap2/irq.c
26 #include <linux/irqchip/irq-omap-intc.h>
59 u32 protection; member
67 static struct irq_domain *domain; variable
88 intc_context.protection = in omap_intc_save_context()
108 intc_writel(INTC_PROTECTION, intc_context.protection); in omap_intc_restore_context()
134 /* Re-enable autoidle */ in omap3_intc_resume_idle()
205 gc->reg_base = base; in omap_alloc_gc_of()
206 ct = gc->chip_types; in omap_alloc_gc_of()
208 ct->type = IRQ_TYPE_LEVEL_MASK; in omap_alloc_gc_of()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-omap-intc.c2 * linux/arch/arm/mach-omap2/irq.c
26 #include <linux/irqchip/irq-omap-intc.h>
59 u32 protection; member
67 static struct irq_domain *domain; variable
88 intc_context.protection = in omap_intc_save_context()
108 intc_writel(INTC_PROTECTION, intc_context.protection); in omap_intc_restore_context()
134 /* Re-enable autoidle */ in omap3_intc_resume_idle()
205 gc->reg_base = base; in omap_alloc_gc_of()
206 ct = gc->chip_types; in omap_alloc_gc_of()
208 ct->type = IRQ_TYPE_LEVEL_MASK; in omap_alloc_gc_of()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/hw-vuln/
Dsrso.rst1 .. SPDX-License-Identifier: GPL-2.0
8 known scenario of poisoning CPU functional units - the Branch Target
9 Buffer (BTB) and Return Address Predictor (RAP) in this case - and then
10 tricking the elevated privilege domain (the kernel) into leaking
14 Return Address Stack/Return Stack Buffer). In some cases, a non-architectural
20 but the concern is that an attacker can mis-train the CPU BTB to predict
21 non-architectural CALL instructions in kernel space and use this to
23 leading to information disclosure via a speculative side-channel.
25 The issue is tracked under CVE-2023-20569.
28 -------------------
[all …]
/kernel/linux/linux-6.6/drivers/pmdomain/mediatek/
Dmtk-pm-domains.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 #define MTK_SCPD_CAPS(_scpd, _x) ((_scpd)->data->caps & (_x))
79 * struct scpsys_domain_data - scp domain data for power on/off flow
80 * @name: The name of the power domain.
87 * @caps: The flag for active wake-up action.
88 * @bp_infracfg: bus protection for infracfg subsystem
89 * @bp_smi: bus protection for smi subsystem
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dcgroup-v2.rst9 conventions of cgroup v2. It describes all userland-visible aspects
12 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.
17 1-1. Terminology
18 1-2. What is cgroup?
20 2-1. Mounting
21 2-2. Organizing Processes and Threads
22 2-2-1. Processes
23 2-2-2. Threads
24 2-3. [Un]populated Notification
25 2-4. Controlling Controllers
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/hw-vuln/
Dsrso.rst1 .. SPDX-License-Identifier: GPL-2.0
8 known scenario of poisoning CPU functional units - the Branch Target
9 Buffer (BTB) and Return Address Predictor (RAP) in this case - and then
10 tricking the elevated privilege domain (the kernel) into leaking
14 Return Address Stack/Return Stack Buffer). In some cases, a non-architectural
20 but the concern is that an attacker can mis-train the CPU BTB to predict
21 non-architectural CALL instructions in kernel space and use this to
23 leading to information disclosure via a speculative side-channel.
25 The issue is tracked under CVE-2023-20569.
28 -------------------
[all …]
/kernel/linux/linux-5.10/include/rdma/
Dsignature.h1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) */
3 * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved.
23 * enum ib_signature_type - Signature types
25 * @IB_SIG_TYPE_T10_DIF: Type T10-DIF
33 * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types
34 * @IB_T10DIF_CRC: Corresponds to T10-PI mandated CRC checksum rules.
43 * struct ib_t10_dif_domain - Parameters specific for T10-DIF
44 * domain.
45 * @bg_type: T10-DIF block guard type (CRC|CSUM)
46 * @pi_interval: protection information interval.
[all …]
/kernel/linux/linux-6.6/include/rdma/
Dsignature.h1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) */
3 * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved.
23 * enum ib_signature_type - Signature types
25 * @IB_SIG_TYPE_T10_DIF: Type T10-DIF
33 * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types
34 * @IB_T10DIF_CRC: Corresponds to T10-PI mandated CRC checksum rules.
43 * struct ib_t10_dif_domain - Parameters specific for T10-DIF
44 * domain.
45 * @bg_type: T10-DIF block guard type (CRC|CSUM)
46 * @pi_interval: protection information interval.
[all …]
/kernel/linux/linux-5.10/drivers/iommu/amd/
Damd_iommu_types.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.
105 * The current driver only support 16-bit PASID.
106 * Currently, hardware only implement upto 16-bit PASID
257 #define DTE_IRQ_PHYS_ADDR_MASK (((1ULL << 45)-1) << 6)
275 ((1ULL << PM_LEVEL_SHIFT((x))) - 1): \
286 (~((1ULL << (12 + ((lvl) * 9))) - 1)))
291 * Pagesize is expected to be a power-of-two
294 ((__ffs(pagesize) - 12) / 9)
297 * Pagesize is expected to be a power-of-two
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/core/
Dverbs.c20 * - Redistributions of source code must retain the above
24 * - Redistributions in binary form must reproduce the above
97 [IB_WC_LOC_PROT_ERR] = "local protection error",
151 default: return -1; in ib_rate_to_mult()
211 default: return -1; in ib_rate_to_mbps()
237 if (device->ops.get_link_layer) in rdma_port_get_link_layer()
238 return device->ops.get_link_layer(device, port_num); in rdma_port_get_link_layer()
240 lt = rdma_node_get_transport(device->node_type); in rdma_port_get_link_layer()
248 /* Protection domains */
251 * __ib_alloc_pd - Allocates an unused protection domain.
[all …]

12345678910>>...15