Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'pm+acpi-4.5-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull more power management and ACPI updates from Rafael Wysocki:
"This includes fixes on top of the previous batch of PM+ACPI updates
and some new material as well.

From the new material perspective the most significant are the driver
core changes that should allow USB devices to stay suspended over
system suspend/resume cycles if they have been runtime-suspended
already beforehand. Apart from that, ACPICA is updated to upstream
revision 20160108 (cosmetic mostly, but including one fixup on top of
the previous ACPICA update) and there are some devfreq updates the
didn't make it before (due to timing).

A few recent regressions are fixed, most importantly in the cpuidle
menu governor and in the ACPI backlight driver and some x86 platform
drivers depending on it.

Some more bugs are fixed and cleanups are made on top of that.

Specifics:

- Modify the driver core and the USB subsystem to allow USB devices
to stay suspended over system suspend/resume cycles if they have
been runtime-suspended already beforehand and fix some bugs on top
of these changes (Tomeu Vizoso, Rafael Wysocki).

- Update ACPICA to upstream revision 20160108, including updates of
the ACPICA's copyright notices, a code fixup resulting from a
regression fix that was necessary in the upstream code only (the
regression fixed by it has never been present in Linux) and a
compiler warning fix (Bob Moore, Lv Zheng).

- Fix a recent regression in the cpuidle menu governor that broke it
on practically all architectures other than x86 and make a couple
of optimizations on top of that fix (Rafael Wysocki).

- Clean up the selection of cpuidle governors depending on whether or
not the kernel is configured for tickless systems (Jean Delvare).

- Revert a recent commit that introduced a regression in the ACPI
backlight driver, address the problem it attempted to fix in a
different way and revert one more cosmetic change depending on the
problematic commit (Hans de Goede).

- Add two more ACPI backlight quirks (Hans de Goede).

- Fix a few minor problems in the core devfreq code, clean it up a
bit and update the MAINTAINERS information related to it (Chanwoo
Choi, MyungJoo Ham).

- Improve an error message in the ACPI fan driver (Andy Lutomirski).

- Fix a recent build regression in the cpupower tool (Shreyas
Prabhu)"

* tag 'pm+acpi-4.5-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (32 commits)
cpuidle: menu: Avoid pointless checks in menu_select()
sched / idle: Drop default_idle_call() fallback from call_cpuidle()
cpupower: Fix build error in cpufreq-info
cpuidle: Don't enable all governors by default
cpuidle: Default to ladder governor on ticking systems
time: nohz: Expose tick_nohz_enabled
ACPICA: Update version to 20160108
ACPICA: Silence a -Wbad-function-cast warning when acpi_uintptr_t is 'uintptr_t'
ACPICA: Additional 2016 copyright changes
ACPICA: Reduce regression fix divergence from upstream ACPICA
ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Satellite R830
ACPI / video: Revert "thinkpad_acpi: Use acpi_video_handles_brightness_key_presses()"
ACPI / video: Document acpi_video_handles_brightness_key_presses() a bit
ACPI / video: Fix using an uninitialized mutex / list_head in acpi_video_handles_brightness_key_presses()
ACPI / video: Revert "ACPI / video: driver must be registered before checking for keypresses"
ACPI / fan: Improve acpi_device_update_power error message
ACPI / video: Add disable_backlight_sysfs_if quirk for the Toshiba Portege R700
cpuidle: menu: Fix menu_select() for CPUIDLE_DRIVER_STATE_START == 0
MAINTAINERS: Add devfreq-event entry
MAINTAINERS: Add missing git repository and directory for devfreq
...

