mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-23 14:07:42 +00:00
dm: allow PM1_RTC_EN to be written to PM1A
Clear Linux complains about not being able to write the bit to PM1A: ACPI Error: Could not enable RealTimeClock event (20180531/evxfevnt-184) Tracked-On: #2176 Signed-off-by: Peter Fang <peter.fang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
57c661c48d
commit
40f6a9fdff
@ -200,7 +200,7 @@ pm1_enable_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes,
|
||||
* the global lock, but ACPI-CA whines profusely if it
|
||||
* can't set GBL_EN.
|
||||
*/
|
||||
pm1_enable = *eax & (PM1_PWRBTN_EN | PM1_GBL_EN);
|
||||
pm1_enable = *eax & (PM1_RTC_EN | PM1_PWRBTN_EN | PM1_GBL_EN);
|
||||
sci_update(ctx);
|
||||
}
|
||||
pthread_mutex_unlock(&pm_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user