[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-02428742639bc3300c8c527b054d0ec0bdf5571d@git.kernel.org>
Date: Mon, 12 Mar 2018 05:26:38 -0700
From: tip-bot for Andy Shevchenko <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: peterz@...radead.org, andriy.shevchenko@...ux.intel.com,
rafael.j.wysocki@...el.com, jgross@...e.com,
torvalds@...ux-foundation.org, hpa@...or.com, tglx@...utronix.de,
linux-kernel@...r.kernel.org, mingo@...nel.org,
ebiederm@...ssion.com
Subject: [tip:x86/mm] x86/platform/intel-mid: Add special handling for ACPI
HW reduced platforms
Commit-ID: 02428742639bc3300c8c527b054d0ec0bdf5571d
Gitweb: https://git.kernel.org/tip/02428742639bc3300c8c527b054d0ec0bdf5571d
Author: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
AuthorDate: Tue, 20 Feb 2018 20:05:06 +0200
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Mon, 12 Mar 2018 12:32:57 +0100
x86/platform/intel-mid: Add special handling for ACPI HW reduced platforms
When switching to ACPI HW reduced platforms we still want to initialize timers.
Override x86_init.acpi.reduced_hw_init to achieve that.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
Cc: Eric Biederman <ebiederm@...ssion.com>
Cc: Juergen Gross <jgross@...e.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Rafael J . Wysocki <rafael.j.wysocki@...el.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-acpi@...r.kernel.org
Link: http://lkml.kernel.org/r/20180220180506.65523-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/platform/intel-mid/intel-mid.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c
index 2c67bae6bb53..c556f1e8936e 100644
--- a/arch/x86/platform/intel-mid/intel-mid.c
+++ b/arch/x86/platform/intel-mid/intel-mid.c
@@ -199,6 +199,12 @@ void __init x86_intel_mid_early_setup(void)
legacy_pic = &null_legacy_pic;
+ /*
+ * Do nothing for now as everything needed done in
+ * x86_intel_mid_early_setup() below.
+ */
+ x86_init.acpi.reduced_hw_early_init = x86_init_noop;
+
pm_power_off = intel_mid_power_off;
machine_ops.emergency_restart = intel_mid_reboot;
Powered by blists - more mailing lists