diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2014-02-27 19:15:35 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2014-03-18 14:40:09 +0000 |
commit | 4892c9b4ada9f9a71a0da7a268f95e988d88064b (patch) | |
tree | 57c9f627ab44ebec2a948dc11ca69cb0011607de /drivers/xen/events/events_internal.h | |
parent | efdfa3eda5d7b33c6e3c4f6e66144fcd10ed41a3 (diff) |
xen: add support for MSI message groups
Add support for MSI message groups for Xen Dom0 using the
MAP_PIRQ_TYPE_MULTI_MSI pirq map type.
In order to keep track of which pirq is the first one in the group all
pirqs in the MSI group except for the first one have the newly
introduced PIRQ_MSI_GROUP flag set. This prevents calling
PHYSDEVOP_unmap_pirq on them, since the unmap must be done with the
first pirq in the group.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/events/events_internal.h')
-rw-r--r-- | drivers/xen/events/events_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/events/events_internal.h b/drivers/xen/events/events_internal.h index 677f41a0fff9..50c2050a1e32 100644 --- a/drivers/xen/events/events_internal.h +++ b/drivers/xen/events/events_internal.h @@ -53,6 +53,7 @@ struct irq_info { #define PIRQ_NEEDS_EOI (1 << 0) #define PIRQ_SHAREABLE (1 << 1) +#define PIRQ_MSI_GROUP (1 << 2) struct evtchn_ops { unsigned (*max_channels)(void); |