From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75BA5C10F0E for ; Tue, 9 Apr 2019 18:37:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 35CED20883 for ; Tue, 9 Apr 2019 18:37:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726685AbfDIShC (ORCPT ); Tue, 9 Apr 2019 14:37:02 -0400 Received: from mga05.intel.com ([192.55.52.43]:53783 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbfDIShB (ORCPT ); Tue, 9 Apr 2019 14:37:01 -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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2019 11:37:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,330,1549958400"; d="scan'208";a="141403329" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga007.fm.intel.com with ESMTP; 09 Apr 2019 11:37:01 -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, richard.gong@linux.intel.com, Richard Gong Subject: [PATCHv1 0/6] add Intel Stratix10 remote system update driver Date: Tue, 9 Apr 2019 13:45:56 -0500 Message-Id: <1554835562-25056-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 1st submission of Intel Stratix10 remote system update (RSU) driver, which includes 6 patches below: patch #1 - extend Intel Stratix10 service layer to support RSU notify feature. patch #2 - add Intel Stratix10 remote system update binding patch #3 - add Intel Stratix10 remote system update to the device tree patch #4 - add Intel Stratix10 remote system update driver patch #5 - RSU document sysfs interface patch #6 - add maintainer for Intel Stratix10 firmware drivers Intel Stratix10 remote system update driver patches have been reviewed by Alan Tull and other colleagues at Intel. The Intel Stratix10 Remote System Update (RSU) 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. Richard Gong (6): firmware: stratix10-svc: add to support RSU notify dt-bindings, firmware: add Intel Stratix10 remote system update binding arm64: dts: stratix10: add remote system update 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 | 78 ++++ .../bindings/firmware/intel,stratix10-rsu.txt | 31 ++ MAINTAINERS | 10 + arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 4 + drivers/firmware/Kconfig | 18 + drivers/firmware/Makefile | 1 + drivers/firmware/stratix10-rsu.c | 428 +++++++++++++++++++++ drivers/firmware/stratix10-svc.c | 43 ++- include/linux/firmware/intel/stratix10-smc.h | 17 + .../linux/firmware/intel/stratix10-svc-client.h | 6 +- 10 files changed, 622 insertions(+), 14 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-stratix10-rsu create mode 100644 Documentation/devicetree/bindings/firmware/intel,stratix10-rsu.txt create mode 100644 drivers/firmware/stratix10-rsu.c -- 2.7.4