ia64/xen-unstable

changeset 16117:ab89a931f94f

[IA64] Don't warn for EOI-ing an edge triggered interrupt.

Edge triggered interrupts don't need an EOI but EOI-ing them is harmless
according to the IOSAPIC documentation. Do not emit a warning in such case.

Signed-off-by: Tristan Gingold <tgingold@free.fr>
author Alex Williamson <alex.williamson@hp.com>
date Wed Oct 17 10:25:18 2007 -0600 (2007-10-17)
parents 2863852e02f6
children 1d6c24fa03b7
files xen/arch/ia64/vmx/viosapic.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/viosapic.c	Mon Oct 15 11:41:28 2007 -0600
     1.2 +++ b/xen/arch/ia64/vmx/viosapic.c	Wed Oct 17 10:25:18 2007 -0600
     1.3 @@ -135,8 +135,9 @@ static void viosapic_update_EOI(struct v
     1.4      if ( !test_and_clear_bit(redir_num, &viosapic->isr) )
     1.5      {
     1.6          spin_unlock(&viosapic->lock);
     1.7 -        gdprintk(XENLOG_WARNING, "redir %d not set for %d EOI\n",
     1.8 -                 redir_num, vector);
     1.9 +        if ( viosapic->redirtbl[redir_num].trig_mode == SAPIC_LEVEL )
    1.10 +            gdprintk(XENLOG_WARNING, "redir %d not set for %d EOI\n",
    1.11 +                     redir_num, vector);
    1.12          return;
    1.13      }
    1.14      service_iosapic(viosapic);