Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1701453ybt; Mon, 15 Jun 2020 07:18:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmB+2vHOdi2KV8HKVNCWOgmoh9ztsYwyxAVaGIsEhbBpTy+PrvkenYtrUvkhx4+6Z4vCPF X-Received: by 2002:a17:906:b79a:: with SMTP id dt26mr27041243ejb.422.1592230709267; Mon, 15 Jun 2020 07:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592230709; cv=none; d=google.com; s=arc-20160816; b=rjEryDw+uKHo5Io5bj39XNcx8cu0iWqdTt8NMzmboZXGfC7TauQLqz96U62eSx3leP sHxNrHvmH1GU67vxnzES5tg+WUfaM9kEg9kobI2Aa98IYIOkHuziJ/s5zbf4pYc5AcTU 8+w/WXkou9WL0YrwMuBVNUcKehpmH1q3iyqILm+FNUfH2hUm8COYOa7Wl9MTKLlB7mFV gDrrPQmH8nqxbuAsBC4O8b+CkAXgdq770JIn4MtTXQqR+4tiBbXxBuG13awDGFYTwF8n B2TNsfL2AnxnrkmyUBFA8OTIRw6abRpLYMsYEcvRLueuz9XMa178h1+f/Na7RxUh9jGi BSzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:ironport-sdr; bh=syGHPQ/CIv9SIGywv6NeeOMgxzgdqok0QuFFuUP9OXc=; b=H+8MXgtXpk3wz5WP/RE3h0SaqxaTzySpkslq7CmQNtVPpZeHtaYelC6tWIMMQiwFWv yFMuPSlG2NqAAg2vA+l33ylTV12uSLDzxxUJD4ujQ8/9+vJSLRqBXBLzjGXyVXojAraZ yXI7tzr+HH/UZT1DM26H96RUf2GB3MXH5ZJi6uMOv+3iYjgyPZSoMdt8N9mnP5FvAbn8 z00qhY0Xqgac6Vwj9jEIgbQvIY/xaYU9WdlJIOZ4SAMwxxr//bK/RJh+kGI60s46lD43 Y46tJQXXEFTFKtyfpkZ0R+QqEHkXrF4CRvAnZMDaGHxlwh0HPS/0Nijti4LzQPK2KQYK dDdw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh14si8695614ejb.259.2020.06.15.07.18.07; Mon, 15 Jun 2020 07:18:29 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730438AbgFOOOT (ORCPT + 99 others); Mon, 15 Jun 2020 10:14:19 -0400 Received: from mga01.intel.com ([192.55.52.88]:34462 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730412AbgFOOOP (ORCPT ); Mon, 15 Jun 2020 10:14:15 -0400 IronPort-SDR: yiE0LHwNYMN41vBpGq3P3oE33Za8qORoQ44sPFZNaQW19qU1ZHlcF8ZlBl5ckwqpHIG3JV+gTl AYWilJhIvhDg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2020 07:14:15 -0700 IronPort-SDR: kDSO4otepcTBV7dxQXyqnEF4xackA499ZjeVBuQ6C1mJL796s3mPq4nBDq2WOH3PWejrqsV/uM 0ZGMUrAoE27Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,514,1583222400"; d="scan'208";a="476029252" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga006.fm.intel.com with ESMTP; 15 Jun 2020 07:14:14 -0700 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, dinguyen@kernel.org, richard.gong@linux.intel.com, Richard Gong Subject: [PATCH 4/4] firmware: rsu: add device attributes to sysfs interface Date: Mon, 15 Jun 2020 09:29:08 -0500 Message-Id: <1592231348-31334-5-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1592231348-31334-1-git-send-email-richard.gong@linux.intel.com> References: <1592231348-31334-1-git-send-email-richard.gong@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Add the following device attributes to Intel Stratix10 Remote System Update (RSU) sysfs interface: dcmf0 dcmf1 dcmf2 dcmf3 max_retry Signed-off-by: Richard Gong --- .../testing/sysfs-devices-platform-stratix10-rsu | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu b/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu index ae9af98..a8daceb 100644 --- a/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu +++ b/Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu @@ -126,3 +126,39 @@ Description: 1 no action 0 firmware record the notify code defined in b[15:0]. + +What: /sys/devices/platform/stratix10-rsu.0/dcmf0 +Date: June 2020 +KernelVersion: 5.8 +Contact: Richard Gong +Description: + (RO) Decision firmware copy 0 version information. + +What: /sys/devices/platform/stratix10-rsu.0/dcmf1 +Date: June 2020 +KernelVersion: 5.8 +Contact: Richard Gong +Description: + (RO) Decision firmware copy 1 version information. + +What: /sys/devices/platform/stratix10-rsu.0/dcmf2 +Date: June 2020 +KernelVersion: 5.8 +Contact: Richard Gong +Description: + (RO) Decision firmware copy 2 version information. + +What: /sys/devices/platform/stratix10-rsu.0/dcmf3 +Date: June 2020 +KernelVersion: 5.8 +Contact: Richard Gong +Description: + (RO) Decision firmware copy 3 version information. + +What: /sys/devices/platform/stratix10-rsu.0/max_retry +Date: June 2020 +KernelVersion: 5.8 +Contact: Richard Gong +Description: + (RO) max retry parameter is stored in the firmware + decision IO section, as a byte located at offset 0x18c. -- 2.7.4