History

KVM: api: Pass the devid in the msi routing entry

On ARM, the MSI msg (address and data) comes along with out-of-band device ID information. The device ID encodes the device that writes the MSI msg. Let's convey the device id in kvm_irq_routing_msi and use KVM_MSI_VALID_DEVID flag value in kvm_irq_routing_entry to indicate the msi devid is populated.

Eric Auger committed 10 years ago

Commit 76a10b81 parent 3a88bde2 files · +21 −3Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/kvm.h+4−1
@@ -879,7 +879,10 @@ struct kvm_irq_routing_msi { · 878 unmodified lines
879879 __u32 address_lo;
880880 __u32 address_hi;
881881 __u32 data;
882− __u32 pad;
882+ union {
883+ __u32 pad;
884+ __u32 devid;
885+ };
883886 };
884887
885888 struct kvm_irq_routing_s390_adapter {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t