From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Keir Fraser <keir@xen.org>, Tim Deegan <tim@xen.org>
Subject: Re: [RFC Patch] x86/hpet: Disable interrupts while running hpet interrupt handler.
Date: Tue, 6 Aug 2013 14:23:25 +0100 [thread overview]
Message-ID: <5200F8CD.6070504@citrix.com> (raw)
In-Reply-To: <5200FDA002000078000E999E@nat28.tlf.novell.com>
On 06/08/13 12:44, Jan Beulich wrote:
>>>> On 06.08.13 at 12:32, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>> The machine we found this crash on is a Dell R310. 4 CPUs, 16G Ram.
> Not all that big.
>
>> The full boot xl dmesg is attached, but it appears that the are 8
>> broadcast hpets. This is futher backed up by the 'i' debugkey (also
>> attached)
> Right. And with fewer CPUs than HPET channels, you could get
> the system into a mode where each CPU uses a dedicated channel
> ("maxcpus=4", suppressing registration of all the disabled ones).
Does this setup actually mean that there are 8 hpets which are all
broadcasting to every pcpu? The affinities listed in debug-keys 'i'
seem to be towards single pcpus, but the order looks peculiar to say the
least.
>
>> Keir: (merging your thread back here)
>> I see your point regarding IRQ_INPROGRESS, but even with 8 hpet
>> interrupts, there are rather more than 8 occurences of
>> handle_hpet_broadcast() in the stack. If the occurences were just
>> function pointers on the stack, I would expect to see several
>> handle_hpet_broadcast()+0x0/0x268
> Which further hints at some earlier problem. I suppose you don't
> happen to have a dump of that crash, or else you could inspect
> the IRQ descriptors as well as the stack for whether all instances
> came from the same IRQ/vector.
>
> Jan
>
Sadly no - the crashdump analyser grabbed the double fault IST, rather
than the entire contents of the main stack. I shall extend the analyser
to pick up the main stack as well; It does cross IST boundaries for call
traces. I shall how easy it is to make it parse the irq_desc's &
friends as well on crash, although for this case it might be easier just
to tweak the double fault handler.
~Andrew
next prev parent reply other threads:[~2013-08-06 13:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 20:38 [RFC Patch] x86/hpet: Disable interrupts while running hpet interrupt handler Andrew Cooper
2013-08-06 4:49 ` Keir Fraser
2013-08-06 8:01 ` Jan Beulich
2013-08-06 10:32 ` Andrew Cooper
2013-08-06 11:44 ` Jan Beulich
2013-08-06 13:23 ` Andrew Cooper [this message]
2013-08-06 13:57 ` Jan Beulich
2013-08-13 9:03 ` Hpet interrupt overflow Andrew Cooper
2013-08-13 9:22 ` Tim Deegan
2013-08-13 9:33 ` Andrew Cooper
2013-08-13 11:59 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5200F8CD.6070504@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.