Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp675288pxj; Tue, 18 May 2021 11:33:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYGMOzRReLr7Hh9XXZy1/aWfm28VWjweQe7J3wezEx4wE+SCcjHYvnqewlM9iFKvtWEOGR X-Received: by 2002:a05:6402:17d7:: with SMTP id s23mr8704393edy.66.1621362828694; Tue, 18 May 2021 11:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621362828; cv=none; d=google.com; s=arc-20160816; b=pLHQc+tr+2u25wSj+hC55f0WfBnDkfXkO3sIO24pmwjhQiAkhgVdzXGI0pBsYUVZdZ LcHHs2n/RdL8xkAwDueyby+W85DL0C/hiu1unGijpJnr27CUJV/ZlUejk16vMnL3BY5I j+p6NbYdg1LH8hJKIXcb30vk+lC7MlWR+3sOiDDbN5XaZ1p86EUkzvlC/jPdAqxODaCB Ae2+URup/H3TknyD7VwiSWn9iS6UviYegHgGNVRUMIaDapl43I7s9i8hqcVS+PKMsOJf EaD7s5gjxrC+GyKci2m1gOJ7hGyPH8quvu5wttBncfpJXNJqaru644u3k48BplxDIPeW RpHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=umikvgaMB9+yFytW4315X3PQsHR/wj4foOHtt5y28OA=; b=yFYpBCTg5OEiNiz/andmkUdKGqnHaP5ze12PBg/IgxklW3U6YSWqVZFT8NcWFJjdWp s/w+vxryoS7kN93j1VgpgRJvVcEFXH1G+23rENHSgg4uSLfGnSccutk/i+QR2AbXUmVc s7lFBMHo/uVU+02hSLa0CTegpyaRtDzr6NomnwLYrgTcZx/jxK4or9i4hpg2Wlp6lwZH sm/dNx++3zutQvbbw1lo2nr6xVi8YR6B+Ch6xKEyQeMj95C6m95RA519WVExG+pIpYBl qjw3+xtLzqfAt2Dce45iC6EC26C0GqUFCO4YVZczIyyN8Lf3DFWWTo6RbhXpXJp5VcsQ 29Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="q3gU/V3j"; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si122200ejg.72.2021.05.18.11.33.25; Tue, 18 May 2021 11:33:48 -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=@linuxfoundation.org header.s=korg header.b="q3gU/V3j"; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345609AbhEQQQM (ORCPT + 99 others); Mon, 17 May 2021 12:16:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:53466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345965AbhEQP5s (ORCPT ); Mon, 17 May 2021 11:57:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8B33C60FEF; Mon, 17 May 2021 15:56:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621266992; bh=PrF7f5VN9tCcu2teuHhH/cs8NF3a28IG7J9WaRb1b/Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q3gU/V3jHg8vYGS99PHnm0+HGaF81Si2hwHeCcnxh6QhTMk6xYxAtGLikuw5OCYX6 vDbIFWI9wVj/Rvb2lHZ+tKxoNvRFTrNWuEhgzQ4HSRQtqs2V5ove9idT2ya1sl1Ebg zFuDJRbF6j22zNCc+KKSMQC1y/nTQ7KFs0pGtKzo= Date: Mon, 17 May 2021 16:51:53 +0200 From: Greg Kroah-Hartman To: Petr Mladek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Ingo Molnar , Laurence Oberman , Michal Hocko , Peter Zijlstra , Thomas Gleixner , Vincent Whitchurch , Andrew Morton , Linus Torvalds , Sergey Senozhatsky , Sasha Levin Subject: Re: [PATCH 5.12 123/363] watchdog: cleanup handling of false positives Message-ID: References: <20210517140302.508966430@linuxfoundation.org> <20210517140306.783130885@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 04:30:56PM +0200, Petr Mladek wrote: > On Mon 2021-05-17 15:59:49, Greg Kroah-Hartman wrote: > > From: Petr Mladek > > > > [ Upstream commit 9bf3bc949f8aeefeacea4b1198db833b722a8e27 ] > > > > Commit d6ad3e286d2c ("softlockup: Add sched_clock_tick() to avoid kernel > > warning on kgdb resume") introduced touch_softlockup_watchdog_sync(). > > [...] > > > Make the code more straightforward: > > > > 1. Always call kvm_check_and_clear_guest_paused() at the very > > beginning to handle PVCLOCK_GUEST_STOPPED. It touches the watchdog > > when the quest did sleep. > > > > 2. Handle the situation when the watchdog has been touched > > (SOFTLOCKUP_DELAY_REPORT is set). > > > > Call sched_clock_tick() when touch_*sync() variant was used. It makes > > sure that the timestamp will be up to date even when it has been > > touched in atomic context or quest did sleep. > > > > As a result, kvm_check_and_clear_guest_paused() is called on a single > > location. And the right timestamp is always set when returning from the > > timer callback. > > > > Link: https://lkml.kernel.org/r/20210311122130.6788-7-pmladek@suse.com > > Please, remove this patch from the stable backport. It might > cause false softlockup reports, see > https://lore.kernel.org/r/20210517140612.222750-1-senozhatsky@chromium.org Now dropped, thanks. greg k-h