Skip to content

RFC Fix RTC noack issues

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 3 repliesIn review
  2. v1 RFC2 patches 10 repliesSuperseded

Changes in v2 from the cover letter

* Remove the hypervisor enum and replace with a formal ABI in params.h
* Leave PM timer reads alone and accept fewer options for "true"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/vRTC: Make rtc_mode_{strict, no_ack} a per-domain optionxen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/rtc.c xen/include/public/hvm/params.h+22 -140 replies
2/2hvmloader: Allow the toolstack to choose WAET optimisationstools/firmware/hvmloader/acpi/acpi2_0.h tools/firmware/hvmloader/acpi/build.c tools/firmware/hvmloader/acpi/static_tables.c+24 -112 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKeir Fraser
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH RFC v2 0/2] Fix RTC noack issues

This series allows the toolstack to choose (by way of XenStore platform flags) whether the domain is expecting to make use of RTC mode noack performance optimisations.

It also switches the implict default back to rtc_mode_strict, which is the safe default for Xen to have.

This fixes a longstanding regression in Win2k3SP2 only where its access pattern causes it to fall into an infinite loop reading RTC RegC.

Questions for thought:

* Does it make sense to allow customisation of ACPI_WAET_TIMER_ONE_READ ? There is no sitation where an admin should turn it off.

* I believe this is safe wrt migrations, but am not certain enough to say for sure. This is a critical point, as the bad default (and regression) has been in Xen since late in the Xen-4.3 development cycle.

---

Changes in v2:
* Remove the hypervisor enum and replace with a formal ABI in params.h
* Leave PM timer reads alone and accept fewer options for "true"

Signature · 1 line
1.7.10.4