Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1956228ybe; Tue, 3 Sep 2019 06:07:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+blEguDE6+B0rR6JF2LpWHbqb//fjVXYohYTKmj29vyb8uTlXUKjjlnFZiLqRBtmAg5P1 X-Received: by 2002:a63:9e43:: with SMTP id r3mr30787786pgo.148.1567516042161; Tue, 03 Sep 2019 06:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567516042; cv=none; d=google.com; s=arc-20160816; b=RDZkdhqgbRYTJAVXzcedXZggqszxYs6fYdwDpdHyNdsEQDMZDeToUGEpfpPEy3pGsP LMNtdD8Kc6vV7t1iJRDntKv4/A1uk+XAkM+tIHqiiNwwWEn8a/T8s6vHXWrkrbfl/v/S t6OZGFV6skOtGBn5a0yMGboshN49oUOLsst1Sr0tCqOv2gaXC0xcRfVYMzMzvWqUTph4 rW5AXEof3YhizIJtB37VHdn6Gz5WToGv+6xrtrKaEutmOaSp6VTLTTosAQDCxe5dVCqI Tjum3cdrn0QZCkHXeTPr05R+fHbk5ta5BD5Dm0qDWrJ75VPsd8tXJenL3GGZLmPoEd1G 6OnA== 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=YWRIoZM4LK4rdC+aZBSfDWVqCXPPYgZxN+fPf04RM2I=; b=STo56vZ63wer0RVl34zCPrpm3RjQhrTpJBaR1nOT20PE+vsXrzbGKwjr3h7wFBwQ8P 7VeT8g+3mY5mWr0xqiVlJrQgWZRCHb1JNE28IApFXaVc+js3+5hnVl/RB2XBZxQ2SLp7 C6bMz5bj/yvzZjn5TwOAglEenuwPUb2eBTsKrIGuKCt8PFEbPYG8G+qryqzZN1z6/YJ6 fAXnDDjvHacqBdpyMwg0CbxB7VLkT80jEgASGphvM4Ys0dwJt27zweSwmeMmgzw3qKdF mxigXUlCEH3aZAzn+N845HLyQxR8H0RFROYmXekgf0vQ8STETJoULrY6QK7Ef2WKvfuz 0lBw== 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 j12si14978185pgp.261.2019.09.03.06.07.06; Tue, 03 Sep 2019 06:07:22 -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 S1729279AbfICNFt (ORCPT + 99 others); Tue, 3 Sep 2019 09:05:49 -0400 Received: from mga01.intel.com ([192.55.52.88]:10447 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728576AbfICNFt (ORCPT ); Tue, 3 Sep 2019 09:05:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Sep 2019 06:05:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,463,1559545200"; d="scan'208";a="183548662" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga007.fm.intel.com with ESMTP; 03 Sep 2019 06:05:48 -0700 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, dinguyen@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, sen.li@intel.com, richard.gong@intel.com Subject: [PATCHv5 0/4] add Intel Stratix10 remote system update driver Date: Tue, 3 Sep 2019 08:18:17 -0500 Message-Id: <1567516701-26026-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 5th 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. v5: changed to use dev_group pointer from driver core changed to support max_retry with watchdog event s/KernelVersion:5.3/KernelVersion:5.4 replaced /sys/devices/.../stratix10-rsu.0/driver/ with /sys/devices/platform/stratix10-rsu.0/ replace contact email address with richard.gong@linux.intel.com 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 new RSU 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 | 128 ++++++ MAINTAINERS | 11 + drivers/firmware/Kconfig | 18 + drivers/firmware/Makefile | 1 + drivers/firmware/stratix10-rsu.c | 451 +++++++++++++++++++++ drivers/firmware/stratix10-svc.c | 76 +++- include/linux/firmware/intel/stratix10-smc.h | 51 ++- .../linux/firmware/intel/stratix10-svc-client.h | 11 +- 8 files changed, 737 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