| /kernel/linux/linux-6.6/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() 364 * turns into a VMOVP command at the ITS level. in vgic_v4_load() 414 struct vgic_its *its; in kvm_vgic_v4_set_forwarding() local 424 * Get the ITS, and escape early on error (not a valid in kvm_vgic_v4_set_forwarding() 427 its = vgic_get_its(kvm, irq_entry); in kvm_vgic_v4_set_forwarding() [all …]
|
| /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-6.6/drivers/irqchip/ |
| D | irq-gic-v3-its.c | 76 * value of BASER register configuration and ITS page size. 88 * The ITS structure - contains most of the infrastructure, with the 122 #define is_v4(its) (!!((its)->typer & GITS_TYPER_VLPIS)) argument 123 #define is_v4_1(its) (!!((its)->typer & GITS_TYPER_VMAPP)) argument 124 #define device_ids(its) (FIELD_GET(GITS_TYPER_DEVBITS, (its)->typer) + 1) argument 156 * The ITS view of a device - belongs to an ITS, owns an interrupt 157 * translation table, and a list of interrupts. If it some of its 163 struct its_node *its; member 205 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp() argument 207 return (gic_rdists->has_rvpeid || vm->vlpi_count[its->list_nr]); in require_its_list_vmovp() [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 …]
|
| /kernel/linux/linux-6.6/arch/mips/generic/ |
| D | Platform | 18 its-y := vmlinux.its.S 19 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON) += board-boston.its.S 20 its-$(CONFIG_FIT_IMAGE_FDT_NI169445) += board-ni169445.its.S 21 its-$(CONFIG_FIT_IMAGE_FDT_OCELOT) += board-ocelot.its.S 22 its-$(CONFIG_FIT_IMAGE_FDT_LUTON) += board-luton.its.S 23 its-$(CONFIG_FIT_IMAGE_FDT_JAGUAR2) += board-jaguar2.its.S 24 its-$(CONFIG_FIT_IMAGE_FDT_SERVAL) += board-serval.its.S 25 its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA) += board-xilfpga.its.S 26 its-$(CONFIG_FIT_IMAGE_FDT_MARDUK) += board-marduk.its.S
|
| /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/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/arch/um/os-Linux/ |
| D | time.c | 49 struct itimerspec its; in os_timer_set_interval() local 51 its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 52 its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 54 its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC; in os_timer_set_interval() 55 its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC; in os_timer_set_interval() 57 if (timer_settime(event_high_res_timer, 0, &its, NULL) == -1) in os_timer_set_interval() 65 struct itimerspec its = { in os_timer_one_shot() local 73 timer_settime(event_high_res_timer, 0, &its, NULL); in os_timer_one_shot() 82 struct itimerspec its; in os_timer_disable() local 84 memset(&its, 0, sizeof(struct itimerspec)); in os_timer_disable() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/knightslanding/ |
| D | cache.json | 120 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 129 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… 138 …hat accounts for responses from snoop request hit with data forwarded from its Near-other tile L2 … 147 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L… 156 …t accounts for responses from a snoop request hit with data forwarded from its Near-other tile's L… 165 …ads and prefetch code read requests that accounts for responses which hit its own tile's L2 with … 174 …ads and prefetch code read requests that accounts for responses which hit its own tile's L2 with … 183 …ads and prefetch code read requests that accounts for responses which hit its own tile's L2 with … 192 …ads and prefetch code read requests that accounts for responses which hit its own tile's L2 with … 228 …t accounts for responses from a snoop request hit with data forwarded from its Far(not in the same… [all …]
|
| /kernel/linux/linux-6.6/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/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-6.6/Documentation/admin-guide/hw-vuln/ |
| D | indirect-target-selection.rst | 3 Indirect Target Selection (ITS) 6 ITS is a vulnerability in some Intel CPUs that support Enhanced IBRS and were 7 released before Alder Lake. ITS may allow an attacker to control the prediction 10 ITS is assigned CVE-2024-28956 with a CVSS score of 4.7 (Medium). 28 Below is the list of ITS affected CPUs [#f2]_ [#f3]_: 48 - IBPB isolation is affected on all ITS affected CPUs, and need a microcode 53 - Intel Atom CPUs are not affected by ITS. 58 in the lower half of the cacheline are vulnerable to ITS, the basic idea behind 62 compilers. ITS-vulnerable retpoline sites are runtime patched to point to newly 63 added ITS-safe thunks. These safe thunks consists of indirect branch in the [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-6.6/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. 177 * detaches @dev from its PM domain. Typically it should be invoked during the [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-6.6/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
| D | pipeline.json | 75 …"PublicDescription": "This event counts requests in L1D cache pipeline#0 that its sce bit of tagge… 78 …"BriefDescription": "This event counts requests in L1D cache pipeline#0 that its sce bit of tagged… 81 …"PublicDescription": "This event counts requests in L1D cache pipeline#0 that its pfe bit of tagge… 84 …"BriefDescription": "This event counts requests in L1D cache pipeline#0 that its pfe bit of tagged… 87 …"PublicDescription": "This event counts requests in L1D cache pipeline#1 that its sce bit of tagge… 90 …"BriefDescription": "This event counts requests in L1D cache pipeline#1 that its sce bit of tagged… 93 …"PublicDescription": "This event counts requests in L1D cache pipeline#1 that its pfe bit of tagge… 96 …"BriefDescription": "This event counts requests in L1D cache pipeline#1 that its pfe bit of tagged… 129 …"PublicDescription": "This event counts requests in L1D cache pipeline#0 that its sector cache ID … 132 …"BriefDescription": "This event counts requests in L1D cache pipeline#0 that its sector cache ID i… [all …]
|
| /kernel/linux/linux-6.6/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 323 then run pm_runtime_autosuspend(dev) and return its result 385 return its result 389 return its result; 392 if its return value is checked by the caller, as this is likely to 412 pm_request_idle(dev) and return its result [all …]
|