diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-09 12:44:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-09 12:44:25 -0500 |
commit | 54ce685cae30c106f062d714c11e644ab1b93b51 (patch) | |
tree | 40869cc4a3aabfb6d9ef1cb4f68835cca2e8558c /drivers/tty/serial/earlycon.c | |
parent | a051c14b8db35cb269e9d91e11fc3573b6f7475d (diff) | |
parent | d4abd46b7e7279a61a1aa76d1d1b16a990178e75 (diff) |
Merge tag 'acpi-part2-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull more ACPI updates from Rafael Wysocki:
"These are mostly fixes and cleanups, a few new quirks, a couple of
updates related to the handling of ACPI tables and ACPICA copyrights
refreshment.
Specifics:
- Update the ACPICA kernel code to upstream revision 20180105
including:
* Assorted fixes (Jung-uk Kim)
* Support for X32 ABI compilation (Anuj Mittal)
* Update of ACPICA copyrights to 2018 (Bob Moore)
- Prepare for future modifications to avoid executing the _STA
control method too early (Hans de Goede)
- Make the processor performance control library code ignore _PPC
notifications if they cannot be handled and fix up the C1 idle
state definition when it is used as a fallback state (Chen Yu,
Yazen Ghannam)
- Make it possible to use the SPCR table on x86 and to replace the
original IORT table with a new one from initrd (Prarit Bhargava,
Shunyong Yang)
- Add battery-related quirks for Asus UX360UA and UX410UAK and add
quirks for table parsing on Dell XPS 9570 and Precision M5530 (Kai
Heng Feng)
- Address static checker warnings in the CPPC code (Gustavo Silva)
- Avoid printing a raw pointer to the kernel log in the smart battery
driver (Greg Kroah-Hartman)"
* tag 'acpi-part2-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: sbshc: remove raw pointer from printk() message
ACPI: SPCR: Make SPCR available to x86
ACPI / CPPC: Use 64-bit arithmetic instead of 32-bit
ACPI / tables: Add IORT to injectable table list
ACPI / bus: Parse tables as term_list for Dell XPS 9570 and Precision M5530
ACPICA: Update version to 20180105
ACPICA: All acpica: Update copyrights to 2018
ACPI / processor: Set default C1 idle state description
ACPI / battery: Add quirk for Asus UX360UA and UX410UAK
ACPI: processor_perflib: Do not send _PPC change notification if not ready
ACPI / scan: Use acpi_bus_get_status() to initialize ACPI_TYPE_DEVICE devs
ACPI / bus: Do not call _STA on battery devices with unmet dependencies
PCI: acpiphp_ibm: prepare for acpi_get_object_info() no longer returning status
ACPI: export acpi_bus_get_status_handle()
ACPICA: Add a missing pair of parentheses
ACPICA: Prefer ACPI_TO_POINTER() over ACPI_ADD_PTR()
ACPICA: Avoid NULL pointer arithmetic
ACPICA: Linux: add support for X32 ABI compilation
ACPI / video: Use true for boolean value
Diffstat (limited to 'drivers/tty/serial/earlycon.c')
-rw-r--r-- | drivers/tty/serial/earlycon.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/tty/serial/earlycon.c b/drivers/tty/serial/earlycon.c index 4c8b80f1c688..870e84fb6e39 100644 --- a/drivers/tty/serial/earlycon.c +++ b/drivers/tty/serial/earlycon.c | |||
@@ -197,25 +197,20 @@ int __init setup_earlycon(char *buf) | |||
197 | } | 197 | } |
198 | 198 | ||
199 | /* | 199 | /* |
200 | * When CONFIG_ACPI_SPCR_TABLE is defined, "earlycon" without parameters in | 200 | * This defers the initialization of the early console until after ACPI has |
201 | * command line does not start DT earlycon immediately, instead it defers | 201 | * been initialized. |
202 | * starting it until DT/ACPI decision is made. At that time if ACPI is enabled | ||
203 | * call parse_spcr(), else call early_init_dt_scan_chosen_stdout() | ||
204 | */ | 202 | */ |
205 | bool earlycon_init_is_deferred __initdata; | 203 | bool earlycon_acpi_spcr_enable __initdata; |
206 | 204 | ||
207 | /* early_param wrapper for setup_earlycon() */ | 205 | /* early_param wrapper for setup_earlycon() */ |
208 | static int __init param_setup_earlycon(char *buf) | 206 | static int __init param_setup_earlycon(char *buf) |
209 | { | 207 | { |
210 | int err; | 208 | int err; |
211 | 209 | ||
212 | /* | 210 | /* Just 'earlycon' is a valid param for devicetree and ACPI SPCR. */ |
213 | * Just 'earlycon' is a valid param for devicetree earlycons; | ||
214 | * don't generate a warning from parse_early_params() in that case | ||
215 | */ | ||
216 | if (!buf || !buf[0]) { | 211 | if (!buf || !buf[0]) { |
217 | if (IS_ENABLED(CONFIG_ACPI_SPCR_TABLE)) { | 212 | if (IS_ENABLED(CONFIG_ACPI_SPCR_TABLE)) { |
218 | earlycon_init_is_deferred = true; | 213 | earlycon_acpi_spcr_enable = true; |
219 | return 0; | 214 | return 0; |
220 | } else if (!buf) { | 215 | } else if (!buf) { |
221 | return early_init_dt_scan_chosen_stdout(); | 216 | return early_init_dt_scan_chosen_stdout(); |