/linux-6.12.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,apr.yaml | 1 # 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 …]
|
D | qcom,apr-services.yaml | 1 # 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-6.12.1/drivers/soc/qcom/ |
D | apr.c | 1 // 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 …]
|
D | qcom_pd_mapper.c | 1 // 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-6.12.1/include/xen/ |
D | xen-ops.h | 1 /* 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 …]
|
/linux-6.12.1/drivers/iommu/ |
D | exynos-iommu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 25 #include "iommu-pages.h" 40 #define SECT_MASK (~(SECT_SIZE - 1)) 41 #define LPAGE_MASK (~(LPAGE_SIZE - 1)) 42 #define SPAGE_MASK (~(SPAGE_SIZE - 1)) 57 * v1.x - v3.x SYSMMU supports 32bit physical and 32bit virtual address spaces 64 static short PG_ENT_SHIFT = -1; 100 #define section_offs(iova) (iova & (SECT_SIZE - 1)) 102 #define lpage_offs(iova) (iova & (LPAGE_SIZE - 1)) [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-kernel-iommu_groups | 5 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-6.12.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 2 * 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 …]
|
D | pvrdma_mr.c | 2 * 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 * pvrdma_get_dma_mr - get a DMA memory region 53 * @pd: protection domain 60 struct pvrdma_dev *dev = to_vdev(pd->device); in pvrdma_get_dma_mr() 70 dev_warn(&dev->pdev->dev, in pvrdma_get_dma_mr() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | kyber.h | 1 /* 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-6.12.1/drivers/irqchip/ |
D | irq-omap-intc.c | 2 * 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-6.12.1/include/rdma/ |
D | signature.h | 1 /* 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-6.12.1/drivers/iommu/amd/ |
D | amd_iommu_types.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2007-2010 Advanced Micro Devices, Inc. 21 #include <linux/io-pgtable.h> 116 * The current driver only support 16-bit PASID. 117 * Currently, hardware only implement upto 16-bit PASID 297 /* Special mode where page-sizes are limited to 4 KiB */ 333 ((1ULL << PM_LEVEL_SHIFT((x))) - 1): \ 344 (~((1ULL << (12 + ((lvl) * 9))) - 1))) 349 * Pagesize is expected to be a power-of-two 352 ((__ffs(pagesize) - 12) / 9) [all …]
|
D | pasid.c | 1 // 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 …]
|
D | amd_iommu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2009-2010 Advanced Micro Devices, Inc. 48 /* Protection domain ops */ 50 void protection_domain_free(struct protection_domain *domain); 54 int iommu_sva_set_dev_pasid(struct iommu_domain *domain, 57 struct iommu_domain *domain); 89 void amd_iommu_update_and_flush_device_table(struct protection_domain *domain); 90 void amd_iommu_domain_update(struct protection_domain *domain); 91 void amd_iommu_domain_flush_pages(struct protection_domain *domain, 107 return (pdev->vendor == PCI_VENDOR_ID_ATI) && in is_rd890_iommu() [all …]
|
/linux-6.12.1/Documentation/power/regulator/ |
D | overview.rst | 26 - 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-6.12.1/Documentation/devicetree/bindings/power/ |
D | mediatek,power-controller.yaml | 1 # 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,mt6795-power-controller [all …]
|
/linux-6.12.1/drivers/infiniband/core/ |
D | verbs.c | 20 * - 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pci/ |
D | pci.txt | 3 PCI Bus Binding to: IEEE Std 1275-1994 4 https://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf 9 https://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf 14 - linux,pci-domain: 15 If present this property assigns a fixed PCI domain number to a host bridge, 18 host bridges in the system, otherwise potentially conflicting domain numbers 19 may be assigned to root buses behind different host bridges. The domain 21 - max-link-speed: 27 - reset-gpios: 30 - supports-clkreq: [all …]
|
/linux-6.12.1/Documentation/admin-guide/ |
D | thunderbolt.rst | 1 .. 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 …]
|
D | cgroup-v2.rst | 1 .. _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>`. 19 1-1. Terminology 20 1-2. What is cgroup? 22 2-1. Mounting 23 2-2. Organizing Processes and Threads 24 2-2-1. Processes 25 2-2-2. Threads 26 2-3. [Un]populated Notification [all …]
|
/linux-6.12.1/arch/s390/include/asm/trace/ |
D | zcrypt.h | 1 /* 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-6.12.1/Documentation/admin-guide/hw-vuln/ |
D | srso.rst | 1 .. 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 …]
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/32/ |
D | mmu-8xx.h | 1 /* 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-6.12.1/Documentation/devicetree/bindings/sound/ |
D | qcom,q6core.yaml | 1 # 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 …]
|