Received: by 10.223.185.116 with SMTP id b49csp1013506wrg; Fri, 16 Feb 2018 10:49:10 -0800 (PST) X-Google-Smtp-Source: AH8x226gX5s/PMpg2gLFKyOYHkZfz5pfxvkM7UJ0/zOyQrigx77Pra6bA+gHhT7QE0J2xMUhxw6+ X-Received: by 10.101.82.1 with SMTP id o1mr5831645pgp.259.1518806950747; Fri, 16 Feb 2018 10:49:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518806950; cv=none; d=google.com; s=arc-20160816; b=pEGvF5cuzDRkXtzYVqFhNb3tmzH4y7LePDA/mO+V9f1yFE3IBUC4CyjxoY9MZoON3e yjS/S2w9sdg+necVqszfP4kVYjqEATDO2WbeEhLXt9zW2WMH8zF0NELs9U/IU6bX3zzi zuH6dpM4d8b6XW1b1Wn2tQ3LHRD6Ry+192AlWD9ES+nWVXj7uiRNEx/iFfNeAv3xg5QA U54HHnEV9fos+7XY0V4SK91pKDQK3CZPoOfl7yhzqdL6Ur/6gfp0ClI0V+vO4F9ijsIi tNk/yEsCezMSj/eMokigAuakvJonTSvES30vBxWDC9fNe/DFB1jCtPUHGwMopcg62JAX HEfg== 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:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=9Ipsb0nvdTj41Si1bHml/4X6iJRQyALZWwab+X73780=; b=g+PZaNzW3OVEWZxPzLsHTMUBRyyexwo1ABYVpuAKFXa7ex8CPhpy/gOHBC1tykT0jW pFTmQufrl6gAFuJs7Nwgq/tzyZHZo90M2+lNvFzrYjsJNaMw0bNNC6hd2QSqoLSrdQWw 9/zkme+rCiorTSFmMIPUciqxK9d/oE7T8IdV/o5KbUNrfSEYVNuPxuheHeP9VU3kHF2X Cqe8nEEG2y7CE5OhwTrFTw0cDLtVoXG4EQXpEujBYw3s4wXntGXK8uh1XGCPUYtF+UP3 u+FxC1eaSkX5EsxOVHp2LofVVSC6zZ0nAYg6tYx68gK5EIQWHnEeX+AquOJPHU563jBR 7a8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sogckS4G; 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 b4-v6si3534424plb.648.2018.02.16.10.48.56; Fri, 16 Feb 2018 10:49:10 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sogckS4G; 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 S1753612AbeBPHWw (ORCPT + 99 others); Fri, 16 Feb 2018 02:22:52 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:56259 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753594AbeBPHWu (ORCPT ); Fri, 16 Feb 2018 02:22:50 -0500 Received: by mail-wm0-f68.google.com with SMTP id h74so1368893wme.5; Thu, 15 Feb 2018 23:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9Ipsb0nvdTj41Si1bHml/4X6iJRQyALZWwab+X73780=; b=sogckS4GrhkxAntTlNTk8310G4luBhSCbhgnhiTaAzNCT1GmpfWNM6uxqUhbRLW7C9 oWERmYky2vJFwUEzke6oVuX2qe2rC33v7IKOtEAWBCDaAo+nQAwhFZbhIF9ibI/QJbNb zovTkXBv5nOMNSj1NyQjkA8AlefhPTgd2G5EFWEd1uyxko1eV/9ZT6LWqKrC7aamPII2 hOvYWSB/zjV7iujVxoTj3zlDB+bxJC0DDf4yETHx+KTo3KZN5m9jaGMn/yJMk3iZS1jM wFgqZZF8+VPAs7urvpunlYGgBdr+7792jG99CsDv0LCb82UFvXM3d3MMd8+SIdTds6bX /Y+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=9Ipsb0nvdTj41Si1bHml/4X6iJRQyALZWwab+X73780=; b=E/bmgs6pLO+eTDeVTRor+5O9TAIFd3AYw4kEph2EKAFEbM6bq313A2waNjYDO+DP68 dVcLKc3Xwn9jQwzBjiRILjD34SbGIDFjzvEqu6p+h461jGvZwQZ/TcxnI0c+s0spwjxV tYtqmjuSVIA+XooqpNOm98S4aoitDUDOC569yanN60JmqPBY0wA2ROmhNVR1Hr4jE5Da 1DPpvpC5aFuukpFoyJnoRGE/ivbb1F+noLNuPNhm+SZjh2q6lLFH/tLaqQGR8rirx/Oc BeuvUu5TStcbG7Pf+YWJ9Gar3xxON6VB1anE0rMx5VD1825SBKOcp/o3LRbr2mSsl+HH hcGw== X-Gm-Message-State: APf1xPBJ7qgmQU2gVNZQyC21wQyxjLcLUa4+LBq9wFAKlhJGdeguKTDo lBbSE5Ir44bshOeFxTHcjYk= X-Received: by 10.28.193.2 with SMTP id r2mr3798274wmf.153.1518765769189; Thu, 15 Feb 2018 23:22:49 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id t2sm15149361wrg.59.2018.02.15.23.22.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 23:22:48 -0800 (PST) Date: Fri, 16 Feb 2018 08:22:46 +0100 From: Ingo Molnar To: Jerry Hoemann Cc: wim@linux-watchdog.org, linux@roeck-us.net, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, rwright@hpe.com, maurice.a.saldivar@hpe.com, marcus.folkesson@gmail.com Subject: Re: [PATCH v3 01/11] watchdog/hpwdt: Remove legacy NMI sourcing. Message-ID: <20180216072246.uifaj22wvqevc7er@gmail.com> References: <20180215234400.5022-1-jerry.hoemann@hpe.com> <20180215234400.5022-2-jerry.hoemann@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180215234400.5022-2-jerry.hoemann@hpe.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Jerry Hoemann wrote: > Gen8 and prior Proliant systems supported the "CRU" interface > to firmware. This interfaces allows linux to "call back" into firmware > to source the cause of an NMI. This feature isn't fully utilized > as the actual source of the NMI isn't printed, the driver only > indicates that the source couldn't be determined when the call > fails. > > With the advent of Gen9, iCRU replaces the CRU. The call back > feature is no longer available in firmware. To be compatible and > not attempt to call back into firmware on system not supporting CRU, > the SMBIOS table is consulted to determine if it is safe to > make the call back or not. > > This results in about half of the driver code being devoted > to either making CRU calls or determing if it is safe to make > CRU calls. As noted, the driver isn't really using the results of > the CRU calls. > > As the CRU sourcing of the NMI isn't required for handling the > NMI, remove the legacy (pre Gen9) NMI sourcing and the DMI code to > determine if the system had the CRU interface. > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 490 +---------------------------------------------- > 1 file changed, 8 insertions(+), 482 deletions(-) Acked-by: Ingo Molnar Thanks, Ingo