+516 -326
+13
MAINTAINERS
··· 3453 3453 M: MyungJoo Ham <myungjoo.ham@samsung.com> 3454 3454 M: Kyungmin Park <kyungmin.park@samsung.com> 3455 3455 L: linux-pm@vger.kernel.org 3456 + T: git git://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq.git 3456 3457 S: Maintained 3457 3458 F: drivers/devfreq/ 3459 + F: include/linux/devfreq.h 3460 + F: Documentation/devicetree/bindings/devfreq/ 3461 + 3462 + DEVICE FREQUENCY EVENT (DEVFREQ-EVENT) 3463 + M: Chanwoo Choi <cw00.choi@samsung.com> 3464 + L: linux-pm@vger.kernel.org 3465 + T: git git://git.kernel.org/pub/scm/linux/kernel/git/mzx/devfreq.git 3466 + S: Supported 3467 + F: drivers/devfreq/event/ 3468 + F: drivers/devfreq/devfreq-event.c 3469 + F: include/linux/devfreq-event.h 3470 + F: Documentation/devicetree/bindings/devfreq/event/ 3458 3471 3459 3472 DEVICE NUMBER REGISTRY 3460 3473 M: Torben Mathiasen <device@lanana.org>
+4 -3
arch/arm/mach-omap2/omap_device.c
··· 32 32 #include <linux/io.h> 33 33 #include <linux/clk.h> 34 34 #include <linux/clkdev.h> 35 + #include <linux/pm_domain.h> 35 36 #include <linux/pm_runtime.h> 36 37 #include <linux/of.h> 37 38 #include <linux/notifier.h> ··· 169 168 r->name = dev_name(&pdev->dev); 170 169 } 171 170 172 - pdev->dev.pm_domain = &omap_device_pm_domain; 171 + dev_pm_domain_set(&pdev->dev, &omap_device_pm_domain); 173 172 174 173 if (device_active) { 175 174 omap_device_enable(pdev); ··· 181 180 odbfd_exit: 182 181 /* if data/we are at fault.. load up a fail handler */ 183 182 if (ret) 184 - pdev->dev.pm_domain = &omap_device_fail_pm_domain; 183 + dev_pm_domain_set(&pdev->dev, &omap_device_fail_pm_domain); 185 184 186 185 return ret; 187 186 } ··· 702 701 { 703 702 pr_debug("omap_device: %s: registering\n", pdev->name); 704 703 705 - pdev->dev.pm_domain = &omap_device_pm_domain; 704 + dev_pm_domain_set(&pdev->dev, &omap_device_pm_domain); 706 705 return platform_device_add(pdev); 707 706 } 708 707
+4 -1
drivers/acpi/acpi_lpss.c
··· 18 18 #include <linux/mutex.h> 19 19 #include <linux/platform_device.h> 20 20 #include <linux/platform_data/clk-lpss.h> 21 + #include <linux/pm_domain.h> 21 22 #include <linux/pm_runtime.h> 22 23 #include <linux/delay.h> 23 24 ··· 876 875 877 876 switch (action) { 878 877 case BUS_NOTIFY_BIND_DRIVER: 879 - pdev->dev.pm_domain = &acpi_lpss_pm_domain; 878 + dev_pm_domain_set(&pdev->dev, &acpi_lpss_pm_domain); 880 879 break; 881 880 case BUS_NOTIFY_DRIVER_NOT_BOUND: 882 881 case BUS_NOTIFY_UNBOUND_DRIVER: 883 882 pdev->dev.pm_domain = NULL; 884 883 break; 885 884 case BUS_NOTIFY_ADD_DEVICE: 885 + dev_pm_domain_set(&pdev->dev, &acpi_lpss_pm_domain); 886 886 if (pdata->dev_desc->flags & LPSS_LTR) 887 887 return sysfs_create_group(&pdev->dev.kobj, 888 888 &lpss_attr_group); ··· 891 889 case BUS_NOTIFY_DEL_DEVICE: 892 890 if (pdata->dev_desc->flags & LPSS_LTR) 893 891 sysfs_remove_group(&pdev->dev.kobj, &lpss_attr_group); 892 + dev_pm_domain_set(&pdev->dev, NULL); 894 893 break; 895 894 default: 896 895 break;
+33 -19
drivers/acpi/acpi_video.c
··· 90 90 static bool only_lcd = false; 91 91 module_param(only_lcd, bool, 0444); 92 92 93 - static DECLARE_COMPLETION(register_done); 94 - static DEFINE_MUTEX(register_done_mutex); 95 - static struct mutex video_list_lock; 96 - static struct list_head video_bus_head; 93 + static int register_count; 94 + static DEFINE_MUTEX(register_count_mutex); 95 + static DEFINE_MUTEX(video_list_lock); 96 + static LIST_HEAD(video_bus_head); 97 97 static int acpi_video_bus_add(struct acpi_device *device); 98 98 static int acpi_video_bus_remove(struct acpi_device *device); 99 99 static void acpi_video_bus_notify(struct acpi_device *device, u32 event); ··· 479 479 * as brightness control does not work. 480 480 */ 481 481 { 482 + /* https://bugzilla.kernel.org/show_bug.cgi?id=21012 */ 483 + .callback = video_disable_backlight_sysfs_if, 484 + .ident = "Toshiba Portege R700", 485 + .matches = { 486 + DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), 487 + DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE R700"), 488 + }, 489 + }, 490 + { 482 491 /* https://bugs.freedesktop.org/show_bug.cgi?id=82634 */ 483 492 .callback = video_disable_backlight_sysfs_if, 484 493 .ident = "Toshiba Portege R830", 485 494 .matches = { 486 495 DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), 487 496 DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE R830"), 497 + }, 498 + }, 499 + { 500 + /* https://bugzilla.kernel.org/show_bug.cgi?id=21012 */ 501 + .callback = video_disable_backlight_sysfs_if, 502 + .ident = "Toshiba Satellite R830", 503 + .matches = { 504 + DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), 505 + DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE R830"), 488 506 }, 489 507 }, 490 508 /* ··· 2067 2049 { 2068 2050 int ret = 0; 2069 2051 2070 - mutex_lock(&register_done_mutex); 2071 - if (completion_done(&register_done)) { 2052 + mutex_lock(&register_count_mutex); 2053 + if (register_count) { 2072 2054 /* 2073 2055 * if the function of acpi_video_register is already called, 2074 2056 * don't register the acpi_vide_bus again and return no error. 2075 2057 */ 2076 2058 goto leave; 2077 2059 } 2078 - 2079 - mutex_init(&video_list_lock); 2080 - INIT_LIST_HEAD(&video_bus_head); 2081 2060 2082 2061 dmi_check_system(video_dmi_table); 2083 2062 ··· 2086 2071 * When the acpi_video_bus is loaded successfully, increase 2087 2072 * the counter reference. 2088 2073 */ 2089 - complete(&register_done); 2074 + register_count = 1; 2090 2075 2091 2076 leave: 2092 - mutex_unlock(&register_done_mutex); 2077 + mutex_unlock(&register_count_mutex); 2093 2078 return ret; 2094 2079 } 2095 2080 EXPORT_SYMBOL(acpi_video_register); 2096 2081 2097 2082 void acpi_video_unregister(void) 2098 2083 { 2099 - mutex_lock(&register_done_mutex); 2100 - if (completion_done(&register_done)) { 2084 + mutex_lock(&register_count_mutex); 2085 + if (register_count) { 2101 2086 acpi_bus_unregister_driver(&acpi_video_bus); 2102 - reinit_completion(&register_done); 2087 + register_count = 0; 2103 2088 } 2104 - mutex_unlock(&register_done_mutex); 2089 + mutex_unlock(&register_count_mutex); 2105 2090 } 2106 2091 EXPORT_SYMBOL(acpi_video_unregister); 2107 2092 ··· 2109 2094 { 2110 2095 struct acpi_video_bus *video; 2111 2096 2112 - mutex_lock(&register_done_mutex); 2113 - if (completion_done(&register_done)) { 2097 + mutex_lock(&register_count_mutex); 2098 + if (register_count) { 2114 2099 mutex_lock(&video_list_lock); 2115 2100 list_for_each_entry(video, &video_bus_head, entry) 2116 2101 acpi_video_bus_unregister_backlight(video); 2117 2102 mutex_unlock(&video_list_lock); 2118 2103 } 2119 - mutex_unlock(&register_done_mutex); 2104 + mutex_unlock(&register_count_mutex); 2120 2105 } 2121 2106 2122 2107 bool acpi_video_handles_brightness_key_presses(void) 2123 2108 { 2124 2109 bool have_video_busses; 2125 2110 2126 - wait_for_completion(&register_done); 2127 2111 mutex_lock(&video_list_lock); 2128 2112 have_video_busses = !list_empty(&video_bus_head); 2129 2113 mutex_unlock(&video_list_lock);
+2 -2
drivers/acpi/acpica/acapps.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without ··· 49 49 /* Common info for tool signons */ 50 50 51 51 #define ACPICA_NAME "Intel ACPI Component Architecture" 52 - #define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2015 Intel Corporation" 52 + #define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2016 Intel Corporation" 53 53 54 54 #if ACPI_MACHINE_WIDTH == 64 55 55 #define ACPI_WIDTH "-64"
+1 -1
drivers/acpi/acpica/accommon.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acdebug.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acdispat.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acevents.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acglobal.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/achware.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acinterp.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/aclocal.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acmacros.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acnamesp.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acobject.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acopcode.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acparser.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acpredef.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acresrc.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acstruct.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/actables.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/acutils.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/amlcode.h
··· 7 7 *****************************************************************************/ 8 8 9 9 /* 10 - * Copyright (C) 2000 - 2015, Intel Corp. 10 + * Copyright (C) 2000 - 2016, Intel Corp. 11 11 * All rights reserved. 12 12 * 13 13 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/amlresrc.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbcmds.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbconvert.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+4 -2
drivers/acpi/acpica/dbdisply.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without ··· 599 599 600 600 void acpi_db_display_object_type(char *object_arg) 601 601 { 602 + acpi_size arg; 602 603 acpi_handle handle; 603 604 struct acpi_device_info *info; 604 605 acpi_status status; 605 606 u32 i; 606 607 607 - handle = ACPI_TO_POINTER(strtoul(object_arg, NULL, 16)); 608 + arg = strtoul(object_arg, NULL, 16); 609 + handle = ACPI_TO_POINTER(arg); 608 610 609 611 status = acpi_get_object_info(handle, &info); 610 612 if (ACPI_FAILURE(status)) {
+1 -1
drivers/acpi/acpica/dbexec.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbfileio.c
··· 6 6 ******************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbhistry.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbinput.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbmethod.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbnames.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbobject.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbstats.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbtest.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbutils.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dbxface.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsargs.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dscontrol.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsdebug.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsfield.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsinit.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsmethod.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsmthdat.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsobject.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsopcode.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dsutils.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dswexec.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dswload.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dswload2.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dswscope.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/dswstate.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evevent.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evglock.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evgpe.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evgpeblk.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evgpeinit.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evgpeutil.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evhandler.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evmisc.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evregion.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evrgnini.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evsci.c
··· 6 6 ******************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evxface.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evxfevnt.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evxfgpe.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/evxfregn.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exconfig.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exconvrt.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/excreate.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exdebug.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exdump.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exfield.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exfldio.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exmisc.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exmutex.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exnames.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exoparg1.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exoparg2.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exoparg3.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exoparg6.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exprep.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exregion.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exresnte.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exresolv.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exresop.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exstore.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exstoren.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exstorob.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exsystem.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/extrace.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/exutils.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwacpi.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwesleep.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwgpe.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwpci.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwregs.c
··· 6 6 ******************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwsleep.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwtimer.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwvalid.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwxface.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/hwxfsleep.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsaccess.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsalloc.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsarguments.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsconvert.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsdump.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsdumpdv.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+8 -7
drivers/acpi/acpica/nseval.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without ··· 418 418 * Get the parent node. We cheat by using the next_object field 419 419 * of the method object descriptor. 420 420 */ 421 - parent_node = ACPI_CAST_PTR(struct acpi_namespace_node, 421 + parent_node = 422 + ACPI_CAST_PTR(struct acpi_namespace_node, 422 423 method_obj->method.next_object); 423 424 type = acpi_ns_get_type(parent_node); 424 425 ··· 445 444 info->prefix_node = parent_node; 446 445 447 446 /* 448 - * Get the currently attached parent object. Add a reference, because the 449 - * ref count will be decreased when the method object is installed to 450 - * the parent node. 447 + * Get the currently attached parent object. Add a reference, 448 + * because the ref count will be decreased when the method object 449 + * is installed to the parent node. 451 450 */ 452 451 parent_obj = acpi_ns_get_attached_object(parent_node); 453 452 if (parent_obj) { ··· 456 455 457 456 /* Install the method (module-level code) in the parent node */ 458 457 459 - status = acpi_ns_attach_object(parent_node, method_obj, 460 - ACPI_TYPE_METHOD); 458 + status = 459 + acpi_ns_attach_object(parent_node, method_obj, ACPI_TYPE_METHOD); 461 460 if (ACPI_FAILURE(status)) { 462 461 goto exit; 463 462 }
+1 -1
drivers/acpi/acpica/nsinit.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsload.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsnames.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsobject.c
··· 6 6 ******************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsparse.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nspredef.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsprepkg.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsrepair.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsrepair2.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nssearch.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsutils.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nswalk.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsxfeval.c
··· 6 6 ******************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsxfname.c
··· 6 6 *****************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/nsxfobj.c
··· 6 6 ******************************************************************************/ 7 7 8 8 /* 9 - * Copyright (C) 2000 - 2015, Intel Corp. 9 + * Copyright (C) 2000 - 2016, Intel Corp. 10 10 * All rights reserved. 11 11 * 12 12 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psargs.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psloop.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psobject.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psopcode.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psopinfo.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psparse.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psscope.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/pstree.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psutils.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/pswalk.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/psxface.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsaddr.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rscalc.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rscreate.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsdump.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsdumpinfo.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsinfo.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsio.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsirq.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rslist.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsmemory.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsmisc.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsserial.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsutils.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/rsxface.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbdata.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbfadt.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbfind.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbinstal.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbprint.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbutils.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbxface.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbxfload.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/tbxfroot.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utaddress.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utalloc.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utbuffer.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utcache.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utcopy.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utdebug.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utdecode.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utdelete.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/uterror.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/uteval.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utexcep.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utglobal.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/uthex.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utids.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utinit.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utlock.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utmath.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utmisc.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utmutex.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utnonansi.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utobject.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utosi.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utownerid.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utpredef.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utprint.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utresrc.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utstate.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utstring.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/uttrack.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utuuid.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utxface.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utxferror.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utxfinit.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
drivers/acpi/acpica/utxfmutex.c
··· 5 5 ******************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+3 -2
drivers/acpi/device_pm.c
··· 22 22 #include <linux/export.h> 23 23 #include <linux/mutex.h> 24 24 #include <linux/pm_qos.h> 25 + #include <linux/pm_domain.h> 25 26 #include <linux/pm_runtime.h> 26 27 27 28 #include "internal.h" ··· 1060 1059 struct acpi_device *adev = ACPI_COMPANION(dev); 1061 1060 1062 1061 if (adev && dev->pm_domain == &acpi_general_pm_domain) { 1063 - dev->pm_domain = NULL; 1062 + dev_pm_domain_set(dev, NULL); 1064 1063 acpi_remove_pm_notifier(adev); 1065 1064 if (power_off) { 1066 1065 /* ··· 1112 1111 return -EBUSY; 1113 1112 1114 1113 acpi_add_pm_notifier(adev, dev, acpi_pm_notify_work_func); 1115 - dev->pm_domain = &acpi_general_pm_domain; 1114 + dev_pm_domain_set(dev, &acpi_general_pm_domain); 1116 1115 if (power_on) { 1117 1116 acpi_dev_pm_full_power(adev); 1118 1117 acpi_device_wakeup(adev, ACPI_STATE_S0, false);
+1 -1
drivers/acpi/fan.c
··· 339 339 } else { 340 340 result = acpi_device_update_power(device, NULL); 341 341 if (result) { 342 - dev_err(&device->dev, "Setting initial power state\n"); 342 + dev_err(&device->dev, "Failed to set initial power state\n"); 343 343 goto end; 344 344 } 345 345 }
+19 -2
drivers/base/dd.c
··· 223 223 } 224 224 late_initcall(deferred_probe_initcall); 225 225 226 + /** 227 + * device_is_bound() - Check if device is bound to a driver 228 + * @dev: device to check 229 + * 230 + * Returns true if passed device has already finished probing successfully 231 + * against a driver. 232 + * 233 + * This function must be called with the device lock held. 234 + */ 235 + bool device_is_bound(struct device *dev) 236 + { 237 + return dev->p && klist_node_attached(&dev->p->knode_driver); 238 + } 239 + 226 240 static void driver_bound(struct device *dev) 227 241 { 228 - if (klist_node_attached(&dev->p->knode_driver)) { 242 + if (device_is_bound(dev)) { 229 243 printk(KERN_WARNING "%s: device %s already bound\n", 230 244 __func__, kobject_name(&dev->kobj)); 231 245 return; ··· 249 235 __func__, dev_name(dev)); 250 236 251 237 klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); 238 + 239 + device_pm_check_callbacks(dev); 252 240 253 241 /* 254 242 * Make sure the device is no longer in one of the deferred lists and ··· 617 601 618 602 device_lock(dev); 619 603 if (dev->driver) { 620 - if (klist_node_attached(&dev->p->knode_driver)) { 604 + if (device_is_bound(dev)) { 621 605 ret = 1; 622 606 goto out_unlock; 623 607 } ··· 768 752 pm_runtime_reinit(dev); 769 753 770 754 klist_remove(&dev->p->knode_driver); 755 + device_pm_check_callbacks(dev); 771 756 if (dev->bus) 772 757 blocking_notifier_call_chain(&dev->bus->p->bus_notifier, 773 758 BUS_NOTIFY_UNBOUND_DRIVER,
-1
drivers/base/platform.c
··· 597 597 598 598 if (drv->shutdown) 599 599 drv->shutdown(dev); 600 - dev_pm_domain_detach(_dev, true); 601 600 } 602 601 603 602 /**
+3 -2
drivers/base/power/clock_ops.c
··· 15 15 #include <linux/clkdev.h> 16 16 #include <linux/slab.h> 17 17 #include <linux/err.h> 18 + #include <linux/pm_domain.h> 18 19 #include <linux/pm_runtime.h> 19 20 20 21 #ifdef CONFIG_PM_CLK ··· 349 348 if (error) 350 349 break; 351 350 352 - dev->pm_domain = clknb->pm_domain; 351 + dev_pm_domain_set(dev, clknb->pm_domain); 353 352 if (clknb->con_ids[0]) { 354 353 for (con_id = clknb->con_ids; *con_id; con_id++) 355 354 pm_clk_add(dev, *con_id); ··· 362 361 if (dev->pm_domain != clknb->pm_domain) 363 362 break; 364 363 365 - dev->pm_domain = NULL; 364 + dev_pm_domain_set(dev, NULL); 366 365 pm_clk_destroy(dev); 367 366 break; 368 367 }
+24
drivers/base/power/common.c
··· 14 14 #include <linux/acpi.h> 15 15 #include <linux/pm_domain.h> 16 16 17 + #include "power.h" 18 + 17 19 /** 18 20 * dev_pm_get_subsys_data - Create or refcount power.subsys_data for device. 19 21 * @dev: Device to handle. ··· 130 128 dev->pm_domain->detach(dev, power_off); 131 129 } 132 130 EXPORT_SYMBOL_GPL(dev_pm_domain_detach); 131 + 132 + /** 133 + * dev_pm_domain_set - Set PM domain of a device. 134 + * @dev: Device whose PM domain is to be set. 135 + * @pd: PM domain to be set, or NULL. 136 + * 137 + * Sets the PM domain the device belongs to. The PM domain of a device needs 138 + * to be set before its probe finishes (it's bound to a driver). 139 + * 140 + * This function must be called with the device lock held. 141 + */ 142 + void dev_pm_domain_set(struct device *dev, struct dev_pm_domain *pd) 143 + { 144 + if (dev->pm_domain == pd) 145 + return; 146 + 147 + WARN(device_is_bound(dev), 148 + "PM domains can only be changed for unbound devices\n"); 149 + dev->pm_domain = pd; 150 + device_pm_check_callbacks(dev); 151 + } 152 + EXPORT_SYMBOL_GPL(dev_pm_domain_set);
+6 -2
drivers/base/power/domain.c
··· 20 20 #include <linux/suspend.h> 21 21 #include <linux/export.h> 22 22 23 + #include "power.h" 24 + 23 25 #define GENPD_RETRY_MAX_MS 250 /* Approximate */ 24 26 25 27 #define GENPD_DEV_CALLBACK(genpd, type, callback, dev) \ ··· 1190 1188 } 1191 1189 1192 1190 dev->power.subsys_data->domain_data = &gpd_data->base; 1193 - dev->pm_domain = &genpd->domain; 1194 1191 1195 1192 spin_unlock_irq(&dev->power.lock); 1193 + 1194 + dev_pm_domain_set(dev, &genpd->domain); 1196 1195 1197 1196 return gpd_data; 1198 1197 ··· 1208 1205 static void genpd_free_dev_data(struct device *dev, 1209 1206 struct generic_pm_domain_data *gpd_data) 1210 1207 { 1208 + dev_pm_domain_set(dev, NULL); 1209 + 1211 1210 spin_lock_irq(&dev->power.lock); 1212 1211 1213 - dev->pm_domain = NULL; 1214 1212 dev->power.subsys_data->domain_data = NULL; 1215 1213 1216 1214 spin_unlock_irq(&dev->power.lock);
+35
drivers/base/power/main.c
··· 125 125 { 126 126 pr_debug("PM: Adding info for %s:%s\n", 127 127 dev->bus ? dev->bus->name : "No Bus", dev_name(dev)); 128 + device_pm_check_callbacks(dev); 128 129 mutex_lock(&dpm_list_mtx); 129 130 if (dev->parent && dev->parent->power.is_prepared) 130 131 dev_warn(dev, "parent %s should not be sleeping\n", ··· 148 147 mutex_unlock(&dpm_list_mtx); 149 148 device_wakeup_disable(dev); 150 149 pm_runtime_remove(dev); 150 + device_pm_check_callbacks(dev); 151 151 } 152 152 153 153 /** ··· 1574 1572 1575 1573 dev->power.wakeup_path = device_may_wakeup(dev); 1576 1574 1575 + if (dev->power.no_pm_callbacks) { 1576 + ret = 1; /* Let device go direct_complete */ 1577 + goto unlock; 1578 + } 1579 + 1577 1580 if (dev->pm_domain) { 1578 1581 info = "preparing power domain "; 1579 1582 callback = dev->pm_domain->ops.prepare; ··· 1601 1594 if (callback) 1602 1595 ret = callback(dev); 1603 1596 1597 + unlock: 1604 1598 device_unlock(dev); 1605 1599 1606 1600 if (ret < 0) { ··· 1744 1736 device_pm_unlock(); 1745 1737 } 1746 1738 EXPORT_SYMBOL_GPL(dpm_for_each_dev); 1739 + 1740 + static bool pm_ops_is_empty(const struct dev_pm_ops *ops) 1741 + { 1742 + if (!ops) 1743 + return true; 1744 + 1745 + return !ops->prepare && 1746 + !ops->suspend && 1747 + !ops->suspend_late && 1748 + !ops->suspend_noirq && 1749 + !ops->resume_noirq && 1750 + !ops->resume_early && 1751 + !ops->resume && 1752 + !ops->complete; 1753 + } 1754 + 1755 + void device_pm_check_callbacks(struct device *dev) 1756 + { 1757 + spin_lock_irq(&dev->power.lock); 1758 + dev->power.no_pm_callbacks = 1759 + (!dev->bus || pm_ops_is_empty(dev->bus->pm)) && 1760 + (!dev->class || pm_ops_is_empty(dev->class->pm)) && 1761 + (!dev->type || pm_ops_is_empty(dev->type->pm)) && 1762 + (!dev->pm_domain || pm_ops_is_empty(&dev->pm_domain->ops)) && 1763 + (!dev->driver || pm_ops_is_empty(dev->driver->pm)); 1764 + spin_unlock_irq(&dev->power.lock); 1765 + }
+3
drivers/base/power/power.h
··· 125 125 extern void device_pm_move_before(struct device *, struct device *); 126 126 extern void device_pm_move_after(struct device *, struct device *); 127 127 extern void device_pm_move_last(struct device *); 128 + extern void device_pm_check_callbacks(struct device *dev); 128 129 129 130 #else /* !CONFIG_PM_SLEEP */ 130 131 ··· 143 142 static inline void device_pm_move_after(struct device *deva, 144 143 struct device *devb) {} 145 144 static inline void device_pm_move_last(struct device *dev) {} 145 + 146 + static inline void device_pm_check_callbacks(struct device *dev) {} 146 147 147 148 #endif /* !CONFIG_PM_SLEEP */ 148 149
-2
drivers/cpuidle/Kconfig
··· 19 19 20 20 config CPU_IDLE_GOV_LADDER 21 21 bool "Ladder governor (for periodic timer tick)" 22 - default y 23 22 24 23 config CPU_IDLE_GOV_MENU 25 24 bool "Menu governor (for tickless system)" 26 - default y 27 25 28 26 config DT_IDLE_STATES 29 27 bool
+3 -3
drivers/cpuidle/cpuidle.c
··· 79 79 bool freeze) 80 80 { 81 81 unsigned int latency_req = 0; 82 - int i, ret = -ENXIO; 82 + int i, ret = 0; 83 83 84 - for (i = 0; i < drv->state_count; i++) { 84 + for (i = 1; i < drv->state_count; i++) { 85 85 struct cpuidle_state *s = &drv->states[i]; 86 86 struct cpuidle_state_usage *su = &dev->states_usage[i]; 87 87 ··· 243 243 * @drv: the cpuidle driver 244 244 * @dev: the cpuidle device 245 245 * 246 - * Returns the index of the idle state. 246 + * Returns the index of the idle state. The return value must not be negative. 247 247 */ 248 248 int cpuidle_select(struct cpuidle_driver *drv, struct cpuidle_device *dev) 249 249 {
+9
drivers/cpuidle/governors/ladder.c
··· 17 17 #include <linux/pm_qos.h> 18 18 #include <linux/module.h> 19 19 #include <linux/jiffies.h> 20 + #include <linux/tick.h> 20 21 21 22 #include <asm/io.h> 22 23 #include <asm/uaccess.h> ··· 185 184 */ 186 185 static int __init init_ladder(void) 187 186 { 187 + /* 188 + * When NO_HZ is disabled, or when booting with nohz=off, the ladder 189 + * governor is better so give it a higher rating than the menu 190 + * governor. 191 + */ 192 + if (!tick_nohz_enabled) 193 + ladder_governor.rating = 25; 194 + 188 195 return cpuidle_register_governor(&ladder_governor); 189 196 } 190 197
+13 -10
drivers/cpuidle/governors/menu.c
··· 294 294 data->needs_update = 0; 295 295 } 296 296 297 - data->last_state_idx = CPUIDLE_DRIVER_STATE_START - 1; 298 - 299 297 /* Special case when user has set very strict latency requirement */ 300 298 if (unlikely(latency_req == 0)) 301 299 return 0; ··· 324 326 if (latency_req > interactivity_req) 325 327 latency_req = interactivity_req; 326 328 327 - /* 328 - * We want to default to C1 (hlt), not to busy polling 329 - * unless the timer is happening really really soon. 330 - */ 331 - if (interactivity_req > 20 && 332 - !drv->states[CPUIDLE_DRIVER_STATE_START].disabled && 333 - dev->states_usage[CPUIDLE_DRIVER_STATE_START].disable == 0) 329 + if (CPUIDLE_DRIVER_STATE_START > 0) { 330 + data->last_state_idx = CPUIDLE_DRIVER_STATE_START - 1; 331 + /* 332 + * We want to default to C1 (hlt), not to busy polling 333 + * unless the timer is happening really really soon. 334 + */ 335 + if (interactivity_req > 20 && 336 + !drv->states[CPUIDLE_DRIVER_STATE_START].disabled && 337 + dev->states_usage[CPUIDLE_DRIVER_STATE_START].disable == 0) 338 + data->last_state_idx = CPUIDLE_DRIVER_STATE_START; 339 + } else { 334 340 data->last_state_idx = CPUIDLE_DRIVER_STATE_START; 341 + } 335 342 336 343 /* 337 344 * Find the idle state with the lowest power while satisfying 338 345 * our constraints. 339 346 */ 340 - for (i = CPUIDLE_DRIVER_STATE_START; i < drv->state_count; i++) { 347 + for (i = data->last_state_idx + 1; i < drv->state_count; i++) { 341 348 struct cpuidle_state *s = &drv->states[i]; 342 349 struct cpuidle_state_usage *su = &dev->states_usage[i]; 343 350
+5 -11
drivers/devfreq/devfreq-event.c
··· 226 226 struct device_node *node; 227 227 struct devfreq_event_dev *edev; 228 228 229 - if (!dev->of_node) { 230 - dev_err(dev, "device does not have a device node entry\n"); 229 + if (!dev->of_node) 231 230 return ERR_PTR(-EINVAL); 232 - } 233 231 234 232 node = of_parse_phandle(dev->of_node, "devfreq-events", index); 235 - if (!node) { 236 - dev_err(dev, "failed to get phandle in %s node\n", 237 - dev->of_node->full_name); 233 + if (!node) 238 234 return ERR_PTR(-ENODEV); 239 - } 240 235 241 236 mutex_lock(&devfreq_event_list_lock); 242 237 list_for_each_entry(edev, &devfreq_event_list, node) { ··· 243 248 mutex_unlock(&devfreq_event_list_lock); 244 249 245 250 if (!edev) { 246 - dev_err(dev, "unable to get devfreq-event device : %s\n", 247 - node->name); 248 251 of_node_put(node); 249 252 return ERR_PTR(-ENODEV); 250 253 } ··· 270 277 271 278 count = of_property_count_elems_of_size(dev->of_node, "devfreq-events", 272 279 sizeof(u32)); 273 - if (count < 0 ) { 280 + if (count < 0) { 274 281 dev_err(dev, 275 282 "failed to get the count of devfreq-event in %s node\n", 276 283 dev->of_node->full_name); ··· 395 402 { 396 403 struct devfreq_event_dev **ptr, *edev; 397 404 398 - ptr = devres_alloc(devm_devfreq_event_release, sizeof(*ptr), GFP_KERNEL); 405 + ptr = devres_alloc(devm_devfreq_event_release, sizeof(*ptr), 406 + GFP_KERNEL); 399 407 if (!ptr) 400 408 return ERR_PTR(-ENOMEM); 401 409
+62 -16
drivers/devfreq/devfreq.c
··· 85 85 } 86 86 87 87 /** 88 + * devfreq_set_freq_table() - Initialize freq_table for the frequency 89 + * @devfreq: the devfreq instance 90 + */ 91 + static void devfreq_set_freq_table(struct devfreq *devfreq) 92 + { 93 + struct devfreq_dev_profile *profile = devfreq->profile; 94 + struct dev_pm_opp *opp; 95 + unsigned long freq; 96 + int i, count; 97 + 98 + /* Initialize the freq_table from OPP table */ 99 + count = dev_pm_opp_get_opp_count(devfreq->dev.parent); 100 + if (count <= 0) 101 + return; 102 + 103 + profile->max_state = count; 104 + profile->freq_table = devm_kcalloc(devfreq->dev.parent, 105 + profile->max_state, 106 + sizeof(*profile->freq_table), 107 + GFP_KERNEL); 108 + if (!profile->freq_table) { 109 + profile->max_state = 0; 110 + return; 111 + } 112 + 113 + rcu_read_lock(); 114 + for (i = 0, freq = 0; i < profile->max_state; i++, freq++) { 115 + opp = dev_pm_opp_find_freq_ceil(devfreq->dev.parent, &freq); 116 + if (IS_ERR(opp)) { 117 + devm_kfree(devfreq->dev.parent, profile->freq_table); 118 + profile->max_state = 0; 119 + rcu_read_unlock(); 120 + return; 121 + } 122 + profile->freq_table[i] = freq; 123 + } 124 + rcu_read_unlock(); 125 + } 126 + 127 + /** 88 128 * devfreq_update_status() - Update statistics of devfreq behavior 89 129 * @devfreq: the devfreq instance 90 130 * @freq: the update target frequency ··· 517 477 devfreq->previous_freq = profile->initial_freq; 518 478 devfreq->data = data; 519 479 devfreq->nb.notifier_call = devfreq_notifier_call; 480 + 481 + if (!devfreq->profile->max_state && !devfreq->profile->freq_table) { 482 + mutex_unlock(&devfreq->lock); 483 + devfreq_set_freq_table(devfreq); 484 + mutex_lock(&devfreq->lock); 485 + } 520 486 521 487 devfreq->trans_table = devm_kzalloc(dev, sizeof(unsigned int) * 522 488 devfreq->profile->max_state * ··· 967 921 return ret; 968 922 } 969 923 970 - static ssize_t min_freq_show(struct device *dev, struct device_attribute *attr, 971 - char *buf) 972 - { 973 - return sprintf(buf, "%lu\n", to_devfreq(dev)->min_freq); 974 - } 975 - 976 924 static ssize_t max_freq_store(struct device *dev, struct device_attribute *attr, 977 925 const char *buf, size_t count) 978 926 { ··· 993 953 mutex_unlock(&df->lock); 994 954 return ret; 995 955 } 996 - static DEVICE_ATTR_RW(min_freq); 997 956 998 - static ssize_t max_freq_show(struct device *dev, struct device_attribute *attr, 999 - char *buf) 1000 - { 1001 - return sprintf(buf, "%lu\n", to_devfreq(dev)->max_freq); 957 + #define show_one(name) \ 958 + static ssize_t name##_show \ 959 + (struct device *dev, struct device_attribute *attr, char *buf) \ 960 + { \ 961 + return sprintf(buf, "%lu\n", to_devfreq(dev)->name); \ 1002 962 } 963 + show_one(min_freq); 964 + show_one(max_freq); 965 + 966 + static DEVICE_ATTR_RW(min_freq); 1003 967 static DEVICE_ATTR_RW(max_freq); 1004 968 1005 969 static ssize_t available_frequencies_show(struct device *d, ··· 1049 1005 if (!devfreq->stop_polling && 1050 1006 devfreq_update_status(devfreq, devfreq->previous_freq)) 1051 1007 return 0; 1008 + if (max_state == 0) 1009 + return sprintf(buf, "Not Supported.\n"); 1052 1010 1053 - len = sprintf(buf, " From : To\n"); 1054 - len += sprintf(buf + len, " :"); 1011 + len = sprintf(buf, " From : To\n"); 1012 + len += sprintf(buf + len, " :"); 1055 1013 for (i = 0; i < max_state; i++) 1056 - len += sprintf(buf + len, "%8u", 1014 + len += sprintf(buf + len, "%10lu", 1057 1015 devfreq->profile->freq_table[i]); 1058 1016 1059 1017 len += sprintf(buf + len, " time(ms)\n"); ··· 1067 1021 } else { 1068 1022 len += sprintf(buf + len, " "); 1069 1023 } 1070 - len += sprintf(buf + len, "%8u:", 1024 + len += sprintf(buf + len, "%10lu:", 1071 1025 devfreq->profile->freq_table[i]); 1072 1026 for (j = 0; j < max_state; j++) 1073 - len += sprintf(buf + len, "%8u", 1027 + len += sprintf(buf + len, "%10u", 1074 1028 devfreq->trans_table[(i * max_state) + j]); 1075 1029 len += sprintf(buf + len, "%10u\n", 1076 1030 jiffies_to_msecs(devfreq->time_in_state[i]));
+6 -5
drivers/gpu/vga/vga_switcheroo.c
··· 36 36 #include <linux/fs.h> 37 37 #include <linux/module.h> 38 38 #include <linux/pci.h> 39 + #include <linux/pm_domain.h> 39 40 #include <linux/pm_runtime.h> 40 41 #include <linux/seq_file.h> 41 42 #include <linux/uaccess.h> ··· 919 918 domain->ops.runtime_suspend = vga_switcheroo_runtime_suspend; 920 919 domain->ops.runtime_resume = vga_switcheroo_runtime_resume; 921 920 922 - dev->pm_domain = domain; 921 + dev_pm_domain_set(dev, domain); 923 922 return 0; 924 923 } 925 - dev->pm_domain = NULL; 924 + dev_pm_domain_set(dev, NULL); 926 925 return -EINVAL; 927 926 } 928 927 EXPORT_SYMBOL(vga_switcheroo_init_domain_pm_ops); 929 928 930 929 void vga_switcheroo_fini_domain_pm_ops(struct device *dev) 931 930 { 932 - dev->pm_domain = NULL; 931 + dev_pm_domain_set(dev, NULL); 933 932 } 934 933 EXPORT_SYMBOL(vga_switcheroo_fini_domain_pm_ops); 935 934 ··· 990 989 domain->ops.runtime_resume = 991 990 vga_switcheroo_runtime_resume_hdmi_audio; 992 991 993 - dev->pm_domain = domain; 992 + dev_pm_domain_set(dev, domain); 994 993 return 0; 995 994 } 996 - dev->pm_domain = NULL; 995 + dev_pm_domain_set(dev, NULL); 997 996 return -EINVAL; 998 997 } 999 998 EXPORT_SYMBOL(vga_switcheroo_init_domain_pm_optimus_hdmi_audio);
+3 -2
drivers/misc/mei/pci-me.c
··· 31 31 #include <linux/jiffies.h> 32 32 #include <linux/interrupt.h> 33 33 34 + #include <linux/pm_domain.h> 34 35 #include <linux/pm_runtime.h> 35 36 36 37 #include <linux/mei.h> ··· 437 436 dev->pg_domain.ops.runtime_resume = mei_me_pm_runtime_resume; 438 437 dev->pg_domain.ops.runtime_idle = mei_me_pm_runtime_idle; 439 438 440 - pdev->dev.pm_domain = &dev->pg_domain; 439 + dev_pm_domain_set(&pdev->dev, &dev->pg_domain); 441 440 } 442 441 } 443 442 ··· 449 448 static inline void mei_me_unset_pm_domain(struct mei_device *dev) 450 449 { 451 450 /* stop using pm callbacks if any */ 452 - dev->dev->pm_domain = NULL; 451 + dev_pm_domain_set(dev->dev, NULL); 453 452 } 454 453 455 454 static const struct dev_pm_ops mei_me_pm_ops = {
+3 -2
drivers/misc/mei/pci-txe.c
··· 27 27 #include <linux/jiffies.h> 28 28 #include <linux/interrupt.h> 29 29 #include <linux/workqueue.h> 30 + #include <linux/pm_domain.h> 30 31 #include <linux/pm_runtime.h> 31 32 32 33 #include <linux/mei.h> ··· 389 388 dev->pg_domain.ops.runtime_resume = mei_txe_pm_runtime_resume; 390 389 dev->pg_domain.ops.runtime_idle = mei_txe_pm_runtime_idle; 391 390 392 - pdev->dev.pm_domain = &dev->pg_domain; 391 + dev_pm_domain_set(&pdev->dev, &dev->pg_domain); 393 392 } 394 393 } 395 394 ··· 401 400 static inline void mei_txe_unset_pm_domain(struct mei_device *dev) 402 401 { 403 402 /* stop using pm callbacks if any */ 404 - dev->dev->pm_domain = NULL; 403 + dev_pm_domain_set(dev->dev, NULL); 405 404 } 406 405 407 406 static const struct dev_pm_ops mei_txe_pm_ops = {
+1 -1
drivers/platform/x86/thinkpad_acpi.c
··· 3489 3489 /* Do not issue duplicate brightness change events to 3490 3490 * userspace. tpacpi_detect_brightness_capabilities() must have 3491 3491 * been called before this point */ 3492 - if (acpi_video_handles_brightness_key_presses()) { 3492 + if (acpi_video_get_backlight_type() != acpi_backlight_vendor) { 3493 3493 pr_info("This ThinkPad has standard ACPI backlight " 3494 3494 "brightness control, supported by the ACPI " 3495 3495 "video driver\n");
+6
drivers/usb/core/port.c
··· 249 249 250 250 return retval; 251 251 } 252 + 253 + static int usb_port_prepare(struct device *dev) 254 + { 255 + return 1; 256 + } 252 257 #endif 253 258 254 259 static const struct dev_pm_ops usb_port_pm_ops = { 255 260 #ifdef CONFIG_PM 256 261 .runtime_suspend = usb_port_runtime_suspend, 257 262 .runtime_resume = usb_port_runtime_resume, 263 + .prepare = usb_port_prepare, 258 264 #endif 259 265 }; 260 266
+7 -1
drivers/usb/core/usb.c
··· 311 311 312 312 static int usb_dev_prepare(struct device *dev) 313 313 { 314 - return 0; /* Implement eventually? */ 314 + struct usb_device *udev = to_usb_device(dev); 315 + 316 + /* Return 0 if the current wakeup setting is wrong, otherwise 1 */ 317 + if (udev->do_remote_wakeup != device_may_wakeup(dev)) 318 + return 0; 319 + 320 + return 1; 315 321 } 316 322 317 323 static void usb_dev_complete(struct device *dev)
+1 -1
include/acpi/acbuffer.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acconfig.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acexcep.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acnames.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acoutput.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acpi.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acpiosxf.h
··· 7 7 *****************************************************************************/ 8 8 9 9 /* 10 - * Copyright (C) 2000 - 2015, Intel Corp. 10 + * Copyright (C) 2000 - 2016, Intel Corp. 11 11 * All rights reserved. 12 12 * 13 13 * Redistribution and use in source and binary forms, with or without
+2 -2
include/acpi/acpixf.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without ··· 46 46 47 47 /* Current ACPICA subsystem version in YYYYMMDD format */ 48 48 49 - #define ACPI_CA_VERSION 0x20151218 49 + #define ACPI_CA_VERSION 0x20160108 50 50 51 51 #include <acpi/acconfig.h> 52 52 #include <acpi/actypes.h>
+1 -1
include/acpi/acrestyp.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/actbl.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/actbl1.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/actbl2.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/actbl3.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/actypes.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/acuuid.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/acenv.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/acenvex.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/acgcc.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/aclinux.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/aclinuxex.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/acmsvcex.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
include/acpi/platform/acwinex.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+4
include/acpi/video.h
··· 32 32 int device_id, void **edid); 33 33 extern enum acpi_backlight_type acpi_video_get_backlight_type(void); 34 34 extern void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type); 35 + /* 36 + * Note: The value returned by acpi_video_handles_brightness_key_presses() 37 + * may change over time and should not be cached. 38 + */ 35 39 extern bool acpi_video_handles_brightness_key_presses(void); 36 40 #else 37 41 static inline int acpi_video_register(void) { return 0; }
+1 -1
include/linux/devfreq.h
··· 89 89 int (*get_cur_freq)(struct device *dev, unsigned long *freq); 90 90 void (*exit)(struct device *dev); 91 91 92 - unsigned int *freq_table; 92 + unsigned long *freq_table; 93 93 unsigned int max_state; 94 94 }; 95 95
+2
include/linux/device.h
··· 1044 1044 extern void device_initial_probe(struct device *dev); 1045 1045 extern int __must_check device_reprobe(struct device *dev); 1046 1046 1047 + extern bool device_is_bound(struct device *dev); 1048 + 1047 1049 /* 1048 1050 * Easy functions for dynamically creating devices on the fly 1049 1051 */
+1
include/linux/pm.h
··· 573 573 struct wakeup_source *wakeup; 574 574 bool wakeup_path:1; 575 575 bool syscore:1; 576 + bool no_pm_callbacks:1; /* Owned by the PM core */ 576 577 #else 577 578 unsigned int should_wakeup:1; 578 579 #endif
+3
include/linux/pm_domain.h
··· 240 240 #ifdef CONFIG_PM 241 241 extern int dev_pm_domain_attach(struct device *dev, bool power_on); 242 242 extern void dev_pm_domain_detach(struct device *dev, bool power_off); 243 + extern void dev_pm_domain_set(struct device *dev, struct dev_pm_domain *pd); 243 244 #else 244 245 static inline int dev_pm_domain_attach(struct device *dev, bool power_on) 245 246 { 246 247 return -ENODEV; 247 248 } 248 249 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} 250 + static inline void dev_pm_domain_set(struct device *dev, 251 + struct dev_pm_domain *pd) {} 249 252 #endif 250 253 251 254 #endif /* _LINUX_PM_DOMAIN_H */
+2
include/linux/tick.h
··· 98 98 } 99 99 100 100 #ifdef CONFIG_NO_HZ_COMMON 101 + extern int tick_nohz_enabled; 101 102 extern int tick_nohz_tick_stopped(void); 102 103 extern void tick_nohz_idle_enter(void); 103 104 extern void tick_nohz_idle_exit(void); ··· 107 106 extern u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time); 108 107 extern u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time); 109 108 #else /* !CONFIG_NO_HZ_COMMON */ 109 + #define tick_nohz_enabled (0) 110 110 static inline int tick_nohz_tick_stopped(void) { return 0; } 111 111 static inline void tick_nohz_idle_enter(void) { } 112 112 static inline void tick_nohz_idle_exit(void) { }
-6
kernel/sched/idle.c
··· 97 97 static int call_cpuidle(struct cpuidle_driver *drv, struct cpuidle_device *dev, 98 98 int next_state) 99 99 { 100 - /* Fall back to the default arch idle method on errors. */ 101 - if (next_state < 0) { 102 - default_idle_call(); 103 - return next_state; 104 - } 105 - 106 100 /* 107 101 * The idle task must be scheduled, it is pointless to go to idle, just 108 102 * update no idle residency and return.
+1 -1
kernel/time/tick-sched.c
··· 387 387 /* 388 388 * NO HZ enabled ? 389 389 */ 390 - static int tick_nohz_enabled __read_mostly = 1; 390 + int tick_nohz_enabled __read_mostly = 1; 391 391 unsigned long tick_nohz_active __read_mostly; 392 392 /* 393 393 * Enable / Disable tickless mode
+1 -1
tools/power/acpi/common/cmfsize.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/common/getopt.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/os_specific/service_layers/oslibcfs.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/os_specific/service_layers/osunixdir.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/os_specific/service_layers/osunixmap.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/os_specific/service_layers/osunixxf.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/tools/acpidump/acpidump.h
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/tools/acpidump/apdump.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/tools/acpidump/apfiles.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1 -1
tools/power/acpi/tools/acpidump/apmain.c
··· 5 5 *****************************************************************************/ 6 6 7 7 /* 8 - * Copyright (C) 2000 - 2015, Intel Corp. 8 + * Copyright (C) 2000 - 2016, Intel Corp. 9 9 * All rights reserved. 10 10 * 11 11 * Redistribution and use in source and binary forms, with or without
+1
tools/power/cpupower/utils/cpufreq-info.c
··· 10 10 #include <errno.h> 11 11 #include <stdlib.h> 12 12 #include <string.h> 13 + #include <limits.h> 13 14 14 15 #include <getopt.h> 15 16