[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 00/10] Prevent one cause of "MP-BIOS bug: 8254 timer"... message from linux
Changes v1 to v2: Drop the patch "hpet: Act more like real hardware" from v1 for several reasons: 1) Only "fixes" less then 50% of the problem: diff < 0 or diff > too many periods. 2) I have a better fix in #2 "hvm/hpet: Only call guest_time_hpet(h) one time per action." 3) Reverts a previous bug fix. So all these patches are new and fix various bugs. #1 "hvm/hpet: Add manual unit test code.": Is optional. I used it to validate the changes did what I expected. v1: info that still applies Based on the proposed fix in QEMU: http://marc.info/?l=qemu-devel&m=139304386331192&w=2 That was provided for: http://marc.info/?l=qemu-devel&m=139295851107140&w=2 Which is very close to a bug I have been looking into and asked some questions about in: http://lists.xen.org/archives/html/xen-devel/2014-02/msg01787.html Don Slutz (10): hvm/hpet: Add manual unit test code. hvm/hpet: Only call guest_time_hpet(h) one time per action. hvm/hpet: Only set comparator or period not both. hvm/hpet: In hpet_save, correctly compute mc64. hvm/hpet: Init comparator64 like comparator. hvm/hpet: comparator can only change when master clock is enabled. hvm/hpet: Call hpet_get_comparator during hpet_save. hvm/hpet: Prevent master clock equal to comparator while enabled hvm/hpet: Correctly limit period to a maximum. hvm/hpet: handle 1st period special tools/tests/vhpet/.gitignore | 4 + tools/tests/vhpet/emul.h | 405 +++++++++++++++++++++++++++++++ tools/tests/vhpet/main.c | 541 ++++++++++++++++++++++++++++++++++++++++++ xen/arch/x86/hvm/hpet.c | 161 ++++++++++--- xen/include/asm-x86/hvm/vpt.h | 2 + 5 files changed, 1074 insertions(+), 39 deletions(-) create mode 100644 tools/tests/vhpet/.gitignore create mode 100644 tools/tests/vhpet/emul.h create mode 100644 tools/tests/vhpet/main.c -- 1.8.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |