Julien Grall
8a925e7151
xen/tools: Widen the machine_irq in xc_domain_*bind_pt_irq_int
...
The DOMCTLs {,un}bind_pt_irq are using uint32_t for the machine_irq
while the helper is using uint8_t.
Currently on ARM, we are supporting SPIs whose irq number can go up to
1019 which doesn't fit in an uint8_t. The helpers xc_domain_bind_pt_spi
and xc_domain_unbint_pt_spi are correctly taking an uint16_t so the
libxc was truncating without noticing the user which may end up to
route the wrong IRQ.
Fix the problem by widening the machine_irq parameter in
xc_domain_*bind_pt_irq_int.
Note that XEN_DOMCTL_irq_permission has the same problem but it's not
used at the moment on ARM. So we can defer the changes after the release
of Xen 4.7.
Reported-by: Iurii Konovalenko <iurii.konovalenko@globallogic.com >
Signed-off-by: Julien Grall <julien.grall@citrix.com >
Acked-by: Ian Campbell <ian.campbell@citrix.com >
2015-07-24 11:18:01 +01:00
..
2015-07-23 19:20:48 +01:00
2010-08-24 18:42:59 +01:00
2015-07-15 11:22:54 +01:00
2013-12-04 14:02:10 +00:00
2015-05-14 13:03:57 +01:00
2014-03-10 16:50:17 +00:00
2015-03-30 16:07:30 +01:00
2013-02-21 16:12:46 +00:00
2015-03-30 16:07:30 +01:00
2013-02-21 16:12:46 +00:00
2014-06-10 13:46:45 +01:00
2015-01-27 16:30:35 +00:00
2010-08-24 18:42:59 +01:00
2014-05-12 17:05:33 +02:00
2015-01-08 13:50:06 +00:00
2015-03-20 16:04:35 +00:00
2010-08-24 18:42:59 +01:00
2012-02-23 10:17:50 +00:00
2015-04-22 14:08:29 +01:00
2014-05-14 15:12:01 +01:00
2014-01-10 16:59:01 +00:00
2015-03-13 16:31:27 +01:00
2015-03-11 11:36:38 +00:00
2015-07-03 16:47:13 +01:00
2015-03-18 12:04:54 +00:00
2014-11-25 15:53:53 +00:00
2013-04-22 12:46:30 +01:00
2013-04-22 12:46:30 +01:00
2014-07-04 09:47:01 +01:00
2014-07-18 13:38:08 +01:00
2013-04-22 12:46:30 +01:00
2013-04-22 12:46:30 +01:00
2013-10-07 09:42:51 +02:00
2015-06-17 11:57:39 +01:00
2015-07-07 15:10:45 +01:00
2015-05-05 14:30:44 +01:00
2015-06-25 13:01:22 +01:00
2015-07-24 11:18:01 +01:00
2010-08-24 18:42:59 +01:00
2010-08-24 18:42:59 +01:00
2013-02-21 16:12:46 +00:00
2015-06-03 11:12:01 +01:00
2014-03-10 16:50:58 +00:00
2015-07-08 11:14:12 +01:00
2014-06-18 17:17:49 +01:00
2014-06-10 13:46:45 +01:00
2015-03-20 16:04:35 +00:00
2013-02-21 16:12:46 +00:00
2015-07-03 16:48:18 +01:00
2013-11-12 11:47:07 +01:00
2015-03-20 16:04:35 +00:00
2013-02-21 16:12:46 +00:00
2015-04-16 09:43:11 +01:00
2015-04-16 09:43:11 +01:00
2015-04-16 09:43:11 +01:00
2014-06-10 16:04:03 +01:00
2015-05-13 15:03:38 +01:00
2015-07-15 16:08:59 +02:00
2015-03-05 16:27:49 +00:00
2014-01-10 16:59:01 +00:00
2015-07-15 12:59:50 +01:00
2015-03-20 16:07:35 +00:00
2013-09-13 13:06:28 +01:00
2015-03-20 16:04:35 +00:00
2015-03-20 16:04:35 +00:00
2015-05-05 14:29:45 +01:00
2015-05-05 14:29:45 +01:00
2015-07-09 10:07:38 +01:00
2014-10-06 12:35:55 +02:00
2014-06-27 14:13:22 +01:00
2014-09-23 14:40:07 +01:00
2014-01-10 16:59:01 +00:00
2015-05-05 14:30:46 +01:00
2015-05-05 14:30:46 +01:00
2015-05-05 14:30:46 +01:00
2015-05-05 14:30:46 +01:00
2015-05-14 13:01:11 +01:00
2015-07-15 11:22:54 +01:00
2015-07-15 11:22:54 +01:00
2015-05-05 14:30:47 +01:00
2015-07-15 11:22:54 +01:00
2015-07-15 11:22:54 +01:00
2015-05-14 13:00:57 +01:00
2015-05-29 12:25:00 +01:00
2015-05-14 13:01:11 +01:00
2014-09-23 10:15:43 +01:00
2015-05-08 14:54:53 +01:00
2015-03-20 16:06:42 +00:00
2015-04-16 09:43:11 +01:00
2014-06-27 14:13:23 +01:00
2015-07-21 15:28:46 +01:00
2014-07-18 13:38:08 +01:00
2015-04-09 11:40:17 +01:00
2015-05-05 14:29:45 +01:00
2015-07-08 10:51:56 +01:00