Home
last modified time | relevance | path

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

1234567

/linux/Documentation/devicetree/bindings/soc/qcom/
H A 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 …]
H A 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
/linux/drivers/soc/qcom/
H A 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 …]
/linux/include/xen/
H A Dxen-ops.h1 /* SPDX-License-Identifier: GPL-2.0 */
83 return -EOPNOTSUPP; in xen_xlate_remap_gfn_array()
89 return -EOPNOTSUPP; in xen_xlate_unmap_gfn_range()
97 * xen_remap_domain_gfn_array() - map an array of foreign frames by gfn
102 * @err_ptr: Returns per-GFN error status.
103 * @prot: page protection mask
104 * @domid: Domain owning the pages
105 * @pages: Array of pages if this domain has an auto-translated physmap
110 * Returns the number of successfully mapped frames, or a -ve error
134 * xen_remap_domain_mfn_array() - map an array of foreign frames by mfn
[all …]
/linux/drivers/iommu/
H A Dexynos-iommu.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/dma-mapping.h>
25 #include "dma-iommu.h"
26 #include "iommu-pages.h"
41 #define SECT_MASK (~(SECT_SIZE - 1))
42 #define LPAGE_MASK (~(LPAGE_SIZE - 1))
43 #define SPAGE_MASK (~(SPAGE_SIZE - 1))
58 * v1.x - v3.x SYSMMU supports 32bit physical and 32bit virtual address spaces
65 static short PG_ENT_SHIFT = -1;
101 #define section_offs(iova) (iova & (SECT_SIZE - 1))
[all …]
/linux/Documentation/ABI/testing/
H A 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 …]
/linux/drivers/irqchip/
H A 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 …]
/linux/include/trace/events/
H A 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 …]
/linux/include/rdma/
H A 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 …]
/linux/drivers/iommu/amd/
H A Dpasid.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #define pr_fmt(fmt) "AMD-Vi: " fmt
16 if (dev_data->pasid_enabled && dev_data->max_pasids && in is_pasid_enabled()
17 dev_data->gcr3_info.gcr3_tbl != NULL) in is_pasid_enabled()
26 if (pasid > 0 && pasid < dev_data->max_pasids) in is_pasid_valid()
35 amd_iommu_clear_gcr3(pdom_dev_data->dev_data, pdom_dev_data->pasid); in remove_dev_pasid()
37 list_del(&pdom_dev_data->list); in remove_dev_pasid()
48 lockdep_assert_held(&pdom->lock); in remove_pdom_dev_pasid()
51 if (pdom_dev_data->dev_data == dev_data && in remove_pdom_dev_pasid()
52 pdom_dev_data->pasid == pasid) { in remove_pdom_dev_pasid()
[all …]
H A Damd_iommu.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2009-2010 Advanced Micro Devices, Inc.
49 /* Protection domain ops */
55 int iommu_sva_set_dev_pasid(struct iommu_domain *domain,
59 struct iommu_domain *domain);
91 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain);
92 void amd_iommu_domain_flush_pages(struct protection_domain *domain,
108 return (pdev->vendor == PCI_VENDOR_ID_ATI) && in is_rd890_iommu()
109 (pdev->device == PCI_DEVICE_ID_RD890_IOMMU); in is_rd890_iommu()
146 int seg = pci_domain_nr(pdev->bus); in get_pci_sbdf_id()
[all …]
/linux/Documentation/power/regulator/
H A Doverview.rst26 - Regulator
27 - Electronic device that supplies power to other devices.
31 Input Voltage -> Regulator -> Output Voltage
34 - PMIC
35 - Power Management IC. An IC that contains numerous
39 - Consumer
40 - Electronic device that is supplied power by a regulator.
41 Consumers can be classified into two types:-
52 - Power Domain
53 - Electronic circuit that is supplied its input power by the
[all …]
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst1 .. _cgroup-v2:
11 conventions of cgroup v2. It describes all userland-visible aspects
14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.
22 1-1. Terminology
23 1-2. What is cgroup?
25 2-1. Mounting
26 2-2. Organizing Processes and Threads
27 2-2-1. Processes
28 2-2-2. Threads
29 2-3. [Un]populated Notification
[all …]
H A Dthunderbolt.rst1 .. SPDX-License-Identifier: GPL-2.0
22 is expected to be accompanied with an IOMMU based DMA protection.
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``::
89 the Thunderbolt domain the host controller manages. There is typically
90 one domain per Thunderbolt host controller.
102 -----------------------------------------------------------------
105 /sys/bus/thunderbolt/devices/0-1/authorized - 0
[all …]
/linux/arch/powerpc/include/asm/nohash/32/
H A Dmmu-8xx.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * During software tablewalk, the registers used perform mask/shift-add
16 #define MI_GPM 0x80000000 /* Set domain manager mode */
17 #define MI_PPM 0x40000000 /* Set subpage protection */
43 * 4-15 => Not Used
62 #define MI_APG 0x000001e0 /* Access protection group (0) */
86 #define MD_GPM 0x80000000 /* Set domain manager mode */
87 #define MD_PPM 0x40000000 /* Set subpage protection */
137 #define MD_APG 0x000001e0 /* Access protection group (0) */
175 #define MODULES_VADDR (MODULES_END - MODULES_SIZE)
[all …]
/linux/arch/s390/include/asm/trace/
H A Dzcrypt.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * of request-processing-starts-now indication.
50 * trace_s390_zcrypt_req - zcrypt request tracepoint function
67 __entry->ptr = ptr;
68 __entry->type = type;),
70 __entry->ptr,
71 show_zcrypt_tp_type(__entry->type))
75 * trace_s390_zcrypt_rep - zcrypt reply tracepoint function
83 * @dom: Domain id of the device where this request was processed.
98 __field(u16, domain)),
[all …]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_mem.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
4 /* Copyright (c) 2008-2019, IBM Corporation */
9 #include <linux/dma-mapping.h>
32 mem = xa_load(&sdev->mem_xa, stag_index); in siw_mem_id2obj()
33 if (likely(mem && kref_get_unless_zero(&mem->ref))) { in siw_mem_id2obj()
44 int i, num_pages = umem->num_pages; in siw_umem_release()
46 if (umem->base_mem) in siw_umem_release()
47 ib_umem_release(umem->base_mem); in siw_umem_release()
50 kfree(umem->page_chunk[i].plist); in siw_umem_release()
51 num_pages -= PAGES_PER_CHUNK; in siw_umem_release()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,q6core.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
19 - qcom,q6core
22 - compatible
27 - |
28 #include <dt-bindings/soc/qcom,apr.h>
[all …]
H A Dqcom,q6prm.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
19 - qcom,q6prm
21 clock-controller:
22 $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml#
27 - compatible
[all …]
H A Dqcom,q6adm.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
19 - qcom,q6adm
23 $ref: /schemas/sound/qcom,q6adm-routing.yaml#
28 - compatible
29 - routing
[all …]
H A Dqcom,q6asm.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
19 - qcom,q6asm
23 $ref: /schemas/sound/qcom,q6asm-dais.yaml#
28 - compatible
29 - dais
[all …]
H A Dqcom,q6apm.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 - $ref: dai-common.yaml#
15 - $ref: /schemas/soc/qcom/qcom,apr-services.yaml#
20 - qcom,q6apm
24 $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml#
30 $ref: /schemas/sound/qcom,q6apm-dai.yaml#
[all …]
/linux/security/landlock/
H A Druleset.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Landlock LSM - Ruleset management
5 * Copyright © 2016-2020 Mickaël Salaün <mic@digikod.net>
6 * Copyright © 2018-2020 ANSSI
26 * struct landlock_layer - Access rights for a given layer
41 * union landlock_key - Key of a ruleset's red-blac
244 landlock_union_access_masks(const struct landlock_ruleset * const domain) landlock_union_access_masks() argument
272 landlock_get_applicable_domain(const struct landlock_ruleset * const domain,const struct access_masks masks) landlock_get_applicable_domain() argument
[all...]
/linux/Documentation/devicetree/bindings/rtc/
H A Dst,stm32-rtc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rtc/st,stm32-rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gabriel Fernandez <gabriel.fernandez@foss.st.com>
15 - st,stm32-rtc
16 - st,stm32h7-rtc
17 - st,stm32mp1-rtc
18 - st,stm32mp25-rtc
27 clock-names:
[all …]
/linux/drivers/infiniband/sw/rdmavt/
H A Dpd.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
10 * rvt_alloc_pd - allocate a protection domain
20 struct ib_device *ibdev = ibpd->device; in rvt_alloc_pd()
32 spin_lock(&dev->n_pds_lock); in rvt_alloc_pd()
33 if (dev->n_pds_allocated == dev->dparms.props.max_pd) { in rvt_alloc_pd()
34 spin_unlock(&dev->n_pds_lock); in rvt_alloc_pd()
35 ret = -ENOMEM; in rvt_alloc_pd()
39 dev->n_pds_allocated++; in rvt_alloc_pd()
40 spin_unlock(&dev->n_pds_lock); in rvt_alloc_pd()
42 /* ib_alloc_pd() will initialize pd->ibpd. */ in rvt_alloc_pd()
[all …]

1234567