| /kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
| D | vgic-its.c | 3 * GICv3 ITS emulation 26 static int vgic_its_save_tables_v0(struct vgic_its *its); 27 static int vgic_its_restore_tables_v0(struct vgic_its *its); 28 static int vgic_its_commit_v0(struct vgic_its *its); 34 * If this LPI is already mapped on another ITS, we increase its refcount 157 * struct vgic_its_abi - ITS abi ops and settings 161 * @save tables: save the ITS tables into guest RAM 162 * @restore_tables: restore the ITS internal structs from tables 171 int (*save_tables)(struct vgic_its *its); 172 int (*restore_tables)(struct vgic_its *its); [all …]
|
| D | vgic-v4.c | 19 * - The GICv4 ITS representation offered by the ITS driver 21 * - The virtual ITS, which is the only thing the guest sees 29 * (ITS instance, device, event and irq) using a process that is 44 * guest performs on its LPI through the vITS. For that, a number of 68 * tell the ITS (so that the messages reach the right redistributor). 123 * IRQ. The SGI code will do its magic. in vgic_v4_enable_vsgis() 335 * turns into a VMOVP command at the ITS level. in vgic_v4_load() 373 struct vgic_its *its; in kvm_vgic_v4_set_forwarding() local 382 * Get the ITS, and escape early on error (not a valid in kvm_vgic_v4_set_forwarding() 385 its = vgic_get_its(kvm, irq_entry); in kvm_vgic_v4_set_forwarding() [all …]
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-gic-v3-its.c | 74 * value of BASER register configuration and ITS page size. 86 * The ITS structure - contains most of the infrastructure, with the 120 #define is_v4(its) (!!((its)->typer & GITS_TYPER_VLPIS)) argument 121 #define is_v4_1(its) (!!((its)->typer & GITS_TYPER_VMAPP)) argument 122 #define device_ids(its) (FIELD_GET(GITS_TYPER_DEVBITS, (its)->typer) + 1) argument 154 * The ITS view of a device - belongs to an ITS, owns an interrupt 155 * translation table, and a list of interrupts. If it some of its 161 struct its_node *its; member 203 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp() argument 205 return (gic_rdists->has_rvpeid || vm->vlpi_count[its->list_nr]); in require_its_list_vmovp() [all …]
|
| D | irq-gic-v3-its-platform-msi.c | 14 .name = "ITS-pMSI", 62 /* ITS specific DeviceID, as the core ITS ignores dev. */ in its_pmsi_prepare() 82 { .compatible = "arm,gic-v3-its", }, 93 pr_err("%s: unable to locate ITS domain\n", name); in its_pmsi_init_one() 118 node_name = kasprintf(GFP_KERNEL, "ITS@0x%lx", in its_pmsi_parse_madt() 122 pr_err("%s: Unable to locate ITS domain handle\n", node_name); in its_pmsi_parse_madt()
|
| D | irq-gic-v3-its-pci-msi.c | 27 .name = "ITS-MSI", 76 /* ITS specific DeviceID, as the core ITS ignores dev. */ in its_pci_msi_prepare() 105 { .compatible = "arm,gic-v3-its", }, 116 pr_err("%s: Unable to locate ITS domain\n", name); in its_pci_msi_init_one() 161 node_name = kasprintf(GFP_KERNEL, "ITS@0x%lx", in its_pci_msi_parse_madt() 165 pr_err("%s: Unable to locate ITS domain handle\n", node_name); in its_pci_msi_parse_madt()
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/devices/ |
| D | arm-vgic-its.rst | 4 ARM Virtual Interrupt Translation Service (ITS) 10 The ITS allows MSI(-X) interrupts to be injected into guests. This extension is 11 optional. Creating a virtual ITS controller also requires a host GICv3 (see 12 arm-vgic-v3.txt), but does not depend on having physical ITS controllers. 14 There can be multiple ITS controllers per guest, each of them has to have 26 Base address in the guest physical address space of the GICv3 ITS 37 -ENODEV Incorrect attribute or the ITS is not supported. 46 request the initialization of the ITS, no additional parameter in 50 reset the ITS, no additional parameter in kvm_device_attr.addr. 51 See "ITS Reset State" section. [all …]
|
| /kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/ |
| D | timer_test_005.cpp | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 64 struct itimerspec its; in TimerTest() local 75 its.it_value.tv_sec = 3; // 3, timer time 3 seconds. in TimerTest() 76 its.it_value.tv_nsec = 0; in TimerTest() 77 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest() 78 its.it_interval.tv_nsec = its.it_value.tv_nsec; in TimerTest() 83 ret = timer_settime(timerid01, 0, &its, nullptr); in TimerTest() 87 its.it_value.tv_sec = 4; // 4, timer time 4 seconds. in TimerTest() 88 its.it_value.tv_nsec = 0; in TimerTest() 89 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest() [all …]
|
| D | timer_test_001.cpp | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 57 struct itimerspec its; in TimerTest() local 87 its.it_value.tv_sec = 0; in TimerTest() 88 its.it_value.tv_nsec = 900000000; // 900000000, 0.9s in TimerTest() 89 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest() 90 its.it_interval.tv_nsec = its.it_value.tv_nsec; in TimerTest() 92 ret = timer_settime(timerid01, 0, &its, nullptr); in TimerTest() 102 its.it_value.tv_sec = 1; in TimerTest() 103 its.it_value.tv_nsec = 0; in TimerTest() 104 its.it_interval.tv_sec = its.it_value.tv_sec; in TimerTest() [all …]
|
| D | timer_test_004.cpp | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 67 struct itimerspec its; in SigInfoTimerTest() local 96 its.it_value.tv_sec = 0; in SigInfoTimerTest() 97 its.it_value.tv_nsec = 990000000; // 990000000, 0.99s in SigInfoTimerTest() 98 its.it_interval.tv_sec = its.it_value.tv_sec; in SigInfoTimerTest() 99 its.it_interval.tv_nsec = its.it_value.tv_nsec; in SigInfoTimerTest() 101 ret = timer_settime(timerid, 0, &its, nullptr); in SigInfoTimerTest() 110 ret = timer_gettime(timerid, &its); in SigInfoTimerTest()
|
| D | timer_test_003.cpp | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 79 struct itimerspec its; in SetTimerTest() local 82 its.it_interval = zero; in SetTimerTest() 83 its.it_value = testcases[i]; in SetTimerTest() 88 ret = timer_settime(timerid, 0, &its, nullptr); in SetTimerTest() 97 expected = its.it_value.tv_sec * static_cast<int64_t>(1e9) + its.it_value.tv_nsec; in SetTimerTest()
|
| /kernel/linux/linux-5.10/arch/mips/boot/ |
| D | Makefile | 115 targets += vmlinux.its.S 120 $(obj)/vmlinux.its.S: $(addprefix $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS)) FORCE 123 targets += vmlinux.its 124 targets += vmlinux.gz.its 125 targets += vmlinux.bz2.its 126 targets += vmlinux.lzma.its 127 targets += vmlinux.lzo.its 129 quiet_cmd_cpp_its_S = ITS $@ 139 $(obj)/vmlinux.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE 142 $(obj)/vmlinux.gz.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE [all …]
|
| /kernel/linux/linux-5.10/arch/mips/generic/ |
| D | Platform | 19 its-y := vmlinux.its.S 20 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S 21 its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S 22 its-$(CONFIG_FIT_IMAGE_FDT_OCELOT) += board-ocelot.its.S 23 its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/knightslanding/ |
| D | cache.json | 135 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 146 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 157 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L… 168 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L… 201 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 212 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 223 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L… 234 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L… 267 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 278 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… [all …]
|
| /kernel/linux/linux-5.10/arch/um/os-Linux/ |
| D | time.c | 54 struct itimerspec its; in os_timer_set_interval() local 56 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 57 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 59 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 60 its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 62 if (timer_settime(event_high_res_timer, 0, &its, NULL) == -1) in os_timer_set_interval() 70 struct itimerspec its = { in os_timer_one_shot() local 78 timer_settime(event_high_res_timer, 0, &its, NULL); in os_timer_one_shot() 87 struct itimerspec its; in os_timer_disable() local 89 memset(&its, 0, sizeof(struct itimerspec)); in os_timer_disable() [all …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | common.c | 22 * its reference counter. Return 0 if new object has been created or refcount 47 /* kfree() verifies that its argument is nonzero. */ in dev_pm_get_subsys_data() 83 * dev_pm_domain_attach - Attach a device to its PM domain. 118 * dev_pm_domain_attach_by_id - Associate a device with one of its PM domains. 129 * in case its device requires power management through multiple PM domains. The 131 * towards its original device. Depending on the use-case and if needed, the 138 * Returns the virtual created device when successfully attached to its PM 154 * dev_pm_domain_attach_by_name - Associate a device with one of its PM domains. 171 * dev_pm_domain_detach - Detach a device from its PM domain. 176 * dev_pm_domain_attach_by_id(), thus it detaches @dev from its PM domain. [all …]
|
| /kernel/linux/linux-5.10/Documentation/power/ |
| D | runtime_pm.rst | 108 the helper functions described in Section 4 for the device until its status 113 mechanism allowing the device to request a change of its power state, such as 136 4 for the device, until its status is directly set to either 'active', or 148 idle callback with the device as its argument. 266 PM core as 'suspended', regardless of its real hardware status 319 then run pm_runtime_autosuspend(dev) and return its result 373 return its result 377 return its result 396 pm_request_idle(dev) and return its result 400 pm_request_autosuspend(dev) and return its result [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/arm64/ |
| D | iort.c | 155 * ITS ID and base address to the list from where we can get it back later on. 156 * @trans_id: ITS ID. 157 * @base: ITS base address. 183 * iort_deregister_domain_token() - Deregister domain token based on ITS ID 184 * @trans_id: ITS ID. 204 * iort_find_domain_token() - Find domain token based on given ITS ID 205 * @trans_id: ITS ID. 478 * Get the special ID mapping index (if any) and skip its in iort_node_map_id() 525 * optional step 2: map the initial dev id if its parent is not in iort_node_map_platform_id() 527 * as NC (named component) -> SMMU -> ITS. If the type is matched, in iort_node_map_platform_id() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/ |
| D | fsl,qoriq-mc.txt | 32 The msi-map property is used to associate the devices with both the ITS 38 For GICv3 and GIC ITS bindings, see: 127 - msi-map: Maps an ICID to a GIC ITS and associated msi-specifier 131 (icid-base,gic-its,msi-base,length). 134 associated with the listed GIC ITS, with the msi-specifier 162 its: gic-its@6020000 { 163 compatible = "arm,gic-v3-its"; 175 msi-map = <23 &its 23 41>;
|
| /kernel/liteos_m/testsuites/sample/kernel/mem/ |
| D | It_los_mem_037.c | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 56 …f0 = LOS_MemRealloc(g_memPool, p0, size / 2); // 2, The reallocated memory is half of its previous… in TestCase() 59 …_MemRealloc(g_memPool, p0, size * 2); // 2, The reallocated memory is 2 times of its previous size. in TestCase() 74 …f0 = LOS_MemRealloc(g_memPool, p0, size / 2); // 2, The reallocated memory is half of its previous… in TestCase() 77 …_MemRealloc(g_memPool, p0, size * 2); // 2, The reallocated memory is 2 times of its previous size. in TestCase() 94 …LOS_MemRealloc(g_memPool, p0, size / 2); // 2, The reallocated memory is half of its previous size. in TestCase() 97 …_MemRealloc(g_memPool, p0, size * 2); // 2, The reallocated memory is 2 times of its previous size. in TestCase()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | arm,gic-v3.yaml | 158 "^gic-its@": false 161 "^(msi-controller|gic-its|interrupt-controller)@[0-9a-f]+$": 164 GICv3 has one or more Interrupt Translation Services (ITS) that are 168 const: arm,gic-v3-its 180 Specifies the base physical address and size of the ITS registers. 183 socionext,synquacer-pre-its: 186 address and size of the pre-ITS window. 222 compatible = "arm,gic-v3-its"; 247 compatible = "arm,gic-v3-its"; 254 compatible = "arm,gic-v3-its";
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | kernel-per-CPU-kthreads.rst | 43 To reduce its OS jitter, do any of the following: 52 3. Rework the eHCA driver so that its per-CPU kthreads are 62 To reduce its OS jitter, do the following: 73 To reduce its OS jitter, do one of the following: 87 To reduce its OS jitter, each softirq vector must be handled 166 interrupts that the de-jittered CPU receives, minimizing its 208 2. Enable RCU to do its processing remotely via dyntick-idle by 228 To reduce its OS jitter, do any of the following: 242 to remove it, even if its addition was a mistake. 248 use of each CPU's workqueues to run its cache_reap() [all …]
|
| D | cgroup-v2.rst | 150 is no longer referenced in its current hierarchy. Because per-cgroup 221 A process can be migrated into a cgroup by writing its PID to the 272 Marking a cgroup threaded makes it join the resource domain of its 323 A domain cgroup is turned into a threaded domain when one of its child 334 threaded domain, its operations are confined inside each threaded 348 threads in the cgroup and its descendants. All consumptions which 353 between threads in a non-leaf cgroup and its child cgroups. Each 362 live processes in it. Its value is 0 if there is no live process in 363 the cgroup and its descendants; otherwise, 1. poll and [id]notify 403 the target resource across its immediate children will be controlled. [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/sunxi-ng/ |
| D | ccu_phase.c | 29 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_get_phase() 34 /* And its rate */ in ccu_phase_get_phase() 44 /* And its rate */ in ccu_phase_get_phase() 65 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_set_phase() 70 /* And its rate */ in ccu_phase_set_phase() 80 /* And its rate */ in ccu_phase_set_phase()
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
| D | cpusets.rst | 57 include CPUs in its CPU affinity mask, and using the mbind(2) and 58 set_mempolicy(2) system calls to include Memory Nodes in its memory 61 schedule a task on a CPU that is not allowed in its cpus_allowed 145 - in fork and exit, to attach and detach a task from its cpuset. 191 command. The properties of a cpuset, such as its flags, allowed 211 - Its CPUs and Memory Nodes must be a subset of its parents. 212 - It can't be marked exclusive unless its parent is. 213 - If its cpu or memory is exclusive, they may not overlap any sibling. 253 isolating each job's user allocation in its own cpuset. To do this, 398 The algorithmic cost of load balancing and its impact on key shared [all …]
|
| /kernel/liteos_a/testsuites/unittest/security/vid/smoke/ |
| D | vid_test_001.cpp | 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 49 struct itimerspec its; in ChildFunc() local 109 its.it_interval.tv_sec = 1; in ChildFunc() 110 its.it_interval.tv_nsec = 0; in ChildFunc() 111 its.it_value.tv_sec = 1; in ChildFunc() 112 its.it_value.tv_nsec = 0; in ChildFunc() 113 ret1 = (INT32 *)timer_settime(tid, 0, &its, NULL); in ChildFunc()
|