|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 10/10] xen/pci: Use 'acpi_gsi_to_irq' value unconditi
In the past we would only use the function's value if the
returned value was not equal to 'acpi_sci_override_gsi'. Meaning
that the INT_SRV_OVR values for global and source irq were different.
But it is OK to use the function's value even when the global
and source irq are the same.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
arch/x86/pci/xen.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index f07c419..1017c7b 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -407,10 +407,9 @@ static __init void xen_setup_acpi_sci(void)
* the ACPI interpreter and keels over since IRQ 9 has not been
* setup as we had setup IRQ 20 for it).
*/
- /* Check whether the GSI != IRQ */
if (acpi_gsi_to_irq(gsi, &irq) == 0) {
- if (irq >= 0 && irq != gsi)
- /* Bugger, we MUST have that IRQ. */
+ /* Use the provided value if it's valid. */
+ if (irq >= 0)
gsi_override = irq;
}
--
1.7.4.1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] cleanup patches for arch/x86/pci/xen.c (Xen PCI) for 3.1 (v1), Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 08/10] xen/pci: Retire unnecessary #ifdef CONFIG_ACPI, Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 03/10] xen/pci: Provide #ifdef CONFIG_ACPI to easy code squashing., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 05/10] xen/pci: Use the xen_register_pirq for HVM and initial domain users, Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 01/10] xen/pci: Shuffle code around., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 10/10] xen/pci: Use 'acpi_gsi_to_irq' value unconditionally.,
Konrad Rzeszutek Wilk <=
- [Xen-devel] [PATCH 07/10] xen/pci: Move the allocation of IRQs when there are no IOAPIC's to the end, Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 02/10] xen/pci: Update comments and fix empty spaces., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 04/10] xen/pci: In xen_register_pirq bind the GSI to the IRQ after the hypercall., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 09/10] xen/pci: Remove 'xen_allocate_pirq_gsi'., Konrad Rzeszutek Wilk
- [Xen-devel] [PATCH 06/10] xen/pci: Squash pci_xen_initial_domain and xen_setup_pirqs together., Konrad Rzeszutek Wilk
|
|
|
|
|