Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4074219yba; Tue, 7 May 2019 11:39:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjBfsrktOfh4+53x+5BAUIhutaZU07s+CDegLNst8rTfxlz7bLkp1zXHUb/9rfy37YW8FJ X-Received: by 2002:a62:e201:: with SMTP id a1mr42678904pfi.67.1557254374678; Tue, 07 May 2019 11:39:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557254374; cv=none; d=google.com; s=arc-20160816; b=fjNYPs1xV+nNu9zBVqKnA7p0MJLhGabGskRwfKO1Bz6ojmEL8tbXDJ59eoGRcPTQBf faGAvEhr9NtABB7SRSBqIDBoJYgWx28U0iv07RkizpDQ4kLF27cnOeVJE0PLPoUtZL9k jKmYDQ/wjTb1irXXeAoGIhf3ScctgLEBiJgNF6ZFl4RXe67DOa4RYR2FwNP0NMEbFjRi YYcMv7jacziaY/HE9q0cAyWWhWMNOaW/zEcpAQGNCAB8/YAZtX87xjmTivz+GLU9Kxta OGZvqcFpVzJoKyXbR45igsTCxOq1BIjJ+J1ZXE8NQ2BnC35VA2nkqutM6PfBPbOwrwKf hvUQ== 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=0kwhMEY4EqAEVf9bWAjlzPRBUsRn3vkoVfti/uK8yh0=; b=AbhHQCtfuy33DRlHIflpPuIIx3Ef+hJQXWxnra8DMc1q5k8drsgFr1zJ64DjnFBd3+ uNmnFGBAL/iU5F0TAQwLJQYqgouQ3JzsRH6AM88CDQSyABv/7Aqd5hdqy8mqRcGyvHUD O+NQboKWdIoAn48ErxJzZP6M5RXYqRyTISy2kJY46xn4EgpOM1rR3wDdkZpi8ql+Mr/D ONcORf2zhX1NB0Zm4VY5jhklH7bd1Iack78QetHG/F5qTHlTAFdz7mLK1qsKeuThjYML pgNVQfCyJC4aa/C7OpXvqXZqPRow/qwDvOIO3Xv6bCcl9jw04UMkktoCybE/8AtNiVTw NshA== 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 m10si18375390pgq.39.2019.05.07.11.39.16; Tue, 07 May 2019 11:39: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 S1727378AbfEGShQ (ORCPT + 99 others); Tue, 7 May 2019 14:37:16 -0400 Received: from mga14.intel.com ([192.55.52.115]:41333 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbfEGShQ (ORCPT ); Tue, 7 May 2019 14:37:16 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 May 2019 11:37:15 -0700 X-ExtLoop1: 1 Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga004.fm.intel.com with ESMTP; 07 May 2019 11:37:15 -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: [PATCHv2 0/4] add Intel Stratix10 remote system update driver Date: Tue, 7 May 2019 13:46:35 -0500 Message-Id: <1557254799-7416-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 2nd 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 (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. 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/changes 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 | 409 +++++++++++++++++++++ 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, 663 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