Re: [Qemu-devel] [PATCH] correctly check ppr priority during interrupt injection

2011-02-07 Thread Yoshiaki Tamura
2011/2/6 Gleb Natapov : > > TPR blocks all interrupts in a priority class, so simple "less or > equal" check is not enough. > > Signed-off-by: Gleb Natapov > diff --git a/hw/apic.c b/hw/apic.c > index 2f8376a..cbac75d 100644 > --- a/hw/apic.c > +++ b/hw/apic.c > @@ -372,19 +372,33 @@ static int ap

Re: [Qemu-devel] [PATCH] correctly check ppr priority during interrupt injection

2011-02-07 Thread Jan Kiszka
On 2011-02-07 00:45, Yoshiaki Tamura wrote: > 2011/2/6 Gleb Natapov : >> >> TPR blocks all interrupts in a priority class, so simple "less or >> equal" check is not enough. >> >> Signed-off-by: Gleb Natapov >> diff --git a/hw/apic.c b/hw/apic.c >> index 2f8376a..cbac75d 100644 >> --- a/hw/apic.c >

[Qemu-devel] [PATCH] correctly check ppr priority during interrupt injection

2011-02-06 Thread Gleb Natapov
TPR blocks all interrupts in a priority class, so simple "less or equal" check is not enough. Signed-off-by: Gleb Natapov diff --git a/hw/apic.c b/hw/apic.c index 2f8376a..cbac75d 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -372,19 +372,33 @@ static int apic_get_arb_pri(APICState *s) return 0