Received: by 10.223.185.116 with SMTP id b49csp540677wrg; Fri, 16 Feb 2018 03:15:06 -0800 (PST) X-Google-Smtp-Source: AH8x226gipvONQVCQ/qGZxQdGdYEL+RQylEYllp5zmdHhrBueVHUpFGPkg8ctFFw/krdJMmcGigt X-Received: by 2002:a17:902:48:: with SMTP id 66-v6mr5419519pla.288.1518779705889; Fri, 16 Feb 2018 03:15:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518779705; cv=none; d=google.com; s=arc-20160816; b=Ig9KMVSxd1Yw9hJsfQC3fa2KyOZd320joBuPFlsymaMnSycSYkSfS8I0EOiLzQQXyi 5sQ+jUYo+gK+CNDkGHLly189xdYHMdO5DDjyYZNumbKJC+cq0A6mcp049diBEx297wdQ BlQCd5viB7Qoor8/T+c6qocNKdDvGtzehVU7fH1rB9Amjb40h4qDzm1H1mrK+JZ+Qqxx pfGFkukh5NEKlVtr6D6qBYwQ8ATGHjQOXtKh5BxIAJLiAHU/ueNFboPkP5iYcnc/8Glm f7aJQt4qJMYrC5khoTZyzwxqciCibyrYbnsFJ6FW/Jo6fy/rvEcA0W4oRAybuTNtHhWO B2ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:arc-authentication-results; bh=R8ImjdyxzFb6vO+Kl2z899SYICpvvf6sfpTb1uKTQQ8=; b=Fx7gJ8dsCYBQd1MkbHnIn7rNsaXT85EhVZ14db+pToe4HbixtLoXQrv2u/NIgAGiHw ZgAogdId4g+XcS27moYz2BDvY62pue2hBYpQ1xw5nVM4epeW5gZlOfxV0c0c8ohhaKOR JUglH1eVK1guIShsKgjyr+tYzRQPRBehXv1Te1e851EWwgE6ahoqKpyseKal2bO9xj6j KxVifjVEYlIWj9uNyUXZl6j/cLWwRMpr6ah4Jvc6s7URNl917lRHsPw1t2wbYQZARvnn OQRYynkw6CIyoDT3YGmkqj7cHm75BQRvpvOaf88VyFiX62Bwbx1p+s1v/7mFyGrEyUfq EFxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j76si976804pfj.146.2018.02.16.03.14.51; Fri, 16 Feb 2018 03:15:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164893AbeBORox (ORCPT + 99 others); Thu, 15 Feb 2018 12:44:53 -0500 Received: from g4t3426.houston.hpe.com ([15.241.140.75]:39214 "EHLO g4t3426.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946061AbeBORos (ORCPT ); Thu, 15 Feb 2018 12:44:48 -0500 X-Greylist: delayed 84662 seconds by postgrey-1.27 at vger.kernel.org; Thu, 15 Feb 2018 12:44:47 EST Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id C6CD04F; Thu, 15 Feb 2018 17:44:46 +0000 (UTC) Received: from anatevka.americas.hpqcorp.net (anatevka.americas.hpqcorp.net [10.34.81.6]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id A6F0A4A; Thu, 15 Feb 2018 17:44:44 +0000 (UTC) Date: Thu, 15 Feb 2018 10:44:44 -0700 From: Jerry Hoemann To: Ingo Molnar Cc: Borislav Petkov , Tim Chen , Peter Zijlstra , Dave Hansen , hpa@zytor.com, tglx@linutronix.de, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, dwmw@amazon.co.uk, linux-tip-commits@vger.kernel.org, Arjan van de Ven , linux-watchdog@vger.kernel.org Subject: Re: [PATCH] watchdog: hpwdt: Remove spinlock acquire and BIOS calls from NMI context Message-ID: <20180215174444.GA25970@anatevka.americas.hpqcorp.net> Reply-To: Jerry.Hoemann@hpe.com References: <20180212102211.cdrrqqd4hdw7xu5y@gmail.com> <20180212165835.GO25181@hirez.programming.kicks-ass.net> <20180213075540.3lkikkpgjoe6ocjk@gmail.com> <5c3ba123-abbe-f153-7b75-a89d31d25c72@linux.intel.com> <20180214093159.mdzfupne547bi5qx@gmail.com> <20180214094404.GA18349@pd.tnic> <20180214181342.GA27600@anatevka.americas.hpqcorp.net> <20180214231704.xv2iwqsfvljoybul@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180214231704.xv2iwqsfvljoybul@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 15, 2018 at 12:17:04AM +0100, Ingo Molnar wrote: > > * Jerry Hoemann wrote: > > > > > Ingo, > > > > I have a patch set under review that brings hpwdt into compliance > > with the watchdog core. > > > > One of the changes removes the callback into firmware in hpwdt_pretimeout > > and its associated spinlock. > > > > https://lkml.org/lkml/2018/2/12/30 > > drivers/watchdog/hpwdt.c | 490 +---------------------------------------------- > 1 file changed, 8 insertions(+), 482 deletions(-) > > Very nice, and this should solve all the NMI handling complications! > > > I will add you to the CC list of the next version of the set. > > Thanks! > > Ingo Ingo, Is your desire to remove of the firmware callback/spinlock in hpwdt_pretimeout related to David Woodhouse patch set: https://lkml.org/lkml/2018/2/14/305 ? Which I think are to mitigate performance issues resulting from the changes to address the specter/meltdown? Any there other changes to hpwdt needed related to this work? Thanks Jerry -- ----------------------------------------------------------------------------- Jerry Hoemann Software Engineer Hewlett Packard Enterprise -----------------------------------------------------------------------------