Thread (55 messages) 55 messages, 8 authors, 2011-06-01

Re: [PATCH 10/13] kvm/powerpc: Add support for Book3S processors in hypervisor mode

From: Alexander Graf <hidden>
Date: 2011-05-27 10:43:17
Also in: kvm

On 27.05.2011, at 12:33, Paul Mackerras wrote:
On Tue, May 17, 2011 at 12:17:50PM +0200, Alexander Graf wrote:
quoted
=20
On 16.05.2011, at 07:58, Paul Mackerras wrote:
=20
quoted
I do the check there because I was having problems where, if the =
HDEC
quoted
quoted
goes negative before we do the partition switch, we would =
occasionally
quoted
quoted
not get the HDEC interrupt at all until the next time HDEC went
negative, ~ 8.4 seconds later.
=20
Yikes - so HDEC is edge and doesn't even keep the interrupt line up?
That sounds like a serious hardware limitation. What if you only use
HDEC and it triggers while interrupts are off in a critical section?
Is the hardware really that broken?
=20
If HDEC expires when interrupts are off, the HDEC interrupt stays
pending until interrupts get re-enabled.  I'm not sure exactly what
the conditions are that cause an HDEC interrupt to get lost, but they
seem to involve at least a partition switch.
Please try to contact some of your hardware designers and figure out =
what exactly the conditions are. Maybe we don't need this hack.

Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help