Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1699979ybt; Mon, 15 Jun 2020 07:16:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuW44MkgN4sbbdV39Y9IIKX21Jrs3S0QbfkBu9bSGWXi4Ug482J0qe7L9tIYY/7Fn4kenn X-Received: by 2002:a50:934e:: with SMTP id n14mr24071782eda.88.1592230584265; Mon, 15 Jun 2020 07:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592230584; cv=none; d=google.com; s=arc-20160816; b=wFKRhTrwGlsfZMd65U31Vpx8eFpnRA/OGToH/mEHMq4Gdhx3ksVirUUFcdg0075bWP ZrNvhyiDAiyOoXuMHCXcHV2XZiBuccSUrE49voY04guscVz+1MXJKmlyWNInYIghqOqC Arna123HDw1zM/D6q5272yQgLJKZ0iJUpSJOuAl8ZcEtfZnOnKqSx6mvrLoTJfNOT4Fn wXqcUyT6OYj7ALQSrSjXMi35LpfwW5PZ/wohY8c2LFCOVqBoPFaLMkantdCZUhWDzywb 1vKtqZm41wrVBJavSIHXuwjmYCrpTIreJUKX5vTbIPDnepMFwTi/QQwMmka5lLNEsbxy 28lQ== 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 :ironport-sdr:ironport-sdr; bh=ChwD9QAmnQJAQBmaT1//OwrwJbjSj1Z5HXxDu0kV+FU=; b=OUCnVGw1lOHeLzmHVIiDMeKmbiE0ow5c+NywflhwMF+4stt5oDk1g/lflKP/Au5fQg 0/rbCMQdpn7XdvaCCYP4eQjGvudzDpVG2FGdg+pGbJ66Jt+ayWfXRqLOw6ff0QM//Jr6 bAdCzKaMO9mINZW9aToDOkeQqXG5083euT/WZ9pkgVqRsZ8L2q8ifbEatIMnypDewSH5 5GAchqHyao9ggBhGMsRTbLwoZVhu7ngrza0vCaBv+dFeFmh7YzwLYXRyJgTcXHI70hqY EmIpOpgvJq/Dxs8G5k/9ikeNE8LwTOMh6EOsGvoR59shQwS4QOwzPS0iKF4ubsVhgAXi w5Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id q2si9054575ejf.33.2020.06.15.07.16.01; Mon, 15 Jun 2020 07:16:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730109AbgFOOOG (ORCPT + 99 others); Mon, 15 Jun 2020 10:14:06 -0400 Received: from mga01.intel.com ([192.55.52.88]:34462 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728773AbgFOOOG (ORCPT ); Mon, 15 Jun 2020 10:14:06 -0400 IronPort-SDR: Rg4rbE70YBB0lRZKozeCjrGZJaCYCYuMt8TQ9CHo9IvmDC0FPC/DiOk1C+YyV0BfrvYV1MXO/H 5xxUUwhCOoWQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2020 07:14:05 -0700 IronPort-SDR: FK6Doo0pad3ZqG23ryY2kjg47LjDN6k11ZgJOwjID2AHLtM6jprU5IeGDlYWjirPgjH6iycimd 6Y3zupR8rKUA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,514,1583222400"; d="scan'208";a="476029192" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga006.fm.intel.com with ESMTP; 15 Jun 2020 07:14:04 -0700 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, dinguyen@kernel.org, richard.gong@linux.intel.com, Richard Gong Subject: [PATCH 0/4] extend svc and rsu drivers for new RSU features Date: Mon, 15 Jun 2020 09:29:04 -0500 Message-Id: <1592231348-31334-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 Patches have been internally reviewed by colleagues at Intel. DCMF = Decision Configuration Management Firmware. The max retry parameter is the maximum times the images is allowed to reload itself before giving up and starting RSU failover flow. Extend Intel Stratix10 service layer and Remote System Update (RSU) drivers to get decision configuration management firmware (DCMF) versions and max retry parameter value. Add 5 device attributes to Intel Stratix10 Remote System Update (RSU) sysfs interface. Correct the incorrect flag value for COMMAND_RECONFIG_FLAG_PARTIAL and increase FPGA reconfig timeout values. Richard Gong (4): firmware: stratix10-svc: correct reconfig flag and timeout values firmware: stratix10-svc: extend svc to support new RSU features firmware: stratix10-rsu: extend rsu driver for new features firmware: rsu: add device attributes to sysfs interface .../testing/sysfs-devices-platform-stratix10-rsu | 36 +++++ drivers/firmware/stratix10-rsu.c | 166 ++++++++++++++++++++- drivers/firmware/stratix10-svc.c | 17 +++ include/linux/firmware/intel/stratix10-smc.h | 43 ++++++ .../linux/firmware/intel/stratix10-svc-client.h | 17 ++- 5 files changed, 269 insertions(+), 10 deletions(-) -- 2.7.4