|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH] x86, hvm: Allow delivery of timer interrupts to
Hi Keir,
You are correct. I misunderstood the issue.
With your suggestion (always use i8259_target), i8259_target in kdump
transits as: NULL=>vcpu1=>vcpu0=>vcpu1.
In this case, timer interrupts were missed in my previous patch, but
that was my fault. (I felt weird that i8259_target points vcpu0 in
spite of the halt)
I'll post two patches per your suggestion. one is cleanup of hpet.c
and the other is for delivery of timer interrupts.
Thanks,
Kouya
Keir Fraser writes:
> On 03/07/2009 08:57, "Kouya Shimura" <kouya@xxxxxxxxxxxxxx> wrote:
>
> > - I'm afraid that d->arch.hvm_domain.i8259_target == NULL
>
> If VCPUj is != NULL then VCPUi is also != NULL for all i < j. So this is not
> a concern: there's always a VCPU0 if there are any VCPUs at all.
>
> > - if vcpu[0] is halted and all vlapic.LVT0 are masked,
> > timer doesn't work even when vlapic will be unmasked
> > not as ExtINT mode.
>
> Not sure what you mean? If legacy IRQs are routed through the IOAPIC then it
> does not matter whether LAPIC.LVT0 is masked. And __vlapic_accept_pic_intr()
> correctly handles that. If virtual wire mode is not through the IOAPIC then
> of course LVT0 mask does matter, but I think we have that case correct too.
>
> > So, I think that the last __vlapic_accept_pic_intr'ed vcpu
> > should be reserved in d->arch.hvm_domain.i8259_target.
>
> I don't think the logic needs to change.
>
> -- Keir
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0., Kouya Shimura
- [Xen-devel] Re: [PATCH] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0., Keir Fraser
- [Xen-devel] Re: [PATCH] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0., Kouya Shimura
- [Xen-devel] Re: [PATCH] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0., Keir Fraser
- [Xen-devel] Re: [PATCH] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0.,
Kouya Shimura <=
- [Xen-devel] [PATCH 1/2] x86, hvm: cleanup hpet.c as well as i8254.c or rtc.c, Kouya Shimura
- [Xen-devel] [PATCH 2/2] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0, Kouya Shimura
- [Xen-devel] Re: [PATCH 2/2] x86, hvm: Allow delivery of timer interrupts to VCPUs != 0, Keir Fraser
|
|
|
|
|