Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1649844
| From | Jan Kiszka <jan.kiszka@siemens.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform |
| Date | 2017-05-24 20:10 +0200 |
| Message-ID | <tKITo-5Hs-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This ensures that adjustments to x86_platform done by the hypervisor
setup is already respected by this simple calibration.
The current user of this, introduced by 1b5aeebf3a92 ("x86/earlyprintk:
Add support for earlyprintk via USB3 debug port"), comes much later
into play.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
arch/x86/kernel/setup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 0b4d3c686b1e..f81823695014 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -980,8 +980,6 @@ void __init setup_arch(char **cmdline_p)
*/
x86_configure_nx();
- simple_udelay_calibration();
-
parse_early_param();
#ifdef CONFIG_MEMORY_HOTPLUG
@@ -1041,6 +1039,8 @@ void __init setup_arch(char **cmdline_p)
*/
init_hypervisor_platform();
+ simple_udelay_calibration();
+
x86_init.resources.probe_roms();
/* after parse_early_param, so could debug it */
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform Jan Kiszka <jan.kiszka@siemens.com> - 2017-05-24 20:10 +0200
Re: [PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform Lu Baolu <baolu.lu@linux.intel.com> - 2017-05-25 03:40 +0200
[tip:x86/urgent] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform tip-bot for Jan Kiszka <tipbot@zytor.com> - 2017-05-26 14:10 +0200
Re: [PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-27 03:40 +0200
Re: [PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform Jan Kiszka <jan.kiszka@siemens.com> - 2017-05-28 18:50 +0200
csiph-web