diff options
author | Juergen Gross <jgross@suse.com> | 2021-02-11 11:16:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-11 14:47:00 -0800 |
commit | f2fa0e5e9f31dd90741f1151043ca1eaa4086690 (patch) | |
tree | 97860d5510496ed216877f4010e131f8a341e5cf /drivers/xen/xen-scsiback.c | |
parent | a3daf3d39132b405781be8d9ede0c449b244b64e (diff) | |
download | linux-f2fa0e5e9f31dd90741f1151043ca1eaa4086690.tar.gz linux-f2fa0e5e9f31dd90741f1151043ca1eaa4086690.tar.bz2 linux-f2fa0e5e9f31dd90741f1151043ca1eaa4086690.zip |
xen/events: link interdomain events to associated xenbus device
In order to support the possibility of per-device event channel
settings (e.g. lateeoi spurious event thresholds) add a xenbus device
pointer to struct irq_info() and modify the related event channel
binding interfaces to take the pointer to the xenbus device as a
parameter instead of the domain id of the other side.
While at it remove the stale prototype of bind_evtchn_to_irq_lateeoi().
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Paul Durrant <paul@xen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/xen/xen-scsiback.c')
-rw-r--r-- | drivers/xen/xen-scsiback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c index 862162dca33c..8b59897b2df9 100644 --- a/drivers/xen/xen-scsiback.c +++ b/drivers/xen/xen-scsiback.c @@ -799,7 +799,7 @@ static int scsiback_init_sring(struct vscsibk_info *info, grant_ref_t ring_ref, sring = (struct vscsiif_sring *)area; BACK_RING_INIT(&info->ring, sring, PAGE_SIZE); - err = bind_interdomain_evtchn_to_irq_lateeoi(info->domid, evtchn); + err = bind_interdomain_evtchn_to_irq_lateeoi(info->dev, evtchn); if (err < 0) goto unmap_page; |