Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp122477imm; Thu, 30 Aug 2018 09:47:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaO/DLJM5jPBahym77kDJX1t8NPbWGQHpgdSPVxmIih9WErqjo8cHyW1/GhtzHo1GxVIB+p X-Received: by 2002:a62:f909:: with SMTP id o9-v6mr11232071pfh.141.1535647630007; Thu, 30 Aug 2018 09:47:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535647629; cv=none; d=google.com; s=arc-20160816; b=TmKObIA50dgV/r59vKFHSG5k5En5GDbkVBjke1p4QFOkAQVVlDUlK8h4+u3QhGd85y x4S4LZO3XcuJOUUFOTG0o+A402yUUjKid73lPuDe5v0qZgtbgpRG3VfcCUrFzBw17GuU qefK/iLhZWs9A+BSYFDR7sZV7EcsTUP8SlbFepn2aHh+whCCzNqiSijIJEzXeogzyYn0 Rpx1HXwraLRGnGL1dQT9mmDzsTRPxUN3gA+SB3zX+OYgCpGnp9w6oYIq6Bc4xGzurtOA hORhondqQc3yM1S9OsRp4GvM1h7+Kg3xgtLOJ5ETEUJXUAKAT96C/1oHwvsXA3+aWHkg f1fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dmarc-filter:dkim-signature :dkim-signature:arc-authentication-results; bh=N6Tz38YAHfFHeVq+3kpb3yKZXsrxm9r1TEASUEgCSnA=; b=ASUjZ1bb6+d03uVmdCXnN+J1xTAvIH+2Ethq/rEifREY2SAhunCGPeIIRCi6MWZ3WM HpPblZ1rpMFIVCJCdsN17QBOD2aVN5FJFOlhefUAlvy6NHgrEXIUQYKPBQUdcHnPhK6a EkG6VAehJsDexTYc4awZSXceDEOFZ2KAPdB4AAtYhSv2cheJo7o6FGoEJiShxwTzYHnG Vd0Xaoiy8gapoNHuCXHLlJjyILPnaGKtwaAdQ60J4L5aOs2/UE9APgIJN40F9mq6xlFK wWA6UlcW23Qmun4M8S0JnzV/vlKdhPTPNNgYMWPT5spiiiY4Fx/7NDehpDrJ1Hq6YLaJ fiIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=JxYxXUhH; dkim=pass header.i=@codeaurora.org header.s=default header.b=JxYxXUhH; 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 u64-v6si7087481pgu.533.2018.08.30.09.46.54; Thu, 30 Aug 2018 09:47:09 -0700 (PDT) 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=pass header.i=@codeaurora.org header.s=default header.b=JxYxXUhH; dkim=pass header.i=@codeaurora.org header.s=default header.b=JxYxXUhH; 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 S1727631AbeH3UsF (ORCPT + 99 others); Thu, 30 Aug 2018 16:48:05 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41036 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbeH3UsF (ORCPT ); Thu, 30 Aug 2018 16:48:05 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E7E99606FC; Thu, 30 Aug 2018 16:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535647504; bh=GQbSECvWPy/sMZMrfexKcA3dkDTayHaPZFXhm2yYqwQ=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=JxYxXUhH6Tu3CBw3hiKxJlmTfHiK077RBwe33gMmLm8jdbE2+plyTcoLPMOHQp2gU RganjJo3fBHMbifCxBH6FrV/gy5LWuFz2tHLiK3N9m/+GY2ATeB2myueE7jfZ0f7rz lCB/qV00kZtRCrGXkkPiTxqiXOqoNA5TALhNAvS0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from WUFANW10 (c-71-205-14-210.hsd1.co.comcast.net [71.205.14.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: wufan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E3B4D60541; Thu, 30 Aug 2018 16:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1535647504; bh=GQbSECvWPy/sMZMrfexKcA3dkDTayHaPZFXhm2yYqwQ=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=JxYxXUhH6Tu3CBw3hiKxJlmTfHiK077RBwe33gMmLm8jdbE2+plyTcoLPMOHQp2gU RganjJo3fBHMbifCxBH6FrV/gy5LWuFz2tHLiK3N9m/+GY2ATeB2myueE7jfZ0f7rz lCB/qV00kZtRCrGXkkPiTxqiXOqoNA5TALhNAvS0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E3B4D60541 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=wufan@codeaurora.org From: "wufan" To: "'James Morse'" Cc: , , , , , References: <1535567632-18089-1-git-send-email-wufan@codeaurora.org> <000f01d4406f$6ce8f160$46bad420$@codeaurora.org> <1ac15a80-6f9a-cf9d-8e79-37d10549a4ca@arm.com> In-Reply-To: <1ac15a80-6f9a-cf9d-8e79-37d10549a4ca@arm.com> Subject: RE: [PATCH] EDAC, ghes: use CPER module handles to locate DIMMs Date: Thu, 30 Aug 2018 10:45:03 -0600 Message-ID: <001101d44080$cd2a73d0$677f5b70$@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHcLsFbwflxxBzVeG17JegIRw3gmAF/6qNxAafQzrECfu/PJqSbbaRw Content-Language: en-us Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, > > For ghes_edac the bank/device is informational, and nothing would go > > wrong if the bank/device numbers are the same as another entry. But > > the handle is now critical for DIMM lookup, thus pull it out. > > Is printing the handle to the kernel log critical? > > I'd expect something collecting errors to read from sysfs, not dmesg. I > thought the whole point here was to update the per-dimm counters in sysfs. No, printing out the handle is not critical. What I meant is because the information is critical it would be nice to have it available for debugging purpose. Otherwise it would be hard to find the handle if bank/device is not accurate. Thanks, Fan