Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3396101pxy; Mon, 26 Apr 2021 00:15:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPd5ep0IVz87Po23WLsq/FmnKUoO0KtiE6M8GWxW1mcetm7XUY/tWzUdalYWC3g3Ujgmu+ X-Received: by 2002:a17:906:a0d4:: with SMTP id bh20mr17015685ejb.348.1619421320644; Mon, 26 Apr 2021 00:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619421320; cv=none; d=google.com; s=arc-20160816; b=LoR0CYjMhXLFvxOcn+qxpKS1LbMkLOdYkeufrkuEOfdvj2MNy1wIIiTQ/GI0p3CERa hpEFXILQgGde7wkBXB6y++APJGJyhOdpmJ5pFGuYJYc+s4RpkzBYFS4/cqWsnt9XXgMm VeMZMbwQwP5x5gvYOaqTI7zUgmqt+xG8R7Ccwj6mbCmgvmd4+rSvaRIlK2nMLD2QlmxF A5HYCrP7z7BqevYxqHby9524vMSWqjpnjW/cZp0Jezk9KkZUZqFVHjnmI1fPruiqAfJU pr76Y5JePp6eDgpL6ogy6dJKLHCouXtZ9nSQdANWp6Qhc6CeBfMfVu+9yRVQLF+HAPX0 cVjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=RaeUs5ig8oPGFA8a5hIT5TIvfrrFjhQ7teck4xtX8Qw=; b=iYzwlzDexUb7syYzJ+oAZGA74HdqltYOEMdotQs40REjSWF6uScmD/rcBDJpntK0JA Q8CgGD0YfideNku82pbbMlLOsLAqn4dKMjneooCtFe+kqRh7A3weZ2ipyxciSyBKJL7R 6iFJ0Ng9GRit+R6BxSGKDQ7V2IwgU3F/LPi7934rRBRe0ETDriWscuO9bxNrNbw/hRMX G2sE1Edpa417ntE3+btnlUxAGxnikY7zuylheqhiO3kQSJJWXkQGcdR02xxVWny4ACuV FKdcmBEKNLgHgbKSY9slm35zR185/oWBSBBuueKqZIYYgOEjoJX/nZ69Kz+xEhZHNbNt gNug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PAQJAWrm; dkim=neutral (no key) header.i=@linutronix.de header.b=WPdHavk1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si12866791edd.486.2021.04.26.00.14.54; Mon, 26 Apr 2021 00:15:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PAQJAWrm; dkim=neutral (no key) header.i=@linutronix.de header.b=WPdHavk1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232014AbhDZHOm (ORCPT + 99 others); Mon, 26 Apr 2021 03:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231616AbhDZHOl (ORCPT ); Mon, 26 Apr 2021 03:14:41 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AC48C061574 for ; Mon, 26 Apr 2021 00:14:00 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1619421236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RaeUs5ig8oPGFA8a5hIT5TIvfrrFjhQ7teck4xtX8Qw=; b=PAQJAWrmNnCJFeyQoyRAf1iRckUeWSnfRPOMUwq3jdi0DRw3FiVYyp1J+OgYA5lBjueL5O Ss2I9f8waxo8kC52mPdacLBib7iVIcLXefvU4zIuBtMpYfQYPL/uI9dum1vdn2OmuAEPhq KjPX4zN6uqBHDfFUe1a0wraY/IEXsJDTms+jMOj5Ih1cU4KwKpmfEa3t9zKk5ZE3Fvvn9i 602AfWxkrkdXOZAm8+B6+kypF8cLZc9inS77PagccqQrEuyWi3rMjSNfezgJN9rEhMM5Uf ki+6jVOBNk0xD7O9s57NHE8o4NnkpV2p2cj+Hvt2ZiqiPwKno2wZbG9j9Ka/Jg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1619421236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RaeUs5ig8oPGFA8a5hIT5TIvfrrFjhQ7teck4xtX8Qw=; b=WPdHavk1yviViMt0Zq3BEKwkrm0wo6qXWRl+8xsfjDf2f90aI0USk95BIV+qNoN7ck+bUB 4sTfNsPUGW2YrxAg== To: Andi Kleen , "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, john.stultz@linaro.org, sboyd@kernel.org, corbet@lwn.net, Mark.Rutland@arm.com, maz@kernel.org, kernel-team@fb.com, neeraju@codeaurora.org, feng.tang@intel.com, zhengjun.xing@intel.com, Chris Mason Subject: Re: [PATCH v10 clocksource 1/7] clocksource: Provide module parameters to inject delays in watchdog In-Reply-To: <20210426040736.GS1401198@tassilo.jf.intel.com> References: <20210425224540.GA1312438@paulmck-ThinkPad-P17-Gen-1> <20210425224709.1312655-1-paulmck@kernel.org> <20210426040736.GS1401198@tassilo.jf.intel.com> Date: Mon, 26 Apr 2021 09:13:56 +0200 Message-ID: <874kftv7pn.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 25 2021 at 21:07, Andi Kleen wrote: >> occur between the reads of the two clocks. Yes, interrupts are disabled >> across those two reads, but there are no shortage of things that can >> delay interrupts-disabled regions of code ranging from SMI handlers to >> vCPU preemption. It would be good to have some indication as to why > > I assume vCPU preemption here refers to preempt RT? I didn't think > a standard kernel could preempt when interrupt are disabled. Neither does Preempt-RT. It's about vCPU's being preempted by the hypervisor which can happen anytime independent of the state of the guest. Thanks, tglx