4
#define OPAL_PCI_SET_MVE 33
6
static int64_t opal_pci_set_mve(uint64_t phb_id, uint32_t mve_number,
9
WARNING: following documentation is from old sources, and is possibly
10
not representative of OPALv3 as implemented by skiboot. This should be
11
used as a starting point for full documentation.
13
The host calls this function to bind a PE to an MSI Validation Table Entry
14
(MVE) in the PHB. The MVE compares the MSI requester (RID) to a PE RID,
15
including within the XIVE, to validate that the requester is authorized to
16
signal an interrupt to the associated DMA address for a message value that
17
selects a particular XIVE.
19
The phb_id parameter is the value from the PHB node ibm,opal-phbid
22
The mve_number is the index, from 0 to ibm,opal,ibm-num-msi-ports minus1
24
the pe_number is the index of a PE, from 0 to ibm,opal-num-pes minus 1.
26
This call maps an MVE to a PE and PE RID domain. OPAL uses the PELT to
27
determine the PE domain. OPAL treats this call as a NOP for IODA2 PHBs
28
and returns a status of OPAL_SUCCESS.
34
return OPAL_PARAMETER;
35
if (!phb->ops->set_mve)
36
return OPAL_UNSUPPORTED;