Home
last modified time | relevance | path

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

12345678

/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 …]
H A Dqcom_pd_mapper.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Qualcomm Protection Domain mapper
25 const char *domain; member
27 /* NULL-terminated array */
57 list_for_each_entry(service, &data->services, list) { in qcom_pdm_find()
58 if (!strcmp(service->name, name)) in qcom_pdm_find()
71 struct qcom_pdm_domain *domain; in qcom_pdm_add_service_domain() local
75 list_for_each_entry(domain, &service->domains, list) { in qcom_pdm_add_service_domain()
76 if (!strcmp(domain->name, domain_name)) in qcom_pdm_add_service_domain()
77 return -EBUSY; in qcom_pdm_add_service_domain()
[all …]
/linux/include/xen/
H A Dxen-ops.h1 /* SPDX-License-Identifier: GPL-2.0 */
82 return -EOPNOTSUPP; in xen_xlate_remap_gfn_array()
88 return -EOPNOTSUPP; in xen_xlate_unmap_gfn_range()
96 * xen_remap_domain_gfn_array() - map an array of foreign frames by gfn
101 * @err_ptr: Returns per-GFN error status.
102 * @prot: page protection mask
103 * @domid: Domain owning the pages
104 * @pages: Array of pages if this domain has an auto-translated physmap
109 * Returns the number of successfully mapped frames, or a -ve error
133 * 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/iommu/amd/
H A Damd_iommu_types.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc.
21 #include <linux/io-pgtable.h>
120 * The current driver only support 16-bit PASID.
121 * Currently, hardware only implement upto 16-bit PASID
307 /* Special mode where page-sizes are limited to 4 KiB */
342 ((1ULL << PM_LEVEL_SHIFT((x))) - 1): \
353 (~((1ULL << (12 + ((lvl) * 9))) - 1)))
358 * Pagesize is expected to be a power-of-two
361 ((__ffs(pagesize) - 12) / 9)
[all …]
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/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/drivers/iommu/riscv/
H A Diommu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * IOMMU API for RISC-V IOMMU implementations.
5 * Copyright © 2022-2024 Rivos Inc.
6 * Copyright © 2023 FORTH-ICS/CARV
13 #define pr_fmt(fmt) "riscv-iommu: " fmt
23 #include "../iommu-pages.h"
24 #include "iommu-bits.h"
37 /* RISC-V IOMMU PPN <> PHYS address conversions, PHYS <=> PPN[53:10] */
38 #define phys_to_ppn(pa) (((pa) >> 2) & (((1ULL << 44) - 1) << 10))
39 #define ppn_to_phys(pn) (((pn) << 2) & (((1ULL << 44) - 1) << 12))
[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/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/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/Documentation/devicetree/bindings/power/
H A Dmediatek,power-controller.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - MandyJH Liu <mandyjh.liu@mediatek.com>
11 - Matthias Brugger <mbrugger@suse.com>
17 IP cores belonging to a power domain should contain a 'power-domains'
18 property that is a phandle for SCPSYS node representing the domain.
22 pattern: '^power-controller(@[0-9a-f]+)?$'
26 - mediatek,mt6735-power-controller
[all …]
/linux/Documentation/admin-guide/
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/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 …]
/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/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #define MTK_SCPD_CAPS(_scpd, _x) ((_scpd)->data->caps & (_x))
94 * struct scpsys_domain_data - scp domain data for power on/off flow
95 * @name: The name of the power domain.
102 * @caps: The flag for active wake-up action.
103 * @bp_cfg: bus protection configuration for any subsystem
/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 …]

12345678