Home
last modified time | relevance | path

Searched full:hfi (Results 1 – 25 of 192) sorted by relevance

12345678

/kernel/linux/linux-6.6/drivers/thermal/intel/
Dintel_hfi.c15 * constraints). On other processor models, there is a single HFI update
18 * This file provides functionality to process HFI updates and relay these
22 #define pr_fmt(fmt) "intel-hfi: " fmt
55 /* CPUID detection and enumeration definitions for HFI */
79 * struct hfi_cpu_data - HFI capabilities per CPU
83 * Capabilities of a logical processor in the HFI table. These capabilities are
92 * struct hfi_hdr - Header of the HFI table
96 * Properties of the data in an HFI table.
104 * struct hfi_instance - Representation of an HFI instance (i.e., a table)
105 * @local_table: Base of the local copy of the HFI table
[all …]
/kernel/linux/linux-6.6/Documentation/arch/x86/
Dintel-hfi.rst10 Intel has described the Hardware Feedback Interface (HFI) in the Intel 64 and
14 The HFI gives the operating system a performance and energy efficiency
16 the HFI to influence task placement decisions.
34 reflected in the HFI. Likewise, if the system needs to be throttled due to
35 excessive heat, the HFI may reflect reduced performance on specific CPUs.
52 The thermal monitor may generate interrupts per CPU or per package. The HFI
54 via a set of machine-specific registers. Specifically, the HFI interrupt and
56 and IA32_PACKAGE_THERM_STATUS registers, respectively. There exists one HFI
60 The hardware issues an HFI interrupt after updating the HFI table and is ready
64 When servicing such interrupt, the HFI driver parses the updated table and
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dcore.h16 #include "hfi.h"
144 * @done: a completion for sync HFI operations
145 * @error: an error returned during last HFI sync operations
153 * @priv: a private filed for HFI operations
154 * @ops: the core HFI operations
347 * @hfi_codec: current codec for this instance in HFI space
353 * @done: a completion for sync HFI operation
354 * @error: an error returned during last HFI sync operation
355 * @session_error: a flag rised by HFI interface in case of session error
356 * @ops: HFI operations
[all …]
Dhfi_cmds.c28 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() local
30 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_idle_indicator()
34 hfi->enable = enable; in pkt_sys_idle_indicator()
40 struct hfi_debug_config *hfi; in pkt_sys_debug_config() local
42 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_debug_config()
46 hfi = (struct hfi_debug_config *)&pkt->data[1]; in pkt_sys_debug_config()
47 hfi->config = config; in pkt_sys_debug_config()
48 hfi->mode = mode; in pkt_sys_debug_config()
117 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_power_control() local
119 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_power_control()
[all …]
Dhfi_venus_io.h31 /* HFI control status */
42 /* HFI queue table info */
45 /* HFI queue table address */
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
Dcore.h17 #include "hfi.h"
154 * @done: a completion for sync HFI operations
155 * @error: an error returned during last HFI sync operations
164 * @priv: a private filed for HFI operations
165 * @ops: the core HFI operations
167 * @caps: an array of supported HFI capabilities
420 * @hfi_codec: current codec for this instance in HFI space
427 * @done: a completion for sync HFI operation
428 * @error: an error returned during last HFI sync operation
429 * @session_error: a flag rised by HFI interface in case of session error
[all …]
Dhfi_cmds.c29 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() local
31 pkt->hdr.size = struct_size(pkt, data, 1) + sizeof(*hfi); in pkt_sys_idle_indicator()
35 hfi->enable = enable; in pkt_sys_idle_indicator()
41 struct hfi_debug_config *hfi; in pkt_sys_debug_config() local
43 pkt->hdr.size = struct_size(pkt, data, 1) + sizeof(*hfi); in pkt_sys_debug_config()
47 hfi = (struct hfi_debug_config *)&pkt->data[1]; in pkt_sys_debug_config()
48 hfi->config = config; in pkt_sys_debug_config()
49 hfi->mode = mode; in pkt_sys_debug_config()
61 void pkt_sys_ubwc_config(struct hfi_sys_set_property_pkt *pkt, const struct hfi_ubwc_config *hfi) in pkt_sys_ubwc_config() argument
63 pkt->hdr.size = struct_size(pkt, data, 1) + sizeof(*hfi); in pkt_sys_ubwc_config()
[all …]
Dhfi_venus_io.h34 /* HFI control status */
45 /* HFI queue table info */
48 /* HFI queue table address */
/kernel/linux/linux-5.10/Documentation/infiniband/
Dopa_vnic.rst7 the Ethernet packets between HFI nodes.
13 fabric topology. A subset of HFI nodes on the Omni-Path fabric are
16 abstractions achieved by configuring the HFI nodes on the fabric for
17 header generation and processing. In the simplest configuration all HFI
22 application. HFI nodes can have multiple VNICs each connected to a
24 of two virtual Ethernet switches with two HFI nodes::
48 | HFI | | HFI |
/kernel/linux/linux-6.6/Documentation/infiniband/
Dopa_vnic.rst7 the Ethernet packets between HFI nodes.
13 fabric topology. A subset of HFI nodes on the Omni-Path fabric are
16 abstractions achieved by configuring the HFI nodes on the fabric for
17 header generation and processing. In the simplest configuration all HFI
22 application. HFI nodes can have multiple VNICs each connected to a
24 of two virtual Ethernet switches with two HFI nodes::
48 | HFI | | HFI |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
Ddebugfs.c15 #include "hfi.h"
487 int this_hfi, int hfi, u32 flag, const char *what) in check_dyn_flag() argument
491 mask = flag << (hfi ? CR_DYN_SHIFT : 0); in check_dyn_flag()
494 " 0x%08x - HFI%d %s in use, %s device\n", in check_dyn_flag()
495 mask, hfi, what, in check_dyn_flag()
496 this_hfi == hfi ? "this" : "other"); in check_dyn_flag()
531 /* check each dynamic flag on each HFI */ in asic_flags_read()
580 /* force write to be visible to other HFI on another OS */ in asic_flags_write()
724 /* Do an i2c write operation on the chain for the given HFI. */
764 /* Do an i2c write operation on chain for HFI 0. */
[all …]
Dnetdev.h10 #include "hfi.h"
16 * struct hfi1_netdev_rxq - Receive Queue for HFI
38 * struct hfi1_netdev_rx: data required to setup and run HFI netdev.
Duser_pages.c11 #include "hfi.h"
51 * Only allow 1/4 of the user's RLIMIT_MEMLOCK to be used for HFI in hfi1_can_pin_pages()
Daffinity.c11 #include "hfi.h"
30 /* Per NUMA node count of HFI devices */
175 pr_err("HFI: Invalid PCI NUMA node. Performance may be affected\n"); in node_affinity_init()
176 pr_err("HFI: System BIOS may need to be upgraded\n"); in node_affinity_init()
1030 * For each user process that is opening a context on HFI Y: in hfi1_get_proc_affinity()
1036 * 1. Same NUMA node as HFI Y and not running an IRQ in hfi1_get_proc_affinity()
1038 * 2. Same NUMA node as HFI Y and running an IRQ handler in hfi1_get_proc_affinity()
1039 * 3. Different NUMA node to HFI Y and not running an IRQ in hfi1_get_proc_affinity()
1041 * 4. Different NUMA node to HFI Y and running an IRQ in hfi1_get_proc_affinity()
Dfirmware.c11 #include "hfi.h"
170 /* SBus fabric SerDes addresses, one set per HFI */
176 /* SBus PCIe SerDes addresses, one set per HFI */
184 /* SBus PCIe PCS addresses, one set per HFI */
192 /* SBus fabric SerDes broadcast addresses, one per HFI */
196 /* SBus PCIe SerDes broadcast addresses, one per HFI */
1114 * Reset all of the fabric serdes for this HFI in preparation to take the
1118 * the fabric serdes download to the other HFI on the ASIC will have turned
1119 * off the firmware validation on this HFI. This means we can't write to the
1406 /* return the given resource bit(s) as a mask for the given HFI */
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Ddebugfs.c57 #include "hfi.h"
529 int this_hfi, int hfi, u32 flag, const char *what) in check_dyn_flag() argument
533 mask = flag << (hfi ? CR_DYN_SHIFT : 0); in check_dyn_flag()
536 " 0x%08x - HFI%d %s in use, %s device\n", in check_dyn_flag()
537 mask, hfi, what, in check_dyn_flag()
538 this_hfi == hfi ? "this" : "other"); in check_dyn_flag()
573 /* check each dynamic flag on each HFI */ in asic_flags_read()
622 /* force write to be visible to other HFI on another OS */ in asic_flags_write()
766 /* Do an i2c write operation on the chain for the given HFI. */
806 /* Do an i2c write operation on chain for HFI 0. */
[all …]
Dnetdev.h10 #include "hfi.h"
16 * struct hfi1_netdev_rxq - Receive Queue for HFI
39 * struct hfi1_netdev_priv: data required to setup and run HFI netdev.
Daffinity.c53 #include "hfi.h"
72 /* Per NUMA node count of HFI devices */
217 pr_err("HFI: Invalid PCI NUMA node. Performance may be affected\n"); in node_affinity_init()
218 pr_err("HFI: System BIOS may need to be upgraded\n"); in node_affinity_init()
1074 * For each user process that is opening a context on HFI Y: in hfi1_get_proc_affinity()
1080 * 1. Same NUMA node as HFI Y and not running an IRQ in hfi1_get_proc_affinity()
1082 * 2. Same NUMA node as HFI Y and running an IRQ handler in hfi1_get_proc_affinity()
1083 * 3. Different NUMA node to HFI Y and not running an IRQ in hfi1_get_proc_affinity()
1085 * 4. Different NUMA node to HFI Y and running an IRQ in hfi1_get_proc_affinity()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_hfi.c128 "The HFI response queue is unexpectedly empty\n"); in a6xx_hfi_wait_for_ack()
484 * Let the GMU know that there won't be any more HFI messages until next in a6xx_hfi_start_v1()
534 DRM_DEV_ERROR(gmu->dev, "HFI queue %d is not empty\n", i); in a6xx_hfi_stop()
567 struct a6xx_gmu_bo *hfi = &gmu->hfi; in a6xx_hfi_init() local
568 struct a6xx_hfi_queue_table_header *table = hfi->virt; in a6xx_hfi_init()
569 struct a6xx_hfi_queue_header *headers = hfi->virt + sizeof(*table); in a6xx_hfi_init()
591 a6xx_hfi_queue_init(&gmu->queues[0], &headers[0], hfi->virt + offset, in a6xx_hfi_init()
592 hfi->iova + offset, 0); in a6xx_hfi_init()
596 a6xx_hfi_queue_init(&gmu->queues[1], &headers[1], hfi->virt + offset, in a6xx_hfi_init()
597 hfi->iova + offset, gmu->legacy ? 4 : 1); in a6xx_hfi_init()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/msm/
Dgmu.yaml55 - description: GMU HFI interrupt
61 - const: hfi
117 interrupt-names = "hfi", "gmu";
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_ioctl.h38 #include <rdma/hfi/hfi1_ioctl.h>
57 /* HFI specific section */
58 /* allocate HFI and context */
/kernel/linux/linux-6.6/include/uapi/rdma/
Drdma_user_ioctl.h38 #include <rdma/hfi/hfi1_ioctl.h>
57 /* HFI specific section */
58 /* allocate HFI and context */
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/
Da6xx_hfi.c132 "The HFI response queue is unexpectedly empty\n"); in a6xx_hfi_wait_for_ack()
647 * Let the GMU know that there won't be any more HFI messages until next in a6xx_hfi_start_v1()
697 DRM_DEV_ERROR(gmu->dev, "HFI queue %d is not empty\n", i); in a6xx_hfi_stop()
736 struct a6xx_gmu_bo *hfi = &gmu->hfi; in a6xx_hfi_init() local
737 struct a6xx_hfi_queue_table_header *table = hfi->virt; in a6xx_hfi_init()
738 struct a6xx_hfi_queue_header *headers = hfi->virt + sizeof(*table); in a6xx_hfi_init()
760 a6xx_hfi_queue_init(&gmu->queues[0], &headers[0], hfi->virt + offset, in a6xx_hfi_init()
761 hfi->iova + offset, 0); in a6xx_hfi_init()
765 a6xx_hfi_queue_init(&gmu->queues[1], &headers[1], hfi->virt + offset, in a6xx_hfi_init()
766 hfi->iova + offset, gmu->legacy ? 4 : 1); in a6xx_hfi_init()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/msm/
Dgmu.yaml46 - description: GMU HFI interrupt
51 - const: hfi
261 interrupt-names = "hfi", "gmu";
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
Dhfi-events.c3 * Intel Speed Select -- Read HFI events for OOB
252 fprintf(stderr, "CPU Doesn't support HFI\n"); in hfi_main()
289 debug_printf("hfi is initialized\n"); in hfi_main()

12345678