Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5442453ybi; Tue, 28 May 2019 13:11:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMgnLlAMhCvzCQRXk/zBzitUj7JdeDESQjHhUg86gni4gr2T8kDWmKD6eQ/Gned2SoGYoU X-Received: by 2002:a62:5f02:: with SMTP id t2mr107107473pfb.7.1559074284533; Tue, 28 May 2019 13:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559074284; cv=none; d=google.com; s=arc-20160816; b=vDmqWfAAy/U1EskvmmmfObbQkEy1rMg33AZP5n9BHlj6D+K8tfxzvoKLXXAjvQByVm kpPCZRiqB6tCm/CNWZGFKJEPtvn0oBiAJdiDSpkAoL1UOXXAB1qKRvfWMdnhm+Ewrvik bwfxoQX9O3m2vQgo8k0WIvfDRGH5SqDQKNhItyzArlMe5TqvXJ63kZ7ed1qQByjYg0cH Fa4qRxbtn0tX/Sg9WsEZa9kACZ3IdNjgc84heLJhbwgXyQKZI6RLqpQWi7vR12BM/Ffm ylarDquop+RjDee7WnxkAcyp7axDbzg0VBeRUJk8WXsb4hxzO5b2dn3qsd/31c1Ouz+3 G4+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=z5vc7lor3hZoyXGdBitP3fpOnqCwmGwbvrKynbGnd8M=; b=kf83BnfO1R/nwCb4Hc1GH36IA8VxBij4ieWZITue2XcBgcbAXS0VG0g09G9Ubbhlro Ejnlzy5EZbsXfJTH5q4oDZFMzz78WxC+nfaErpIAVhrdum/DJ74LfH6c7gbmCWVAHBd7 HKUeJMfHYzYAttkjKCufFhxJtaaSXn4EyUwu/lkN6CR7MK9kHJcPDRXwpnCpRnqaPnL/ oPZ/tIntF94uq3cu1q2cbEK1tp6qoiG/VKYfUyxQywxYqPn0Gw4HPdAKk2owOiGIZ4qG kHzmgRBN2I4qcz/RsMsatz1gAVWPeDtDeoPF8FYjVrngNN97h9AVRIqz+Thvy7fDPeid xJvg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si24090629pfr.229.2019.05.28.13.11.09; Tue, 28 May 2019 13:11:24 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbfE1UIb (ORCPT + 99 others); Tue, 28 May 2019 16:08:31 -0400 Received: from mga17.intel.com ([192.55.52.151]:48366 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfE1UI3 (ORCPT ); Tue, 28 May 2019 16:08:29 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 13:08:29 -0700 X-ExtLoop1: 1 Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga006.fm.intel.com with ESMTP; 28 May 2019 13:08:27 -0700 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, dinguyen@kernel.org, atull@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, sen.li@intel.com, richard.gong@linux.intel.com, Richard Gong Subject: [PATCHv4 0/4] add Intel Stratix10 remote system update driver Date: Tue, 28 May 2019 15:20:29 -0500 Message-Id: <1559074833-1325-1-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong This is the 4th submission of Intel Stratix10 remote system update (RSU) driver. Intel Stratix10 remote system update driver patches have been reviewed by Alan Tull and other colleagues at Intel. The Intel Stratix10 Remote System Update driver exposes interfaces access through the Intel Stratix10 Service Layer to user space via sysfs interface. The RSU interfaces report and control some of the optional RSU features on Intel Stratix 10 SoC. The RSU feature provides a way for customers to update the boot configuration of a Intel Stratix 10 SoC device with significantly reduced risk of corrupting the bitstream storage and bricking the system. v4: removed devm_device_add_groups() & devm_device_remove_groups(), then utilized groups at struct device_driver replaced /sys/devices/platform/stratix10-rsu.0/ with /sys/devices/.../ stratix10-rsu.0/driver/ removed spaces v3: changed kernel version from 5.2 to 5.3 in RSU sysfs interface document v2: removed compatible = "intel,stratix10-rsu" added intel stratix10 RSU device changed to support RSU in handling watchdog timeout s/attr_group/ATTRIBUTE_GROUPS, use devm_device_add_groups() and devm_device_remove_groups() added check the return value from rsu_send_msg() removed RSU binding text file other corrections/change Richard Gong (4): firmware: stratix10-svc: extend svc to support RSU notify and WD features firmware: add Intel Stratix10 remote system update driver firmware: rsu: document sysfs interface MAINTAINERS: add maintainer for Intel Stratix10 FW drivers .../testing/sysfs-devices-platform-stratix10-rsu | 100 +++++ MAINTAINERS | 11 + drivers/firmware/Kconfig | 18 + drivers/firmware/Makefile | 1 + drivers/firmware/stratix10-rsu.c | 403 +++++++++++++++++++++ drivers/firmware/stratix10-svc.c | 74 +++- include/linux/firmware/intel/stratix10-smc.h | 48 ++- .../linux/firmware/intel/stratix10-svc-client.h | 12 +- 8 files changed, 657 insertions(+), 10 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu create mode 100644 drivers/firmware/stratix10-rsu.c -- 2.7.4