| /linux/drivers/net/ipa/ |
| H A D | ipa_mem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 13 struct ipa; 17 * DOC: IPA Local Memory 19 * The IPA has a block of shared memory, divided into regions used for 22 * The regions within the shared block are bounded by an offset (relative to 23 * the "ipa-shared" memory range) and size found in the IPA_SHARED_MEM_SIZE 26 * Each region is optionally preceded by one or more 32-bit "canary" values. 27 * These are meant to detect out-of-range writes (if they become corrupted). [all …]
|
| H A D | ipa_qmi_msg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright (C) 2018-2024 Linaro Ltd. 15 /* Request/response/indication QMI message ids used for IPA. Receiving 18 #define IPA_QMI_INDICATION_REGISTER 0x20 /* modem -> AP request */ 19 #define IPA_QMI_INIT_DRIVER 0x21 /* AP -> modem request */ 20 #define IPA_QMI_INIT_COMPLETE 0x22 /* AP -> modem indication */ 21 #define IPA_QMI_DRIVER_INIT_COMPLETE 0x35 /* modem -> AP request */ 28 #define IPA_QMI_INDICATION_REGISTER_REQ_SZ 20 /* -> server handle */ 29 #define IPA_QMI_INDICATION_REGISTER_RSP_SZ 7 /* <- server handle */ 30 #define IPA_QMI_INIT_DRIVER_REQ_SZ 162 /* client handle -> */ [all …]
|
| H A D | ipa_cmd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 13 struct ipa; 17 * enum ipa_cmd_opcode: IPA immediate commands 23 * @IPA_CMD_HDR_INIT_LOCAL: Initialize IPA-local header memory 24 * @IPA_CMD_REGISTER_WRITE: Register write performed by IPA 26 * @IPA_CMD_DMA_SHARED_MEM: DMA command performed by IPA 46 * ipa_cmd_table_init_valid() - Validate a memory region holding a table 47 * @ipa: - IPA pointer [all …]
|
| H A D | ipa_table.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 10 #include <linux/dma-mapping.h> 16 #include "ipa.h" 25 * DOC: IPA Filter and Route Tables 27 * The IPA has tables defined in its local (IPA-resident) memory that define 29 * endian 64-bit "slot" that holds the address of a rule definition. (The 35 * by all IPA hardware (IPA v4.2 doesn't support hashed tables). 38 * an object (such as a route or filter table) in IPA-resident memory must [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A 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/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 15 #include <dt-bindings/interconnect/qcom,sdx65.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
| /linux/arch/arm64/kvm/ |
| H A D | reset.c | 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 81 vcpu->arch.sve_max_vl = kvm_sve_max_vl; in kvm_vcpu_enable_sve() 88 set_bit(KVM_ARCH_FLAG_GUEST_HAS_SVE, &vcpu->kvm->arch.flags); in kvm_vcpu_enable_sve() 93 * vcpu->arch.sve_state as necessary. 102 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve() 105 * Responsibility for these properties is shared between in kvm_vcpu_finalize_sve() 107 * set_sve_vls(). Double-check here just to be sure: in kvm_vcpu_finalize_sve() 111 return -EIO; in kvm_vcpu_finalize_sve() [all …]
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | pkvm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 * for both protected and non-protected VMs. 35 vcpu->arch.hcr_el2 = HCR_GUEST_FLAGS; in pkvm_vcpu_reset_hcr() 38 vcpu->arch.hcr_el2 |= HCR_E2H; in pkvm_vcpu_reset_hcr() 42 vcpu->arch.hcr_el2 |= HCR_TEA; in pkvm_vcpu_reset_hcr() 44 vcpu->arch.hcr_el2 |= HCR_TERR; in pkvm_vcpu_reset_hcr() 48 vcpu->arc in pkvm_vcpu_reset_hcr() 1051 __pkvm_memshare_page_req(struct kvm_vcpu * vcpu,u64 ipa) __pkvm_memshare_page_req() argument 1077 u64 ipa = smccc_get_arg1(vcpu); pkvm_memshare_call() local 1105 u64 ipa = smccc_get_arg1(vcpu); pkvm_memunshare_call() local [all...] |
| H A D | hyp-main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020 - Google Inc 10 #include <asm/pgtable-types.h> 40 sve_cond_update_zcr_vq(vcpu_sve_max_vq(vcpu) - 1, SYS_ZCR_EL2); in __hyp_sve_save_guest() 41 sve_save_state(kern_hyp_va(vcpu->arch.sve_state), true); 42 fpsimd_save_common(&vcpu->arch.ctxt.fp_regs); in __hyp_sve_restore_host() 43 write_sysreg_s(sve_vq_from_vl(kvm_host_sve_max_vl) - in __hyp_sve_restore_host() [all...] |
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8998-oneplus-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */ 23 #address-cells = <2>; 24 #size-cells = <2>; 29 compatible = "simple-framebuffer"; 47 power-domains = <&mmcc MDSS_GDSC>; [all …]
|
| H A D | agatti.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 8 #include <dt-bindings/clock/qcom,dispcc-qcm2290.h> 9 #include <dt-bindings/clock/qcom,dsi-phy-2 [all...] |
| /linux/include/linux/ |
| H A D | arm_ffa.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 83 * For some calls it is necessary to use SMC64 to pass or return 64-bit values. 85 * (native-width) function ID. 95 #define FFA_RET_NOT_SUPPORTED (-1) 96 #define FFA_RET_INVALID_PARAMETERS (-2) 97 #define FFA_RET_NO_MEMORY (-3) 98 #define FFA_RET_BUSY (- [all...] |
| /linux/arch/arm64/include/asm/ |
| H A 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> 43 #define KVM_VCPU_VALID_FEATURES (BIT(KVM_VCPU_MAX_FEATURES) - 1) 65 * Mode of operation configurable with kvm-arm.mode early param. 66 * See Documentation/admin-guid [all...] |
| /linux/Documentation/virt/kvm/ |
| H A D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 24 - System ioctls: These query and set global attributes which affect the 28 - VM ioctls: These query and set attributes that affect an entire virtual 35 - vcpu ioctls: These query and set attributes that control the operation 43 - device ioctls: These query and set attributes that control the operation 92 facility that allows backward-compatible extensions to the API to be 133 - [all...] |
| /linux/include/uapi/linux/ |
| H A D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 25 * Backwards-compatible definitions. 64 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-4 310 __u16 ipa; global() member [all...] |
| /linux/tools/include/uapi/linux/ |
| H A D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 24 * Backwards-compatible definitions. 63 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. 64 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. 201 /* Encounter unexpected vm-exit due to delivery event. */ 203 /* Encounter unexpected vm-exit reason */ 309 __u16 ipa; member 336 * that is used for the KVM_INTERNAL_ERROR_EMULATION sub-type of 338 * sub-types, this struct is ABI! It also needs to be backwards [all …]
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Stand-alone page-table allocator for hyp stage-1 and guest stage-2. 24 return unlikely(ctx->flags & KVM_PGTABLE_WALK_SKIP_BBM_TLBI); in kvm_pgtable_walk_skip_bbm_tlbi() 29 return unlikely(ctx->flags & KVM_PGTABLE_WALK_SKIP_CMO); in kvm_pgtable_walk_skip_cmo() 34 u64 granule = kvm_granule_size(ctx->level); in kvm_block_mapping_supported() 36 if (!kvm_level_supports_block_mapping(ctx->level)) in kvm_block_mapping_supported() 39 if (granule > (ctx->end - ctx->addr)) in kvm_block_mapping_supported() 45 return IS_ALIGNED(ctx->addr, granule); in kvm_block_mapping_supported() 51 u64 mask = BIT(PAGE_SHIFT - 3) - 1; in kvm_pgtable_idx() 53 return (data->addr >> shift) & mask; in kvm_pgtable_idx() [all …]
|
| /linux/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 14 ifeq ($(filter output-sync,$(.FEATURES)),) 28 # Most importantly: sub-Makefiles should only ever modify files in 31 # unavoidable when linking the built-in.a targets which finally 41 this-makefile := $(lastword $(MAKEFILE_LIST)) 42 abs_srctree := $(realpath $(dir $(this-makefile))) 47 # Do not use make's built-in rules and variables 48 # (this increases performance and avoids hard-t [all...] |
| H A D | MAINTAINERS | 5 ---------- [all...] |
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2021 Intel Corporation. */ 32 static const char i40e_copyright[] = "Copyright (c) 2013 - 2019 Intel Corporation."; 58 /* i40e_pci_tbl - PCI Device ID Table 107 static int debug = -1; 127 if (is_unicast_ether_addr(f->macaddr) || is_link_local_ether_addr(f->macaddr)) in netdev_hw_addr_refcnt() 128 ha_list = &netdev->u in netdev_hw_addr_refcnt() 8346 u32 ipa; i40e_set_cld_element() local [all...] |
| /linux/kernel/trace/ |
| H A D | ftrace.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Infrastructure for profiling code inserted by 'gcc -pg'. 5 * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com> 6 * Copyright (C) 2004-2008 Ingo Molnar <mingo@redhat.com> 8 * Originally ported from the -rt patch by: 13 * Copyright (C) 2004-2006 Ingo Molnar 106 if (!(ops->flags & FTRACE_OPS_FL_PID) || !ops->privat in ftrace_pids_enabled() 7512 const unsigned long *ipa = a; ftrace_cmp_ips() local [all...] |