Home
last modified time | relevance | path

Searched +full:ipa +full:- +full:shared (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/drivers/net/ipa/
Dipa_uc.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2020 Linaro Ltd.
11 #include "ipa.h"
16 * DOC: The IPA embedded microcontroller
18 * The IPA incorporates a microcontroller that is able to do some additional
28 * A 128 byte block of structured memory within the IPA SRAM is used together
30 * AP and the IPA microcontroller. Each side writes data to the shared area
32 * to the interrupt. Some information found in the shared area is currently
33 * unused. All remaining space in the shared area is reserved, and must not
[all …]
Dipa_mem.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
10 #include <linux/dma-mapping.h>
15 #include "ipa.h"
33 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_mem_zero_region_add() local
34 dma_addr_t addr = ipa->zero_addr; in ipa_mem_zero_region_add()
36 if (!mem->size) in ipa_mem_zero_region_add()
39 ipa_cmd_dma_shared_mem_add(trans, mem->offset, mem->size, addr, true); in ipa_mem_zero_region_add()
43 * ipa_mem_setup() - Set up IPA AP and modem shared memory areas
[all …]
Dipa_mem.h1 /* 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 struct ipa;
13 * DOC: IPA Local Memory
15 * The IPA has a block of shared memory, divided into regions used for
18 * The regions within the shared block are bounded by an offset (relative to
19 * the "ipa-shared" memory range) and size found in the IPA_SHARED_MEM_SIZE
22 * Each region is optionally preceded by one or more 32-bit "canary" values.
23 * These are meant to detect out-of-range writes (if they become corrupted).
[all …]
Dipa_qmi_msg.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (C) 2018-2020 Linaro Ltd.
14 /* Request/response/indication QMI message ids used for IPA. Receiving
17 #define IPA_QMI_INDICATION_REGISTER 0x20 /* modem -> AP request */
18 #define IPA_QMI_INIT_DRIVER 0x21 /* AP -> modem request */
19 #define IPA_QMI_INIT_COMPLETE 0x22 /* AP -> modem indication */
20 #define IPA_QMI_DRIVER_INIT_COMPLETE 0x35 /* modem -> AP request */
27 #define IPA_QMI_INDICATION_REGISTER_REQ_SZ 12 /* -> server handle */
28 #define IPA_QMI_INDICATION_REGISTER_RSP_SZ 7 /* <- server handle */
29 #define IPA_QMI_INIT_DRIVER_REQ_SZ 162 /* client handle -> */
[all …]
Dipa_cmd.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
10 #include <linux/dma-direction.h>
15 struct ipa;
21 * enum ipa_cmd_opcode: IPA immediate commands
24 * The numeric values here are the opcodes for IPA v3.5.1 hardware.
43 * struct ipa_cmd_info - information needed for an IPA immediate command
57 * ipa_cmd_table_valid() - Validate a memory region holding a table
58 * @ipa: - IPA pointer
[all …]
Dipa_table.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2020 Linaro Ltd.
15 #include <linux/dma-mapping.h>
17 #include "ipa.h"
28 * DOC: IPA Filter and Route Tables
30 * The IPA has tables defined in its local shared memory that define filter
31 * and routing rules. Each entry in these tables contains a 64-bit DMA
33 * A rule consists of a contiguous block of 32-bit values terminated with
39 * Hashed operation is not supported by all IPA hardware.
[all …]
Dipa_data.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2020 Linaro Ltd.
16 * DOC: IPA/GSI Configuration Data
18 * Boot-time configuration data is used to define the configuration of the
19 * IPA and GSI resources to use for a given platform. This data is supplied
24 * Resources are data structures used internally by the IPA hardware. The
28 * Endpoint configuration data defines properties of both IPA endpoints and
30 * communication path between the IPA and a particular execution environment
35 * An endpoint is an IPA construct representing a single channel anywhere
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/net/
Dqcom,ipa.yaml1 # 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/arch/arm64/include/asm/
Dkvm_arm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2012,2013 - ARM Ltd
125 * We configure the Stage-2 page tables to always restrict the IPA space to be
144 * -----------------------------------------
146 * ------------------------------------------
147 * | Level: 0 | 2 | - |
148 * ------------------------------------------
150 * ------------------------------------------
152 * ------------------------------------------
153 * | Level: 3 | - | 0 |
[all …]
/Linux-v5.10/arch/arm64/kvm/
Dreset.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012,2013 - ARM Ltd
7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University
128 return -EINVAL; in kvm_vcpu_enable_sve()
132 return -EINVAL; in kvm_vcpu_enable_sve()
134 vcpu->arch.sve_max_vl = kvm_sve_max_vl; in kvm_vcpu_enable_sve()
141 vcpu->arch.flags |= KVM_ARM64_GUEST_HAS_SVE; in kvm_vcpu_enable_sve()
148 * vcpu->arch.sve_state as necessary.
155 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve()
158 * Responsibility for these properties is shared between in kvm_vcpu_finalize_sve()
[all …]
/Linux-v5.10/drivers/tee/optee/
Doptee_msg.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
3 * Copyright (c) 2015-2019, Linaro Limited
12 * This file defines the OP-TEE message protocol used to communicate
13 * with an instance of OP-TEE running in secure world.
19 * tee-supplicant.
23 * Part 1 - formatting of messages
48 * Pointer to a list of pages used to register user-defined SHM buffer.
51 * list of page addresses. OP-TEE core can reconstruct contiguous buffer from
63 * uint64_t pages_array[OPTEE_MSG_NONCONTIG_PAGE_SIZE/sizeof(uint64_t) - 1];
97 * Page size used in non-contiguous buffer entries
[all …]
/Linux-v5.10/arch/arm64/boot/dts/qcom/
Dsc7180.dtsi1 // 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 …]
Dsdm845.dtsi1 // 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 …]
Dsm8150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/power/qcom-aoss-qmp.h>
9 #include <dt-bindings/power/qcom-rpmpd.h>
10 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
11 #include <dt-bindings/clock/qcom,rpmh.h>
12 #include <dt-bindings/clock/qcom,gcc-sm8150.h>
13 #include <dt-bindings/clock/qcom,gpucc-sm8150.h>
14 #include <dt-bindings/interconnect/qcom,osm-l3.h>
[all …]
/Linux-v5.10/include/uapi/linux/
Dkvm.h1 /* 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/
Dkvm.h1 /* 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/Documentation/virt/kvm/
Dapi.rst1 .. SPDX-License-Identifier: GPL-2.0
4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation
13 - System ioctls: These query and set global attributes which affect the
17 - VM ioctls: These query and set attributes that affect an entire virtual
24 - vcpu ioctls: These query and set attributes that control the operation
32 - device ioctls: These query and set attributes that control the operation
80 facility that allows backward-compatible extensions to the API to be
104 the ioctl returns -ENOTTY.
122 -----------------------
139 -----------------
[all …]
/Linux-v5.10/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
24 # Most importantly: sub-Makefiles should only ever modify files in
27 # unavoidable when linking the built-in.a targets which finally
39 # Do not use make's built-in rules and variables
40 # (this increases performance and avoids hard-to-debug behaviour)
41 MAKEFLAGS += -rR
53 # ---------------------------------------------------------------------------
60 # cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
67 # A simple variant is to prefix commands with $(Q) - that's useful
68 # for commands that shall be hidden in non-verbose mode.
[all …]
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
27 static const char i40e_copyright[] = "Copyright (c) 2013 - 2019 Intel Corporation.";
51 /* i40e_pci_tbl - PCI Device ID Table
89 static int debug = -1;
93 MODULE_AUTHOR("Intel Corporation, <e1000-devel@lists.sourceforge.net>");
100 * i40e_allocate_dma_mem_d - OS specific memory alloc for shared code
109 struct i40e_pf *pf = (struct i40e_pf *)hw->back; in i40e_allocate_dma_mem_d()
111 mem->size = ALIGN(size, alignment); in i40e_allocate_dma_mem_d()
112 mem->va = dma_alloc_coherent(&pf->pdev->dev, mem->size, &mem->pa, in i40e_allocate_dma_mem_d()
[all …]
/Linux-v5.10/kernel/trace/
Dftrace.c1 // 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
100 if (!(ops->flags & FTRACE_OPS_FL_PID) || !ops->private) in ftrace_pids_enabled()
103 tr = ops->private; in ftrace_pids_enabled()
105 return tr->function_pids != NULL || tr->function_no_pids != NULL; in ftrace_pids_enabled()
134 if (!(ops->flags & FTRACE_OPS_FL_INITIALIZED)) { in ftrace_ops_init()
[all …]