Re: [gem5-dev] virtual timer in ARM KVM

2018-04-09 Thread Gabe Black
Ok, I've studied the ARM KVM implementation in the kernel, and it's pretty clear to me that it schedules a timer to keep track of physical time, and makes the virtual timer in the simulation track with that physical time. When reading the timer register values, even when the guest isn't running,

Re: [gem5-dev] virtual timer in ARM KVM

2018-04-05 Thread Gabe Black
On Thu, Apr 5, 2018 at 8:14 AM, Andreas Sandberg wrote: > > > On 05/04/2018 03:42, Gabe Black wrote: > >> Hi folks. I'm continuing to try to iron out problems with KVM on ARM, and >> the problem I'm working on specifically right now is that the mouse device >> gets

Re: [gem5-dev] virtual timer in ARM KVM

2018-04-05 Thread Andreas Sandberg
On 05/04/2018 03:42, Gabe Black wrote: Hi folks. I'm continuing to try to iron out problems with KVM on ARM, and the problem I'm working on specifically right now is that the mouse device gets spurious bad command bytes which panics gem5. What I've found so far is that the guest kernel will

[gem5-dev] virtual timer in ARM KVM

2018-04-04 Thread Gabe Black
Hi folks. I'm continuing to try to iron out problems with KVM on ARM, and the problem I'm working on specifically right now is that the mouse device gets spurious bad command bytes which panics gem5. What I've found so far is that the guest kernel will frequently time out while waiting for an ACK