Home
last modified time | relevance | path

Searched +full:ipi +full:- +full:id (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/sys/contrib/device-tree/Bindings/mailbox/
H A Dxlnx,zynqmp-ipi-mailbox.txt1 Xilinx IPI Mailbox Controller
4 The Xilinx IPI(Inter Processor Interrupt) mailbox controller is to manage
5 messaging between two Xilinx Zynq UltraScale+ MPSoC IPI agents. Each IPI
8 +-------------------------------------+
9 | Xilinx ZynqMP IPI Controller |
10 +-------------------------------------+
11 +--------------------------------------------------+
15 +--------------------------+ |
18 +--------------------------------------------------+
19 +------------------------------------------+
[all …]
H A Dxlnx,zynqmp-ipi-mailbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id
[all...]
/freebsd/sys/x86/x86/
H A Dmp_x86.c1 /*-
90 int boot_cpu_id = -1; /* designated BSP */
156 static int intr_apic_id_limit = -1;
159 "Maximum permitted APIC ID for interrupt delivery (-1 is unlimited)");
181 if (mem_range_softc.mr_op && mem_range_softc.mr_op->initAP) in mem_range_AP_init()
182 mem_range_softc.mr_op->initAP(&mem_range_softc); in mem_range_AP_init()
186 * Compute ceil(log2(x)). Returns -1 if x is zero.
192 return (x == 0 ? -1 : order_base_2(x)); in mask_width()
215 if (caches[level - 1].present) { in add_deterministic_cache()
217 printf("%u => %u\n", caches[level - 1].id_shift, in add_deterministic_cache()
[all …]
/freebsd/sys/riscv/riscv/
H A Dmp_machdep.c1 /*-
11 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme.
111 void *dpcpu[MAXCPU - 1];
122 /* Setup the IPI handlers */ in release_aps()
160 cpuid -= boot_hart; in init_secondary()
177 pcpup->pc_curthread = pcpup->pc_idlethread; in init_secondary()
184 /* Start per-CPU event timers. */ in init_secondary()
189 CPU_SET_ATOMIC(hart, &kernel_pmap->pm_active); in init_secondary()
199 /* enable IPI's, tlb shootdown, freezes etc */ in init_secondary()
313 cpu_check_mmu(u_int id __unused, phandle_t node, u_int addr_size __unused, in cpu_check_mmu()
[all …]
/freebsd/sys/arm64/arm64/
H A Dmp_machdep.c1 /*-
2 * Copyright (c) 2015-2016 The FreeBSD Foundation
92 { "arm,foundation-aarch64", MP_QUIRK_CPULIST },
93 { "arm,fvp-base", MP_QUIRK_CPULIST },
94 { "arm,fvp-base-revc", MP_QUIRK_CPULIST },
96 { "arm,vfp-base", MP_QUIRK_CPULIST },
133 static void *dpcpu[MAXCPU - 1];
199 * valid. Some older U-Boot based PSCI implementations are buggy, in init_secondary()
222 pcpup->pc_midr = get_midr(); in init_secondary()
238 pcpup->pc_curthread = pcpup->pc_idlethread; in init_secondary()
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dmp_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
107 /* Start per-CPU event timers. */ in machdep_ap_bootstrap()
156 printf("SMP: cpu%d: skipped -- ID out of range\n", in cpu_mp_start()
161 printf("SMP: cpu%d: skipped - duplicate ID\n", in cpu_mp_start()
181 pc->pc_cpuid = bsp.cr_cpuid; in cpu_mp_start()
182 pc->pc_bsp = 1; in cpu_mp_start()
184 pc->pc_domain = domain; in cpu_mp_start()
185 pc->pc_hwref = cpu.cr_hwref; in cpu_mp_start()
187 CPU_SET(pc->pc_cpuid, &cpuset_domain[pc->pc_domain]); in cpu_mp_start()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp1 //===- PDBFileBuilder.cpp - PDB File Creation --------
[all...]
H A DNativeInlineSiteSymbol.cpp1 //===- NativeInlineSiteSymbol.cpp - info about inline sites -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 NativeSession &Session, SymIndexId Id, const codeview::InlineSiteSym &Sym, in NativeInlineSiteSymbol() argument
31 : NativeRawSymbol(Session, PDB_SymType::InlineSite, Id), Sym(Sym), in NativeInlineSiteSymbol()
44 findInlineeByTypeIndex(TypeIndex Id, ModuleDebugStreamRef &ModS) { in findInlineeByTypeIndex() argument
57 if (Line.Header->Inlinee == Id) in findInlineeByTypeIndex()
69 auto Ipi = Session.getPDBFile().getPDBIpiStream(); in getName() local
70 if (!Ipi) { in getName()
71 consumeError(Ipi.takeError()); in getName()
[all …]
/freebsd/sys/x86/xen/
H A Dxen_apic.c47 #include <xen/xen-os.h>
54 #include <contrib/xen/arch-x86/cpuid.h>
57 /*--------------------------- Forward Declarations ---------------------------*/
72 /*---------------------------------- Macros ----------------------------------*/
73 #define IPI_TO_IDX(ipi) ((ipi) - APIC_IPI_INTS) argument
75 /*--------------------------------- Xen IPIs ---------------------------------*/
103 * https://lists.freebsd.org/archives/freebsd-xen/2022-January/000032.html
107 /*------------------------------- Per-CPU Data -------------------------------*/
110 /*------------------------------- Xen PV APIC --------------------------------*/
112 #define PCPU_ID_GET(id, field) (pcpu_find(id)->pc_##field) argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp1 //==- AArch64PromoteConstant.cpp - Promote constant to global for AArch64 --==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
20 //===----------------------------------------------------------------------===//
53 #define DEBUG_TYPE "aarch64-promote-const"
55 // Stress testing mode - disable heuristics.
56 static cl::opt<bool> Stress("aarch64-stress-promote-const", cl::Hidden,
62 //===----------------------------------------------------------------------===//
64 //===----------------------------------------------------------------------===//
111 static char ID; member in __anon049483970111::AArch64PromoteConstant
[all …]
/freebsd/sys/netinet/
H A Din_pcb.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
6 * Copyright (c) 2010-2011 Juniper Networks, Inc.
64 * protocol-specific control block) are stored here.
87 * NOTE: ipv6 addrs should be 64-bit aligned, per RFC 2553. in_conninfo has
89 * NOTE 2: tcp_syncache.c uses first 5 32-bit words, which identify fport,
102 u_int32_t ie6_zoneid; /* scope zone id */
134 * IPv6 sockets. In the case of TCP and UDP, further per-connection state is
137 * a per-inpcb rwlock, inp_lock.
145 * (c) - Constant after initialization
[all …]
/freebsd/sys/powerpc/include/
H A Dopenpicreg.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
37 * Per Processor Registers [private access] (0x00000 - 0x00fff)
40 /* IPI dispatch command reg */
41 #define OPENPIC_IPI_DISPATCH(ipi) (0x40 + (ipi) * 0x10) argument
56 * Global registers (0x01000-0x0ffff)
78 /* vendor ID */
84 /* IPI vector/priority reg */
85 #define OPENPIC_IPI_VECTOR(ipi) (0x10a0 + (ipi) * 0x10) argument
99 * Interrupt Source Configuration Registers (0x10000 - 0x1ffff)
[all …]
/freebsd/sys/kern/
H A Dsubr_intr.c1 /*-
2 * Copyright (c) 2015-2016 Svatopluk Kraus
3 * Copyright (c) 2015-2016 Michal Meloun
5 * Copyright (c) 2015-2016 The FreeBSD Foundation
35 * New-style Interrupt Framework
37 * TODO: - add support for disconnected PICs.
38 * - to support IPI (PPI) enabling on other CPUs if already started.
39 * - to complete things for removable PICs.
201 * - 2 counters for each I/O interrupt. in intr_irq_init()
202 * - mp_maxid + 1 counters for each IPI counters for SMP. in intr_irq_init()
[all …]
H A Dsubr_smp.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
85 "Max CPU ID.");
106 int mp_ncores = -1; /* how many physical cores running */
143 KASSERT(mp_maxid >= mp_ncpus - 1, in mp_setmaxid()
186 int id; in forward_signal() local
197 CTR1(KTR_SMP, "forward_signal(%p)", td->td_proc); in forward_signal()
202 /* No need to IPI ourself. */ in forward_signal()
206 id = td->td_oncpu; in forward_signal()
207 if (id == NOCPU) in forward_signal()
[all …]
/freebsd/sys/i386/i386/
H A Dmp_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
158 for (i = *physmap_idx; i <= *physmap_idx; i -= 2) { in alloc_ap_trampoline()
165 (trunc_page(physmap[i + 1]) - round_page(physmap[i])) < in alloc_ap_trampoline()
176 if ((physmap[i + 1] - boot_address) < bootMP_size) in alloc_ap_trampoline()
177 boot_address -= round_page(bootMP_size); in alloc_ap_trampoline()
185 sizeof(*physmap) * (*physmap_idx - i + 2)); in alloc_ap_trampoline()
186 *physmap_idx -= 2; in alloc_ap_trampoline()
192 boot_address = basemem * 1024 - bootMP_size; in alloc_ap_trampoline()
201 * Initialize the IPI handlers and start up the AP's.
[all …]
/freebsd/sys/amd64/amd64/
H A Dmp_machdep.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
115 * Initialize the IPI handlers and start up the AP's.
122 /* Initialize the logical ID to APIC ID table. */ in cpu_mp_start()
124 cpu_apic_ids[i] = -1; in cpu_mp_start()
127 /* Install an inter-CPU IPI for cache and TLB invalidations. */ in cpu_mp_start()
131 /* Install an inter-CPU IPI for all-CPU rendezvous */ in cpu_mp_start()
135 /* Install generic inter-CPU IPI handler */ in cpu_mp_start()
139 /* Install an inter-CPU IPI for CPU stop/restart */ in cpu_mp_start()
143 /* Install an inter-CPU IPI for CPU suspend/resume */ in cpu_mp_start()
[all …]
/freebsd/sys/x86/include/
H A Dapicvar.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
38 * 0xff (255) +-------------+
40 * 0xf0 (240) +-------------+
42 * 0xe0 (224) +-------------+
44 * 0xd0 (208) +-------------+
46 * 0xc0 (192) +-------------+
48 * 0xb0 (176) +-------------+
50 * 0xa0 (160) +-------------+
52 * 0x90 (144) +-------------+
[all …]
/freebsd/sys/amd64/vmm/io/
H A Dvlapic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
62 #define x2apic(vlapic) (((vlapic)->msr_apicbase & APICBASE_X2APIC) ? 1 : 0)
65 * The 'vlapic->timer_mtx' is used to provide mutual exclusion between the
67 * - timer_freq_bt, timer_period_bt, timer_fire_bt
68 * - timer LVT register
70 #define VLAPIC_TIMER_LOCK(vlapic) mtx_lock_spin(&((vlapic)->timer_mtx))
71 #define VLAPIC_TIMER_UNLOCK(vlapic) mtx_unlock_spin(&((vlapic)->timer_mtx))
72 #define VLAPIC_TIMER_LOCKED(vlapic) mtx_owned(&((vlapic)->timer_mtx))
76 * - arbitrary but chosen to be in the ballpark of contemporary hardware.
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DTypeMerger.h1 //===- TypeMerger.h ---------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
39 /// Get the ID table or the global ID table if /DEBUG:GHASH is enabled.
49 /// Map from PDB function id type indexes to PDB function type indexes.
56 /// Item records that will go into the PDB IPI stream.
59 // When showSummary is enabled, these are histograms of TPI and IPI records
/freebsd/sys/arm64/apple/
H A Dapple_aic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
54 #include <dt-bindings/interrupt-controller/apple-aic.h>
142 u_int *sc_cpuids; /* cpu index to AIC CPU ID */
175 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in apple_aic_probe()
193 sc->sc_dev = dev; in apple_aic_attach()
196 sc->sc_mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in apple_aic_attach()
198 if (sc->sc_mem == NULL) { in apple_aic_attach()
203 info = bus_read_4(sc->sc_mem, AIC_INFO); in apple_aic_attach()
204 sc->sc_nirqs = AIC_INFO_NIRQS(info); in apple_aic_attach()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/power/reset/
H A Dxlnx,zynqmp-power.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id
[all...]
/freebsd/sys/riscv/include/
H A Dsbi.h1 /*-
2 * Copyright (c) 2016-2017 Ruslan Bukin <br@bsdpad.com>
8 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme.
61 #define SBI_ERR_FAILURE -1
62 #define SBI_ERR_NOT_SUPPORTED -2
63 #define SBI_ERR_INVALID_PARAM -3
64 #define SBI_ERR_DENIED -4
65 #define SBI_ERR_INVALID_ADDRESS -5
66 #define SBI_ERR_ALREADY_AVAILABLE -6
82 /* IPI (IPI) Extension */
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DCompileUnitIndex.cpp1 //===-- CompileUnitIndex.cpp --------
128 CompilandIndexItem(PdbCompilandId id,llvm::pdb::ModuleDebugStreamRef debug_stream,llvm::pdb::DbiModuleDescriptor descriptor) CompilandIndexItem() argument
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDumpVisitor.h1 //===-- TypeDumpVisitor.h - CodeView type info dumper -----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
34 /// When dumping types from an IPI stream in a PDB, a type index may refer to
35 /// a type or an item ID. The dumper will lookup the "name" of the index in
49 /// including the fixed-length record prefix.
70 /// is set, then we must be dumping an item (IPI) stream. This will also
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dapple,aic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hector Martin <marcan@marcan.st>
19 - Level-triggered hardware IRQs wired to SoC blocks
20 - Single mask bit per IRQ
21 - Per-IRQ affinity setting
22 - Automatic masking on event delivery (auto-ack)
23 - Software triggering (ORed with hw line)
[all …]

123