Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1651705

Re: [PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/timers: Move simple_udelay_calibration past init_hypervisor_platform
Date Sat, 27 May 2017 03:40:03 +0200
Message-ID <tLyRZ-4YN-41@gated-at.bofh.it> (permalink)
References <tKITo-5Hs-11@gated-at.bofh.it>
X-Original-To Jan Kiszka <jan.kiszka@siemens.com>, Mathias Nyman <mathias.nyman@linux.intel.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IvAaIpVxRkcki27IKA0c2FpcxJJQ2W4ABpDw1twpunw=; b=ZWzhzw7YZxG9rKwFEHdu/+y5MVekEMAZj4/s9ttQPtJxU7sX2upxWs56BWO7+ufIcc fz6Ze2veQjvL8mioB2PbbU4Kh3f+6ElVLPBd8OFYra74vmBxRmFSROjCmJbFdL76NZ8K CAOAnENDJySG5EEB4u0c0XR0cSwHCgwjBdquxQUsiA/81ljhHQOPoxXveXWY84HCP0hd +nMC0g8qPtpO1dwLVxb1J3Q0W9r64v7gIUZ364AqCCEM2dGRhOABFCGT5lLPvfqx+Crc gr8VLfI/vEy43KeuV+sqmxQI8I7GZjcr3vDPPGYha8jwSd0xXL2GXr5ozZ9X2+QTXGQ8 HoHw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IvAaIpVxRkcki27IKA0c2FpcxJJQ2W4ABpDw1twpunw=; b=muniscm6Lq/olq89cpuUQDoXUx7WE8y4h/+aO5NWM/a4dU02jlUe91TfM5zufqq246 IZbSorjbSROO8BnHc6udW7zr/2J8+M6dx2N8ucrU8Rzeb8az/jnMfasNk09hoMR7I/hi SOzyi/03WKxZmoofUSpsrHdBQifSm+9PO1hGaLA3euLoNahDtS0RmwktYCZGP2CJbPvm wR+1lz5b1zsUBr2rahRm+9DWvwaq0Ffmr5WxoVXIV11HZG1T3H20Hfl1vKlF4I2cGqo/ F+myniP7cAa9etBe+jiKmEEHgxtLBscyAPqxkzADZxIBs5otMwPJCP0kFZgZR86dIOwS sAHg==
X-Gm-Message-State AODbwcBIaL84HNG+31noaxKPaJDBI/b4IL/LYsfear85vp/RofV8wB8P G4J/8NZF4KUOFPh1MhEb63BuqZjYIqHw
X-Received by 10.55.1.79 with SMTP id 76mr4966468qkb.69.1495839845850; Fri, 26 May 2017 16:04:05 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>, x86 <x86@kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Lu Baolu <baolu.lu@linux.intel.com>
X-Original-Date Sat, 27 May 2017 02:04:05 +0300
X-Original-Message-ID <CAHp75VcaNN0PjrwxLtpvzbbLX92WwmD10DvSkYJ6YhUfRuwR4w@mail.gmail.com>
X-Original-References <5e89fe60-aab3-2c1c-aba8-32f8ad376189@siemens.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1651705

Show key headers only | View raw


+Cc Mathias

On Wed, May 24, 2017 at 9:04 PM, Jan Kiszka <jan.kiszka@siemens.com> wrote:
> 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.
>

Can you elaborate a bit what is the issue you are experience?

> 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 */



-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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