/Linux-v6.1/Documentation/devicetree/bindings/iommu/ |
D | arm,smmu.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM System MMU Architecture Implementation 10 - Will Deacon <will@kernel.org> 11 - Robin Murphy <Robin.Murphy@arm.com> 23 pattern: "^iommu@[0-9a-f]*" 26 - description: Qcom SoCs implementing "arm,smmu-v2" 28 - enum: 29 - qcom,msm8996-smmu-v2 [all …]
|
/Linux-v6.1/drivers/iommu/arm/arm-smmu/ |
D | arm-smmu-impl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #define pr_fmt(fmt) "arm-smmu: " fmt 10 #include "arm-smmu.h" 44 /* Since we don't care for sGFAR, we can do without 64-bit accessors */ 65 cs->id_base = atomic_fetch_add(smmu->num_context_banks, &context_count); in cavium_cfg_probe() 66 dev_notice(smmu->dev, "\tenabling workaround for Cavium erratum 27704\n"); in cavium_cfg_probe() 74 struct cavium_smmu *cs = container_of(smmu_domain->smmu, in cavium_init_context() 77 if (smmu_domain->stage == ARM_SMMU_DOMAIN_S2) in cavium_init_context() 78 smmu_domain->cfg.vmid += cs->id_base; in cavium_init_context() 80 smmu_domain->cfg.asid += cs->id_base; in cavium_init_context() [all …]
|
D | arm-smmu-qcom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/adreno-smmu-priv.h> 12 #include "arm-smmu.h" 13 #include "arm-smmu-qcom.h" 15 #define QCOM_DUMMY_VAL -1 30 for (spin_cnt = TLB_SPIN_COUNT; spin_cnt > 0; spin_cnt--) { in qcom_smmu_tlb_sync() 53 if (qsmmu->stall_enabled & BIT(idx)) in qcom_adreno_smmu_write_sctlr() 63 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; in qcom_adreno_smmu_get_fault_info() 64 struct arm_smmu_device *smmu = smmu_domain->smmu; in qcom_adreno_smmu_get_fault_info() 66 info->fsr = arm_smmu_cb_read(smmu, cfg->cbndx, ARM_SMMU_CB_FSR); in qcom_adreno_smmu_get_fault_info() [all …]
|
D | arm-smmu-nvidia.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2019-2020 NVIDIA CORPORATION. All rights reserved. 12 #include "arm-smmu.h" 15 * Tegra194 has three ARM MMU-500 Instances. 18 * non-isochronous HW devices. 23 * memory client. This is necessary to allow for use-case such as seamlessly 52 return nvidia_smmu->bases[inst] + (page << smmu->pgshift); in nvidia_smmu_page() 69 for (i = 0; i < nvidia->num_instances; i++) { in nvidia_smmu_write_reg() 90 for (i = 0; i < nvidia->num_instances; i++) { in nvidia_smmu_write_reg64() 108 for (spin_cnt = TLB_SPIN_COUNT; spin_cnt > 0; spin_cnt--) { in nvidia_smmu_tlb_sync() [all …]
|
D | arm-smmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * - SMMUv1 and v2 implementations 11 * - Stream-matching and stream-indexing 12 * - v7/v8 long-descriptor format 13 * - Non-secure access to the SMMU 14 * - Context fault reporting 15 * - Extended Stream ID (16 bit) 18 #define pr_fmt(fmt) "arm-smmu: " fmt 24 #include <linux/dma-mapping.h> 41 #include "arm-smmu.h" [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/cpu/ |
D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | psb_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2007-2011, Intel Corporation. 45 * to the different groups of PowerVR 5-series chip designs 49 * PowerVR SGX535 - Poulsbo - Intel GMA 500, Intel Atom Z5xx 50 * PowerVR SGX535 - Moorestown - Intel GMA 600 51 * PowerVR SGX535 - Oaktrail - Intel GMA 600, Intel Atom Z6xx, E6xx 52 * PowerVR SGX545 - Cedartrail - Intel GMA 3600, Intel Atom D2500, N2600 53 * PowerVR SGX545 - Cedartrail - Intel GMA 3650, Intel Atom D2550, D2700, 98 * psb_spank - reset the 2D engine 124 PSB_WSGX32(dev_priv->gtt.gatt_start, PSB_CR_BIF_TWOD_REQ_BASE); in psb_spank() [all …]
|
/Linux-v6.1/arch/arm/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 select ARCH_HAS_DEBUG_VIRTUAL if MMU 20 select ARCH_HAS_STRICT_KERNEL_RWX if MMU && !XIP_KERNEL 21 select ARCH_HAS_STRICT_MODULE_RWX if MMU 24 select ARCH_HAS_TEARDOWN_DMA_OPS if MMU 38 select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU 43 select BUILDTIME_TABLE_SORT if MMU 49 select DMA_GLOBAL_POOL if !MMU 51 select DMA_NONCOHERENT_MMAP if MMU 73 select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/tesla/ |
D | fsd.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Tesla Full Self-Driving SoC device tree source 5 * Copyright (c) 2017-2022 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2017-2022 Tesla, Inc. 11 #include <dt-bindings/clock/fsd-clk.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 38 #address-cells = <2>; [all …]
|
/Linux-v6.1/drivers/gpu/drm/lima/ |
D | lima_sched.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 /* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */ 4 #include <linux/iosys-map.h> 34 return -ENOMEM; in lima_sched_slab_init() 43 if (!--lima_fence_slab_refcnt) { in lima_sched_slab_fini() 63 return f->pipe->base.name; in lima_fence_get_timeline_name() 78 call_rcu(&f->base.rcu, lima_fence_release_rcu); in lima_fence_release() 95 fence->pipe = pipe; in lima_fence_create() 96 dma_fence_init(&fence->base, &lima_fence_ops, &pipe->fence_lock, in lima_fence_create() 97 pipe->fence_context, ++pipe->fence_seqno); in lima_fence_create() [all …]
|
/Linux-v6.1/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 41 * init/main.c to make it non-init before enabling DEBUG_FREQ 254 * the above didn't re-enable the DEC */ in pmu_set_cpu_speed() 270 save_l3cr = _get_L3CR(); /* (returns -1 if not available) */ in pmu_set_cpu_speed() 271 save_l2cr = _get_L2CR(); /* (returns -1 if not available) */ in pmu_set_cpu_speed() 298 /* Restore userland MMU context */ in pmu_set_cpu_speed() 299 switch_mmu_context(NULL, current->active_mm, NULL); in pmu_set_cpu_speed() 310 * as soon as interrupts are re-enabled and the generic in pmu_set_cpu_speed() 390 * GPIO space, and the device-tree doesn't help. in read_gpio() [all …]
|
/Linux-v6.1/arch/sparc/include/asm/ |
D | floppy_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 76 #if 0 /* P3: added by Alain, these cause a MMU corruption. 19960524 XXX */ 106 sun_fdc->dor_82077 = value; in sun_set_dor() 111 return sun_fdc->dir_82077; in sun_read_dir() 122 return sun_fdc->status_82072 & ~STATUS_DMA; in sun_82072_fd_inb() 124 return sun_fdc->data_82072; in sun_82072_fd_inb() 142 sun_fdc->data_82072 = value; in sun_82072_fd_outb() 145 sun_fdc->dcr_82072 = value; in sun_82072_fd_outb() 148 sun_fdc->status_82072 = value; in sun_82072_fd_outb() 162 return sun_fdc->status1_82077; in sun_82077_fd_inb() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/misc/ |
D | fsl,qoriq-mc.txt | 3 The Freescale Management Complex (fsl-mc) is a hardware resource 5 network-oriented packet processing applications. After the fsl-mc 12 For an overview of the DPAA2 architecture and fsl-mc bus see: 16 same hardware "isolation context" and a 10-bit value called an ICID 21 between ICIDs and IOMMUs, so an iommu-map property is used to define 28 For arm-smmu binding, see: 32 The msi-map property is used to associate the devices with both the ITS 36 Documentation/devicetree/bindings/interrupt-controller/msi.txt. 39 Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml. 43 - compatible [all …]
|
/Linux-v6.1/drivers/cpuidle/ |
D | cpuidle-big_little.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 * or in the MCPM back-ends. 47 * up and running when the CPU is powered up on cluster wake-up from shutdown. 69 .desc = "ARM little-cluster power down", 75 { .compatible = "arm,idle-state", 86 .exit_latency = 500, 90 .desc = "ARM big-cluster power down", 98 * in power down sequences where caches and MMU may be turned off. 115 * bl_enter_powerdown - Programs CPU to enter the specified state 145 return -ENOMEM; in bl_idle_driver_init() [all …]
|
/Linux-v6.1/arch/alpha/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 39 The Alpha is a 64-bit general-purpose processor designed and 41 now Hewlett-Packard. The Alpha Linux project has a home page at 47 config MMU config 88 Alcor/Alpha-XLT AS 600, AS 500, XL-300, XL-366 89 Alpha-XL XL-233, XL-266 98 Jensen DECpc 150, DEC 2000 models 300, 500 99 LX164 AlphaPC164-LX 101 Miata Personal Workstation 433/500/600 a/au 108 Ruffian RPX164-2, AlphaPC164-UX, AlphaPC164-BX [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/arm/ |
D | juno-base.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "juno-clocks.dtsi" 3 #include "juno-motherboard.dtsi" 11 compatible = "arm,armv7-timer-mem"; 13 clock-frequency = <50000000>; 14 #address-cells = <1>; 15 #size-cells = <1>; 19 frame-number = <1>; 31 #mbox-cells = <1>; 33 clock-names = "apb_pclk"; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/marvell/ |
D | armada-ap80x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/thermal/thermal.h> 11 /dts-v1/; 14 #address-cells = <2>; 15 #size-cells = <2>; 25 compatible = "arm,psci-0.2"; 29 reserved-memory { 30 #address-cells = <2>; 31 #size-cells = <2>; [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gpu.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. */ 14 #include <linux/soc/qcom/llcc-qcom.h> 24 if (!a6xx_gmu_isidle(&a6xx_gpu->gmu)) in _a6xx_check_idle() 44 gpu->name, __builtin_return_address(0), in a6xx_idle() 61 if (a6xx_gpu->has_whereami && !adreno_gpu->base.hw_apriv) { in update_shadow_rptr() 75 spin_lock_irqsave(&ring->preempt_lock, flags); in a6xx_flush() 78 ring->cur = ring->next; in a6xx_flush() 83 spin_unlock_irqrestore(&ring->preempt_lock, flags); in a6xx_flush() 105 bool sysprof = refcount_read(&a6xx_gpu->base.base.sysprof_active) > 1; in a6xx_set_pagetable() [all …]
|
/Linux-v6.1/drivers/gpu/drm/panfrost/ |
D | panfrost_job.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/dma-resv.h> 25 #define JOB_TIMEOUT_MS 500 27 #define job_write(dev, reg, data) writel(data, dev->iomem + (reg)) 28 #define job_read(dev, reg) readl(dev->iomem + (reg)) 71 switch (f->queue) { in panfrost_fence_get_timeline_name() 73 return "panfrost-js-0"; in panfrost_fence_get_timeline_name() 75 return "panfrost-js-1"; in panfrost_fence_get_timeline_name() 77 return "panfrost-js-2"; in panfrost_fence_get_timeline_name() 91 struct panfrost_job_slot *js = pfdev->js; in panfrost_fence_create() [all …]
|
/Linux-v6.1/drivers/bus/ |
D | arm-cci.c | 17 #include <linux/arm-cci.h> 49 {.compatible = "arm,cci-400", .data = CCI400_PORTS_DATA }, 52 { .compatible = "arm,cci-500", }, 53 { .compatible = "arm,cci-550", }, 59 OF_DEV_AUXDATA("arm,cci-400-pmu", 0, NULL, &cci_ctrl_base), 60 OF_DEV_AUXDATA("arm,cci-400-pmu,r0", 0, NULL, &cci_ctrl_base), 61 OF_DEV_AUXDATA("arm,cci-400-pmu,r1", 0, NULL, &cci_ctrl_base), 62 OF_DEV_AUXDATA("arm,cci-500-pmu,r0", 0, NULL, &cci_ctrl_base), 63 OF_DEV_AUXDATA("arm,cci-550-pmu,r0", 0, NULL, &cci_ctrl_base), 67 #define DRIVER_NAME "ARM-CCI" [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/broadcom/stingray/ |
D | stingray.dtsi | 4 * Copyright(c) 2015-2017 Broadcom. All rights reserved. 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 37 interrupt-parent = <&gic>; 38 #address-cells = <2>; 39 #size-cells = <2>; 42 #address-cells = <2>; 43 #size-cells = <0>; 47 compatible = "arm,cortex-a72"; 49 enable-method = "psci"; 50 next-level-cache = <&CLUSTER0_L2>; [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | qcom-sdx65.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,gcc-sdx65.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 13 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 18 qcom,msm-id = <458 0x10000>, <483 0x10000>, <509 0x10000>; 19 interrupt-parent = <&intc>; [all …]
|
D | dra7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/clock/dra7.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/dra.h> 12 #include <dt-bindings/clock/dra7.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 21 interrupt-parent = <&crossbar_mpu>; [all …]
|
D | qcom-sdx55.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,gcc-sdx55.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interconnect/qcom,sdx55.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 15 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
/Linux-v6.1/drivers/misc/habanalabs/goya/ |
D | goya.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2022 HabanaLabs, Ltd. 9 #include "../include/hw_ip/mmu/mmu_general.h" 10 #include "../include/hw_ip/mmu/mmu_v1_0.h" 23 * - Range registers (When MMU is enabled, DMA RR does NOT protect host) 24 * - MMU 27 * - Range registers (protect the first 512MB) 28 * - MMU (isolation between users) 31 * - Range registers 32 * - Protection bits [all …]
|