[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.10] ACPICA: Make ACPI Power Management Timer (PM Timer) optional.



commit 9e46ae12edc8be1dd846ce545600db28dabfabc8
Author:     Bob Moore <robert.moore@xxxxxxxxx>
AuthorDate: Thu Jan 11 17:47:59 2018 +0000
Commit:     Roger Pau Monne <roger.pau@xxxxxxxxxx>
CommitDate: Thu Jan 11 17:51:17 2018 +0000

    ACPICA: Make ACPI Power Management Timer (PM Timer) optional.
    
    PM Timer is now optional.
    This support is already in Windows8 and "SHOULD" come out in ACPI 5.0A
    (if all goes well).
    
    The change doesn't affect Xen directly, because it does not rely
    on the presence of the PM timer.
    
    Signed-off-by: Bob Moore <robert.moore@xxxxxxxxx>
    Signed-off-by: Lv Zheng <lv.zheng@xxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    [ported to Xen]
    Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 xen/drivers/acpi/tables/tbfadt.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/xen/drivers/acpi/tables/tbfadt.c b/xen/drivers/acpi/tables/tbfadt.c
index d62d8d5cb9..f11fd5a900 100644
--- a/xen/drivers/acpi/tables/tbfadt.c
+++ b/xen/drivers/acpi/tables/tbfadt.c
@@ -95,7 +95,8 @@ static struct acpi_fadt_info __initdata fadt_info_table[] = {
 
        {"PmTimerBlock", ACPI_FADT_OFFSET(xpm_timer_block),
         ACPI_FADT_OFFSET(pm_timer_block),
-        ACPI_FADT_OFFSET(pm_timer_length), ACPI_FADT_REQUIRED},
+        ACPI_FADT_OFFSET(pm_timer_length),
+        ACPI_FADT_SEPARATE_LENGTH}, /* ACPI 5.0A: Timer is optional */
 
        {"Gpe0Block", ACPI_FADT_OFFSET(xgpe0_block),
         ACPI_FADT_OFFSET(gpe0_block),
@@ -437,7 +438,7 @@ static void __init acpi_tb_validate_fadt(void)
 
                if (fadt_info_table[i].type & ACPI_FADT_REQUIRED) {
                        /*
-                        * Field is required (Pm1a_event, Pm1a_control, 
pm_timer).
+                        * Field is required (Pm1a_event, Pm1a_control).
                         * Both the address and length must be non-zero.
                         */
                        if (!address64->address || !length) {
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.10

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.