Lines Matching +full:locality +full:- +full:specific
1 .. SPDX-License-Identifier: GPL-2.0
9 :Authors: - Eric van Tassell <[email protected]>
10 - Wei Huang <[email protected]>
22 For example, on platforms with TPH-based direct data cache injection
40 ---------------------------
46 ----------
52 This function enables TPH support for device with a specific ST mode.
55 * PCI_TPH_ST_NS_MODE - NO ST Mode
56 * PCI_TPH_ST_IV_MODE - Interrupt Vector Mode
57 * PCI_TPH_ST_DS_MODE - Device Specific Mode
69 ---------
71 Steering Tags are platform specific. PCIe spec does not specify where STs
73 (see the `Revised _DSM for Cache Locality TPH Features ECN
74 <https://members.pcisig.com/wg/PCI-SIG/document/15470>`_) for retrieving
78 To retrieve a Steering Tag for a target memory associated with a specific
96 location of ST table, either in the MSI-X table or in the TPH Extended
105 .. code-block:: c
115 cpumask_copy(irq->cpu_mask, mask);
117 /* Pick a right CPU as the target - here is just an example */
118 cpu_id = cpumask_first(irq->cpu_mask);
120 if (pcie_tph_get_cpu_st(irq->pdev, TPH_MEM_TYPE_VM, cpu_id,
124 if (pcie_tph_set_st_entry(irq->pdev, irq->msix_nr, tag))
128 Disable TPH system-wide
129 -----------------------