diff options
author | Boqun Feng <boqun.feng@gmail.com> | 2020-02-10 11:39:53 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-03-09 14:51:31 +0000 |
commit | 1cf106d93245f436c10e73cd3d4b885067d4bbcc (patch) | |
tree | 3a204c8cf73a66d23bf196b2e1829c061dd13432 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 61bfd920abbf2c8c9c3b10bb335475e707247573 (diff) |
PCI: hv: Introduce hv_msi_entry
Add a new structure (hv_msi_entry), which is also defined in the TLFS,
to describe the msi entry for HVCALL_RETARGET_INTERRUPT. The structure
is needed because its layout may be different from architecture to
architecture.
Also add a new generic interface hv_set_msi_entry_from_desc() to allow
different archs to set the msi entry from msi_desc.
No functional change, only preparation for the future support of virtual
PCI on non-x86 architectures.
Signed-off-by: Boqun Feng (Microsoft) <boqun.feng@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions