[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] x86/time: change initiation of the calibration timer
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Fri, 5 Feb 2021 17:00:55 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nT4NKIPVR/ucz9aEFjx9b8PXYVT84ee6W2JYqmSQNKA=; b=FKp4Ij/Xo8DnR5Rzk5XZb+l9l1mm/dtGvOtk2STnFa3atJNovmUWLoZ1D9dQX+Dbxyx55F/IPxIuagBromXLE82AVRrRMl/ocZwnvbOtk5Y5WP0FaqXm3nQyyNdveRcv3Mw6ZoSQP7Bwk4z6zu3vQtH0j4RwXC6hiGJpV0mMJPb85rlGH4REaV9iRQ8/40bHON4qI8mIzj5RdxKB5AVeryRjsiUJX8bvDVEhSgMpNmLLYT8yBa4hNTuTY13WiXeew/hVrpUij+ihicntVvsvHy433PfGS5ej2aB6/gf85bGR7sa/WmiI7Zk0VG/iTuJp35UuOFgCQN5Wdf61P3Suxw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KQzgG0hey/9oMcUA7AaP+AdN3yNgpUyw/RMSYOkLaAoQelb3GjudQZbM4YjOxsolmB47ehquLn3WUG59rE6qBCbbyu9HDAEutQ6yDw5zTdYSu6JGJrdgcStpufux4vb9akk66RCzUMczSYSx1iCRhz4k/dwRIWxaBQWPRjGl2KrR3ud3YgkVR7TH9wy8IhLl4bodgXgj3pfB2VQT1b4LdF8TePqRb/m7T/1EYhHkQxnzxZTicrtQN7S1zTVAb2s/a11EXoT1v6eQ+s/268oz6M0gjUl/SowXu+NK2t8fMTgyZOeGqrp2cyoO52RewjQDH/c6DCp8mb22wL1sB6TpVQ==
- Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Claudemir Todo Bom <claudemir@xxxxxxxxxxx>
- Delivery-date: Fri, 05 Feb 2021 16:01:19 +0000
- Ironport-sdr: s7NeREJ15/eqlvHZBLIfZ8UwVKgHY4HQpaJ92zj5qz8063s7UosZxZ2t9ciD35FpbFyDlcnA7r 0u4IrFaCIYdPYDpe3lk08ILLhZsauE8/RVDuHwunGrDkSe90eQbzTnMgnB2rowlKSIvW+WL8bE EF+GWYfAj9Zhtjtv+jO0lPt4pWwTemi2k/D/Ma8REE10syXWy4Wd9zAM1THBDT3kODxJ3K/ery 2l+MSd1W+3vcfU2FDpOl0siLwHr8jnKmmLFzyxyM2kjBB8ERRSG5K5rh890fz9iMqsSXTl1c+r WYs=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Feb 01, 2021 at 01:42:35PM +0100, Jan Beulich wrote:
> Setting the timer a second (EPOCH) into the future at a random point
> during boot (prior to bringing up APs and prior to launching Dom0) does
> not yield predictable results: The timer may expire while we're still
> bringing up APs (too early) or when Dom0 already boots (too late).
> Instead invoke the timer handler function explicitly at a predictable
> point in time, once we've established the rendezvous function to use
> (and hence also once all APs are online). This will, through the raising
> and handling of TIMER_SOFTIRQ, then also have the effect of arming the
> timer.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Thanks, Roger.
|