Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2836680pxk; Sun, 4 Oct 2020 14:08:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE9jrd8/BNQ/n3WpHa+g8A9vOxI2K2xYEHR+7yPpnw3X0lb8LouisUCXkn/Bd4mFKOPo4n X-Received: by 2002:a17:906:f92:: with SMTP id q18mr11963638ejj.237.1601845697118; Sun, 04 Oct 2020 14:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601845697; cv=none; d=google.com; s=arc-20160816; b=lffhmw1ik4/F8I6LflvChu+9K5hp82FYWfO/RkXte7zR2OZZ8M2X64yF6LW9lub95a xU7wY9NmhGYm7v5y4NxIAgwNKh+jyBMjCa/b9EhZigmUuoytEUIYNsdR+20609O1pcmg 2nLF3VKbonrFCLXSt5vtWxRh1ljoQKCBDR1wnW8arga0uG/P5RT4aBg3MVjj0GGDNtgy yXK8kC07qVqjnZO/pZisuuLioj2XFYPHT/krX91NlHIkGk1yeK199x6smmyznDK/O0d5 MFwbw+1vgHg5KRAqDDMpK9TUMTl/LJzlDtdF2cuE1fLWY/PSzRqutnXHe+nYcwLojTZw mnVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=HOSd6fXQnXybQ36w4uIi1a1hr5nnmrxJ6QtsUC5yq7w=; b=sAnaZ6YAzrrqktYuYfn0y1lasFpw/gnzjBnU+caNfFawWDFySN33P/XQdQtNWRU5uh 9ypSom+fmNE3f9mrbt4oRO9pya+lntmNiTPCcr5Jog+bv4sHSAifC2qePaIDTH3krPgn YzW+TLzh9L/+hlFdTaZ4FiKToas3JOi9fS9laUfxu72Jj3Bny7WnEwBBVWNETjCeHYtj GSQQNVsuw8f7iiawpT/sO9aJSGEgP9l0sGYy557dp9UZDgZU+9fZSy+RqdAAy8apZCDT aSV9QyY6e1eSqeUeGb1BTbtvKf5ZumHC5gsb9tyZ3VRs2SpYYC+vIdr+is7aKZNSC6q5 q98w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LcFPXwfK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ng3si771136ejb.345.2020.10.04.14.07.53; Sun, 04 Oct 2020 14:08:17 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LcFPXwfK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbgJDVGv (ORCPT + 99 others); Sun, 4 Oct 2020 17:06:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:26898 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726313AbgJDVGu (ORCPT ); Sun, 4 Oct 2020 17:06:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601845609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HOSd6fXQnXybQ36w4uIi1a1hr5nnmrxJ6QtsUC5yq7w=; b=LcFPXwfKJQUU/FBMZlERCnQTY3fi9mlj2oN8iMBcKsLJcVcAci71sfw3+f5pJAIKF+rA8l Jc7Q62z3D1J36MIxP12ma1VXXcdAuQcMnI8Vr+YPg9jD9uh19+vIRupAXaH1me1DkWChaA ivnTPJXUSN8AbRQkN3Z9on+pz+xM8/o= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-518-JX16dPAUO6atoZP7ln1yHQ-1; Sun, 04 Oct 2020 17:06:47 -0400 X-MC-Unique: JX16dPAUO6atoZP7ln1yHQ-1 Received: by mail-qk1-f197.google.com with SMTP id a2so5272957qkg.19 for ; Sun, 04 Oct 2020 14:06:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=HOSd6fXQnXybQ36w4uIi1a1hr5nnmrxJ6QtsUC5yq7w=; b=plSF0z7rOLkjKMmkc2pzuZvlL4AJm+vXzDAa+mdPewWCa6c5qB7EJACyM9kTdNzoMv EQvgbMvUiwd7+BMKhXrXlTNJegUFKlnF2eAJUa2B0V+h/xc2yWwh3SQluZU19PIEpnFp m6B0rBVHb9AKP6bSSWmW8FyptPmHkRteJUp/IwzO4p4semQyTqDyqg0ZGeNaHfnNndgk L2NNXz5/65XFiDMV0qArmCq0jG28r0mdXbpLrjtuD2yj2JYjptf5FUx4RegQRO9VyNzx dZpFN5cIGy0/SFyfLf/wq4uH9vdqfmFp+y/oL1YOYy34FkhGmtrV2ZLUhA3VM9UXMJip A0Cg== X-Gm-Message-State: AOAM531hyrLryGUWSSYIigBQ3vayqzPN6kcfv9q4cRKFUc13WfCnJ20P LwbA/pvOLjO2JSf/DX/rLDEZmUOcHmnCrk+kGabTjy/4hIes+LXSVf3uPkXaZCyOYlpVBNc9Jgn SXD8bWro6w1yWQ5hIk4sHZvzE X-Received: by 2002:a05:620a:2213:: with SMTP id m19mr11339340qkh.472.1601845607333; Sun, 04 Oct 2020 14:06:47 -0700 (PDT) X-Received: by 2002:a05:620a:2213:: with SMTP id m19mr11339316qkh.472.1601845607108; Sun, 04 Oct 2020 14:06:47 -0700 (PDT) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id w18sm6078127qtt.19.2020.10.04.14.06.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 04 Oct 2020 14:06:46 -0700 (PDT) Subject: Re: [PATCH v2 4/7] fpga: sec-mgr: expose sec-mgr update errors To: Russ Weight , mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lgoncalv@redhat.com, yilun.xu@intel.com, hao.wu@intel.com, matthew.gerlach@intel.com References: <20201002223701.1317-1-russell.h.weight@intel.com> <20201002223701.1317-5-russell.h.weight@intel.com> From: Tom Rix Message-ID: <70b5ec16-e252-b463-60f6-9a03fa654b34@redhat.com> Date: Sun, 4 Oct 2020 14:06:44 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20201002223701.1317-5-russell.h.weight@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/2/20 3:36 PM, Russ Weight wrote: > Extend Intel Security Manager class driver to include > an update/error sysfs node that can be read for error > information when a secure update fails. > > Signed-off-by: Russ Weight > --- > v2: > - Bumped documentation date and version > - Added warning to sec_progress() for invalid progress status > - Added sec_error() function (similar to sec_progress()) > --- > .../ABI/testing/sysfs-class-ifpga-sec-mgr | 17 ++++ > drivers/fpga/ifpga-sec-mgr.c | 81 ++++++++++++++++--- > include/linux/fpga/ifpga-sec-mgr.h | 1 + > 3 files changed, 89 insertions(+), 10 deletions(-) This is 08/12 of the old patchset. Also fine. Reviewed-by: Tom Rix