acrn-hypervisor/hypervisor/include
Binbin Wu 2fe4280cfa hv: vtd: add two paramters for dmar_assign_irte
idx_in:
- If the caller of dmar_assign_irte passes a valid IRTE index, it will
be resued;
- If the caller of dmar_assign_irte passes INVALID_IRTE_ID as IRTE index,
the function will allocate a new IRTE.

idx_out:
This paramter return the actual index of IRTE used. The caller need to
check whether the return value is valid or not.

Also this patch adds an internal function alloc_irte.
The function takes count as input paramter to allocate continuous IRTEs.
The count can only be 1, 2, 4, 8, 16 or 32.
This is prepared for multiple MSI vector support.

Tracked-On: #4831
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-06-16 08:52:56 +08:00
..
arch/x86 hv: vtd: add two paramters for dmar_assign_irte 2020-06-16 08:52:56 +08:00
common hv: ptirq: refine find_ptirq_entry by hashing 2020-05-20 16:04:16 +08:00
debug HV: correct ept page array usage 2020-03-12 14:56:34 +08:00
dm hv: vpci: refine vpci deinit 2020-05-13 14:31:01 +08:00
hw hv: pci: remove some unnecessary functions 2020-06-05 16:53:33 +08:00
lib HV: enable multiboot module string as kernel bootargs 2020-06-08 13:30:04 +08:00
public hv: dynamically configure CPU affinity through hypercall 2020-04-23 09:38:54 +08:00