/Linux-v5.10/Documentation/devicetree/bindings/net/ |
D | qcom,ipa.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/qcom,ipa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm IP Accelerator (IPA) 10 - Alex Elder <elder@kernel.org> 13 This binding describes the Qualcomm IPA. The IPA is capable of offloading 17 The IPA sits between multiple independent "execution environments," 18 including the Application Processor (AP) and the modem. The IPA presents 20 The GSI is an integral part of the IPA, but it is logically isolated [all …]
|
/Linux-v5.10/drivers/net/ipa/ |
D | ipa_reg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2020 Linaro Ltd. 9 #include "ipa.h" 12 int ipa_reg_init(struct ipa *ipa) in ipa_reg_init() argument 14 struct device *dev = &ipa->pdev->dev; in ipa_reg_init() 17 /* Setup IPA register memory */ in ipa_reg_init() 18 res = platform_get_resource_byname(ipa->pdev, IORESOURCE_MEM, in ipa_reg_init() 19 "ipa-reg"); in ipa_reg_init() 21 dev_err(dev, "DT error getting \"ipa-reg\" memory property\n"); in ipa_reg_init() [all …]
|
D | ipa_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 13 struct ipa; 16 * DOC: IPA Registers 18 * IPA registers are located within the "ipa-reg" address space defined by 21 * space in ipa_mem_init(). All IPA registers are 32 bits wide. 24 * something. For example, each IPA endpoint has an set of registers 28 * computed by a function-like macro that takes a parameter used in the 59 * In some cases, different versions of IPA hardware use different offset or [all …]
|
D | gsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 26 * DOC: The IPA Generic Software Interface 28 * The generic software interface (GSI) is an integral component of the IPA, 29 * providing a well-defined communication layer between the AP subsystem 30 * and the IPA core. The modem uses the GSI layer as well. 32 * -------- --------- 34 * | AP +<---. .----+ Modem | 35 * | +--. | | .->+ | [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/interconnect/ |
D | qcom,rpmh.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm RPMh Network-On-Chip Interconnect 10 - Georgi Djakov <georgi.djakov@linaro.org> 11 - Odelu Kukatla <okukatla@codeaurora.org> 22 reg: 27 - qcom,sc7180-aggre1-noc 28 - qcom,sc7180-aggre2-noc 29 - qcom,sc7180-camnoc-virt [all …]
|
/Linux-v5.10/tools/testing/selftests/kvm/s390x/ |
D | sync_regs_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 #define REG_COMPARE(reg) \ argument 40 TEST_ASSERT(left->reg == right->reg, \ 41 "Register " #reg \ 43 left->reg, right->reg) 45 #define REG_COMPARE32(reg) \ argument 46 TEST_ASSERT(left->reg == right->reg, \ 47 "Register " #reg \ 49 left->reg, right->reg) 99 run->kvm_valid_regs = INVALID_SYNC_FIELD; in main() [all …]
|
/Linux-v5.10/tools/testing/selftests/kvm/lib/s390x/ |
D | ucall.c | 1 // SPDX-License-Identifier: GPL-2.0 44 if (run->exit_reason == KVM_EXIT_S390_SIEIC && in get_ucall() 45 run->s390_sieic.icptcode == 4 && in get_ucall() 46 (run->s390_sieic.ipa >> 8) == 0x83 && /* 0x83 means DIAGNOSE */ in get_ucall() 47 (run->s390_sieic.ipb >> 16) == 0x501) { in get_ucall() 48 int reg = run->s390_sieic.ipa & 0xf; in get_ucall() local 50 memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), in get_ucall()
|
/Linux-v5.10/arch/s390/kvm/ |
D | diag.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <asm/virtio-ccw.h> 15 #include "kvm-s390.h" 17 #include "trace-s390.h" 25 start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in diag_release_pages() 26 end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE; in diag_release_pages() 27 vcpu->stat.diagnose_10++; in diag_release_pages() 40 gmap_discard(vcpu->arch.gmap, start, end); in diag_release_pages() 48 gmap_discard(vcpu->arch.gmap, start, prefix); in diag_release_pages() 50 gmap_discard(vcpu->arch.gmap, 0, PAGE_SIZE); in diag_release_pages() [all …]
|
D | priv.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <asm/asm-offsets.h> 24 #include <asm/page-states.h> 31 #include "kvm-s390.h" 36 vcpu->stat.instruction_ri++; in handle_ri() 38 if (test_kvm_facility(vcpu->kvm, 64)) { in handle_ri() 40 vcpu->arch.sie_block->ecb3 |= ECB3_RI; in handle_ri() 49 if ((vcpu->arch.sie_block->ipa & 0xf) <= 4) in kvm_s390_handle_aa() 52 return -EOPNOTSUPP; in kvm_s390_handle_aa() 57 vcpu->stat.instruction_gs++; in handle_gs() [all …]
|
D | sigp.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "kvm-s390.h" 21 u64 *reg) in __sigp_sense() argument 31 *reg &= 0xffffffff00000000UL; in __sigp_sense() 33 *reg |= SIGP_STATUS_EXT_CALL_PENDING; in __sigp_sense() 35 *reg |= SIGP_STATUS_STOPPED; in __sigp_sense() 39 VCPU_EVENT(vcpu, 4, "sensed status of cpu %x rc %x", dst_vcpu->vcpu_id, in __sigp_sense() 49 .u.emerg.code = vcpu->vcpu_id, in __inject_sigp_emergency() 56 dst_vcpu->vcpu_id); in __inject_sigp_emergency() 68 u16 asn, u64 *reg) in __sigp_conditional_emergency() argument [all …]
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | kvm_mmu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 29 * and that half of that space (VA_BITS - 1) is used for the linear 30 * mapping, we can also limit the EL2 space to (VA_BITS - 1). 41 * if (T & BIT(VA_BITS - 1)) 44 * HYP_VA_MIN = 1 << (VA_BITS - 1) 45 * HYP_VA_MAX = HYP_VA_MIN + (1 << (VA_BITS - 1)) - 1 58 * reg: VA to be converted. 65 .macro kern_hyp_va reg 67 and \reg, \reg, #1 /* mask with va_mask */ [all …]
|
D | kvm_asm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 22 /* The hyp-stub will return this for any kvm_call_hyp() call */ 96 off = (unsigned long)&CHOOSE_NVHE_SYM(sym) - \ 128 * - Don't be tempted to change the following is_kernel_in_hyp_mode() 133 * - Don't let the nVHE hypervisor have access to this, as it will 183 extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa, 204 * Obtain the PC-relative address of a kernel symbol 208 * PC-relative computation, as opposed to a loading the VA from a 226 " .long (" #from " - .), (" #to " - .)\n" \ [all …]
|
D | kvm_host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2012,2013 - ARM Ltd 7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University 14 #include <linux/arm-smccc.h> 78 * translation regime that isn't affected by its own stage-2 79 * translation, such as a non-VHE hypervisor running at vEL2, or 81 * canonical stage-2 page tables. 116 * VM-wide PMU filter, implemented as a bitmap and big enough for 128 u64 hpfar_el2; /* Hyp IPA Fault Address Register */ 157 MDCCINT_EL1, /* Monitor Debug Comms Channel Interrupt Enable Reg */ [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/qcom/ |
D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h> 11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 13 #include <dt-bindings/clock/qcom,videocc-sc7180.h> 14 #include <dt-bindings/interconnect/qcom,osm-l3.h> 15 #include <dt-bindings/interconnect/qcom,sc7180.h> 16 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
D | sdm845.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/qcom,camcc-sdm845.h> 9 #include <dt-bindings/clock/qcom,dispcc-sdm845.h> 10 #include <dt-bindings/clock/qcom,gcc-sdm845.h> 11 #include <dt-bindings/clock/qcom,gpucc-sdm845.h> 12 #include <dt-bindings/clock/qcom,lpass-sdm845.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sdm845.h> 15 #include <dt-bindings/interconnect/qcom,osm-l3.h> 16 #include <dt-bindings/interconnect/qcom,sdm845.h> [all …]
|
D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &hyp_mem; 24 /delete-node/ &xbl_mem; 25 /delete-node/ &aop_mem; 26 /delete-node/ &sec_apps_mem; 27 /delete-node/ &tz_mem; 31 reg = <0x0 0x84400000 0x0 0x800000>; [all …]
|
D | sdm845-cheza.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 26 stdout-path = "serial0:115200n8"; 30 compatible = "pwm-backlight"; 32 enable-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; 33 power-supply = <&ppvar_sys>; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&ap_edp_bklten>; [all …]
|
/Linux-v5.10/arch/arm64/kvm/hyp/include/hyp/ |
D | switch.h | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 - ARM Ltd 10 #include <linux/arm-smccc.h> 27 #include <asm/debug-monitors.h> 36 /* Check whether the FP regs were dirtied while in the host-side run loop: */ 47 vcpu->arch.host_thread_info->flags & _TIF_FOREIGN_FPSTATE) in update_fp_enabled() 48 vcpu->arch.flags &= ~(KVM_ARM64_FP_ENABLED | in update_fp_enabled() 51 return !!(vcpu->arch.flags & KVM_ARM64_FP_ENABLED); in update_fp_enabled() 54 /* Save the 32-bit only FPSIMD system register state */ 69 * trap to EL1. Therefore, always make sure that for 32-bit guests, in __activate_traps_fpsimd32() [all …]
|
/Linux-v5.10/scripts/gcc-plugins/ |
D | gcc-common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include "gcc-plugin.h" 11 #include "plugin-version.h" 16 #include "line-map.h" 20 #include "tree-inline.h" 25 #include "hard-reg-set.h" 33 #include "basic-block.h" 43 #include "pointer-set.h" 45 #include "hash-map.h" 51 #include "emit-rtl.h" [all …]
|
/Linux-v5.10/drivers/net/wireless/broadcom/b43/ |
D | phy_n.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com> 32 u16 ipa[2]; member 40 u16 ipa; member 96 enum nl80211_band band = b43_current_band(dev->wl); in b43_nphy_ipa() 97 return ((dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) || in b43_nphy_ipa() 98 (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ)); in b43_nphy_ipa() 101 /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCoreGetState */ 112 /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ForceRFSeq */ 137 b43err(dev->wl, "RF sequence status timeout\n"); in b43_nphy_force_rf_sequence() [all …]
|
/Linux-v5.10/arch/x86/net/ |
D | bpf_jit_comp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2013 Eric Dumazet (eric.dumazet@gmail.com) 6 * Internal BPF Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 16 #include <asm/nospec-branch.h> 17 #include <asm/text-patching.h> 18 #include <asm/asm-prototypes.h> 52 return value <= 127 && value >= -128; in is_imm8() 106 * The following table maps BPF registers to x86-64 registers. 108 * x86-64 register R12 is unused, since if used as base address 112 * x86-64 register R9 is not used by BPF programs, but can be used by BPF [all …]
|
/Linux-v5.10/drivers/iommu/arm/arm-smmu/ |
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-iommu.h> 25 #include <linux/dma-mapping.h> [all …]
|
/Linux-v5.10/arch/arm64/kernel/ |
D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * there's a little bit of over-abstraction that tends to obscure what's going 14 * user-visible instructions are available only on a subset of the available 18 * snapshot state to indicate the lowest-common denominator of the feature, 31 * - Mismatched features are *always* sanitised to a "safe" value, which 34 * - A mismatched feature marked with FTR_STRICT will cause a "SANITY CHECK" 38 * - Features marked as FTR_VISIBLE have their sanitised value visible to 43 * - A "feature" is typically a 4-bit register field. A "capability" is the 44 * high-level description derived from the sanitised field value. 46 * - Read the Arm ARM (DDI 0487F.a) section D13.1.3 ("Principles of the ID [all …]
|
/Linux-v5.10/include/uapi/linux/ |
D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. 118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. 162 * kvm_s390_cmma_log - Used for CMMA migration. 259 /* Encounter unexpected vm-exit due to delivery event. */ 261 /* Encounter unexpected vm-exit reason */ 339 __u16 ipa; member 420 __u8 error; /* user -> kernel */ 425 __u32 reason; /* kernel -> user */ [all …]
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. 118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. 162 * kvm_s390_cmma_log - Used for CMMA migration. 259 /* Encounter unexpected vm-exit due to delivery event. */ 261 /* Encounter unexpected vm-exit reason */ 339 __u16 ipa; member 420 __u8 error; /* user -> kernel */ 425 __u32 reason; /* kernel -> user */ [all …]
|