diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2010-11-19 17:27:09 +0100 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-11-22 21:10:34 +0100 |
commit | 12334715720b012180579f57650879d0fbb11a84 (patch) | |
tree | 0b8d0f7eadf1f43f283fdf53ffbb7e280163b6ba /arch/x86/xen/setup.c | |
parent | xen: set IO permission early (before early_cpu_init()) (diff) | |
download | linux-12334715720b012180579f57650879d0fbb11a84.tar.xz linux-12334715720b012180579f57650879d0fbb11a84.zip |
xen/events: Use PIRQ instead of GSI value when unmapping MSI/MSI-X irqs.
When we allocate a vector for MSI/MSI-X we save away the PIRQ, and the
vector value. When we unmap (de-allocate) the MSI/MSI-X vector(s) we
need to provide the PIRQ and the vector value. What we did instead
was to provide the GSI (which was zero) and the vector value, and we
got these unhappy error messages:
(XEN) irq.c:1575: dom0: pirq 0 not mapped
[ 7.733415] unmap irq failed -22
This patches fixes this and we use the PIRQ value instead of the GSI
value.
CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/setup.c')
0 files changed, 0 insertions, 0 deletions