Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4123219yba; Tue, 9 Apr 2019 11:38:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqy6v1jrki50bO0Q9q2KjqK615vpc90zXI5GkdJ4jcio0qwVg84l9eBUBffO08YCVTh45JzT X-Received: by 2002:a62:8381:: with SMTP id h123mr38748054pfe.226.1554835114729; Tue, 09 Apr 2019 11:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554835114; cv=none; d=google.com; s=arc-20160816; b=ySE32TJLjplG2mz+CWMoo0Pks/sVuPXI26xbHnJ+chSSc0l+MQYNk59VSyWj45LTG7 Qp+OLbbfwpKYB7Gsbh+dFaQXyOaHXCyWijICKp4hEKK5om6CzEaCKRjWv7erjlqxzVm7 QjOREyOaK0RuvXlBBR4MsmTh9kqJ5uxwAHx8EaCHjb0poYz0TuoZ96TEbWofSv5lHzyn Upv74YdO25f7SfrK9zgtWVJcanubs7F7cm2UrPnHxOSAdVNe+jpZwOdBxNPa98q6X5CD 74cVuKj5ulvEYMeyWXxhhI/3j8wdZBdGncvCKzB609IeoQswAlX5YBoNHIANkHpaythp DL5Q== 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=NJxlxoAed1Juyz7EaA3VHOzd3PUBgtlItYB1yyguPcA=; b=ZZhb16EYPvuYuPxj58HMiMxS9djVk0gmW0r+uWAkVlgvDTTPl3ntPjPBsDUiSs3D2+ H1IVVIr7bBllMouI43xYvv6oZsMVUE4iwYUJyaMrxi5/peCi7d7CEOZX17qxh3g9TItg aKtRcocAAK80fL6vb/J8070EWyY4qcFP+X0NwGgGB1M2NNcvvrpIbGs+TH/0t0+jkwiC 64LwHnUMvZuDuXAwAazvPqWJgjlFBbaVhK3Hs88CpkyF5xs8IXEvt5loCC1K9oKmSW9W 6ZXr6qBhfxDmQllrrRK9df6GCwjJLi9Hi/QmozWlfY8jv8Cw22CNcJLLmf+/e5K0M6Qk u9QQ== 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 d11si19710963pfn.171.2019.04.09.11.38.02; Tue, 09 Apr 2019 11:38:34 -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 S1726655AbfDIShC (ORCPT + 99 others); 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