----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2763/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- Changeset 10840:63fefbafc6bc --------------------------- dev, arm: Add virtual timers to the generic timer model The generic timer model currently does not support virtual counters. Virtual and physical counters both tick with the same frequency. However, virtual timers allow a hypervisor to set an offset that is subtracted from the counter when it is read. This enables the hypervisor to present a time base that ticks with virtual time in the VM (i.e., doesn't tick when the VM isn't running). Modern Linux kernels generally assume that virtual counters exist and try to use them by default. Diffs ----- src/arch/arm/miscregs.cc fbdaa08aaa42 src/dev/arm/RealView.py fbdaa08aaa42 src/dev/arm/generic_timer.hh fbdaa08aaa42 src/dev/arm/generic_timer.cc fbdaa08aaa42 Diff: http://reviews.gem5.org/r/2763/diff/ Testing ------- ARM regressions pass. All backends build. Tested manually with modified DTB that enables virtual counters. Thanks, Andreas Sandberg _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
