Project ACRN hypervisor
Go to file
Yin Fengwei 23efb5a0e9 DM: reboot: clear the data of 0xcf9 if cold reboot
Linux kernel CF9 reboot is doing things like:
  - read value from 0xcf9
  - mask out the value according to the reboot type (warm vs cold)
  - BIT OR the value with reboot code
  - write the value to 0xcf9

If there are two reboot event and the first one is cold
reboot and the second one is warm reboot, vsbl query
reboot type after the second one and will get code reboot
instead of warm reboot.

We should clear the data of 0xcf9 if guest request cold reboot.

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2018-05-15 17:19:37 +08:00
devicemodel DM: reboot: clear the data of 0xcf9 if cold reboot 2018-05-15 17:19:37 +08:00
doc doc: add doc building/publishing instructions 2018-05-15 17:19:37 +08:00
hypervisor .gitignore: add 2 entries to ignore version.h file if present 2018-05-15 17:19:37 +08:00